‎2019 Jan 28 9:23 AM
So I'm trying to create a program where the user can make use of a search help, and if this is done, another parameter field will be automatically filled in as well.
I know this can be done using the following FM's:
- dynp_values_read
- f4if_get_shlp_descr
- f4if_start_value_request
- dynp_update_fields
And having to use a loop on certain things.
But I'm really unsure whether or not i can get this to work (since I'm a newbie on ABAP, and I'm still learning).
If anyone could assist me I'd be very happy, because this'll be another chance to learn more.
Thanks in advance.
‎2019 Jan 28 10:01 AM
A Search Help is basically a no-code object, no need of function modules.
Even the filling of several screen fields can be done without any code. For instance, look at the search help SATT_COUNTRY, used with the following code (try F4 on any of the two fields, both fields are filled out when a value is chosen) :
PARAMETERS value TYPE SAT_VAL_C-VALUE.
PARAMETERS text TYPE SAT_VAL_C-TEXT.