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: 

screen field help

Former Member
0 Kudos

Hi,

In my Dialog program,

I have 3 fields,

I want in if I select F4 help and select data for that 1st field, I want to fill another two fields related data automaticall without pressing enter.

How it is possible.

Can any body suggest me ?

thanks

kumar n

6 REPLIES 6

former_member188685
Active Contributor
0 Kudos

suppose you are using POV

and populating the data and showing the F4 help using the F4IF function.

Once you select the value , the value selected will be in the return table . so from there you populate the rest of the values. and you can see them with the values. if you don't see them then try using the Function also DYNPRO_VALUES_UPDATE if required.

Former Member
0 Kudos

Hi Kumar,

Read my reply over the following Thread, i have explained a way to acheive your requirement without a single line of coding;

Hope this is helpful for you....

Regards

Karthik D

Former Member
0 Kudos

hello,

U r making F4 help or its already a field with F4 help???

0 Kudos

Yes I am using F4 Help,

There is no F4 help for 1st field

...

Can u suggest me with simple coding

Thanks

kumar

Former Member
0 Kudos

Hi Kumar,

In

AT SELECTION-SCREEN ON FIELD P_VAR1 event

ising 'DYNP_VALUES_READ' function module read the value of parameter that you entered . And write a select query

to get the another 2 parameters values.

SELECT var2 var3

from <table>

where var1 eq p_var1.

then the values of another two fields will be available for you. Now you can pass these two values to the parameters.

Regards,

Rajitha.