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

Regarding Consecutive f4 help

Former Member
0 Likes
561

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
Read only

Former Member
0 Likes
535

HI karthik

Please find the below thread

Mr.Ram Explains very Clearly

[Dynamic F4|;

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

3 REPLIES 3
Read only

Former Member
0 Likes
535

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

Read only

Former Member
0 Likes
536

HI karthik

Please find the below thread

Mr.Ram Explains very Clearly

[Dynamic F4|;

Read only

Former Member
0 Likes
535

THnkx