<?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: synchronous update problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766652#M1462547</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;See if you can used FM  &lt;STRONG&gt;BAPI_REQUIREMENTS_CHANGE&lt;/STRONG&gt; or &lt;STRONG&gt;BAPI_PRODORD_CHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without more inforéation , I can help you more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 11:49:36 GMT</pubDate>
    <dc:creator>StMou</dc:creator>
    <dc:date>2010-04-12T11:49:36Z</dc:date>
    <item>
      <title>synchronous update problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766651#M1462546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert,&lt;/P&gt;&lt;P&gt;I wrote a batch input for  transaction code 'CO02'. Transaction CO02 is inserting a new entry to table 'RESB'. In the same program i am trying to update a field in the new row created with CO02 but the program cannot find the new entry.&lt;/P&gt;&lt;P&gt;I have written COMMIT WORK AND WAIT after batch input but it is useless. Could you help me how i can solve the problem. (The field i am trying to change in RESB is not a critical field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 11:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766651#M1462546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: synchronous update problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766652#M1462547</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;See if you can used FM  &lt;STRONG&gt;BAPI_REQUIREMENTS_CHANGE&lt;/STRONG&gt; or &lt;STRONG&gt;BAPI_PRODORD_CHANGE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without more inforéation , I can help you more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 11:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766652#M1462547</guid>
      <dc:creator>StMou</dc:creator>
      <dc:date>2010-04-12T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: synchronous update problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766653#M1462548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually  bapi does not exist in order to change production order reservations as far as i know. My problem is not that. In my code first i write a batch input calling transaction CO02 and i add a new item to the production order. Second in the same code i am try to change a field of the new reservation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..............&lt;/P&gt;&lt;P&gt;  call transaction 'CO02' using bdcdata&lt;/P&gt;&lt;P&gt;            options from ctu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work and wait.&lt;/P&gt;&lt;P&gt;select  * from resb where&lt;/P&gt;&lt;P&gt;        rsnum = zrsnum&lt;/P&gt;&lt;P&gt;        and matnr = zmatnr&lt;/P&gt;&lt;P&gt;        and lgort = zlgort&lt;/P&gt;&lt;P&gt;        and stlnr = space&lt;/P&gt;&lt;P&gt;        and prvbe = space.&lt;/P&gt;&lt;P&gt;          resb-prvbe = zprvbe.&lt;/P&gt;&lt;P&gt;          modify resb.&lt;/P&gt;&lt;P&gt;      endselect&lt;/P&gt;&lt;P&gt;......................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 12:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/synchronous-update-problem/m-p/6766653#M1462548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T12:35:21Z</dc:date>
    </item>
  </channel>
</rss>

