Skip to Content

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

selection screen vaildation urgent

hi all ,

i using 2 radio buttons( CREATE AND DELETE) and if one is selected it display one set of elememts viseversa .

my problem is i want to do some valdation and i am facing problem at AT SELECTION-SCREEN .

IF Chose create it diaply the correct block , but i choose delete block it is giving error message( vaildation for fields in create block) which i kept for create block element .

AT SELECTION-SCREEN OUTPUT.

IF R_DE EQ 'X'.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'B2C' OR SCREEN-GROUP1 = 'B21' .

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

IF r_group EQ 'X'.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'B2C'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ELSE.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'B21'.

screen-active = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

at selection screen

IF R_COM EQ 'X' AND p_COMP IS INITiAL .

MESSAGE E000(ZMM_IDA) with 'Please enter Hours'.

endif.

thanks,

sridhar

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