<?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: output of one program as input to another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451613#M1055488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , &lt;/P&gt;&lt;P&gt;from the Programme A you can Export the Data to a memory ID as the Example Below and by using Submit , you can Call the Programme B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT it_header1 TO MEMORY ID 'OPEN'.&lt;/P&gt;&lt;P&gt; SUBMIT zvr70_planprice_import_from_16 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the Programme B you retrive the Data from the Momory Which you passed by the Programme A  from the same memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT it_header1 TO iit_download FROM MEMORY ID 'OPEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Dilum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2008 10:24:12 GMT</pubDate>
    <dc:creator>former_member451655</dc:creator>
    <dc:date>2008-09-09T10:24:12Z</dc:date>
    <item>
      <title>output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451609#M1055484</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;I need to make a program which takes output of one program as input to another program, could any one send me a sample code for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bobby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451609#M1055484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451610#M1055485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use SUBMIT &amp;lt;first program&amp;gt; statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in second program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451610#M1055485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451611#M1055486</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;use &lt;STRONG&gt;submit&lt;/STRONG&gt; keyword or&lt;/P&gt;&lt;P&gt;use &lt;STRONG&gt;export&lt;/STRONG&gt; and &lt;STRONG&gt;import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451611#M1055486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451612#M1055487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SUBMIT statement along with EXPORTING LIST TO MEMORY and retrieve the list using function module LIST_FROM_MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB LIKE ABAPLIST OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT1 EXPORTING LIST TO MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    LISTOBJECT       = ITAB&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_FOUND        = 1&lt;/P&gt;&lt;P&gt;   OTHERS           = 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451612#M1055487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451613#M1055488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , &lt;/P&gt;&lt;P&gt;from the Programme A you can Export the Data to a memory ID as the Example Below and by using Submit , you can Call the Programme B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT it_header1 TO MEMORY ID 'OPEN'.&lt;/P&gt;&lt;P&gt; SUBMIT zvr70_planprice_import_from_16 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the Programme B you retrive the Data from the Momory Which you passed by the Programme A  from the same memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT it_header1 TO iit_download FROM MEMORY ID 'OPEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Dilum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451613#M1055488</guid>
      <dc:creator>former_member451655</dc:creator>
      <dc:date>2008-09-09T10:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451614#M1055489</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;I am getting the output on 1st report as spool file, how to take the output from spool file and pass to second program input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bobby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451614#M1055489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451615#M1055490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST_TO_ASCII&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451615#M1055490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451616#M1055491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no fm list_to_ascii , I am using ECC6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451616#M1055491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451617#M1055492</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;I got the list by using fm 'LIST_FROM_MEMORY' and 'WRITE_list'  but it is displayed on screen, I need the output data in form of internal table, the internal table I got from above FM is encoded , how to  get actual data is ther any other FM to convert the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bobby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 10:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451617#M1055492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T10:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451618#M1055493</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;Check the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;rep&amp;gt; TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;[&amp;lt;params&amp;gt;|SPOOL PARAMETERS &amp;lt;pripar&amp;gt;]&lt;/P&gt;&lt;P&gt;[ARCHIVE PARAMETERS &amp;lt;arcpar&amp;gt;]&lt;/P&gt;&lt;P&gt;[WITHOUT SPOOL DYNPRO].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;The following executable program is connected to the logical database F1S:&lt;/P&gt;&lt;P&gt;REPORT SAPMZTS1.&lt;/P&gt;&lt;P&gt;TABLES SPFLI.&lt;/P&gt;&lt;P&gt;GET SPFLI.&lt;/P&gt;&lt;P&gt;NEW-LINE.&lt;/P&gt;&lt;P&gt;WRITE: SPFLI-MANDT, SPFLI-CARRID, SPFLI-CONNID,&lt;/P&gt;&lt;P&gt;SPFLI-CITYFROM, SPFLI-AIRPFROM, SPFLI-CITYTO,&lt;/P&gt;&lt;P&gt;SPFLI-AIRPTO, SPFLI-FLTIME, SPFLI-DEPTIME, SPFLI-ARRTIME,&lt;/P&gt;&lt;P&gt;SPFLI-DISTANCE, SPFLI-DISTID, SPFLI-FLTYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following program calls SAPMZTS1 and sends the output to the spool system:&lt;/P&gt;&lt;P&gt;REPORT SAPMZTST NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;DATA: VAL,&lt;/P&gt;&lt;P&gt;PRIPAR LIKE PRI_PARAMS,&lt;/P&gt;&lt;P&gt;ARCPAR LIKE ARC_PARAMS.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_PRINT_PARAMETERS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;LAYOUT = 'X_65_132'&lt;/P&gt;&lt;P&gt;LINE_COUNT = 65&lt;/P&gt;&lt;P&gt;LINE_SIZE = 132&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;OUT_PARAMETERS = PRIPAR&lt;/P&gt;&lt;P&gt;OUT_ARCHIVE_PARAMETERS = ARCPAR&lt;/P&gt;&lt;P&gt;VALID = VAL&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ARCHIVE_INFO_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;INVALID_PRINT_PARAMS = 2&lt;/P&gt;&lt;P&gt;INVALID_ARCHIVE_PARAMS = 3&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;IF VAL &amp;lt;&amp;gt; SPACE AND SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;SUBMIT SAPMZTS1 TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;SPOOL PARAMETERS PRIPAR&lt;/P&gt;&lt;P&gt;ARCHIVE PARAMETERS ARCPAR&lt;/P&gt;&lt;P&gt;WITHOUT SPOOL DYNPRO.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bhaskar Chikine on Sep 9, 2008 4:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 11:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451618#M1055493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: output of one program as input to another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451619#M1055494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code. It should work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab LIKE abaplist OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF int_ascitab OCCURS 0,&lt;/P&gt;&lt;P&gt;      line(256),&lt;/P&gt;&lt;P&gt;      END OF int_ascitab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 EXPORTING LIST TO MEMORY AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listobject = itab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    not_found  = 1&lt;/P&gt;&lt;P&gt;    OTHERS     = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_TO_ASCI'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    list_index         = -1&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    listasci           = int_ascitab&lt;/P&gt;&lt;P&gt;    listobject         = itab&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 11:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-of-one-program-as-input-to-another-program/m-p/4451619#M1055494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T11:07:13Z</dc:date>
    </item>
  </channel>
</rss>

