<?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: Reports - selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288422#M786733</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 obligatory option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 11:54:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T11:54:53Z</dc:date>
    <item>
      <title>Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288421#M786732</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 have a selection screen in which I have radiobuttons(stpr and matr) and select-options(stp and mat) in a block .I have to get an error message when I dont give values and execute.I have already written code for disabling select-options for corresponding radiobutton in AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;So please help me out in solving this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Moin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288421#M786732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288422#M786733</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 obligatory option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288422#M786733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288423#M786734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen.&lt;/P&gt;&lt;P&gt;If sp_stp[] is initial.&lt;/P&gt;&lt;P&gt;message e000 with 'Select-options STP cannot be empty'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so_mat[] is initial.&lt;/P&gt;&lt;P&gt;message e000 with "same aboev".&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This validation will throw an error when the user tries to execute the program without entering the values in select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shakir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288423#M786734</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2008-01-11T11:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288424#M786735</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;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For checking one field at a time,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say,&lt;/P&gt;&lt;P&gt;matnr is in my select-options,&lt;/P&gt;&lt;P&gt;ie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options: s_matnr for mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have to get an error message when I dont give values and execute then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN ON s_matnr&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if ( s_matnr-low = ' ' ) and ( s_matnr-high = ' ' ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;error message.&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;if there are more than a field then go for,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options: s_matnr for mara-matnr obligatory,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                      &lt;STRONG&gt;s_werks for marc-werks obligatory.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jagannathan krishnan on Jan 11, 2008 1:00 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jagannathan krishnan on Jan 11, 2008 1:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288424#M786735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288425#M786736</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 the &lt;STRONG&gt;at selection-screen on field&lt;/STRONG&gt; command and check whether the radio button field is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288425#M786736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288426#M786737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS : s_matnr FOR marc-matnr.
"Your code..

START-OF-SELECTION.
  IF s_matnr IS INITIAL.
    MESSAGE 'Please enter material' TYPE 'S'.
    SUBMIT (sy-repid) VIA SELECTION-SCREEN.
  ENDIF.
  "repeat same for other select-options.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288426#M786737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288427#M786738</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;u can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'ONLI' or sy-ucomm = 'SJOB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sp_stp[] is initial.&lt;/P&gt;&lt;P&gt;message e000 with 'Select-options STP cannot be empty'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so_mat[] is initial.&lt;/P&gt;&lt;P&gt;message e000 with "same aboev".&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are not checking user command whether its run(f8) r run in backgrnd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will always throw error when u  select other radio button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288427#M786738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reports - selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288428#M786739</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;After selection screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do as below :&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 stpr = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if stp[] is initial.&lt;/P&gt;&lt;P&gt;message 'Input values' type 'E'.&lt;/P&gt;&lt;P&gt;elseif matr[] is initial.&lt;/P&gt;&lt;P&gt; message 'Input values' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports-selection-screen/m-p/3288428#M786739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:10:26Z</dc:date>
    </item>
  </channel>
</rss>

