<?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: passing parameter from selection screen to corresponding report program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238802#M1381828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
&amp;lt;li&amp;gt;Use USER COMMAND addition to your parameter statement for the radiobuttons.
&amp;lt;li&amp;gt;Check this w
&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND uc1, "USER_COMMAND
            RB2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN : END OF BLOCK B2.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2009 06:45:19 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2009-09-22T06:45:19Z</dc:date>
    <item>
      <title>passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238800#M1381826</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 am developing a report in which there is a selection screen containing 2 list boxes having month 'from' and 'to' ;ie the month range for which  the report is to be run and a parameter for year.below it i have 2 radio button options which will lead to the report that the user clicks on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the following in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters: month1(10) as listbox visible length 10 obligatory.&lt;/P&gt;&lt;P&gt;parameters: month2(10) as listbox visible length 10.&lt;/P&gt;&lt;P&gt;parameters: year(4) obligatory.&lt;/P&gt;&lt;P&gt;selection-screen : end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b2 with frame title text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: rb1  radiobutton group g1,&lt;/P&gt;&lt;P&gt;                    rb2  radiobutton group g1.&lt;/P&gt;&lt;P&gt;selection-screen : end of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if rb1 = 'X'.&lt;/P&gt;&lt;P&gt;submit ZMIS1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if rb2 = 'X'.&lt;/P&gt;&lt;P&gt;submit ZMIS2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want the values selected in the listbox and the year to be passed in the report that will be selected in the radiobutton (ie  ZMIS1 or ZMIS2) so that the corresponding report output will be displayed directly with the inputs given in the selection screen .&lt;/P&gt;&lt;P&gt;Please tell me how to do this.Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 06:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238800#M1381826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T06:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238801#M1381827</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 Memory ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Swathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 06:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238801#M1381827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T06:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238802#M1381828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
&amp;lt;li&amp;gt;Use USER COMMAND addition to your parameter statement for the radiobuttons.
&amp;lt;li&amp;gt;Check this w
&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND uc1, "USER_COMMAND
            RB2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN : END OF BLOCK B2.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 06:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238802#M1381828</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-09-22T06:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238803#M1381829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;You also have to pass Selection-screen data for called program the way it has been shown down.
&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZVENKAT_ALV_LIST.
DATA:
      IT_RSPARAMS TYPE STANDARD  TABLE OF RSPARAMS,
      WA_RSPARAMS LIKE LINE OF IT_RSPARAMS.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: MONTH1(10) AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
PARAMETERS: MONTH2(10) AS LISTBOX VISIBLE LENGTH 10.
PARAMETERS: YEAR(4) OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK B1.

SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND UC1,
            RB2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN : END OF BLOCK B2.

IF RB1 = 'X'.

  WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
  WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
  WA_RSPARAMS-SIGN    = 'I'.
  WA_RSPARAMS-OPTION  = 'EQ'.
  WA_RSPARAMS-LOW     = '11010'.
  WA_RSPARAMS-HIGH    = SPACE.

  SUBMIT ZMIS1 WITH SELECTION-TABLE RSPARAMS AND RETURN.
ENDIF.

IF RB2 = 'X'.

  WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
  WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
  WA_RSPARAMS-SIGN    = 'I'.
  WA_RSPARAMS-OPTION  = 'EQ'.
  WA_RSPARAMS-LOW     = '11010'.
  WA_RSPARAMS-HIGH    = SPACE.

  SUBMIT ZMIS2 WITH SELECTION-TABLE RSPARAMS AND RETURN.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;
Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 06:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238803#M1381829</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-09-22T06:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238804#M1381830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the sujjestion. plz tell me what modifications have to be made in the ZMIS1 and ZMIS2 reports ie the reports that i am calling using SUBMIT command.At present those report contains the selection screen declarations also apart from the main logic of the report.Secondly;what is the use of the 'USER-COMMAND uc1' command in the radio button declaration?&lt;/P&gt;&lt;P&gt;Here is a small part of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zmis1 line-size 185 no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools : vrm.&lt;/P&gt;&lt;P&gt;data:  param type vrm_id,&lt;/P&gt;&lt;P&gt;       values     type vrm_values,&lt;/P&gt;&lt;P&gt;        values1  type vrm_values,&lt;/P&gt;&lt;P&gt;       value like line of values,&lt;/P&gt;&lt;P&gt;         value1 like line of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters: month1(10)  no-display .&lt;/P&gt;&lt;P&gt;parameters: month2(10) no-display.&lt;/P&gt;&lt;P&gt;parameters: fiscal(4) no-display.&lt;/P&gt;&lt;P&gt;selection-screen : end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFTER THIS IT CONTAINS THE REPORT LOGIC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 08:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238804#M1381830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T08:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: passing parameter from selection screen to corresponding report program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238805#M1381831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the sujjestion. plz tell me what modifications have to be made in the ZMIS1 and ZMIS2 reports ie the reports that i am calling using SUBMIT command.At present those report contains the selection screen declarations also apart from the main logic of the report.Secondly;what is the use of the 'USER-COMMAND uc1' command in the radio button declaration?&lt;/P&gt;&lt;P&gt;Here is a small part of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zmis1 line-size 185 no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools : vrm.&lt;/P&gt;&lt;P&gt;data:  param type vrm_id,&lt;/P&gt;&lt;P&gt;       values     type vrm_values,&lt;/P&gt;&lt;P&gt;        values1  type vrm_values,&lt;/P&gt;&lt;P&gt;       value like line of values,&lt;/P&gt;&lt;P&gt;         value1 like line of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters: month1(10)  no-display .&lt;/P&gt;&lt;P&gt;parameters: month2(10) no-display.&lt;/P&gt;&lt;P&gt;parameters: fiscal(4) no-display.&lt;/P&gt;&lt;P&gt;selection-screen : end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFTER THIS IT CONTAINS THE REPORT LOGIC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 11:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-parameter-from-selection-screen-to-corresponding-report-program/m-p/6238805#M1381831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-22T11:43:59Z</dc:date>
    </item>
  </channel>
</rss>

