<?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: Output using checkbox in selection-screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734292#M319475</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;look this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zchk.
 
 
tables: sscrfields.
 
PARAMETERS: p_hold AS CHECKBOX DEFAULT 'X' USER-COMMAND hold.
 
at selection-screen.
 
  PERFORM sscr_user_commands.
*---------------------------------------------------------------------*
*       FORM sscr_user_commands                                       *
*---------------------------------------------------------------------*
FORM sscr_user_commands.
  CASE sscrfields-ucomm.
    WHEN 'HOLD'.            " Make this uppercase.
 
      break-point.
 
  ENDCASE.
ENDFORM.
.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2006 05:47:13 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-11-29T05:47:13Z</dc:date>
    <item>
      <title>Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734291#M319474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;                   I want to devlop a selection screen in such a way that once i check the check box in the selection creen it shuld give the o/p. &lt;/P&gt;&lt;P&gt;The req is there is a user name and job in selection screen which the user is going to give and the he will check the check box and press f8 . he shuld get the o/p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can anyone hlp me regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                              regards,&lt;/P&gt;&lt;P&gt;                                                                rajesh sahakla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734291#M319474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T05:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734292#M319475</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;look this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zchk.
 
 
tables: sscrfields.
 
PARAMETERS: p_hold AS CHECKBOX DEFAULT 'X' USER-COMMAND hold.
 
at selection-screen.
 
  PERFORM sscr_user_commands.
*---------------------------------------------------------------------*
*       FORM sscr_user_commands                                       *
*---------------------------------------------------------------------*
FORM sscr_user_commands.
  CASE sscrfields-ucomm.
    WHEN 'HOLD'.            " Make this uppercase.
 
      break-point.
 
  ENDCASE.
ENDFORM.
.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734292#M319475</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-29T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734293#M319476</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;&lt;/P&gt;&lt;P&gt;Check this example..Once the user presses the check box the start-of-selection will be triggered..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_CHECK AS CHECKBOX USER-COMMAND USR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'USR' AND P_CHECK = 'X'.&lt;/P&gt;&lt;P&gt;  SY-UCOMM = 'ONLI'.&lt;/P&gt;&lt;P&gt;  SSCRFIELDS-UCOMM = 'ONLI'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;WRITE: / 'SUCCESS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734293#M319476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T05:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734294#M319477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK &amp;lt;checkbox_name&amp;gt; IS NOT INTIAL.&lt;/P&gt;&lt;P&gt;Do a submit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Meera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734294#M319477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T05:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734295#M319478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u wnt the O/P on checking the Chk Box u should write all the code in the &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection-screen output&amp;lt;/b&amp;gt; event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not if ur req is that u need to execute only if the Chk box is checked then write th code in &amp;lt;b&amp;gt;at selection-screen output&amp;lt;/b&amp;gt; event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if chk_box = 'X'&lt;/P&gt;&lt;P&gt;if screen-name = 'USERNAME'. or screen-name = 'JOB'.Parameter name&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734295#M319478</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-29T05:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734296#M319479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha..&lt;/P&gt;&lt;P&gt;    Thnks for ur reply. But i think u didnt get my problem. see i hav user name and job 2 selection screen parameters or select-options,&lt;/P&gt;&lt;P&gt;and i need to hav a checkbox in such a way that once a user give the username and password and checks the checkbox, and presses f 8 or executes then he shuld get the appropriate o/p for the following i/p.&lt;/P&gt;&lt;P&gt;I think u hav got my req well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                       regards,&lt;/P&gt;&lt;P&gt;                                                        sahakla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 05:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734296#M319479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T05:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734297#M319480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;see my req is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jobname==&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stepno.===&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scheduled=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sucessful=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;terminated=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk4=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk5=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If u check any one it will processed with the required job and stepno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 06:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734297#M319480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T06:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734298#M319481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;          USERNAME LIKE ABC-USERNAME,&lt;/P&gt;&lt;P&gt;          JOB LIKE ABC-JOB,&lt;/P&gt;&lt;P&gt;         END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   PARAMETERS: p_username  LIKE  XXXXXX ,&lt;/P&gt;&lt;P&gt;                            p_job  LIKE  YYYYYY,&lt;/P&gt;&lt;P&gt;                            p_checkbox as checkbox.&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;  select xx yy zz form table  abc &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   into table itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   where username eq p_username and&lt;/P&gt;&lt;P&gt;          job eq p_job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     WRITE : ITAB-USERNAME ,15(20) JOB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 06:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734298#M319481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T06:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Output using checkbox in selection-screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734299#M319482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think the posts above r sufficient to solve ur prob&lt;/P&gt;&lt;P&gt;Hope this solves the query&lt;/P&gt;&lt;P&gt;U can use the 2 events &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;here u check the sy-ucomm field and the checkbox&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'ONLI' and chk_box eq 'X'.&lt;/P&gt;&lt;P&gt;fetch the corresponding data 2 be displayed n store it in an internal table &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;check the internal table for data.&lt;/P&gt;&lt;P&gt;if not int_table is initial....."Data exists"&lt;/P&gt;&lt;P&gt;put the data onto the screen by assigning the screen variables to the table fields&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****if found helpful u can mark some points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 06:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-using-checkbox-in-selection-screen/m-p/1734299#M319482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T06:31:55Z</dc:date>
    </item>
  </channel>
</rss>

