06-27-2014 9:39 AM
Hello Experts,
I have 4 Radio Buttons - 2 in a group & the other 2 in another Group as follows:
1) Active Materials:
2) Deleted Materials:
If the User selects Exclude in both the Groups, then an Error Message needs to be populated and remain in the Selection-screen.
I've written the code as follows:
AT SELECTION-SCREEN.
* Do not allow the User to select both Exclude Active & Exclude Deleted Materials as there will not be any data
IF p_exact EQ 'X' AND p_exdel EQ 'X'.
* No Data will be there as you have excluded both Active and Deleted Materials
MESSAGE text-009 TYPE 'S' DISPLAY LIKE 'E'.
CALL SELECTION-SCREEN 1000.
ENDIF.
But after I change the Radio-button selection; and click on 'Execute'; it still remains in the same screen without processing.
Please advise on this.
Thank you!
-Sowmya
06-27-2014 9:42 AM
Sorry. My mistake. I had to write Message type as 'E'. Working fine.
Thanks!
06-27-2014 9:43 AM
06-27-2014 9:43 AM
Hello,
Can you send the all selection-screen and selection-screen handling code?
I tried in my editor and didn't any problem.
Regards
06-27-2014 9:45 AM
Sowmya,
Write the same Conditions and Message in AT-SELECTION-SCREEN OUTPUT event instead AT SELECTION-SCREEN.
Regards,
Vijay