2010 Jun 18 12:51 PM
Hi,
I have created a list box on selection screen and i am passing the values to that dynamically. My requirement is when i select any value from list and press enter the value is reset to the blank in that field.
What i need to do to keep that value even when any user action happens or execute the report ?
Thanks & regards,
Srinath
Hi,
I have created a list box on selection screen and i am passing the values to that dynamically. My requirement is when i select any value from list and press enter the value is reset to the blank in that field.
What i need to do to keep that value even when any user action happens or execute the report ?
Thanks & regards,
Srinath
2010 Jun 18 12:57 PM
Hi,
There are somany threads available for this. Please refer the SCN Rules before Posting.
Please research in SCN Before Posting.
With Regards,
Sumodh.P
2010 Jun 18 1:06 PM
Did you write the code to populate the listbox in AT SELECTION-SCREEN OUTPUT event ?
2010 Jun 18 1:42 PM
Hi
Do the following.
PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n. Here n is an integer and name is the name of parameter.
Fill the drop down table att the selection screen event AT SELECTION-SCREEN OUTPUT. Your work will be done.
Thanks
Venkat.
2010 Jun 18 1:44 PM
Hi
I forgot to give you the function module used to fill the drop down table.
PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n. Here n is an integer and name is the name of parameter.
Fill the drop down table att the selection screen event AT SELECTION-SCREEN OUTPUT USING function module 'VRM_SET_VALUES' . Your work will be done.
Thanks
Venkat
2010 Jun 18 2:17 PM
2010 Jun 18 3:13 PM
Hi...
Attached the sample code..for List...Hope this solves your problem
REPORT ZTMS_TEST1 .
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
clear: list.
NAME = 'PS_PARM'.
VALUE-KEY = '1'.
VALUE-TEXT = 'LINE 1'.
APPEND VALUE TO LIST.
VALUE-KEY = '2'.
VALUE-TEXT = 'LINE 2'.
APPEND VALUE TO LIST.
VALUE-KEY = '3'.
VALUE-TEXT = 'LINE 3'.
APPEND VALUE TO LIST.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING ID = NAME VALUES = LIST.
START-OF-SELECTION.
WRITE: / 'PARAMETER:', PS_PARM.
2010 Jun 25 1:28 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |