Skip to Content
0
Jun 03, 2011 at 03:29 PM

How to limit the values in a select-options field based on value in another

112 Views

Folks,

I have a task of limiting the values in select-options field based on the user's selection in another select-options field. Both the fields are in the same table. One-to-many relationship between field1 and field2. So when the user executes the program, and selects Value1 from select-option field1, then select-option field2 must have ONLY valid entries in its drop down. We tried to use Function Modules DYNP_VALUES_READ and F4IF_INT_TABLE_VALUE_REQUEST. But somehow no luck. May be we are not doing something right.

If anyone can paste some sample code it'd be helpful. Thanks in advance. -- Martin

Edited by: martin99 on Jun 3, 2011 6:16 PM