<?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: how to call 2 function module together in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566663#M256010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call function 'BAPI_INCOMINGINVOICE_CREATE'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;  exceptions.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  Call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;  exceptions.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 09:36:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T09:36:08Z</dc:date>
    <item>
      <title>how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566659#M256006</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;How to execute two function modules one after the other.&lt;/P&gt;&lt;P&gt;I am executing the Function module BAPI_INCOMINGINVOICE_CREATE, followed by i need to run the function module BAPI_TRANSACTION_COMMIT. How to do this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566659#M256006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566660#M256007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just after u call teh first BAPI, u can call the 2nd BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the BAPIRET into a table and check if TYPE is not error or warning, then call the 2nd BAPI 'BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566660#M256007</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-09-08T09:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566661#M256008</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;You can call Function modules one after the other. In your case after calling the Bapi BAPI_INCOMINGINVOICE_CREATE you can check the return table , if there are any entries/messages with Type E or A then you can exit with out calling second BAPI and if there are no messages in return table of type E or A then you can call second bapi as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566661#M256008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566662#M256009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Preethi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you ae using these function modules in any program then you can use directly one after the other. If you want to just try to execute these bapi's then goto Invoice crate BAPI and in the menu's there is option to test the BAPI in sequesnce. There you specify the sequeces of the BAPI's you need to execute. First provide the Invoince BAPi and then the Commit BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566662#M256009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566663#M256010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call function 'BAPI_INCOMINGINVOICE_CREATE'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;  exceptions.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  Call function 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;  importing&lt;/P&gt;&lt;P&gt;  exceptions.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566663#M256010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to call 2 function module together</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566664#M256011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can go to se37 and write the BAPI to be tested first.&lt;/P&gt;&lt;P&gt;Then from 'Function MOdule-&amp;gt;TEST-&amp;gt;TEST SEQUENCES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can write the FM/BAPI to be executed next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 09:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-2-function-module-together/m-p/1566664#M256011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T09:40:09Z</dc:date>
    </item>
  </channel>
</rss>

