<?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 How to pass Selection screen values to another program's selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017989#M1347180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where in which i need to pass the selection screen values (say list of pernrs) and few others of one program to selection screen of another.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option that i came across is using Submit. But am unware how to pass only the selection screen values (there wont be any data processing or filtering).  Just the values of one prgm's selection screen are to be sent to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 09:35:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T09:35:08Z</dc:date>
    <item>
      <title>How to pass Selection screen values to another program's selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017989#M1347180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requriement where in which i need to pass the selection screen values (say list of pernrs) and few others of one program to selection screen of another.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option that i came across is using Submit. But am unware how to pass only the selection screen values (there wont be any data processing or filtering).  Just the values of one prgm's selection screen are to be sent to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 09:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017989#M1347180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Selection screen values to another program's selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017990#M1347181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to  the given link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="417376"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has very relevant to your query. Hope it helps you.&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;Sarita Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 09:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017990#M1347181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Selection screen values to another program's selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017991#M1347182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
prog1.


data:lt_params type table of RSPARAMS.
data:wa like line of lt_params.

parameters:pa1 type sy-datum.
select-options:so1 type sy-dtaum.





 
wa-SELNAME = 'PA2'.			"Seletion screen field name
wa-KIND	= 'P'.				"P-Parameter,S-Select-options
wa-SIGN	= 'I'.				"I-in
wa-OPTION	= 'EQ'.			"EQ,BT,CP
wa-LOW	= pa1.				"Selection Option Low,Parameter value
append wa to lt_params.

loop at so1.
wa-SELNAME = 'SO2'.			"Seletion screen field name
wa-KIND	= 'S'.				"P-Parameter,S-Select-options
wa-SIGN	= 'I'.				"I-in
wa-OPTION	= 'EQ'.			"EQ,BT,CP
wa-LOW	= so1-low.			"Selection Option Low,Parameter value
wa-HIGH	= so1-high.			"Selection Option Low,Parameter value
append wa to lt_params.
endloop.
 
 
 
CALL FUNCTION 'SUBMIT_REPORT'
  EXPORTING
    report                 = 'ZPROG2.'   "report name of ur tocde
    RET_VIA_LEAVE          = ''		  "IF 'X' returns to the called program after execution
    SKIP_SELSCREEN         = 'X'	  "If 'X' selection screen of called program is not displayed
 TABLES
   SELECTION_TABLE        = lt_params	  "Contains values to the selection screen
 EXCEPTIONS
  JUST_VIA_VARIANT       = 1
  NO_SUBMIT_AUTH         = 2
  OTHERS                 = 3


Prog2.


parameters:pa2 type sy-datum.
select-options:so2 type sy-dtaum.


write pa2.
skip 1.

loop at so2.
write:so2-low,so2-high.
skip 1.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshu Thekkillam on Aug 20, 2009 3:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 09:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017991#M1347182</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-08-20T09:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Selection screen values to another program's selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017992#M1347183</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 this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB1-SELNAME = 'P_NAME'.&lt;/P&gt;&lt;P&gt;TAB1-KIND = 'P'.&lt;/P&gt;&lt;P&gt;TAB1-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;TAB1-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;TAB1-LOW = ''.&lt;/P&gt;&lt;P&gt;APPEND TAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT "Program name"  WITH SELECTION-TABLE TAB1 AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where TAB1 is like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF TAB1 OCCURS 0,&lt;/P&gt;&lt;P&gt;SELNAME(8),&lt;/P&gt;&lt;P&gt;KIND(1),&lt;/P&gt;&lt;P&gt;SIGN(1),&lt;/P&gt;&lt;P&gt;OPTION(2),&lt;/P&gt;&lt;P&gt;LOW(45),&lt;/P&gt;&lt;P&gt;HIGH(45),&lt;/P&gt;&lt;P&gt;END OF TAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use F1 on SELECTION-TABLE for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Angelo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 09:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017992#M1347183</guid>
      <dc:creator>former_member302911</dc:creator>
      <dc:date>2009-08-20T09:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Selection screen values to another program's selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017993#M1347184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 05:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-values-to-another-program-s-selection-screen/m-p/6017993#M1347184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T05:01:13Z</dc:date>
    </item>
  </channel>
</rss>

