i have a parameter called zzzzz
i want that the user can chosse only '99' and '88'
how i do it?
thanks.
Request clarification before answering.
HI
if you want to show error when the user selects other than 99 & 88 tehn validate in the at selection-screen.
at selecton-screen.
if p_zzzz not in ( '99' , '88' ).
message e001(zer).
endif.
otherwise you can use listbox to load 99 & 88 so that user can select only 99 & 88.
here is sample program for listbox
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS PS_PARM(5) type c AS LISTBOX VISIBLE LENGTH 5
INITIALIZATION.
NAME = 'PS_PARM'.
VALUE-KEY = '99'
VALUE-TEXT = '99.
APPEND VALUE TO LIST.
VALUE-KEY = '88'.
VALUE-TEXT = '88'.
APPEND VALUE TO LIST.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
regards
Message was edited by: Harikishore Sreenivasulu
Message was edited by: Harikishore Sreenivasulu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.