‎2007 May 30 7:19 AM
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'......
‎2007 May 30 7:27 AM
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.
‎2007 May 30 7:26 AM
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
‎2007 May 30 7:27 AM
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.
‎2007 May 30 7:33 AM
Hi
if salesoreder value is initial.
normal f4.i.eCALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
Regards,
Sree