<?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 processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913546#M685768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    instead of showing ur message as an ERROR MSG (TYPE E)&lt;/P&gt;&lt;P&gt;show it as information msg (type i) or sucess msg (type S)&lt;/P&gt;&lt;P&gt;  and use STOP command immediately after it so that it remains on the selection screen only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 11:23:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T11:23:10Z</dc:date>
    <item>
      <title>Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913535#M685757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a selection screen with two select-options fields for which I would like to make a check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field 1 and field 2 are empty then triggering an Error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I thought to use the "at selection-screen block" combined with &lt;/P&gt;&lt;P&gt;if field 1 and field 2 is initial.&lt;/P&gt;&lt;P&gt;message...&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in that case, I can not use any more the multiple selection button (at the right of the field) becase I have my event "at selection-screen block" triggered with the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to declare my message after the start of selection but then I have a new empty screen with my error message on the bottom of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to deal with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913535#M685757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913536#M685758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perform ur validation in &amp;lt;b&amp;gt;AT SELECTION-SCREEN&amp;lt;/b&amp;gt; event instead of &amp;lt;b&amp;gt;AT SELECTION-SCREEN block&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913536#M685758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913537#M685759</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;you can put OBLIGATORY key word for that two selection screen fields &lt;/P&gt;&lt;P&gt;then that field will show error untill u enter the value in it &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  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******&lt;STRONG&gt;DATA DECLARATIONS&lt;/STRONG&gt;**********&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF IT_PLANT OCCURS 0,&lt;/P&gt;&lt;P&gt;        MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;        WERKS LIKE MARC-WERKS,&lt;/P&gt;&lt;P&gt;        PSTAT LIKE MARC-PSTAT,&lt;/P&gt;&lt;P&gt;        EKGRP LIKE MARC-EKGRP,&lt;/P&gt;&lt;P&gt;       END OF IT_PLANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF IT_PONO OCCURS 0,&lt;/P&gt;&lt;P&gt;        EBELN LIKE EKKO-EBELN,&lt;/P&gt;&lt;P&gt;        EBELP LIKE EKPO-EBELP,&lt;/P&gt;&lt;P&gt;        MATNR LIKE EKPO-MATNR,&lt;/P&gt;&lt;P&gt;        WERKS LIKE EKPO-WERKS,&lt;/P&gt;&lt;P&gt;        LGORT LIKE EKPO-LGORT,&lt;/P&gt;&lt;P&gt;       END OF IT_PONO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES EKKO.&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;END OF DATA DECLARATIONS&lt;/STRONG&gt;*********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********SELECTION SCREEN DESIGN ***********&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;&lt;/P&gt;&lt;P&gt;PARAMETER : P_WERKS LIKE MARC-WERKS OBLIGATORY MODIF ID S1.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN OBLIGATORY  NO INTERVALS MODIF ID S2.&lt;/P&gt;&lt;P&gt;&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-004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;PARAMETERS : R2 RADIOBUTTON GROUP G1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&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;******&lt;STRONG&gt;END OF SELECTION SCREEN DESIGN&lt;/STRONG&gt;****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********&lt;STRONG&gt;INITIALIZATION OF SELECTION SCREEN ELEMENTS.&lt;/STRONG&gt;*****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_WERKS = '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_EBELN-LOW = '4500016926'.&lt;/P&gt;&lt;P&gt;S_EBELN-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;S_EBELN-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;APPEND S_EBELN.&lt;/P&gt;&lt;P&gt;CLEAR S_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************&lt;STRONG&gt;END OF INITIALIZATION&lt;/STRONG&gt;***********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********&lt;STRONG&gt;SCREEN MODIFICATIONS&lt;/STRONG&gt;*******************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;END OF SCREEN MODIFICATIONS&lt;/STRONG&gt;*****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************SCREEN VALIDATIONS *****************&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE *&lt;/P&gt;&lt;P&gt;           FROM EKKO&lt;/P&gt;&lt;P&gt;           INTO EKKO&lt;/P&gt;&lt;P&gt;           WHERE EBELN IN S_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD 'S_EBELN-LOW'.&lt;/P&gt;&lt;P&gt;    MESSAGE E999 WITH TEXT-005.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;end of screen validation&lt;/STRONG&gt;*****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Rewar dif usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913537#M685759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913538#M685760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that but it is the same:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message triggered when I try to use the multiple selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913538#M685760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913539#M685761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;if field1 is initial and field2 is initial.&lt;/P&gt;&lt;P&gt;message e000 with 'Please enter either of the values'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913539#M685761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913540#M685762</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;this Validation and Error Message must be done in the Event AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it solves ur problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF HELPFUL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913540#M685762</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-11T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913541#M685763</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;Yes of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the thing is that there is some condition for the OBLIGATORY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field 1 empty then only field 2 obligatory and if field 2 empty then only field 1 obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913541#M685763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913542#M685764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but then I can not use any more the multiple selection function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913542#M685764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913543#M685765</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;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'ONLI'.   "Only when you execute the program&lt;/P&gt;&lt;P&gt; if field1 is initial....Your condition for giving error.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913543#M685765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913544#M685766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solved the prob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913544#M685766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913545#M685767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nozome &lt;/P&gt;&lt;P&gt;didnt get your point clearly ... what you mean by multiple selection.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you talking about Select-Options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913545#M685767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913546#M685768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    instead of showing ur message as an ERROR MSG (TYPE E)&lt;/P&gt;&lt;P&gt;show it as information msg (type i) or sucess msg (type S)&lt;/P&gt;&lt;P&gt;  and use STOP command immediately after it so that it remains on the selection screen only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-processing/m-p/2913546#M685768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:23:10Z</dc:date>
    </item>
  </channel>
</rss>

