<?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: bapi return in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489039#M561636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, you can have alot more than two messages coming back from the BAPI,  in this case, the transaction probably hit the type I message first, and continue processing and then hit the TYPE E.   You will get all of the messages from the transaction during processing of the BAPI.  All information, warnings, success, and error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2007 18:33:26 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-20T18:33:26Z</dc:date>
    <item>
      <title>bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489038#M561635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using a bapi in a loop . For every iteration of the loop  2 messages are returned . one is 'I' and the other is 'E' . I am passing two tables to the bapi. I am not sure of how to pass the input to the bapi but is it possible to get two messages for one bapi call or am i not passing appropriate data to the bapi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 18:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489038#M561635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T18:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489039#M561636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, you can have alot more than two messages coming back from the BAPI,  in this case, the transaction probably hit the type I message first, and continue processing and then hit the TYPE E.   You will get all of the messages from the transaction during processing of the BAPI.  All information, warnings, success, and error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 18:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489039#M561636</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-20T18:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489040#M561637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your prompt reply . I am getting an 'E' type first and then an 'I' type . I have to call a FM if there is no error returned from bapi how do i do that ? I appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 18:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489040#M561637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489041#M561638</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;u will get the messages in the return structure of the BAPI .as u r calling another FM basing on the return parameter of the bapi.Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  I_BAPIRETURN IS INITIAL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FM &amp;lt;FMNAME&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As ur getting TYPE 'E' in the bapi,so please check the data ur passing and check why u r getting the error message..Now make the bapi return to be messages free and then call ur FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 18:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489041#M561638</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-07-20T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489042#M561639</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; the return table from the bapi has type of error in it.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_return like BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the bapi call it_return will have all the messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then say &lt;/P&gt;&lt;P&gt; read table it_return with key type eq 'E'.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0..&lt;/P&gt;&lt;P&gt;your logic.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 19:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/2489042#M561639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T19:18:45Z</dc:date>
    </item>
  </channel>
</rss>

