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

Replacement for HELP_VALUES_GET_WITH_MATCHCODE in ECC 6.0

Hi ,

When trying to replace HELP_VALUES_GET_WITH_MATCHCODE with the New FM

F4IF_FIELD_VALUE_REQUEST Iam not able to get the output when trying to test.Could you please pro

vide me the parameters for the new FM.I_status is passed for the Exp parameter matchcode_object.

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 Feb 01, 2008 at 04:25 AM

    Hi

    Hope it will help you.

    Pls reward if help.

    Check the following Code

    Data : LF_SELFELDNAME TYPE FIELDNAME,

    LF_MATCHCODE TYPE SHLPNAME,

    LF_DYNPRONAME TYPE SYREPID,

    LF_DYNPRONUMMER TYPE SYDYNNR.

    Data : LT_RUECKGABE TYPE DDSHRETVAL OCCURS 0 WITH HEADER LINE.

    LF_SELFELDNAME = 'KUNNR'.

    LF_MATCHCODE = 'DEBI'.

    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'

    EXPORTING

    TABNAME = 'VBPA'

    FIELDNAME = LF_SELFELDNAME

    SEARCHHELP = LF_MATCHCODE

    DYNPPROG = LF_DYNPRONAME

    DYNPNR = LF_DYNPRONUMMER

    TABLES

    RETURN_TAB = LT_RUECKGABE

    EXCEPTIONS

    FIELD_NOT_FOUND = 1

    NO_HELP_FOR_FIELD = 2

    INCONSISTENT_HELP = 3

    NO_VALUES_FOUND = 4

    OTHERS = 5.

    IF SY-SUBRC NE 0.

    EXIT.

    ENDIF.

    Reward if help.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 04:28 AM

    F4IF_INT_TABLE_VALUE_REQUEST

    This FM is used to dsiplay values stored in an internal table as input help.

    This FM is used to program our own custom help if no such input help exists in ABAP dictionary for a particular field.

    The parameter VALUE_TAB is used to pass the internal table containing input values.

    The parameter RETFIELD is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.

    If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    RETFIELD = field from int table whose value will be returned

    DYNPPROG = SY-CPROG

    DYNPNR = SY-DYNNR

    DYNPROFIELD = 'screen field'

    VALUE_ORG = 'S'

    TABLES

    VALUE_TAB = internal table whose values will be shown.

    RETURN_TAB = internal table of type DDSHRETVAL

    EXCEPTIONS

    parameter_error = 1

    Also check this thread .

    F4 IN MODULE POOL

    no_values_found = 2

    others = 3.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2008 at 04:46 AM

    Hi Pradeep

    check this code of search help exit.. have a look at my paper.. it might be helpful to you..

    https://wiki.sdn.sap.com/wiki/x/du0

    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.