Disable fields in selection-screen

Disable fields in selection-screen

This selection screen synthax use the following macros : My Selection-screen macros for reports


*======================================================================*
sel_begin_block 03. " Titre = text-b03 = Log
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

sel_comment TEXT-c31.
sel_comment TEXT-c32.

sel_skip_line.
sel_comment TEXT-c33.
PARAMETERS : p_usr  TYPE e_userstart DEFAULT sy-uname,
             p_date TYPE datum DEFAULT sy-datum,
             p_time TYPE uzeit DEFAULT sy-uzeit.

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
sel_end_block 03.
*======================================================================*



*======================================================================*
* Disable fields for log params
*======================================================================*
AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-name = 'P_USR' OR
       screen-name = 'P_DATE' OR
      screen-name = 'P_TIME'.

      screen-input = '0'.

      MODIFY SCREEN.
    ENDIF.

  ENDLOOP.

Search tags : griser, champ, grey

About the author

fjourneau administrator

Hi, I'm Florian Journeau, SAP ABAP R3 Freelance, based in Toulouse, France. You want to know more about me, have a look on my CV : cv.fjourneau.net.

Leave a Reply