I have two screen fields to which i have attached search helps dynamically (using function module F4IF_INT_TABLE_VALUE_REQUEST. The scenario is that i want to select the first field and depending on the value entered, i want to restrict the search help on the second field. eg: i select material (mara-matnr) and depending on the material, i want to show only the related plants (marc-werks for the material).
The issue is that when i write a select to populate the fields in the value_tab internal table(returned by the function module F4IF_INT_TABLE_VALUE_REQUEST, i write the following...
select werks from marc into (l_werks)
where matnr eq i_matnr.
where i_matnr is the screen field.
the selected material is not populated in i_matnr. However, while executing the PAI, the value can be seen.
What i rather want is this to be available in POV. since the module containing the above code is written in POV.
is there something i m missing?
if not then what could be the possible ways to get around this.?
I hope the problem is clear. Awaiting answers...