on 10-05-2010 10:20 AM
Hi All ,
I am modifying SRM screens which is a Dynpro screen .
I have a requirement that on a certain condition some values of the drop down should be removed .
i.e if there are 5 values , i need to show only 3 values if a particular condition is met .
Can somebody guide me on how to go about this ?
Regards,
Ambar Patil
Hi Ambar,
in ur drop down by key, u need to APPEND value TO set, depending on the particular condition, accordingly.
DATA: value TYPE wdy_key_value,
set TYPE wdy_key_value_table.
// now check ur condition here and append accordingly.
IF condition1.
APPEND value TO set.
ENDIF.
regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit ,
I think the values are appended through Standard programs . Some configuration needs to be done in SPRO and the values come in drop down .
What I need to do is just remove the required values on a particular condition .
Is it like I can remove it in the WDDOINIT of that particular screen ?
Regards,
Ambar
Generally the drop down values are populated in the WDDOINIT method .
Can we do this :
Whenever the onclick event happens for a drop down , we define an action and in the action handler we get all the values bound to the drop down , remove the required values and then Re bind the rest of the values ?
Regards,
Ambar
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.