Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Filtering domain value ranges

Former Member
0 Likes
670

Is it possible to filter domain value ranges when displaying a dropdown listbox in a table control according to the value of another field?

For instance,

- I have an ITAB with the fields FIELD1 and FIELD2 and a table control TABCON connected to it.

- FIELD1 is an instance of the domain ZDOMAIN1 and FIELD2 is an instance of the domain ZDOMAIN2.

- ZDOMAIN1 has the value range X, Y.

- ZDOMAIN2 has the value range A, B, C, D.

The value of FIELD1 will be already set and not changeable at this point, as for the drop-down list for FIELD2, I want it to include

- only A and B if the value of FIELD2 is X for that entry

- only C and D if the value of FIELD2 is Y for that entry

I hope I've been able to explain my problem here.

1 REPLY 1
Read only

franois_henrotte
Active Contributor
0 Likes
403

yes it is possible

in process before output, you should build the value list dynamically and call function module VRM_SET_VALUES to update it on screen