<?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: Run BAPI_MATERIAL_SAVEDATA in Test Mode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031907#M963600</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;Try in a dev environment, after your bapi_material_savedata, to do something like this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if p_text eq 'X'.
BAPI_TRANSACTION_ROLLBACK
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erwan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 12:16:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T12:16:27Z</dc:date>
    <item>
      <title>Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031900#M963593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run BAPI_MATERIAL_SAVEDATA. When I run, the details are being changed without using 'COMMIT WORK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I use ROLLBACK WORK before the end of the program, the database table does not get updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way I can run BAPI_MATERIAL_SAVEDATA in test mode without updating the Database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 11:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031900#M963593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T11:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031901#M963594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dont use BAPI_COMMIT_WORK or COMMIT Statement.&lt;/P&gt;&lt;P&gt;then it will not update the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: swarup basagare on Jun 24, 2008 1:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 11:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031901#M963594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T11:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031902#M963595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BAPI_MATERIAL_SAVEREPLICA with TESTRUN = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 11:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031902#M963595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031903#M963596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    There is no option for test mode present in the BAPI unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031903#M963596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031904#M963597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only some FI transactions can be run in Test mode.Most of the BAPIs are not having this test mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BVS on Jun 24, 2008 2:04 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031904#M963597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031905#M963598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Do not call bapi commit function module in test moode, instead call bapi rollback FM, after u call the material save data bapi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*(or)	*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I understand that you are using the BAPI, but if you were to use LSMW direct input program instead, you would be able to run in TST mode, and make sure that all of the errors are taken care of before you actually update the system.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************Reward points,if found useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031905#M963598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031906#M963599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as my knowledge none of the BAPI will do commit work on its own. With out calling FM  BAPI_TRANSACTION_COMMIT/COMMIT WORK statement database will not be updated. Please check it once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your case u may call FM BAPI_MATERIAL_DELETE for flaging the material for deletion so that u can't use it any more. U can set the deletion flag even in MM01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MM01-&amp;gt;Menu-&amp;gt;Material-&amp;gt;Flag for deletion-&amp;gt;Immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031906#M963599</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-06-24T12:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Run BAPI_MATERIAL_SAVEDATA in Test Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031907#M963600</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;Try in a dev environment, after your bapi_material_savedata, to do something like this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if p_text eq 'X'.
BAPI_TRANSACTION_ROLLBACK
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erwan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 12:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-bapi-material-savedata-in-test-mode/m-p/4031907#M963600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T12:16:27Z</dc:date>
    </item>
  </channel>
</rss>

