Wednesday, December 22, 2010
REPORT ZTEST_PROGRAM . DATA: IT_DATA TYPE TABLE OF T001. DEFINE RADIO_BUT1. PARAMETERS:&1 RADIOBUTTON GROUP GR1 DEFAULT 'X'. END-OF-DEFINITION. DEFINE RADIO_BUT2. PARAMETERS:&1 RADIOBUTTON GROUP GR1. END-OF-DEFINITION. RADIO_BUT1:R1. RADIO_BUT2:R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15. DATA:RAD TYPE CHAR3. DATA:SY_INDEX TYPE CHAR2. AT SELECTION-SCREEN OUTPUT. DESCRIBE TABLE IT_DATA LINES SY-TFILL. SY-TFILL = 8. "This will be changed based on the itab records. I just hardcoded the value SY_INDEX = 1. LOOP AT SCREEN. CONCATENATE 'R' SY_INDEX INTO RAD. IF SCREEN-NAME = RAD. IF SY_INDEX GT SY-TFILL. SCREEN-ACTIVE = '0'. MODIFY SCREEN. SY_INDEX = SY_INDEX + 1. CONTINUE. ENDIF. SY_INDEX = SY_INDEX + 1. ENDIF. ENDLOOP.
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
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.