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

Search Help

Former Member
0 Likes
455

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
346

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.

2 REPLIES 2
Read only

Former Member
0 Likes
346

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,

Read only

Former Member
0 Likes
347

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.