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

SEARC HELP

Former Member
0 Likes
582

Hello Friends,

Need help on search help,I am doing a report in which the selection screen has 2 select options 1)Sales Order No ,2) Material Number

Now what I want is that if the user enters the sales order no and then presses F4 for material number then only those materials should be displayed which are the present in the entered Sales order range,I am able to do this with help of the function module F4IF_INT_TABLE****( I dont remember the complete name ) and im doing this wen sales order select option is not initial,but if it is initial wat i want is that wen i press F4 on material number then normal search help should pop up and not value with help of above function module since the number of records will be to large............

is there anyway i can use both the function module n matchcode objects or anythin else but 2 different search help according the status of the sales order select options................ pls help

NOW i have used a function module Help_start,but wat i want is the wen the sales order is initial then only those matnr from MARA should be displayed which have a field XCHPF in mara marked as 'X'......

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
539

hi,

use another condition use if condition that checks sales order no is inital.

if salesoreder value is initial.

normal f4.i.eCALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

else.

f4 help based on sales order no.

endif.

3 REPLIES 3
Read only

Former Member
0 Likes
539

Hi,

1) Use FM DYNP_VALUES_UPDATE in at selection screen on value request for P_matnr.

2) if P_vbeln is blank u can avoid using FM, otherise by getting values corresponding to sales order first & pass it to FM F4IF_INT_TABLE_VALUE_REQUEST.

Thanks

Sandeep

Reward if helpful

Read only

Former Member
0 Likes
540

hi,

use another condition use if condition that checks sales order no is inital.

if salesoreder value is initial.

normal f4.i.eCALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

else.

f4 help based on sales order no.

endif.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
539

Hi

if salesoreder value is initial.

normal f4.i.eCALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

Regards,

Sree