Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ABAP 0.65 KB | None | 0 0
  1. *&---------------------------------------------------------------------*
  2. *&  Include           ZHRST_EFD_EHS_SEL
  3. *&---------------------------------------------------------------------*
  4.  
  5. SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
  6.  
  7. SELECT-OPTIONS: s_date FOR sy-datum.
  8. PARAMETERS: p_event TYPE zehrst_event.
  9.  
  10. SELECTION-SCREEN: END OF BLOCK b1.
  11.  
  12. FORM f_screen_control.
  13.  
  14.   LOOP AT SCREEN.
  15.  
  16.     CASE screen-name.
  17.       WHEN 'S_DATE'.
  18.  
  19.         IF p_event EQ '2210'.
  20.  
  21.           screen-active = 1.
  22.  
  23.         ELSE.
  24.  
  25.           screen-active = 0.
  26.  
  27.         ENDIF.
  28.  
  29.         MODIFY SCREEN.
  30.  
  31.     ENDCASE.
  32.  
  33.   ENDLOOP.
  34.  
  35. ENDFORM.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement