<?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: cannot rollback in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389943#M1404604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read OSS [Note 187687 - BAPI_PO_CREATE and Commit Work|https://service.sap.com/sap/support/notes/187687]&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;By specifically calling the TRANSACTION_BEGIN and TRANSACTION_END function modules in the calling program of BAPI_PO_CREATE you can perform the transaction control yourself. You can find a corresponding example in the attachment. (This document is currently available on SAP Service Marketplace and is located on the Attachment tab page).&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2009 09:17:57 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2009-12-07T09:17:57Z</dc:date>
    <item>
      <title>cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389940#M1404601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May I know if there is a parameter to do test run in BAPI_PO_CREATE?&lt;/P&gt;&lt;P&gt;As I cannot see any in function module, I created a parameter checkbox in my selection screen.&lt;/P&gt;&lt;P&gt;But even I have statement if p_test = 'X' to execute BAPI_TRANSACTION_ROLLBACK, yet the PO is created.&lt;/P&gt;&lt;P&gt;May I know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_test = 'X'.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.&lt;/P&gt;&lt;P&gt;  ELSE.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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, 07 Dec 2009 08:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389940#M1404601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389941#M1404602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi use BAPI_PO_CREATE1 and don't use commit it will give you PO no. but in system PO no. will not be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 08:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389941#M1404602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T08:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389942#M1404603</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;In BAPI_PO_CREATE, at the end you have this FM: TRANSACTION_END. This FM does an explicit COMMIT WORK because of which you cannot ROLLBACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested if you use BAPI_PO_CREATE1 you can simulate the PO creation using the param TESTRUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 09:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389942#M1404603</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-12-07T09:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389943#M1404604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read OSS [Note 187687 - BAPI_PO_CREATE and Commit Work|https://service.sap.com/sap/support/notes/187687]&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;By specifically calling the TRANSACTION_BEGIN and TRANSACTION_END function modules in the calling program of BAPI_PO_CREATE you can perform the transaction control yourself. You can find a corresponding example in the attachment. (This document is currently available on SAP Service Marketplace and is located on the Attachment tab page).&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 09:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389943#M1404604</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-12-07T09:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389944#M1404605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;where is the attachment tab in service marketplace? i do not see such tab at sap service marketplace.&lt;/P&gt;&lt;P&gt;can explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 09:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389944#M1404605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: cannot rollback</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389945#M1404606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the bottom of the note &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Attachments" : [BAPI_with_transaction.txt|https://service.sap.com/~sapidb/012006153200001605832004E/BAPI_with_transaction.txt]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 09:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-rollback/m-p/6389945#M1404606</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-12-07T09:59:11Z</dc:date>
    </item>
  </channel>
</rss>

