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

Selection screen f4 help

usersant077
Explorer
0 Likes
2,921

Hi gurus.

I have a select-option no-extension no intervals field on my selection screen, it comes from a table with values so I do have f4 help for the field but what I want is that when user starts to type he’ll get the completion help that comes as drop down for the field,


any idea what I need to add in order to achieve that?

Thank you very much!

9 REPLIES 9
Read only

GK817
Active Contributor
2,712

Hi,

In search help for specific field, Tick the option ' Proposal Search for Input fields'.

In case there is standard search help,you can copy the same to yours to make this change.

Reference: https://blogs.sap.com/2015/03/10/spotlight-on-the-enhanced-search-f4-help/

Regards

Gaurav

Read only

MBartsch71
Participant
0 Likes
2,712

Hi,

maybe also this blog post can help you:

https://answers.sap.com/comments/11468843/view.html

Kind regards

Matthias

Read only

venkateswaran_k
Active Contributor
0 Likes
2,712

Hi

Please do the following Step.

Go to Transaction SDSH_CONFIG. - Enable the Checkbox to Yes. This will bring all input field help with Lense Mark enabled.

If you see the Lense Mark - then you can type the text in the field, this will automatically gives dropdown as you expected.

Regards,

Venkat

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
2,712

Hello usersant077

First of all select-option no-extension no intervals gives you the same result as parameters - so why don't you use a simpler definition?

Here is a simple test for you with a input options for a program name, i.e. exactly the same field you find on an initial screen of SE38 transaction. There the drop down definitively works:

TABLES: rs38m.

SELECT-OPTIONS:
s_prog FOR rs38m-programm NO-EXTENSION NO INTERVALS MATCHCODE OBJECT sedt_programs.

PARAMETERS:
p_prog LIKE rs38m-programm MATCHCODE OBJECT sedt_programs.

Try for yourself - both SELECT-OPTIONS and PARAMETERS generate a field with drop down functionality active. That's because they both refer to matchcode object SEDT_PROGRAMS.

The matchcode definitions activates the drop down or autosuggest functionality:

So, in order to fulfill your requirement your input field needs to refer to a matchcode object with autosuggest activated.

Best regards

Dominik Tylczynski

Read only

0 Likes
2,712

Hi,

I tried your suggested option. It gives F4 help from search help selection method SEDT_PROG_VIEW, which may not be the desired behavior.

Gaurav

Read only

0 Likes
2,712

Hi gaurav.karkara3

I've provided the piece of code as an example to illustrate how search helps / matchcodes work. You need to use a matchcode suitable for your input field type.

I would have suggested a correct matchcode for you, if you had provided the data element of your field in select-options.

Best regards

Dominik Tylczynski

Read only

2,712

Thanks Dominik. I thought that's a generic one.

Read only

former_member1716
Active Contributor
0 Likes
2,710

usersant077,

Below setting can also help you on this, but this applies for all fields. With the below settings also try displaying your field as listbox, this can satisfy your requirement i suppose.

Reach out to options --> Interaction Design --> Visualization 2 --> Show enhanced search automatically

Below Image for your reference.

Regards!

Read only

usersant077
Explorer
0 Likes
2,710

Hey, I tried all of those options and unfortunately no success. Do you know if it could be related to the fact that the system I’m working on is ECC 6.0, NetWeaver 7.31?

Thank you all very much.