<?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 Re: VBUK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037467#M418637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you taking the value of 'A' from. Is it VBUK. The VBUK record is being updated after your IDoc is created. You may want to look for a different user exit. Or do not create the IDoc immediatley.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That user exit are you using. I would use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZXVEDU15 - EXIT_SAPLVEDC_003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Martin Shinks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 10:02:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T10:02:58Z</dc:date>
    <item>
      <title>VBUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037466#M418636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am programming in an user exit from IDOC_OUTPUT_ORDRSP for fill my own segment. One of this fields is LFSTK (order status) of VBUK table.&lt;/P&gt;&lt;P&gt;The problem is that in my idoc i save an A (wait status) but when i go to VBUK the value is C (complet order). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is any moment that IDOC_OUTPUT_ORDRSP or something changes the value in the database table after i fill the segment but i don't find any reference to VBUK in all code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do u have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 09:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037466#M418636</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-03-13T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: VBUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037467#M418637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you taking the value of 'A' from. Is it VBUK. The VBUK record is being updated after your IDoc is created. You may want to look for a different user exit. Or do not create the IDoc immediatley.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That user exit are you using. I would use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZXVEDU15 - EXIT_SAPLVEDC_003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Martin Shinks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037467#M418637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T10:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: VBUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037468#M418638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using user exit EXIT_SAPLVEDC_002. This exit is called after every segment is filled. When previous segnam is the previous segment of my segment i fill it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know where vbuk field is modified?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pd: i always reward with points. Thx for spend your time reading it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037468#M418638</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-03-13T10:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037469#M418639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user exit I have mentioned is called after the IDoc is created. It is the last user exit in the FM IDOC_OUTPUT_ORDRSP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDocs are created as a seperate task. However, I would expect all of the database updates to be completed before the IDoc is created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037469#M418639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: VBUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037470#M418640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to use user-exit EXIT_SAPLVEDC_003 instead of EXIT_SAPLVEDC_002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP,  an update is divided into different modules. Each module corresponds to an update function module. These two updates are V1 update an V2 update. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The V1 update is for time-critical data like database commit for transaction data. The V2 updata is for non-time critical data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When sales order is being saved, the data is saved into database using V1 update. Once V1 update is done and Locks on update request are release, it triggers the V2 update. V2 update is used for task like, Printing, generating IDOCs etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means, when idoc is generated and your user-exit is triggered, data is already saved into database.  Eventhough, I have also faced the problem of not getting data while processing idoc. Thats why i suggest you to use EXIT_SAPLVEDC_003. By the tiem EXIT_SAPLVEDC_003  will trigger, the data must have been saved into database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any other question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link to know more about "Update task" in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 15:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vbuk/m-p/2037470#M418640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T15:31:56Z</dc:date>
    </item>
  </channel>
</rss>

