‎2008 May 23 3:30 PM
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.
‎2008 Jul 02 1:15 PM
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