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

Function for search help

h_senden2
Active Contributor
0 Likes
638

Normally you relate a search help to a input box and let SAP to handle the F4. So after selecting a value, this value will be returned to the input box.

But i want to react on the value and don't put it automatically in the box, but process it first.

So my question is : is there a function module or class-method that simulates the search help for a given input and returns the chosen value ?

regards

Hans

hans.senden@philips.com

3 REPLIES 3
Read only

Former Member
0 Likes
458

What you can do is to define new search help (SE11). There you have field called "search help exit" where you can specify FM that will manage your search help. Please look at FM F4IF_SHLP_EXIT as an example.

regards,

Andrzej

Read only

0 Likes
458

Hi Andrzej!

Seems that Hans need quite another approach - just to call a predefined search help at run time. Am I right? If I am, then Hans might want to use an FM F4IF_FIELD_VALUE_REQUEST.

Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
458

Hi

As Sergei told, it needs some further coding. I do not know a way to interfere standart search help functions even there is something like "Search help exit", I think it is just an exit for the search help designer about adjusting column widths etc... interfering standart action.

So it seems you should code your own POV in this case. There has been two long threads in this forum. You can search it. It is about coding POV and deals with "F4IF_FIELD_VALUE_REQUEST"/"F4IF_INTTAB_VALUE_REQUEST". Here are the URLs:

1.

2.

Hope this helps...

*--Serdar