<?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 BAPI_Create_Bank, problems with returning message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692422#M889134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI getleman's!! I`m new in SAP (ABAP).&lt;/P&gt;&lt;P&gt;I`m using BAPI_Create_Bank and I realize that, when the data is commited rightly the message doesn't return anything.&lt;/P&gt;&lt;P&gt;althought when I'm trying to insert some replicate data the message of the Bapi return me and "E" Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the message only return when it happened an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the options of the data element BAPIRET2 (message) shows:&lt;/P&gt;&lt;P&gt;Field: type  &lt;/P&gt;&lt;P&gt;Description: &lt;/P&gt;&lt;P&gt;- Message type: S Success, E Error, W Warning, I Info, A Abort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'S' has never been returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polak.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2008 20:18:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-09T20:18:09Z</dc:date>
    <item>
      <title>BAPI_Create_Bank, problems with returning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692422#M889134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI getleman's!! I`m new in SAP (ABAP).&lt;/P&gt;&lt;P&gt;I`m using BAPI_Create_Bank and I realize that, when the data is commited rightly the message doesn't return anything.&lt;/P&gt;&lt;P&gt;althought when I'm trying to insert some replicate data the message of the Bapi return me and "E" Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the message only return when it happened an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the options of the data element BAPIRET2 (message) shows:&lt;/P&gt;&lt;P&gt;Field: type  &lt;/P&gt;&lt;P&gt;Description: &lt;/P&gt;&lt;P&gt;- Message type: S Success, E Error, W Warning, I Info, A Abort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'S' has never been returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polak.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692422#M889134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_Create_Bank, problems with returning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692423#M889135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;That's normall. SAP dohave its own share of clinches. Just check for return messages or SY-SUBRC and if it is 0 assume the object uploaded successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692423#M889135</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2008-04-09T20:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_Create_Bank, problems with returning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692424#M889136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hernan Szmajser ,&lt;/P&gt;&lt;P&gt;                                   The return table parameter data population is based on the code inside the BAPI. for this BAPI the Return parameter is getting populated only for the error situation . If you look into the function module / BAPI they are calling  a  form routine "bank_distribute" in include L1011F01 &lt;/P&gt;&lt;P&gt;Inside this include they are populating the return table only if the SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Check this piece of code inside the form routine:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Distribution of Bank*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  &lt;STRONG&gt;CALL FUNCTION 'ALE_BANK_SAVEREPLICA'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;bankctry                = bankcountry&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;bankkey                 = bankkey&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;bankaddress             = bank_address&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;bankdetail              = bank_detail&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        SERIAL_ID               = '0'*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;       &lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;receivers               = receivers&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        COMMUNICATION_DOCUMENTS =*&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        APPLICATION_OBJECTS     =*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;       &lt;STRONG&gt;EXCEPTIONS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;error_creating_idocs    = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;OTHERS                  = 2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;PERFORM set_return_message USING sy-msgty sy-msgid sy-msgno&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                     &lt;STRONG&gt;sy-msgv1 sy-msgv2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                     &lt;STRONG&gt;sy-msgv3  sy-msgv4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                            &lt;STRONG&gt;CHANGING return.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692424#M889136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T20:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_Create_Bank, problems with returning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692425#M889137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks!! i'll try it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polak.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2008 18:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-create-bank-problems-with-returning-message/m-p/3692425#M889137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-11T18:02:17Z</dc:date>
    </item>
  </channel>
</rss>

