‎2006 May 25 5:42 AM
Hi ABAP Experts,
I have an issue in capturing the screen field value. For Instance I have 2 fields in the Screen (Dialog Programming). Both of them have F4 helps. Incase the user fills in some data in the first field which is the input for the F4 help of the second field, the F4 help help module will not get the value of the first field which was manually entered by the user. Hence I would likr to know if there is any solutions which can refresh the Screen and which will help me in getting the value of the First field and could be used as an Input for the second field.
Thanks & Regards
Satish P.
‎2006 May 25 5:45 AM
Hi satish,
You can use the FM DYNP_VALUES_READ for this purpose
I think it will solve your problem
Regards
Sumit Bhutani
Ps reward pts if helpful
‎2006 May 25 5:50 AM
Hi Sumit,
The Screen I am talking is not a Selection screen
instead it is a Dialog screen (Module Pool Programming).
Regards,
Satish P.
‎2006 May 25 5:56 AM
Hi satish,
1. Search Help
2. One Best solution for this is using
Search help attached to the field / data element
of that field.
3. In search help,
there is the concept of IMPORT parameter
4. It means that,
a) if there is any field (IMPORT parameter)
present on the screen
b) then search help will AUTOMATICALLY
Filter the search help based on the
value of this 1st field.
5. Eg.
We have combainatin of
a) COMPANY CODE
B) PLANT
in a certain table.
6. In 2nd field, PLANT,
we want to show only those plants,
related to company code, entered
in the first field, on the screen.
7. In that case, SEARCH HELP is the best option.
regards,
amit m.
‎2006 May 25 6:00 AM
Hi Amit,
For the First field the User will not Use the F4 help, Incase he uses the F4 help I dont have any Issues at all. He manually enters the data in the First Field and hence the search help does not work.
Regards,
Satish P.
‎2006 May 25 6:07 AM
Hi again,
1. Thats not at all a problem.
(in fact in 1st field,
F4 help is not all required)
2. I m just talking about
Search help
for 2nd field.
(I assume you are mainly concerned about 2nd field only)
3. In this case,
the user will enter a value in 1st field.
4. Now when the user does F4 on 2nd field,
he will get the corresponding values only.
regards,
amit m.