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

F4 Help problem

Former Member
0 Likes
387

I have 2 fields on selection screen.

I want the f4 help for the second parameter which depends on the value of the 1st parameter.

I enter value for the 1st parameter on selection screen. Press f4 for the second...

AT SELECTION-SCREEN ON VALUE-REQUEST FOR event gets triggered, but the value of 1st parameter doesnt show up here.

Because 1st parameter is empty, i cannot get value in value_tab (in F4IF_INT_TABLE_VALUE_REQUEST) using SELECT on database.

How I can read selection screen paramater inside AT SELECTION-SCREEN ON VALUE-REQUEST FOR event.

Please help.

Thanks,

Sujeet

1 ACCEPTED SOLUTION
Read only

0 Likes
347

Make use of FM "DYNP_VALUES_READ"

make use of

TABLES

dynpfields = lt_dyn_field

enter your field name

pass your field name in the tables parameter..

ls_dyn_field-fieldname = 'P_MGPLN'.

after the execution of the FM, it will update the value in lt_dyn_field and then u can read the table and get the value in your paramter..

I hope it helps

2 REPLIES 2
Read only

0 Likes
348

Make use of FM "DYNP_VALUES_READ"

make use of

TABLES

dynpfields = lt_dyn_field

enter your field name

pass your field name in the tables parameter..

ls_dyn_field-fieldname = 'P_MGPLN'.

after the execution of the FM, it will update the value in lt_dyn_field and then u can read the table and get the value in your paramter..

I hope it helps

Read only

0 Likes
347

Thanks a lot Yadesh.

It solved the problem.

Awarded points.

Thanks again!