10-06-2007 2:24 PM
I have two two Parameters .
1.first is material type
2. second is material.
I need to have F4 help for material type.And if i select ROH(raw material) as my material type then the F4 help for material should give material only corresponding to ROH.I should not get any material from FERT.simply the F4 help of second parameter or select-options must be corresponding to the first parameters value.How to do this for a report program?.
10-06-2007 2:27 PM
Hi Prakash,
I think the program in this link is for similar requirement.
http://www.sap-img.com/abap/value-request-for-parameter.htm
Hope this will be of some help to you..
Regards,
SP.
10-06-2007 3:16 PM
Hi Prakash,
Use this
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = field_tab-fieldname
TABLES
value_tab = value_tab
field_tab = field_tab
return_tab = return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
p_name = return_tab-fieldval.
ENDIF.
Thanks
Vikranth khimavath