<?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: Calling one program from another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193645#M760950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of creating report.. create a function module and call it in your report....&lt;/P&gt;&lt;P&gt;and you can pass the data via function module tables back to the calling report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 10:23:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-26T10:23:01Z</dc:date>
    <item>
      <title>Calling one program from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193644#M760949</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;I want to call one report program from another program which i will be creating. So please guide me regarding how is it possible to get the output of one program in the internal table in my own program, which i can use further . Inshort, how one can call one report program from another &amp;amp; store it's output in the inernal table or memory, so that it can be used further in the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193644#M760949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calling one program from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193645#M760950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of creating report.. create a function module and call it in your report....&lt;/P&gt;&lt;P&gt;and you can pass the data via function module tables back to the calling report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193645#M760950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calling one program from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193646#M760951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chetan ,&lt;/P&gt;&lt;P&gt;                 We can call an another from existing report using submit.Inorder to carry the details use Import and Export parameters to get the details from one program to another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful give points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193646#M760951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling one program from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193647#M760952</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 can call one report program from another program by using Submit statement, refer the below syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT "your program name" EXPORTING LIST TO MEMORY WITH 'selection screen fileds of called program'   =  input field for called program AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will uploads the list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the below function module to read that exported data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Use the function module to get the data from memory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LISTOBJECT = I_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*then use the below function module to convert raw data to *asci format&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LISTASCI           = I_INITIAL&lt;/P&gt;&lt;P&gt;      LISTOBJECT         = I_LIST&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      EMPTY_LIST         = 1&lt;/P&gt;&lt;P&gt;      LIST_INDEX_INVALID = 2&lt;/P&gt;&lt;P&gt;      OTHERS             = 3.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE '0'.                                       "#EC *&lt;/P&gt;&lt;P&gt;    MESSAGE E056."Unable to convert data.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call the function module to make list memory free.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'LIST_FREE_MEMORY'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LISTOBJECT = I_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you can make use of I_INITIAL internal table to find the report data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 13:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-one-program-from-another-program/m-p/3193647#M760952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T13:15:40Z</dc:date>
    </item>
  </channel>
</rss>

