Skip to Content

how to apply fuzzy / proposal search help to a field in selection screen of a report which has been introduced since sap ecc 7.4

Hi ABAP members ,

How to apply fuzzy / proposal search help to a field which has been declared in parameters statement of type KSCHL ( condition type ) in selection screen of a report not module pool which has been introduced since sap ecc 7.4 like shown in sample screenshot ? It should not populate many fields like in screenshot below but only field KSCHL proposal will solve the purpose .

The set of KSCHL values that should populate are defined by this logic :

select kappl kschl
from t685a
into table gt_t685a where kappl = 'V' .

A step-by-step rough outline for this would be great . I searched scn but somehow could not find a clear procedure for this scenario .

Thanks in advance .

Rgds ,

Dave

search.jpg (47.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 22, 2016 at 12:59 PM

    Hi,

    According to these materials:

    Spotlight on the Enhanced Search (F4 Help)

    https://www.youtube.com/watch?v=JpcclYR4wmg

    You need to use a search help with Fuzzy Logic on.

    For your case I took Search Help COPA_KSCHL_V, copied it and changed those parameters (I did not want to modify a SAP object for test, you could do it this way too).

    Then I referenced this Search Help in the structure where my KSCHL field comes from YKSCHL_S with the field linked to my Y search help.

    Now in a custom report I created a parameter for that structure field:

    PARAMETER: p_kschl TYPE ykschl_s-kschl.

    When i execute selection screen, then suggested values work like a charm. Easy coding.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.