<?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 problem with updating DB table in using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817231#M918127</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;The code below does not update the DB table even if the commit work is executed... is there something wrong or missing??? Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Technically complete process Order&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       CALL FUNCTION 'BAPI_PROCORD_COMPLETE_TECH'&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           return = i_messages&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;           orders = i_orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         IF i_messages-type NE c_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           REFRESH i_messages3.&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               wait   = 'X'&lt;/P&gt;&lt;P&gt;             IMPORTING&lt;/P&gt;&lt;P&gt;               return = i_messages3.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2008 08:44:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-21T08:44:10Z</dc:date>
    <item>
      <title>problem with updating DB table in using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817231#M918127</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;The code below does not update the DB table even if the commit work is executed... is there something wrong or missing??? Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Technically complete process Order&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       CALL FUNCTION 'BAPI_PROCORD_COMPLETE_TECH'&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;           return = i_messages&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;           orders = i_orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         IF i_messages-type NE c_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           REFRESH i_messages3.&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;               wait   = 'X'&lt;/P&gt;&lt;P&gt;             IMPORTING&lt;/P&gt;&lt;P&gt;               return = i_messages3.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 08:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817231#M918127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T08:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with updating DB table in using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817232#M918128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is your code right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to check the return table not messages.&lt;/P&gt;&lt;P&gt;Check the return table is there any message type is there with 'E' .&lt;/P&gt;&lt;P&gt;if it is there then the commit work won't give the result in fact the BAPI function is not executed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got any Error message in return table please have a look into that table errors and take the necessary action. &lt;/P&gt;&lt;P&gt;Pass the required paramaters for the BAPI function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 08:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817232#M918128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T08:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem with updating DB table in using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817233#M918129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the value of  i_messages3  after execuing each FM, if it executes sucessfuly database is bound to update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 09:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817233#M918129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with updating DB table in using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817234#M918130</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;That was also my thinking... that the commit work and wait should work to update the database... but this was not the case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bapi sometimes work,, sometimes not... though no error is generated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it due to the sequence of BAPIs used?? since Im using 3 BAPI's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_PROCORD_CREATE&lt;/P&gt;&lt;P&gt;BAPI_PROCORDCONF_CREATE_HDR&lt;/P&gt;&lt;P&gt;BAPI_PROCORD_COMPLETE_TECH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 03:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-updating-db-table-in-using-bapi/m-p/3817234#M918130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T03:07:45Z</dc:date>
    </item>
  </channel>
</rss>

