At selection-screen problem: triggering an error message...

Hello experts,
I have 3 radiobuttons and 1 parameter in my selection screen. it works in such a way that whenever the user clicks on the 3rd radiobutton the parameter will be inputtable. Now, what I want to do is that whenever the 3rd radiobutton is clicked and the user forgot to put a value in the paramater an error message will be triggered saying 'please put a value'.
Now, creating a code for that is easy but here is the problem: whenever I click on any of the radiobuttons the message triggers. Anyway, below is my code:
SELECTION-SCREEN BEGIN OF BLOCK box1 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_upld RADIOBUTTON GROUP grp MODIF ID id3
                                          USER-COMMAND ucomm.
SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme MODIF ID id3.
PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\' MODIF ID id3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode MODIF ID id1.
PARAMETERS: p_dcode LIKE vbak-kunnr MODIF ID id1,
            p_name1 LIKE kna1-name1 MODIF ID id1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_list RADIOBUTTON GROUP grp MODIF ID id4.
SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list MODIF ID id4.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_add  RADIOBUTTON GROUP grp MODIF ID id2.
SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add MODIF ID id2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_edit RADIOBUTTON GROUP grp MODIF ID id5.
SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit MODIF ID id5.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code MODIF ID id2.
*PARAMETERS: p_kunnr LIKE zts0001-kunnr.
PARAMETERS: p_code LIKE zts0001-cdseq MODIF ID id6.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK box1.
AT SELECTION-SCREEN OUTPUT.
IF v_compflag EQ space.
    LOOP AT SCREEN.
      IF screen-group1      = 'ID1'.
        screen-input        = '0'.
        screen-output       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID2'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID3'.
        screen-active       = '0'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID4'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID5'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID6'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSEIF v_compflag NE space.
    LOOP AT SCREEN.
      IF screen-group1      = 'ID1'.
        screen-active       = '0'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID2'.
        screen-active       = '0'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID3'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID4'.
        screen-active       = '1'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID5'.
        screen-active       = '0'.
        MODIFY SCREEN.
      ELSEIF screen-group1  = 'ID6'.
        screen-active       = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*for users that are not controllers
  LOOP AT SCREEN.
    IF screen-name   = 'P_CODE'.
      screen-input   =  '0'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
  IF pr_list = 'X' OR
     pr_add  = 'X'  OR
     pr_upld = 'X'.
    LOOP AT SCREEN.
      IF screen-group1   =  'ID6'.
        screen-input     =  '0'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF pr_edit  =  'X'.
    LOOP AT SCREEN.
      IF screen-group1   =  'ID6'.
        screen-input     =  '1'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.
*for controllers
  IF pr_upld = 'X'.
    LOOP AT SCREEN.
      IF screen-name      = 'P_FLNME'.
        screen-input     = '1'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF pr_list = 'X'.
    LOOP AT SCREEN.
      IF screen-name      = 'P_FLNME'.
        screen-input     = '0'.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.
AT SELECTION-SCREEN.
  IF pr_edit = 'X' AND p_code IS INITIAL.
    MESSAGE e008 WITH 'Please specify Code.'.
  ENDIF.
Again, thank you guys and have a nice day!

Hi viraylab,
1. Such validations can be handled in the event
   START-OF-SELECTION.
2. We should them and other such validations,
   using this logic
START-OF-SELECTION.
IF ERRORCONDIDTION.
<b>MESSAGE 'PLEASE ENTER ' TYPE 'S'
LEAVE LIST-PROCESSING.</b>
ENDIF.
  WRITE :/ 'ABC'.
3.
The most important statements are
A) message should be of type I, or S, or W
   (and not error E)
b) LEAVE LIST-PROCESSING
  (it discontinues the further list showing,
   and again, re-displays, the selection screen)
regards,
amit m.

Similar Messages

  • How to enable the screen after triggering the error message

    Hi All,
    we have a tcode IW31, in that one field(WBS element -PROID) is not mandatory. so we have written the following code to make it mandatory in a user exit EXIT_SAPLCOIH_010.It's triggering the error message, but it is going into disable mode. Please sugget me how to enable the screen after getting the error message triggering.
    if not caufvd_imp-proid is initial.
      select single * from t350 into wa_t350
              where  auart    = caufvd_imp-auart
                and  imord    = 'X'.
      if sy-subrc is initial.
        pspel = caufvd_imp-proid.
      else.
        call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
             exporting
                  input  = caufvd_imp-proid
             importing
                  output = l_posid.
        concatenate text-t10 l_posid text-t11
                    into l_textline1 separated by space.
        message i208(00) with l_textline1.
      endif.
    else.
      message e208(00) with 'Please maintain WBS element in Location Tab'.
    endif.
    Thanks

    Hi,
    Instead of error message use status message like
    message s208(00) with 'Please maintain WBS element in Location Tab'.
    Leave to screen sy-synnr.
    This will allow to move to the screen and have in enable mode.
    WIth Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Feb 13, 2009 7:46 AM

  • How to select a locale for parser error messages

    Does anybody know how I can select a locale for parser error messages? I found org.xml.sax.Parser.setLocale, but that's for SAX1 and deprecated.
    I have a textarea in the user interface where a user can edit XML and, of course, I'd like the parsing error messages to appear in the selected locale...
    Any help appreciated.
    - Michael

    Yes, but doing this you changed the locale for the JVM! I know that. My intention was to see whether the parsers even had error messages in languages other than English. If they didn't then there would be no point in proceeding. But they do, so maybe there is some point.
    However you don't get to specify the locale for exceptions thrown by other Java classes, so I wouldn't be surprised to find you don't get to specify the locale for exceptions thrown by XML parsers. I'm not saying there is no way to do that, only that I would not be surprised if there were no way.

  • Screen not HDCP authorised error message

    I have a brand new Retina 5k iMac but I can't get any iTunes Video to play. I got a screen not HDCP authorised error message. How do i fix this? Apple care seems unable to help at this point
    Thanks
    Andrew

    I know you"ve restarted the Sky box, but something else to try is switching off the power to everything and then powering on again, sometimes this fixes HDCP handshake issues.

  • My 160MB iPod Classic won't sync from iTunes.  This is a recent problem.  The error message is "The iPod cannot be synched.  An unknown error occurred (-39)." The end result is that music will sync but photos will not.  Current software on Mac and iPod.

    My iPod classic won't synch from iTunes.  This is a recent problem.  The error message reads "The iPod cannot be synched.  An unknown error occurred (-39)." The end result is that the music will sync but photos will not sync.  I am running current versions of software on the iPod and the iMac / iTunes.  HELP! J

    First try to resolve #2 by:
    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Featurs appin the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    - Try on another computer to help determine if computer or iPod problem
    If you can resolve #1 and still get same message for #1 then you have to restore the iPod like the message says.

  • Elements 11:  After selection tool defines move area, error message reads "No pixels are more than 50% selected".  How to remedy?

    Elements 11:  After selection tool defines move area, error message reads "No pixels are more than 50% selected".  How to remedy?

    Are you certain that you are on the correct layer?
    As a test, try this:
    Select the object with one of the selection tools, e.g. lasso, selection brush.tool. You should see "marching ants" once the selection is complete
    Place the selection on its own layer (Layer>new>layer via copy or CTRL+J). This will place the object on a separate layer.
    With this layer active, use the move tool to move/position it
    Does that work?

  • Problem in selection screen because of GEN_SELECTION_SCREEN_ERROR  error

    Hi Experts,
    I have one strange problom in selection screen.
    here is my code..for selection screen.
    Report Z_TEST_BEGINOF_ENDOF.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 1(25) Matname.
    SELECT-OPTIONS:  S_MATNR FOR MARD-MATNR.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: SKIP.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 1(25) STOGE.
    SELECT-OPTIONS: S_WERKS FOR MARD-WERKS.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: SKIP 2.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 1(60) ABCD.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: END OF BLOCK B1.
    it is working fine for select options using begin of line and end of line in block of selection screen.
    if go for 2 select options in same begin of line and end of line or if go for *AT SELECTION-SCREEN ON HELP-REQUEST FOR S_MATNR event it is not activating my program .
    That time it is showing one popup say "
    Generation Error
    Generation errors in program
    source code dummy    Line 10
    Error when generating the selection screen "1000" of report "Z_TEST_BEGINOF_ENDOF
    1.But i need to display  range values for mard-matnr in selection screen and i have to maintaine HELP-REQUEST for S_MATNR field.
    2.How can we display range in same line using  parameters statement.
    Note:"It is working fine in ecc6.0 with 2 select options in begin of line and end of line but it is not supporting at-selection help request event.In 4.6c(current system) both conditions are not working" .
    Please any one help me.
    Thanks
    Nag
    Edited by: nagraju102 on Sep 23, 2009 6:25 AM

    If you are on 4.6c , you cannot use two select-options within the same selection-screen begin of line and end of line. It will throw the screen generation error which you mentioned. Convert the select options to parameters if you want two parameters fields in the same line and change your code this way
    Report Z_TEST_BEGINOF_ENDOF.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: COMMENT 1(25) Matname.
    SELECT-OPTIONS: S_MATNR FOR MARD-MATNR.
    SELECTION-SCREEN: SKIP.
    SELECTION-SCREEN: COMMENT 1(25) STOGE.
    SELECT-OPTIONS: S_WERKS FOR MARD-WERKS.
    SELECTION-SCREEN: SKIP 2.
    SELECTION-SCREEN: COMMENT 1(60) ABCD.
    SELECTION-SCREEN: END OF BLOCK B1.

  • Select-screen problem

    Hi all
    I have create one selection screen as follows
      SELECTION-SCREEN BEGIN OF SCREEN 1001 ."AS WINDOW.
      SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TEXT-101.
      SELECT-OPTIONS  :  SO_PLANT  FOR  ZTAB_PP_PARAM-ZPLANT NO INTERVALS NO-EXTENSION OBLIGATORY.
      SELECTION-SCREEN END OF BLOCK B0 .
      SELECTION-SCREEN END OF SCREEN 1001.
    and call in follows
      CALL SELECTION-SCREEN  1001 STARTING AT 5 5  ENDING AT 50 2.
    its working properly
    my problem if in the appear window has scroll in there end.
    if i removed Block part its working
    you can check Tcode CEWB that is standred code inthe bigining nice window displayed  i want to create that type window. 
    please try to help me.

    Hi,
    Call From a Program
    From any program in which selection screens are defined, you can call these screens at any
    point of the program flow using the following statement:
    CALL SELECTION-SCREEN <numb> [STARTING AT <x1> <y1>]
    [ENDING AT <x2> <y2>].
    This statement calls selection screen number <numb>. The selection screen called must be
    defined in the calling program either as the standard selection screen (screen number 1000) or
    as a user-defined selection screen (any screen number). You must always use CALL
    SELECTION-SCREEN to call selection screens, and not CALL SCREEN. If you use CALL
    SCREEN, the system will not be able to process the selection screen.
    You can display a user-defined selection screen as a modal dialog box using the STARTING AT
    and ENDING AT additions. This is possible even if you have not used the AS WINDOW addition
    in the definition of the selection screen. However, you are recommended to do so, since
    warnings and error messages that occur during selection screen processing will then
    also be displayed as modal dialog boxes (see example below).
    When it returns from the selection screen to the program, the CALL SELECTION-SCREEN
    statement sets the return value SY-SUBRC as follows:
      SY-SUBRC = 0 if the user has chosen Execute on the selection screen
      SY-SUBRC = 4 if the user has chosen Cancel on the selection screen
    Any time a selection screen is processed, the selection screen events are triggered.
    System field SY-DYNNR of the associated event blocks contains the number of the selection
    screen that is currently active.
    REPORT SELSCREENDEF.
    SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
    PARAMETERS: CITYFR LIKE SPFLI-CITYFROM,
    CITYTO LIKE SPFLI-CITYTO.
    SELECTION-SCREEN END OF BLOCK SEL1.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN INCLUDE BLOCKS SEL1.
    SELECTION-SCREEN BEGIN OF BLOCK SEL2
    WITH FRAME TITLE TIT2.
    PARAMETERS: AIRPFR LIKE SPFLI-AIRPFROM,
    AIRPTO LIKE SPFLI-AIRPTO.
    SELECTION-SCREEN END OF BLOCK SEL2.
    SELECTION-SCREEN END OF SCREEN 500.
    INITIALIZATION.
    TIT1 = 'Cities'.
    AT SELECTION-SCREEN.
    CASE SY-DYNNR.
    WHEN '0500'.
    MESSAGE W159(AT) WITH 'Screen 500'.
    WHEN '1000'.
    MESSAGE W159(AT) WITH 'Screen 1000'.
    ENDCASE.
    START-OF-SELECTION.
    TIT1 = 'Cities for Airports'.
    TIT2 = 'Airports'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    TIT1 = 'Cities again'.
    CALL SELECTION-SCREEN 1000 STARTING AT 10 10.
    This executable program contains definitions for the standard selection screen and
    the user-defined screen number 500. Selection screen 500 is defined to be displayed
    as a modal dialog box and contains the SEL1 block of the standard selection screen.
    Note the phase in which the titles of the screens are defined. For the purpose of
    demonstration, the program calls warning messages with message class AT during
    the AT SELECTION-SCREEN event.
    When you start the program, the following sequence of screens is displayed:
    1. The standard selection screen. If the user chooses Execute, the system displays
    the warning SCREEN 1000 in the status bar.
    2. Once the user has confirmed the warning by choosing Enter, selection screen 500
    is called as a modal dialog box. When the user chooses Execute, the system
    displays the warning SCREEN 500, also in a dialog box.
    3. When the user has confirmed this warning, the standard selection screen is called
    again, but this time as a modal dialog box. Since you cannot define the standard
    selection screen as a modal dialog box, the warning message displayed when the
    user chooses Execute appears in the status bar and not as a modal dialog box.
    Consequently, you can only exit this selection screen using Cancel, since there is no
    Enter function in the dialog box to confirm the warning message.
    Regards,
    Bhaskar

  • Problem in BADI, error message not getting displayed

    Hello Experts,
    I am facing a strange problem in BADI.
    The requirement is that the user should not be allowed to change the plant field
    on the screen of standard MM transctions for PO/PR amendment.
    I have written the code in separate BADIs for PO and PR.
    I am displaying an error message if the user tries to change the field.
    For PO, it is working fine.But for PR, the same code is not working.
    The control is going over to the BADI for PR and rest of the code is working fine.
    But the error message is not getting displayed for PR amendment.
    Can anybody please suggest the possible cause of problem and some solution to it.
    Thanks in advance.

    Hi
    See the sample BADI code for PR which raises an exceptions and do accordingly
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' ) 
               AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create'
                'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Selection screen problem in module pool

    Hi friends,
    I am working on module pool programming, I need to put select screen on the screen of the module pool porgramming. I used Input/Output field to do that and activated. But I am getting message invalid field format (screen error) can any one tell me why I am not able to run the seletion screen when I am using input/output field, also please let me know how to solve this problem.
    Regards,
    Line

    Hello,
    Think that this is useful for u/
    SELECTION-SCREEN - Defining selection screens
    Variants:
    1a. SELECTION-SCREEN BEGIN OF SCREEN scr.
    1b. SELECTION-SCREEN END   OF SCREEN scr.
    2. SELECTION-SCREEN BEGIN OF SCREEN scr AS SUBSCREEN.
    Effect
    Defines a selection screen with the number scr. scr may be up to 4 digits.
    SELECTION-SCREEN BEGIN OF SCREEN scr.
    Additions:
    (zu SELECTION-SCREEN BEGIN OF SCREEN scr) 1. ... TITLE title
    2. ... AS WINDOW
    Notes
    In reports (type 1 programs), a selection screen with number 1000 is created automatically when you use the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statments. This selection screen appears when you SUBMIT the report.
    In any type of program (apart from subroutine pools - type S), you can define further selection screens using SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN. You enclose these statements between the SELECTION-SCREEN BEGIN OF SCREEN and SELECTION-SCREEN END OF SCREEN statements.
    You call these screens using the CALL SELECTION-SCREEN statement.
    Screen number 1000 is not allowed (reserved for standard selection screen).
    When you generate the program, all user-defined selection screens are also generated.
    Within a report (type 1 program), all SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements outside a SELECTION-SCREEN BEGIN/END OF SCREEN block form part of selection screen 100 (standard selection screen)
    Regards,
    LIJO JOHN.

  • Blue Screen of Death\ multiple error messages

    I've got ap6623w with Windows 7, it will not boot. The screen say's Disable bios caching or shadowing " not an option offered".
    Another screen will say DRIVER_IRQL_NOT_LESS_OR_ EQUAL, or PAGE_FAULT_IN_NONPAGED_AREA. The hard drive tests ok.
    When I can get to Advanced startup options it reboots or gives me another error message.
    Seems like it's a mother board problem.
    Does anyone think ordering the recovery disk will work when it won't load a new installation of windows ?
    Any suggestions would be great.

    Turn OFF the Notebook and once its powered ON, keep Pressing F10 to load BIOS screen of the Notebook. In this screen under Diagnostics, run the test on hard drive and memory. Post back the results here.
    Also in startup menu there is an alternate way where you can run F2 (System Diagnostics). The instructions can be found at below link
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01443317
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • Two selection screen problem in one report

    i have a two selection screens 1000 & 2000 in single report , which needs to be executed one after the other ,
    the problem is when i execute second selection screen(2000) , the cursor is going back to at-selection-screen once again.
    but i need to trigger start-of-selection directly after executing second selection screen,
    the first selection screen 1000 will be executed with the help of select options..
    the sample code is below .
    at-selection-screen.
        perform validations.
       call selection screen 2000.
        at selection screen on value request p_adm
    start-of-selection.
       main logic

    Moderator message - Cross post locked
    Rob

  • At selection screen Problem

    Hai experts
    parameters     : p_bukrs like j_1iexchdr-bukrs obligatory default 'GMI'.
    select-options : s_werks for j_1iexchdr-werks,
                     s_rcwrk for j_1iexchdr-rcwrk,
                     s_exdat for j_1iexchdr-exdat.
    selection-screen end of block 1.
    at selection-screen on s_exdat.
      if s_exdat-low > s_exdat-high.
        message e303(ME) with 'Please Enter correct dates'.
      endif.
    Here  select-options(s_exdat)  field is not trgered, it didnot display  given message if dates given wrong.
    how can i trigger when select-options field.
    thansks
    sitaram

    Hi,
    if u want  that if s_exdat-high is less than s_exdat-low,then give error message.
    then for this u need not write anty code ,
    by default if you give lesser value in s_exdat-high than s_exdat-low, error message will come.
    just comment ur this code and try .
    it will work.
    regards,
    sudha

  • Selection Screen problem Urgent  ...

    Please find below  ; It doesn't care of selection screen .For example I want to take all material mtart is 'abc'  . How can I build that .For example there is one record instead of mtart (abc ) but when I enter bcd it also get something.
      SELECT  * FROM mbew
         WHERE matnr in s_matnr
         AND bwkey IN s_bwkey.
        ytab-matnr = mbew-matnr .
        ytab-kaln1 = mbew-kaln1 .
        SELECT SINGLE * FROM makt
        WHERE matnr = ytab-matnr.
        ytab-maktx = makt-maktx .
        SELECT SINGLE * FROM mara
                 WHERE matnr = ytab-matnr
              AND matkl IN s_matkl
                AND mtart IN s_mtart.
        ytab-matkl = mara-matkl .
        ytab-mtart = mara-mtart .
        SELECT SINGLE * FROM mvke
        WHERE matnr = ytab-matnr
        AND  kondm IN s_kondm .
        ytab-kondm = mvke-kondm .
        SELECT SINGLE * FROM ckmlcr
        WHERE kalnr = ytab-kaln1
        AND bdatj EQ s_bdatj
        AND curtp EQ s_curtp.
        ytab-kalnr = ckmlcr-kalnr .
        ytab-bdatj = ckmlcr-bdatj .
        ytab-curtp = ckmlcr-curtp .
        SELECT SINGLE * FROM vbrp
                  WHERE matnr = ytab-matnr.
        ytab-vbeln = vbrp-vbeln .
        ytab-fbuda = vbrp-fbuda .
        ytab-posnr = vbrp-posnr .
        ytab-fkimg = vbrp-fkimg .
        ytab-netwr = vbrp-netwr .
    APPEND ytab.
        CLEAR  ytab.
      ENDSELECT.
    Message was edited by:
            yusuf tunay çilesiz

    Hi,
    The code looks good..Explain your problem clearly..
    What ever you give in the selection screen is not getting filtered..??
    AFter this select check for sy-subrc..
    SELECT SINGLE * FROM mara
    WHERE matnr = ytab-matnr
    AND matkl IN s_matkl
    AND mtart IN s_mtart.
    IF SY-SUBRC <> 0.
    if you want to skip the record if there is no material found for the corresponding
    material, matkl and mtart...use CONTINUE..Which will process the next record in the MBEW select..
    CONTINUE.
    ENDIF.
    Thanks,
    Naren

  • Selection-screen problem only when in SE80

    Hi Folks,
    I am getting the following information message when the the element SCREENS is double clicked in the SE80's container.
    Element %_R1_%_APP_%-TEXT touches or overlaps
    other element
    The program is running fine without any error.I want to know why such an info message is getting popped up and how to avoid that.
    Thanks,
    K.Kiran.

    Hi,
    Open the Selection scree in SE51, double click on 1000 screen in SE80 and then click on the layout button to open the screen.
    Then there check out the screen element for which you are getting the error.
    Then adjust its size and check if this error is still coming.
    According to me this Screen element corresponds to SELECTION-SCREEN COMMENT statement in the program, you might have given the length of this text there try and reduce the length there and see if this error still remains.
    Generally we should not modify the Selection-Screen's in SE51 as they will always get regenerated when ever you activate the program and your changes will be over written.
    So try to play around with SELECTION-SCREEN statements only in the program, what you can get from SE51 is what this SCREEN ELEMENT corresponds to in the program.
    Regards,
    Sesh

Maybe you are looking for

  • Convert addresses in numbers to labels in pages

    How do I convert addresses listed in Numbers columns into a Pages label template?

  • Siri wants to unlock iPhone if I want to use the camera

    If I want to take a picture manually I don't have to unlock my phone but when I tell Siri to take a picture it wants me to unlock my iPhone :/

  • Seems like i tunes wont download onto imac

    i just got a imac. so i deleted itunes from it hoping to get itunes from my old lap top onto imac. but now after downloading itunes 11 i cant find it on imac. and when i download it i get a thankyou window immediatly

  • How to create the database name

    May I know,How to create database name?It is create net service name is a create database name?My database instance is PSM2006 and i connect connect user1/user1@psm2006 . Can i create another instance such as bomba ? I want to save my oracle table in

  • Question on billing location, etc

    Hey! Is the incoming call originating in Jupiter or is it where I received it? The call I placed, it's originating in Tequesta, which is obvious. How accurate are these locations? The phone is an old dinosaur/flip phone. Thanks for you input. Date Ti