<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sapwiki.cl/wiki/index.php?action=history&amp;feed=atom&amp;title=SAP_SD_BADI</id>
	<title>SAP SD BADI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sapwiki.cl/wiki/index.php?action=history&amp;feed=atom&amp;title=SAP_SD_BADI"/>
	<link rel="alternate" type="text/html" href="https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;action=history"/>
	<updated>2026-10-26T11:27:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=1621&amp;oldid=prev</id>
		<title>WikiSysop at 19:59, 20 June 2026</title>
		<link rel="alternate" type="text/html" href="https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=1621&amp;oldid=prev"/>
		<updated>2026-06-20T19:59:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:59, 20 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l67&quot; &gt;Line 67:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Modificar nro doc ref. al crear una factura con la trn. VF01==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Modificar nro doc ref. al crear una factura con la trn. VF01==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ampliación SDVFX009 (función EXIT_SAPLV60A_001 es llamada en la función Standard RV_INVOICE_DOCUMENT_ADD), para modificar el N° del XBLNR.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ampliación SDVFX009 (función EXIT_SAPLV60A_001 es llamada en la función Standard RV_INVOICE_DOCUMENT_ADD), para modificar el N° del XBLNR.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:BADI]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=672&amp;oldid=prev</id>
		<title>WikiSysop at 21:39, 12 April 2020</title>
		<link rel="alternate" type="text/html" href="https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=672&amp;oldid=prev"/>
		<updated>2020-04-12T21:39:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:39, 12 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot; &gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;endmethod.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;endmethod.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Modificar nro doc ref. al crear una factura con la trn. VF01==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ampliación SDVFX009 (función EXIT_SAPLV60A_001 es llamada en la función Standard RV_INVOICE_DOCUMENT_ADD), para modificar el N° del XBLNR.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=538&amp;oldid=prev</id>
		<title>WikiSysop: /* BADI SD_COND_SAVE_A */</title>
		<link rel="alternate" type="text/html" href="https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=538&amp;oldid=prev"/>
		<updated>2020-04-05T23:41:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;BADI SD_COND_SAVE_A&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:41, 5 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===BADI SD_COND_SAVE_A===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===BADI SD_COND_SAVE_A===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;VK11 - VK12 : Badi para manipular datos antes de grabar. No es útil para validación de datos&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;VK11 - VK12 : Badi para manipular datos antes de grabar. No es útil para validación de datos&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;nowiki&amp;gt;method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_EXIT.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;nowiki&amp;gt;method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_EXIT.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
	<entry>
		<id>https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=510&amp;oldid=prev</id>
		<title>WikiSysop: Created page with &quot;===BADI SD_COND_SAVE_A===  VK11 - VK12 : Badi para manipular datos antes de grabar. No es útil para validación de datos   &lt;nowiki&gt;method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://sapwiki.cl/wiki/index.php?title=SAP_SD_BADI&amp;diff=510&amp;oldid=prev"/>
		<updated>2020-04-05T19:53:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===BADI SD_COND_SAVE_A===  VK11 - VK12 : Badi para manipular datos antes de grabar. No es útil para validación de datos   &amp;lt;nowiki&amp;gt;method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===BADI SD_COND_SAVE_A===&lt;br /&gt;
 VK11 - VK12 : Badi para manipular datos antes de grabar. No es útil para validación de datos&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;method IF_EX_SD_COND_SAVE_A~CONDITION_SAVE_EXIT.&lt;br /&gt;
&lt;br /&gt;
  data ls_vake type VAKEVB.&lt;br /&gt;
  data: c_dlimit type p value 60,&lt;br /&gt;
        l_dlimit(2) type n.&lt;br /&gt;
  data l_d type p.&lt;br /&gt;
  data l_m(50) type c VALUE &amp;#039;p.planificación mayor a &amp;amp; días&amp;#039;.&lt;br /&gt;
  FIELD-SYMBOLS: &amp;lt;fs_number&amp;gt; TYPE any table.&lt;br /&gt;
  FIELD-SYMBOLS &amp;lt;fs&amp;gt; type any.&lt;br /&gt;
  DATA: lw_var(40) TYPE c.&lt;br /&gt;
&lt;br /&gt;
  l_dlimit = c_dlimit.&lt;br /&gt;
  REPLACE &amp;#039;&amp;amp;&amp;#039; INTO l_m WITH l_dlimit.&lt;br /&gt;
&lt;br /&gt;
  loop at CT_VAKE into ls_vake.&lt;br /&gt;
    l_d = ls_vake-datbi - ls_vake-datab.&lt;br /&gt;
&lt;br /&gt;
    if l_d &amp;gt; c_dlimit.&lt;br /&gt;
&lt;br /&gt;
*      CALL FUNCTION &amp;#039;MESSAGES_INITIALIZE&amp;#039;.    &amp;quot;clear the buffer messages&lt;br /&gt;
*      CALL FUNCTION &amp;#039;MESSAGE_STORE&amp;#039;            &amp;quot;add your message&lt;br /&gt;
*           EXPORTING&lt;br /&gt;
*                arbgb                   = &amp;#039;0K&amp;#039;    &amp;quot;Message class&lt;br /&gt;
*                msgty                   = &amp;#039;E&amp;#039;    &amp;quot;Message type&lt;br /&gt;
*                MSGV1                         = &amp;#039;Período de validez&amp;#039;&lt;br /&gt;
*         MSGV2                         = ls_vake-datab&lt;br /&gt;
*           MSGV3                         = ls_vake-datbi&lt;br /&gt;
*           MSGV4                         = l_m&lt;br /&gt;
*               txtnr                    = &amp;#039;000&amp;#039;.  &amp;quot;Message number&lt;br /&gt;
*&lt;br /&gt;
*      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;br /&gt;
** Implement suitable error handling here&lt;br /&gt;
*      ENDIF.&lt;br /&gt;
*&lt;br /&gt;
*      CALL FUNCTION &amp;#039;MESSAGES_SHOW&amp;#039;.&lt;br /&gt;
*&lt;br /&gt;
*      CALL FUNCTION &amp;#039;MESSAGES_INITIALIZE&amp;#039;.&lt;br /&gt;
*      clear sy-ucomm.&lt;br /&gt;
*      MESSAGE &amp;#039; &amp;#039; TYPE &amp;#039;E&amp;#039; .&lt;br /&gt;
*      EXIT.&lt;br /&gt;
&lt;br /&gt;
*      lw_var = &amp;#039;(SAPMV13A)NUMBER_CHANGE[]&amp;#039;.&lt;br /&gt;
*      ASSIGN (lw_var) TO &amp;lt;fs_number&amp;gt;.&lt;br /&gt;
*      IF sy-subrc = 0 AND &amp;lt;fs_number&amp;gt; IS ASSIGNED.&lt;br /&gt;
*        clear &amp;lt;fs_number&amp;gt;[].&lt;br /&gt;
*      endif.&lt;br /&gt;
&lt;br /&gt;
      lw_var = &amp;#039;(SAPMV13A)FCODE&amp;#039;.&lt;br /&gt;
      ASSIGN (lw_var) TO &amp;lt;fs&amp;gt;.&lt;br /&gt;
      IF sy-subrc = 0 AND &amp;lt;fs&amp;gt; IS ASSIGNED.&lt;br /&gt;
        &amp;lt;fs&amp;gt; = &amp;#039;ENT1&amp;#039;.&lt;br /&gt;
      endif.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*      MESSAGE E000(0k) WITH &amp;#039;Período de validez&amp;#039;&lt;br /&gt;
*                             ls_vake-datab&lt;br /&gt;
*                             ls_vake-datbi&lt;br /&gt;
*                             l_m.&lt;br /&gt;
    endif.&lt;br /&gt;
  endloop.&lt;br /&gt;
&lt;br /&gt;
endmethod.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
</feed>