Skip to Content

How to Use "Hot Key" in the Search help

Hi,

Please explain how to use hot key with some example.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:44 AM

    TYPE-POOLS SLIS. DATA: BEGIN OF itab OCCURS 0,

    BUKRS LIKE T001-BUKRS,

    BUTXT LIKE T001-BUTXT,

    END OF itab.

    PARAMETERS: P_BUKRS TYPE BUKRS.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BUKRS.

    PERFORM F4_FOR_BUKRS.

    FORM F4_FOR_BUKRS. DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,

    ES_SELFIELD TYPE SLIS_SELFIELD. * Get data

    SELECT BUKRS

    BUTXT

    FROM T001

    INTO TABLE itab

    up to 10 rows .

    • Get field

    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

    EXPORTING

    I_PROGRAM_NAME = SY-REPID

    I_INTERNAL_TABNAME = 'ITAB'

    CHANGING

    CT_FIELDCAT = IT_FIELDCAT[]. LOOP AT IT_FIELDCAT.

    IT_FIELDCAT-KEY = SPACE.

    IF IT_FIELDCAT-FIELDNAME = 'BUTXT'.

    IT_FIELDCAT-EMPHASIZE = 'C710'.

    IT_FIELDCAT-HOTSPOT = X.

    ENDIF.

    IF IT_FIELDCAT-FIELDNAME = 'BUKRS'.

    IT_FIELDCAT-EMPHASIZE = 'C610'.

    ENDIF. MODIFY IT_FIELDCAT.

    ENDLOOP. CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'

    EXPORTING

    I_TITLE = 'THIS IS FOR F4 IN COLOR'

    I_TABNAME = 'ITAB'

    IT_FIELDCAT = IT_FIELDCAT[]

    IMPORTING

    ES_SELFIELD = ES_SELFIELD

    TABLES

    T_OUTTAB = ITAB . ENDFORM. " F4_FOR_BUKRS

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 15, 2009 at 10:46 AM

    In the field to which the search help is attached enter the hotkey like this:

    =A

    in which A is the hot key.

    BTW. For some extended info go to search help BUPA in SE11. Display it and double click on one of included search helps from this collective search help Next position cursor on hot key input field and press F1.

    Edited by: Micky Oestreich on Jan 15, 2009 11:46 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:48 AM

    write this in field catalog

    IT_FIELDCAT-HOTSPOT = X.

    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.