<?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: return 2 messages  in function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906595#M1329093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to populate the bapiret2, please give one sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2009 09:07:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-14T09:07:37Z</dc:date>
    <item>
      <title>return 2 messages  in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906592#M1329090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have 3 function modules.&lt;/P&gt;&lt;P&gt;zfun1,zfun2,zfun3.&lt;/P&gt;&lt;P&gt;all are having the export parameters as return like bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am calling another two function modules (zfun2 and zfun3) in one function module zfun1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;My z program calls the zfun1 with the input parametes and expects the return message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zprogram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'zfun1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'ZFUN2'.&lt;/P&gt;&lt;P&gt;   do all the processing inside the function and return the message.&lt;/P&gt;&lt;P&gt;   call funtion 'ZFUN3'.&lt;/P&gt;&lt;P&gt;   do all the processing inside the function and return the message.&lt;/P&gt;&lt;P&gt;and finally after this znfun1 returns the message to zprogram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is that how to handle two messgaes comming from 2 function modules in zfun1.&lt;/P&gt;&lt;P&gt;generally we will get one message and we will pass that , but here i am getting two&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906592#M1329090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: return 2 messages  in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906593#M1329091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Just have a field type string and and move the first function module message to that string,then concatenate with the second function module message with that first and display the two messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906593#M1329091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: return 2 messages  in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906594#M1329092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So why not create a table of BAPIRET2 structure. This way you can add all messages into this table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906594#M1329092</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-07-14T08:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: return 2 messages  in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906595#M1329093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to populate the bapiret2, please give one sample code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 09:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-2-messages-in-function-module/m-p/5906595#M1329093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T09:07:37Z</dc:date>
    </item>
  </channel>
</rss>

