<?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: Populating BAPI Return Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375568#M1543487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;cl = 'zcsequip'. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Case-sensitive maybe, did you check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 18:54:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-11T18:54:13Z</dc:date>
    <item>
      <title>Populating BAPI Return Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375567#M1543486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have developed several methods and FM to pull data into secondary systems.  Done a fair amount of searching and reading to find out that it is best to use a bapi return table to return any error conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have searched and read all about the function BALW_BAPIRETURN_GET2.  I have also created a message class and a couple of messages via SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i run BALW_BAPIRETURN_GET2 from SE37 plugging the appropriate parameters, it returns my customer message as expected.  However, when I run the same FM, passing the same parameter values from within another FM I do not get my message, I get a concatenantion of my parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex... &lt;/P&gt;&lt;P&gt;    type = 'I'.&lt;/P&gt;&lt;P&gt;    cl = 'zcsequip'.&lt;/P&gt;&lt;P&gt;    number = 001.&lt;/P&gt;&lt;P&gt;    par1 = i_sernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BALW_BAPIRETURN_GET2'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        type       = type&lt;/P&gt;&lt;P&gt;        cl         = cl&lt;/P&gt;&lt;P&gt;        number     = number&lt;/P&gt;&lt;P&gt;        par1       = par1&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        return     = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the following message in the Return structure...  " I: zcsequip: 001 0000000044 "  instead of " 0000000044 is not a valid serial number."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure I am missing something with the set up of the customer message class or the execution of 'BALW_BAPIRETURN_GET2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 16:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375567#M1543486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-11T16:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Populating BAPI Return Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375568#M1543487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;cl = 'zcsequip'. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Case-sensitive maybe, did you check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375568#M1543487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-11T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Populating BAPI Return Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375569#M1543488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo - that was the issue.  I haven't got my brain thinking case-sensitive yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-bapi-return-table/m-p/7375569#M1543488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-11T18:57:33Z</dc:date>
    </item>
  </channel>
</rss>

