Application Development 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: 

regarding F4 help

Former Member
0 Kudos

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?.

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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