09-06-2008 5:53 AM
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
09-06-2008 6:04 AM
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.
09-06-2008 6:13 AM
09-06-2008 6:19 AM
09-06-2008 7:13 AM
Yes I am using F4 Help,
There is no F4 help for 1st field
...
Can u suggest me with simple coding
Thanks
kumar
09-06-2008 7:32 AM
Hi Kumar,
Check this link,it may help you-
http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbaac935c111d1829f0000e829fbfe/content.htm
09-06-2008 6:46 AM
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.