<?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: send a values to called program using sumbit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357668#M521128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT sunit_report_name
    with parameter_name_1 = parameter_value_1
    with parameter_name_2 = parameter_value_2
    and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can extend the above with any number of parameters. However, please ensure that the data types of the parameter values being passed and the data types of the parameters in the called report match with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know in case you face issues. And, ofcourse, award points if you find this useful.!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 14:42:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T14:42:59Z</dc:date>
    <item>
      <title>send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357663#M521123</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 one problem that i should send a values from the current program to one select-options to the called program ie(other transcation or program) using submit and at the same time the called program should internally takes the values and i should display the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie from submit tcode or program &lt;/P&gt;&lt;P&gt;and i should send a values to tcode or program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357663#M521123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357664#M521124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Populate the Select-options range into range paramter R_VBELn and R_WADAT and other paramters into varaiables and use &lt;/P&gt;&lt;P&gt;   SUBMIT ZREPORT  &amp;lt;TO SAP-SPOOL  Optional&amp;gt;&lt;/P&gt;&lt;P&gt;           WITH s_vbeln IN r_vbeln&lt;/P&gt;&lt;P&gt;           with s_date  in r_wadat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357664#M521124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357665#M521125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi santu,&lt;/P&gt;&lt;P&gt;For getting value back into the calling program you need to use IMPORT in calling program and EXPORT in called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357665#M521125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357666#M521126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the help doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: RANGE_LANGU    TYPE RANGE OF SY-LANGU, &lt;/P&gt;&lt;P&gt;      RANGE_LANGU_WA LIKE lINE OF RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: MSG_FR LIKE T100-MSGNR, &lt;/P&gt;&lt;P&gt;            MSG_TO LIKE T100-MSGNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'I'  TO RANGE_LANGU_WA-SIGN, &lt;/P&gt;&lt;P&gt;      'BT' TO RANGE_LANGU_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'D'  TO RANGE_LANGU_WA-LOW, &lt;/P&gt;&lt;P&gt;      'I'  TO RANGE_LANGU_WA-HIGH. &lt;/P&gt;&lt;P&gt;APPEND RANGE_LANGU_WA TO RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'EQ'  TO RANGE_LANGU_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'E'   TO RANGE_LANGU_WA-LOW. &lt;/P&gt;&lt;P&gt;APPEND RANGE_LANGU_WA TO RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT00 &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       WITH  MSG   BETWEEN MSG_FR AND MSG_TO &lt;/P&gt;&lt;P&gt;       WITH  LANGU IN RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'VARIANT1' can be used if you have a variant (VARIANT1) in the report screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;reward points to helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357666#M521126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357667#M521127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USE :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT PROGRAM NAME VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;                          WITH SELECTION-TABLE t_param&lt;/P&gt;&lt;P&gt;                          AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE ABAP MEMORY :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_AMEM1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of i_lfa1 occurs 0 ,&lt;/P&gt;&lt;P&gt;       lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;       name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;       land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;       end of i_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select lifnr&lt;/P&gt;&lt;P&gt;       name1&lt;/P&gt;&lt;P&gt;       land1 from lfa1&lt;/P&gt;&lt;P&gt;       into table i_lfa1 up to 100 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Export&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;export i_lfa1 to memory id 'SAP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit ztest_amem2 and return.&lt;/P&gt;&lt;P&gt;write:/ 'hello'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTEST_AMEM2&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_AMEM2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of j_lfa1 occurs 0,&lt;/P&gt;&lt;P&gt;       lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;       name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;       land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;       end of j_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import i_lfa1 to j_lfa1 from memory id 'SAP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at j_lfa1.&lt;/P&gt;&lt;P&gt;write:/ j_lfa1-lifnr,j_lfa1-name1,j_lfa1-land1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357667#M521127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: send a values to called program using sumbit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357668#M521128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT sunit_report_name
    with parameter_name_1 = parameter_value_1
    with parameter_name_2 = parameter_value_2
    and return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can extend the above with any number of parameters. However, please ensure that the data types of the parameter values being passed and the data types of the parameters in the called report match with each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know in case you face issues. And, ofcourse, award points if you find this useful.!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 14:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-a-values-to-called-program-using-sumbit/m-p/2357668#M521128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T14:42:59Z</dc:date>
    </item>
  </channel>
</rss>

