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

Skip Search Help Screen

mayank_agarwal7
Explorer
0 Likes
1,048

Hi All,

I have a standard SAP ABAP dictionary Search help. I want to execute that search help programmatically and get the return values in a internal table. Please note that I dont want the pop-up's for the Selection screen of Search help. Also I dont want the return values to be displayed as pop-up. I want the return values in internal table. Any suggestions to do this?

Thanks & Regards,

Mayank Agarwal

Hi All,

I have a standard SAP ABAP dictionary Search help. I want to execute that search help programmatically and get the return values in a internal table. Please note that I dont want the pop-up's for the Selection screen of Search help. Also I dont want the return values to be displayed as pop-up. I want the return values in internal table. Any suggestions to do this?

Thanks & Regards,

Mayank Agarwal

4 REPLIES 4
Read only

Former Member
0 Likes
828

Hi Mayank,

Can you please explain where do you want to use this thing?

So that people can help you in better way.

Otherwise if you have excees to edit screen elements.

just go to screen -> Element List -> Reference.

just remove search help from there.

And if You want to fill up internal table on pressing F4 , then just add event in report that

AT SELECTION-SCREEN ON VALUE-REQUEST FOR <var>.

Here You can write your code for filling internal table.

Regards,

Pratik Vora

Read only

Former Member
0 Likes
828

Hi,

If u don't want search help pop up screen, then no need to go for search help.

Anyway search help also doing database retrieval only, it is fetching data from database.

so u can directly fetch the data from database and put it into an internal table.

The execution time also will be reduced.

What u have to do is , analyse that search help from which table it is fetching data at wat condition.

there will be a search help exit for that search help in the elementary search help . This exit is FM.

In this FM They might have done validation or check that elementary search help to get the fields displayed on the pop up and the table from it is fetching the data.

Read only

0 Likes
828

Thanks for your answers.

I can copy search help and also copy the code. But this will lead to having redundancies in the system. I dont want to copy the code. Rather i want to use the code already writtem in the Search help exit by just calling the Search help. Is there any way to achieve this?

Regards,

Mayank

Read only

0 Likes
828

Hi,

If u use search help, then u can't avoid pop up screen.

I think u can't use search help as FM to get the result in an internal table.

Just do the database retrieval using select query and specified where conditions as search help works.

just refer this link

http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm