Drop down for a field in table maintenance generator
I have created a table maintenance for a table.
I need to give F4 help for a field as a drop down, as of now i am using POV event and PAI event to get it triggered and captured.
It is working fine, but as my field is key field, once i select any value from drop down all other key fields are becoming disable for input.
code in POV event in flow logic is,
INTO CORRESPONDING FIELDS OF TABLE it_bus.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
retfield = 'BUSRULE'
value_org = 'S'
value_tab = it_bus
parameter_error = 1
no_values_found = 2
OTHERS = 3.
code in PAI event is,
MESSAGE i888(sabapdocu) WITH z100_sup_shdw-busrule.
Can any one please help me on this.
I don't see the relevance of the fact there is a Value table on the domain.
If you create a foreign key (the same table as the value table will be proposed) and regenerate the table maintenance you will get a drop down based on the value table.