Skip to Content

Search help

Hi,

I have created a search help for Data Element, there are two fields in search help i.e. number and name, how can I capture the name value for the number selected?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2006 at 02:35 PM

    Use the FM <b>'DYNP_VALUES_READ'</b>.

    DATA: lt_dynpfields LIKE dynpread OCCURS 0 WITH HEADER LINE,

    lt_dnpfields LIKE dynpread OCCURS 0 WITH HEADER LINE.

    lt_dynpfields-fieldname = 'I_MPRN-POST_CODE'.

    lt_dynpfields-stepl = stepl.

    APPEND lt_dynpfields. CLEAR lt_dynpfields.

    CALL FUNCTION 'DYNP_VALUES_READ'

    EXPORTING

    dyname = sy-repid

    dynumb = sy-dynnr

    translate_to_upper = c_x

    determine_loop_index = c_x

    TABLES

    dynpfields = lt_dynpfields

    EXCEPTIONS

    invalid_abapworkarea = 1

    invalid_dynprofield = 2

    invalid_dynproname = 3

    invalid_dynpronummer = 4

    invalid_request = 5

    no_fielddescription = 6

    invalid_parameter = 7

    undefind_error = 8

    double_conversion = 9

    stepl_not_found = 10

    OTHERS = 11.

    IF sy-subrc EQ 0.

    READ TABLE lt_dynpfields INDEX 1.

    ENDIF.

    Regards,

    Prakash.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2006 at 02:57 PM

    Hi,

    check import export attributes of field name number

    in search help.

    Regards

    amole

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 06, 2012 at 08:00 PM

    closed

    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.