<?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: Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108395#M440286</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 this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here &amp;lt;b&amp;gt;zps_calling_report&amp;lt;/b&amp;gt; is you dummy calling program.&amp;lt;b&amp;gt; z_called_report&amp;lt;/b&amp;gt; is your actual program which gives output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call the program using  &amp;lt;b&amp;gt;SUBMIT&amp;lt;/b&amp;gt; command with addition &amp;lt;b&amp;gt;SELECTION-TABLE&amp;lt;/b&amp;gt; seltab. Table seltab is of type rsparams. See how the checkbox is set in calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questiom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------*
*----------------------------------------------------------------------*
*" This is your calling DUMMY program
REPORT zps_calling_report.

DATA : seltab LIKE rsparams OCCURS 0 WITH HEADER LINE.

SELTAB-SELNAME = 'P_BOX'.
SELTAB-KIND    = 'P'.
SELTAB-SIGN    = 'I'.
SELTAB-OPTION  = 'EQ'.
SELTAB-LOW     = 'X'.
APPEND SELTAB.

SUBMIT zps_called_report WITH SELECTION-TABLE seltab.
*----------------------------------------------------------------------*



*----------------------------------------------------------------------*
*" This is your called program which gives output.
REPORT zps_called_report.

PARAMETERS: p_box AS CHECKBOX.
*----------------------------------------------------------------------*
*----------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 03:17:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-13T03:17:44Z</dc:date>
    <item>
      <title>Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108394#M440285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be using a dummy program that will call the report program. I need to bypass the selection screen &amp;amp; automatically mark a checkbox in the said selection screen of the report program. Thus when I execute the dummy program all I see is the report output only. How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 02:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108394#M440285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T02:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108395#M440286</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 this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here &amp;lt;b&amp;gt;zps_calling_report&amp;lt;/b&amp;gt; is you dummy calling program.&amp;lt;b&amp;gt; z_called_report&amp;lt;/b&amp;gt; is your actual program which gives output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call the program using  &amp;lt;b&amp;gt;SUBMIT&amp;lt;/b&amp;gt; command with addition &amp;lt;b&amp;gt;SELECTION-TABLE&amp;lt;/b&amp;gt; seltab. Table seltab is of type rsparams. See how the checkbox is set in calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questiom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------*
*----------------------------------------------------------------------*
*" This is your calling DUMMY program
REPORT zps_calling_report.

DATA : seltab LIKE rsparams OCCURS 0 WITH HEADER LINE.

SELTAB-SELNAME = 'P_BOX'.
SELTAB-KIND    = 'P'.
SELTAB-SIGN    = 'I'.
SELTAB-OPTION  = 'EQ'.
SELTAB-LOW     = 'X'.
APPEND SELTAB.

SUBMIT zps_called_report WITH SELECTION-TABLE seltab.
*----------------------------------------------------------------------*



*----------------------------------------------------------------------*
*" This is your called program which gives output.
REPORT zps_called_report.

PARAMETERS: p_box AS CHECKBOX.
*----------------------------------------------------------------------*
*----------------------------------------------------------------------*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 03:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108395#M440286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T03:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108396#M440287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this : &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;set flags&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF u_jse IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    l_flg_securities = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF u_jlo IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    l_flg_loans = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF u_jotc IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    l_flg_otc = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set keydate&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_keydate = u_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set ranges&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_wrk_range_val-sign   = 'I'.&lt;/P&gt;&lt;P&gt;  l_wrk_range_val-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  l_wrk_range_val-low    = u_wa_out_tab-valuation_area.&lt;/P&gt;&lt;P&gt;  APPEND l_wrk_range_val TO l_range_val.&lt;/P&gt;&lt;P&gt;  l_ranges-valuation_area = l_range_val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  l_wrk_range_dea-sign   = 'I'.&lt;/P&gt;&lt;P&gt;  l_wrk_range_dea-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  l_wrk_range_dea-low    = u_wa_out_tab-deal_number.&lt;/P&gt;&lt;P&gt;  APPEND l_wrk_range_dea TO l_range_dea.&lt;/P&gt;&lt;P&gt;  l_ranges-deal_number = l_range_dea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT rtpm_trl_show_position_values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     WITH so_bukrs IN l_ranges-company_code&lt;/P&gt;&lt;P&gt;       WITH so_secac IN l_ranges-security_account&lt;/P&gt;&lt;P&gt;     WITH so_loanr IN l_ranges-loans_contract&lt;/P&gt;&lt;P&gt;     WITH so_otcnr IN l_ranges-deal_number&lt;/P&gt;&lt;P&gt;     WITH p_sec EQ l_flg_securities&lt;/P&gt;&lt;P&gt;     WITH p_loa EQ l_flg_loans&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WITH p_pos EQ im_flag_opt_fut&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     WITH p_dea EQ l_flg_otc&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WITH pm_noz EQ im_flag_no_zeros&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     WITH pm_date EQ l_keydate&lt;/P&gt;&lt;P&gt;     AND RETURN.                                         "#EC CI_SUBMIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 03:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108396#M440287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T03:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108397#M440288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.hi marc,&lt;/P&gt;&lt;P&gt;try this one in your dummy report&lt;/P&gt;&lt;P&gt;SUBMIT 'report program'&lt;/P&gt;&lt;P&gt;VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;USING SELECTION-SET 'VARIANT1'&lt;/P&gt;&lt;P&gt;USING SELECTION-SETS OF PROGRAM 'report program'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u must declare a variant in the report program.(ckechbox = 'X')&lt;/P&gt;&lt;P&gt;in the case you need to bypass the selection screen, be sure to have this in your all parameters:&lt;/P&gt;&lt;P&gt;sample&lt;/P&gt;&lt;P&gt;P_parm1 type ztable-zfield no display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 04:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108397#M440288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T04:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108398#M440289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Marc Winston Ng &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;try this....&lt;/P&gt;&lt;P&gt;ur program to b called has parameter cb AS checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;prog_name&amp;gt; with cb = 'X' and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 04:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108398#M440289</guid>
      <dc:creator>naveen1241</dc:creator>
      <dc:date>2007-04-13T04:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108399#M440290</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;in the main program decalare parameter cb as checkbox &amp;lt;b&amp;gt;no-display&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;prog_name&amp;gt; with cb = 'X' and return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 04:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108399#M440290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T04:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108400#M440291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;            Just Copy and paste this code. For the CALLED PROGRAM selection screen create a variant with name " var1 ".OK.&lt;/P&gt;&lt;P&gt;After this execute your main program i.e., your CALING PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling Program:&amp;lt;/b&amp;gt;( Main Program )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;  w_variant(5) TYPE c VALUE 'VAR1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT YH625_CALLED_PROGRAM USING SELECTION-SET w_variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Called Program:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter w_char AS CHECKBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE '*************** This is Called program output **********************'.&lt;/P&gt;&lt;P&gt;WRITE / 'Your viewing this, without seeing selection screen of this program'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;Hope your Problem is solved, because I tested this in my SAP system.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 05:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108400#M440291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T05:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108401#M440292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need of declaring the parameter in the calling program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 11:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2108401#M440292</guid>
      <dc:creator>naveen1241</dc:creator>
      <dc:date>2007-04-13T11:01:39Z</dc:date>
    </item>
  </channel>
</rss>

