Skip to Content
author's profile photo Former Member
Former Member

Search Help for vendor

I need to create a search help for vendor. I mean if i press F4, it should display vendor code along with name . Can anybody help me to create a search help and to assign it to vendor code.

Thanks in advance..

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2004 at 06:50 AM

    If this is a report program, then declaring that parameter or select-option <b>LIKE lfa1-lifnr</b>, will automatically get you a search help.

    If none of the search helps are useful, then you can create a search help in SE11. If you have any issues , such as Search Help not being displayed, let us know.

    For step-by-step procedure, refer

    http://help.sap.com/saphelp_46c/helpdata/en/4f/991f82446d11d189700000e8322d00/frameset.htm

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

    • You need to call the following function on value help of your field.

        call function 'F4IF_FIELD_VALUE_REQUEST'
          exporting
            tabname                   = 'LFA1'
            fieldname                 = 'LIFNR'
            searchhelp                = 'KRED'
            dynpprog                  = <your program name from where you are calling this function>
            dynpnr                    = <your program screen number>
            dynprofield               = '<screen field name>'
            value                     = 'S*'
      
        if sy-subrc <> 0.
      * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
      *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
      
      

      Hope this helps.

      Regards

      Raja

  • Posted on Dec 06, 2004 at 09:27 AM

    How to create search help:

    1.se11

    2.give a searchhelp name

    3.press create

    4.choose elementary search help

    5.Enter lfa1 in search method

    6.In parameter line enter the values below:

    first line:

    - Search help parameter: lifnr

    - IMP: X

    - EXP: X

    - Lpos: 1

    - Spos: 1

    - Data Element: lifnr

    - Default value: EMPTY

    Second line

    - Search help parameter: name1

    - IMP: EMPTY

    - EXP: EMPTY

    - Lpos: 2

    - Spos: 2

    - Data Element: NAME1_GP

    - Default value: 'S*'

    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.