Show/Hide elements on Selection Screen when changing radio button

Step 1: set command for radio button SELECTION-SCREEN BEGIN OF BLOCK frame1 WITH FRAME TITLE TEXT–001. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN POSITION 15. PARAMETERS: rb_ven RADIOBUTTON GROUP rbg DEFAULT ‘X’ USER-COMMAND uc_rb. SELECTION-SCREEN COMMENT 20(30) TEXT–002. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN POSITION 15. PARAMETERS: rb_cus RADIOBUTTON GROUP rbg. SELECTION-SCREEN COMMENT 20(30) TEXT–003. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN END OF BLOCK frame1. Step

Read more

Selection Screen F4 using Function Module F4IF_INT_TABLE_VALUE_REQUEST

SELECT-OPTIONS: s_saknr FOR skb1–saknr. “”””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””” AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_saknr–low. PERFORM f4_saknr CHANGING s_saknr–low. AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_saknr–high. PERFORM f4_saknr CHANGING s_saknr–high. “”””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””””” FORM f4_saknr  CHANGING cp_val. DATA gt_ret_f4 TYPE STANDARD TABLE OF ddshretval. DATA gs_ret_f4 LIKE LINE OF gt_ret_f4. SELECT bukrs saknr mitkz INTO TABLE gt_gl_f4 FROM skb1 WHERE bukrs = p_bukrs AND mitkz IN ( ‘K’,’D’ ). CALL FUNCTION ‘F4IF_INT_TABLE_VALUE_REQUEST’

Read more