<?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/1132725#M112115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the mentioned are the structures which are used to get the return values/msgs from the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the structure is going to difer.u can make use of anything..again it depends on the BAPI which u are going to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Eswar Kanakanti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2006 06:55:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-24T06:55:25Z</dc:date>
    <item>
      <title>Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132722#M112112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to ask the difference between export types BAPIRETURN, BAPIRET1, BAPIRET2 in the BAPI if I want to return a return code to a VB program.&lt;/P&gt;&lt;P&gt;Which type should I use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132722#M112112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132723#M112113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These were used in the RFC to handle the exceptions. suppose i am having 3 tables in my FM(RFC) if any one of the tables is empty or all the tables were empty then error message is populated thru the itab_message(bapiret2 or bapiret1 or bapireturn).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the return code i think these structures were not used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132723#M112113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132724#M112114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Macy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As such all these are the return types used in BAPi's to give out the messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the BAPi you are using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be a Return table of  type BAPIRETURN as well an export structure of type BAPIRET2/BAPIRET1 OR vice-versa.&lt;/P&gt;&lt;P&gt;It only depends on you what kind of messages are you looking for (detailed or too the point)&lt;/P&gt;&lt;P&gt;The Export Structure will have too the point result i.e. BAPI successful or failed, whereas the RETURN TABLES parameter will give you all the details (i.e. why the BAPI Failed...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIRET2 &amp;amp; BAPIRET1 provides you with some additional data about the success or failure message generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132724#M112114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132725#M112115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the mentioned are the structures which are used to get the return values/msgs from the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the structure is going to difer.u can make use of anything..again it depends on the BAPI which u are going to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Eswar Kanakanti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132725#M112115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132726#M112116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Actually I just want my BAPI to return an integer to indicate success or failure.&lt;/P&gt;&lt;P&gt;e.g. return like BAPIRETURN&lt;/P&gt;&lt;P&gt;in the BAPI, I set return-code = 4 if it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the vb .net connector says the type BAPIRETURN has not defined.&lt;/P&gt;&lt;P&gt;I wonder what's wrong are there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 06:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132726#M112116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T06:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi return</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132727#M112117</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 need to declare it first as type bapireturn and set the returncode as 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 07:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-return/m-p/1132727#M112117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T07:00:39Z</dc:date>
    </item>
  </channel>
</rss>

