Monday, December 20, 2010
Use USER-COMMAND addition to PARAMETERS statement.
REPORT ztest_notepad. PARAMETERS p_check AS CHECKBOX USER-COMMAND uc1. SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME. PARAMETERS p_1 TYPE char10 MODIF ID mod. SELECTION-SCREEN END OF BLOCK b1. AT SELECTION-SCREEN OUTPUT. IF p_check NE 'X'. LOOP AT SCREEN. IF screen-group1 = 'MOD'. screen-active = '0'. MODIFY SCREEN. ENDIF. ENDLOOP. ELSE. LOOP AT SCREEN. IF screen-group1 = 'MOD'. screen-active = '1'. MODIFY SCREEN. ENDIF. ENDLOOP. ENDIF.
- Selection Screen
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
:) THANKS
ReplyDelete