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

search help with POPUP_GET_VALUES

I made a report that uses the POPUP_GET_VALUES FM to input some values to a table.My problem is that in a field i want to put a search help .

I can't do it ....

Can someone give an advise ...Also can i do it if the values are from a list and not from an Z table ...

Points will be rewarded ..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 10:02 AM

    Hi,

    Please find the below code.

    CALL FUNCTION 'POPUP_GET_VALUES'

    EXPORTING

    NO_VALUE_CHECK = 'X'

    POPUP_TITLE = POPUP_TITLE

    START_COLUMN = '25'

    START_ROW = '5'

    IMPORTING

    RETURNCODE = RETURNCODE

    TABLES

    FIELDS = FIELDS

    EXCEPTIONS

    ERROR_IN_FIELDS = 1

    OTHERS = 2.

    IF SY-SUBRC 0.

    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    IF RETURNCODE = 'A'.

    EXIT.

    ELSE.

    LOOP AT FIELDS.

    IF SY-TABIX = 1.

    VL_CODE = FIELDS-VALUE.

    ENDIF.

    ENDLOOP.

    Thanks & Regards,

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 31, 2008 at 12:17 PM

    Create a search help by going to se11.

    Search help option is there, click that. and create a search help over there.

    It will ask you for the selection-option while creating a search help. give the table name over there and after that field name for which you want to create a search help.

    after creating a search help, go to the field in the table name. double click the field, go to further characteristics and write the search help name over there.

    Reward if help.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 29, 2010 at 07:21 AM

    Hi,

    POPUP_GET_VALUES supports F4 helps only if there is a value table assigned to the domain/data element you are using in the FIELDS[ ] table.

    Regards,

    Andrea

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2010 at 12:06 PM

    POPUP_GET_VALUES_USER_HELP -

    You can create your own F4 help sub-routine and pass it as an argument for this FM.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 08, 2010 at 09:55 AM

    Same question you already ask in SDN on 2007 check your thread

    POPUP_GET_VALUES_USER_HELP problem !!!! Urgent !!!

    Edited by: Krupaji on Oct 8, 2010 11:55 AM

    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.