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 Consecutive f4 help

Former Member
0 Kudos
69

Hi all

I am developing a module pool . In that 3 fileds are there .

I will enter the first filed. According to first filed , it shoud fetch second filed in the F4 help. After I selecting second field , according to that third field should populate in F4 help.

I am getting for first filed. After I selct the second filed , my third filed is not getting populated.

How to achieve this?

Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos
43

HI karthik

Please find the below thread

Mr.Ram Explains very Clearly

[Dynamic F4|;

3 REPLIES 3

Former Member
0 Kudos
43

Hi,

use the FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

check the below code.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

retfield = 'MATNR'

  • PVALKEY = ' '

dynpprog = cprog "repid

dynpnr = dynnr "dynnr

dynprofield = 'P_STYLE'

value_org = 'S'

  • MARK_TAB =

TABLES

value_tab = it_style

  • FIELD_TAB =

return_tab = it_return

  • DYNPFLD_MAPPING =

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3

.

IF sy-subrc = 0.

READ TABLE it_return INDEX 1 INTO wa_return.

p_style = wa_return-fieldval.

ENDIF.

Thanks,

sudheer

Former Member
0 Kudos
44

HI karthik

Please find the below thread

Mr.Ram Explains very Clearly

[Dynamic F4|;

Former Member
0 Kudos
43

THnkx