<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VBKD table not updated while on order change in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159795#M1907452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H&lt;SPAN style="color: #000000;"&gt;i Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a requirement to update the VBKD table while we are going change the order line item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Means when we create a new order with line item number the header label only getting update in VBAD along with VBAK and VBAP table's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In header label update in VBKD table value will be in field&amp;nbsp; posnr = 000000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;While we go for a item label change the VBKD table will update like Posnr = 10,20,30......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;But in VA01 and VA02 in our system have done customized two tab name as a Additional A and Additional B in Additional B tab sales district field is there VBKD-BZIRK if we go for change sales district field value its not updating in VBKDtable but its updating in VBAP- ZZBZIRK field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So below logic i need to write fr this requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 10pt; font-family: Calibri, sans-serif;"&gt;Compare the value of VBAP-ZZBZIRK with VBKD-BZIRK, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt; If the values are same, no actions needs to be taken,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt; If the values are different, check already entry is available in VBKD-POSNR for VBAP-POSNR. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Entry is available in VBKD, change the value of VBKD- BZIRK filed value with VBAP-ZZBZIRK. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The entry is not available insert the new entry with VBKD-POSNR with VBAP-POSNR, copy all the field values except VBKD-BZIRK, move the VBAP-ZZBZIRK filed value to VBKD-BZIRK.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;Anybody can help me for this requirement where i need to write logic and find below attachment for VA02 additional tab's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/748627" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 18:11:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-15T18:11:05Z</dc:date>
    <item>
      <title>VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159795#M1907452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H&lt;SPAN style="color: #000000;"&gt;i Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I have a requirement to update the VBKD table while we are going change the order line item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Means when we create a new order with line item number the header label only getting update in VBAD along with VBAK and VBAP table's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In header label update in VBKD table value will be in field&amp;nbsp; posnr = 000000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;While we go for a item label change the VBKD table will update like Posnr = 10,20,30......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;But in VA01 and VA02 in our system have done customized two tab name as a Additional A and Additional B in Additional B tab sales district field is there VBKD-BZIRK if we go for change sales district field value its not updating in VBKDtable but its updating in VBAP- ZZBZIRK field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;So below logic i need to write fr this requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 10pt; font-family: Calibri, sans-serif;"&gt;Compare the value of VBAP-ZZBZIRK with VBKD-BZIRK, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt; If the values are same, no actions needs to be taken,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: Calibri, sans-serif; color: #000000; font-size: 10pt;"&gt; If the values are different, check already entry is available in VBKD-POSNR for VBAP-POSNR. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Entry is available in VBKD, change the value of VBKD- BZIRK filed value with VBAP-ZZBZIRK. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;The entry is not available insert the new entry with VBKD-POSNR with VBAP-POSNR, copy all the field values except VBKD-BZIRK, move the VBAP-ZZBZIRK filed value to VBKD-BZIRK.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;Anybody can help me for this requirement where i need to write logic and find below attachment for VA02 additional tab's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/748627" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 18:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159795#M1907452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-15T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159796#M1907453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MV45AFZZ is a standard old style user exit for SAPMV45A which is the base of VA01 and VA02.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/748634" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 18:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159796#M1907453</guid>
      <dc:creator>maulik</dc:creator>
      <dc:date>2015-07-15T18:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159797#M1907454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, in the same include, you can check the Form&amp;nbsp; SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 06:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159797#M1907454</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2015-07-16T06:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159798#M1907455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am appreciate your valuable suggestion, Can you help me in these user exit's inside what logic i should write for my requirement bcoz i tried many way i am facing issue with VBKD table updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look my original post for requirement details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 19:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159798#M1907455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T19:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159799#M1907456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My suggestion:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; Form&amp;nbsp; SAVE_DOCUMENT_PREPARE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;You got &lt;STRONG&gt;internal &lt;/STRONG&gt;tables XVBAP and XVBKD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;-&amp;gt;loop xvbap &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read xvbdk with vbeln/posnr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if found-&amp;gt;update XVBKD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert XVBKD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;PAY ATTENTION TO UPDKZ field!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;XVBKD got UPDKZ field which tells to SAP if a record is updated (U) or new&amp;nbsp; (I) and should be setted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Even more, if you are Updating a row, you should previously append the &lt;STRONG&gt;original one&lt;/STRONG&gt; in YVBKD (or corresponding one Y...) table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hope this can help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;But, outside the correct Userexit / Form to use (which you know only with experience or googling a bit...), i think the logic is&lt;STRONG&gt; pretty basic&lt;/STRONG&gt;!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;You should study a bit more about dev logic and how to manage data in SAP&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159799#M1907456</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2015-07-17T08:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: VBKD table not updated while on order change</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159800#M1907457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste your code, so that we can look into it for What went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;TP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 10:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbkd-table-not-updated-while-on-order-change/m-p/11159800#M1907457</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2015-07-17T10:54:26Z</dc:date>
    </item>
  </channel>
</rss>

