<?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: SUBMIT a program from a different system in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516852#M1655330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one approach. (Assuming the Z program is aready there in DEV and QA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create one Z Function module (RFC enabled) in DEV (and transport to QA also later.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Inside the Z FM, it should call the Z program and get the output of ALV internal table. (For this you may have to slightly enhance/change the Z program for communicating the data of ALV to the FM using some export / import concept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the Z FM, the import parameters  have to be defined in such a way that you can call the FM passing the input screen values.&lt;/P&gt;&lt;P&gt;Also in the Z FM , there has to be tables parameter in which you will get the results of the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then from DEV, you can call this Z FM (RFC enabled) using DESTINATION syntax. It has to be called synchronously (by default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2012 07:05:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-03T07:05:55Z</dc:date>
    <item>
      <title>SUBMIT a program from a different system</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516850#M1655328</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 have a program in dev and qty system with selection screen with ALV output.&lt;/P&gt;&lt;P&gt;In Dev i run a program with some values in the selection screen then the program internally should call the same  program in qty system through SUBMIT statement or any other means with the same selection screen values which im passing in Dev system and get me the output in internal table from qty system to Dev system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone please share some logic or piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;PR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;modified subject line&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Feb 3, 2012 10:19 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 04:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516850#M1655328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T04:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT a program from a different system</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516851#M1655329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;In Dev i run a program with some values in the selection screen then the program internally should call the same program in qty system through SUBMIT statement or any other means with the same selection screen values which im passing in Dev system and get me the output in internal table from qty system to Dev system&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the documentation of submit statement.In ALV report what code you placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 04:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516851#M1655329</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2012-02-03T04:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT a program from a different system</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516852#M1655330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one approach. (Assuming the Z program is aready there in DEV and QA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create one Z Function module (RFC enabled) in DEV (and transport to QA also later.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Inside the Z FM, it should call the Z program and get the output of ALV internal table. (For this you may have to slightly enhance/change the Z program for communicating the data of ALV to the FM using some export / import concept).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the Z FM, the import parameters  have to be defined in such a way that you can call the FM passing the input screen values.&lt;/P&gt;&lt;P&gt;Also in the Z FM , there has to be tables parameter in which you will get the results of the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then from DEV, you can call this Z FM (RFC enabled) using DESTINATION syntax. It has to be called synchronously (by default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 07:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-a-program-from-a-different-system/m-p/8516852#M1655330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T07:05:55Z</dc:date>
    </item>
  </channel>
</rss>

