<?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 test run BAPI_GOODSMVT_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425122#M1409935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my program I have 2 bapi. &lt;/P&gt;&lt;P&gt;BAPI_PO_CREATE and BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When test run in selection screen is flagged, my program will execute TRANSACTION_ABORT to reverse the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how to do test run for BAPI_GOODSMVT_CREATE? There is a TESTRUN parameter in BAPI_GOODSMVT_CREATE but how to do test run for both BAPI_PO_CREATE and BAPI_GOODSMVT_CREATE one after another together? I need to do test run for both BAPI. If not, there may have error in GR but PO already been created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2009 04:54:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-14T04:54:13Z</dc:date>
    <item>
      <title>test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425122#M1409935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my program I have 2 bapi. &lt;/P&gt;&lt;P&gt;BAPI_PO_CREATE and BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When test run in selection screen is flagged, my program will execute TRANSACTION_ABORT to reverse the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how to do test run for BAPI_GOODSMVT_CREATE? There is a TESTRUN parameter in BAPI_GOODSMVT_CREATE but how to do test run for both BAPI_PO_CREATE and BAPI_GOODSMVT_CREATE one after another together? I need to do test run for both BAPI. If not, there may have error in GR but PO already been created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 04:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425122#M1409935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T04:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425123#M1409936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;se37 u can use the following menu path way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module &amp;gt; test&amp;gt; test sequence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 05:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425123#M1409936</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-12-14T05:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425124#M1409937</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;in every/almost  BAPI's, having testrun parametr. U have to pass X to the testrun .thats all..then bapi returns exceptions into RETURN internal Tables. then check the internal table for errors. testrun or exceute bapi both r same. but in testrun,this will not update anything....i mean further program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;Yerukala Setty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 05:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425124#M1409937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T05:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425125#M1409938</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;unfortunately, not all BAPIs have the test run option. BAPI_PO_CREATE does not have it but BAPI_PO_CREATE1 has it. Have you tried to use BAPI_PO_CREATE1 instead of BAPI_PO_CREATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 05:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425125#M1409938</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-12-14T05:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425126#M1409939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use BAPI_PO_CREATE1 instead of BAPI_PO_CREATE . BAPI_PO_CREATE1 have test run option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 05:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425126#M1409939</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-12-14T05:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425127#M1409940</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 think it is difficult. Even if you use BAPI_PO_CREATE1 with the test option, you will need PO number and line item number to create the GR. And as far I know, you will not get the PO number unless you do commit work.&lt;/P&gt;&lt;P&gt;And once you commit, you will not be able to rollback the PO if you encounter an error in your GR creation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 05:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425127#M1409940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T05:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425128#M1409941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijit,&lt;/P&gt;&lt;P&gt;What you said is right. If PO not committed, the PO not able to use in BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;I do not know why sap design so.&lt;/P&gt;&lt;P&gt;Is there any way that I can overcome this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot for all have replied. point given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need advice further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 06:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425128#M1409941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T06:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425129#M1409942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to follow this seq as I said before: &lt;/P&gt;&lt;P&gt;BAPI_PO_CREATE1&lt;/P&gt;&lt;P&gt;bapi_transaction_commit&lt;/P&gt;&lt;P&gt;BAPI_GOODSMVT_CREATE&lt;/P&gt;&lt;P&gt;bapi_transaction_commit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 06:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425129#M1409942</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-12-14T06:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425130#M1409943</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;1. There is no way you can overcome this.&lt;/P&gt;&lt;P&gt;2. SAP designed it in this way because a GR can be created in reference to a PO and a person who creates a PO should not ethically GR it. Just to help check the frauds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 06:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425130#M1409943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T06:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: test run BAPI_GOODSMVT_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425131#M1409944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J@Y,&lt;/P&gt;&lt;P&gt;I tested using bapi_po_create1 with test run, the bapi cannot return the PO number though no error. This has stopped me from doing the test run of BAPI_GOODSMVT_CREATE as it returns error Enter Purchase Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What abhijit said is correct. only actual run can pass in po number to BAPI_GOODSMVT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems like this is sap problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone has such problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 11:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/test-run-bapi-goodsmvt-create/m-p/6425131#M1409944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T11:50:17Z</dc:date>
    </item>
  </channel>
</rss>

