Skip to Content
0
Former Member
Mar 22, 2006 at 04:50 AM

Message options

159 Views

Please let me know how do I validate a parameter on a selection screen by using messaging options.

for eg..

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECT-OPTIONS: s_mru FOR te422-termschl.

SELECTION-SCREEN END OF BLOCK b1.

PARAMETER : p_ins TYPE i DEFAULT 150.

suppose I need to validate for both the fields

1. s_mru (it should not accept a value which is not in the table field te422-termschl)

2. p_ins (the output screen should not come if the value of p_ins is less than 1)

kindly show me the flow of code ....

thx...