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

Search help: Returning a value using function modules

Former Member
0 Kudos
364

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.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Kudos
280

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.