‎2006 Jul 18 10:54 AM
Hi,
In an Module Pool program for the fields PA0008-TRFGR and PA0008-TRFST, I am using H_PAD_TARIF as search help.
My requirement is to restrict the F4 Entries in the field PA0008-TRFST according the value entered in PA0008-TRFGR.
‎2006 Jul 18 11:02 AM
Hi Ramu,
It is simple...
In the POV of the first field
-
Just call the FM 'F4IF_FIELD_VALUE_REQUEST' to fill the values in the first field.
Now call the FM 'DYNP_VALUES_READ' to read the selected value of the field.
In the POV of the second field
-
Use the select statement to select the required second field values.
Now fill the second field values using the FM
'F4IF_INT_TABLE_VALUE_REQUEST'
Just go through this link for more details.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
Regards,
SP.
‎2006 Jul 18 10:58 AM
Hi,
The search help what you are using may not filter the values based on the field entered, you need to use the fm F4IF_FIELD_VALUE_REQUEST to display the values based on PA0008-TRFGR,
Rgds,
‎2006 Jul 18 11:02 AM
Hi Ramu,
It is simple...
In the POV of the first field
-
Just call the FM 'F4IF_FIELD_VALUE_REQUEST' to fill the values in the first field.
Now call the FM 'DYNP_VALUES_READ' to read the selected value of the field.
In the POV of the second field
-
Use the select statement to select the required second field values.
Now fill the second field values using the FM
'F4IF_INT_TABLE_VALUE_REQUEST'
Just go through this link for more details.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
Regards,
SP.