Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

loop AT SCREEN ERROR

TABLES: LIKP,LIPS,VTTK.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-T01.

SELECT-OPTIONS: S_VKORG FOR LIKP-VKORG , "sales org

S_VTWEG FOR LIPS-VTWEG, "dis channel

S_SPART FOR LIPS-SPART, "division

S_ERDAT FOR VTTK-ERDAT, "creation date

S_RERDAT FOR VTTK-ERDAT.

SELECTION-SCREEN SKIP 1 .

PARAMETER: P_INB RADIOBUTTON GROUP RD1 USER-COMMAND UC1,

P_OUT RADIOBUTTON GROUP RD1 DEFAULT 'X' .

SELECTION-SCREEN END OF BLOCK B1.

AT SELECTION-SCREEN OUTPUT.

IF P_OUT = 'X'.

LOOP AT SCREEN.

IF SCREEN-NAME = 's_rerdat'.

SCREEN-INPUT = 0.

SCREEN-INPUT = 0.

SCREEN-INPUT = 1.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

ELSEIF P_INB = 'X'.

LOOP AT SCREEN.

IF SCREEN-NAME = 's_erdat'.

  • SSCRFIELDS-UCOMM = .

SCREEN-INPUT = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

ENDIF.

THE ABOVE CODING IS NOT WORKING PROPERLY.

I WANT TO DIS ENABLE.

REGARDS

PRIYA

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question