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

About search help exit problem

Former Member
0 Likes
623

I am studying the search help exit recently, I have tried all the other function in this session, but I found some problem in the CALLCONTROL-STEP = 'SELONE'.

There are some explaination in the demo program which I can't understand. The explaination list below:

* If you do not change CALLCONTROL-STEP, the next step is the

* dialog, to select one of the elementary searchhelps.

* If you want to skip this dialog, you have to return the selected

* elementary searchhelp in SHLP and to change CALLCONTROL-STEP to

* either to 'PRESEL' or to 'SELECT'.

I have two question about this. 1. What is the dialog, does it means the search help selection where we can type some filter like 'D*'?

                                              2. How to skip the dialog, I tried many code, it can't be skipped. Anybody has the example?

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
582

The SELONE dialog is the windows to select the initial elementary search-help

If you don't want to display this pop-up,

IF callcontrol-step EQ 'SELONE'.

  shlp-shlpname = 'choiceone'. " Current elementary search-help

  callcontrol-step = 'PRESEL'. " Set step to PRESEL


Regards,

Raymond

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
583

The SELONE dialog is the windows to select the initial elementary search-help

If you don't want to display this pop-up,

IF callcontrol-step EQ 'SELONE'.

  shlp-shlpname = 'choiceone'. " Current elementary search-help

  callcontrol-step = 'PRESEL'. " Set step to PRESEL


Regards,

Raymond

Read only

0 Likes
582

Hi Raymond, I use the code you gave, but it can't stop this dialog pop-up

Read only

hendrik_brandes
Contributor
0 Likes
582

Hi,

if you want to skip the dialog, meaning no list appear and you return immediatly to the caller, just set

CALLCONTROL-HIDE_LIST = abap_true.

Kind regards,

Hendrik