<?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: Eexcuting BAPI_MATERIAL_SAVEDATA without commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775242#M1584874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niveditha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case of BAPI_MATERIAL_SAVEDATA call BAPI_TRANSACTION_ROLLBACK, if executed in "Test mode".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;REA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 15:54:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-17T15:54:37Z</dc:date>
    <item>
      <title>Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775239#M1584871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is data migration program to create material master using BAPI- BAPI_MATERIAL_SAVEDATA where in i have an option called "Test mode". When this option is selected, i am suppose to execute the BAPI without saving the changes in the database. Purpose is just to execute the program for test purpose. Can you please guide me how to go about with this? Should i use a ROLLBACK command after calling the BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niveditha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 05:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775239#M1584871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-16T05:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775240#M1584872</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 hope you will be calling BAPI_TRANSACTION_COMMIT after calling the  BAPI_MATERIAL_SAVEDATA.&lt;/P&gt;&lt;P&gt;If Yes, than do not call the BAPI_TRANSACTION_COMMIT if the mode is TEST MODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhan D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 09:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775240#M1584872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T09:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775241#M1584873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;ROLLBACK is not required.&lt;/P&gt;&lt;P&gt;Also don't call FM BAPI_TRANSACTION_COMMIT or COMMIT WORK .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 15:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775241#M1584873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775242#M1584874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niveditha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in case of BAPI_MATERIAL_SAVEDATA call BAPI_TRANSACTION_ROLLBACK, if executed in "Test mode".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;REA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 15:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775242#M1584874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T15:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775243#M1584875</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 could achieve the requirement using the BAPI_TRANSACTION_ROLLBACK command. But this command will work only if BAPI_TRANSACTION_COMMIT has been executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niveditha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 14:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775243#M1584875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-28T14:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Eexcuting BAPI_MATERIAL_SAVEDATA without commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775244#M1584876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to execute the program in test mode, do the following:&lt;/P&gt;&lt;P&gt;1. Call BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;2. Call BAPI_TRANSACTION_ROLLBACK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to execute the program in commit mode (i.e. save &amp;amp; commit the data to the database) do the following:&lt;/P&gt;&lt;P&gt;1. Call BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;2. Call BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should always use only one of either BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK. This is because once you have committed a BAPI Transaction, it CANNOT be rolled back and once you have rolled back a BAPI Transaction it cannot be comitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alex D. C. on Apr 28, 2011 8:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 18:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/eexcuting-bapi-material-savedata-without-commit/m-p/7775244#M1584876</guid>
      <dc:creator>alex_campbell</dc:creator>
      <dc:date>2011-04-28T18:05:24Z</dc:date>
    </item>
  </channel>
</rss>

