2014 May 14 10:28 AM
dropdown 2 value has to change based on dropdown value 1? i have read many forums but its relevant to webdynpro. am trying in selection screen.
Please gimme some suggestions.
Thanks in advance
2014 May 14 11:13 AM
Hi Remya,
You can use VRM_GET_VALUES and VRM_SET_VALUES for fetching and setting the data on the screen.
PARAMETERS: p1 TYPE aufart AS LISTBOX USER-COMMAND p1 VISIBLE LENGTH 10,
p2 TYPE aufnr AS LISTBOX USER-COMMAND p2 VISIBLE LENGTH 10.
and in
AT SELECTION-SCREEN.
IF sy-ucomm EQ 'P1'.
**** Fetch the selected value using VRM_GET_VALUES fm and depending on this value fetch the data as per your requirement and set using VRM_SET_VALUES fm
2014 May 14 12:32 PM
2014 May 15 5:20 AM
Hi ,
Have a look at:
- FUNCTION 'DYNP_VALUES_READ'
- FUNCTION 'DYNP_VALUES_UPDATE'
In the program attached ( Y_R_EITAN_TEST_51_11 ) the field s_FLDATE is prompted based on s_carrid,s_connid .
Regards.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |