<?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: Question on BAPI BAPI_MATERIAL_SAVEDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603677#M867958</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;If you are working with BAPI to Create/Update/Delete  after calling the bapi&lt;/P&gt;&lt;P&gt;you should call BAPI_TRANSACTION_COMMIT  other wise it won't update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case in loop after calling the BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;call BAPI_TRANSACTION_COMMIT   you are not called .   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2008 19:35:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-27T19:35:56Z</dc:date>
    <item>
      <title>Question on BAPI BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603675#M867956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using BAPI_MATERIAL_SAVEDATA within a loop in an ABAP program to create multiple sales view records ( for multiple sales keys for a single material - the BAPI by design does not accept data for more than one sales key ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are encountering lock errors on ther material whenever we try to make a subsequent call to the BAPI -for multiple sales key for the same material . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a flag or something when the BAPI is called to avoid this lock error - or do we have to check for the material lock before we call the BAPI for each sales key and wait for a few seconds before we attempt the call ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any similar experiences while implementation shared will be appreciated. Correct answers/solutions will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:06:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603675#M867956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T19:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question on BAPI BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603676#M867957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling BAPI_TRANSACTION_COMMIT with parameter WAIT = 'X' after each call to BAPI_MATERIAL_SAVEDATA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603676#M867957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T19:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question on BAPI BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603677#M867958</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;If you are working with BAPI to Create/Update/Delete  after calling the bapi&lt;/P&gt;&lt;P&gt;you should call BAPI_TRANSACTION_COMMIT  other wise it won't update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case in loop after calling the BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;call BAPI_TRANSACTION_COMMIT   you are not called .   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603677#M867958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question on BAPI BAPI_MATERIAL_SAVEDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603678#M867959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken &amp;amp; Ganesh&lt;/P&gt;&lt;P&gt;                   Both of you were right. I was missing the call to BAPI_TRANSACTION_COMMIT in some cases and also had to include the wait parameter in each of the calls. This seems to have fixed the lock issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a bunch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 22:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-bapi-material-savedata/m-p/3603678#M867959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T22:00:09Z</dc:date>
    </item>
  </channel>
</rss>

