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

replace of function module

iam using the function module HELP_VALUES_GET_WITH_TABLE in 4.6c which is replaced by

F4IF_INT_TABLE_VALUE_REQUEST in ecc 6.0.But i want to know the parameters passed to this new FM in ecc.could you please help

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 Jan 08, 2008 at 02:24 PM

    hi Pradeep

    This way you can use this FM

    DATA: L_RETFIELD TYPE DFIES-FIELDNAME.

    DATA: T_FIELD like DFIES occurs 0 with header line,

    T_RETURN like DDSHRETVAL occurs 0 with header line.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    RETFIELD = L_RETFIELD

    TABLES

    VALUE_TAB = t_values

    FIELD_TAB = t_Field

    RETURN_TAB = t_return

    EXCEPTIONS

    PARAMETER_ERROR = 1

    NO_VALUES_FOUND = 2

    OTHERS = 3.

    reward if HElpful

    Hitesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 02:29 PM

    hi,

    please go through this link,

    Alternate to 'HELP_VALUES_GET_WITH_TABLE'

    reward points if helpful..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 02:39 PM

    Hi,

    check this example.

    TABLES: mara, makt.

    DATA mat LIKE mara-matnr.

    DATA: BEGIN OF itab OCCURS 0,

    matnr LIKE mara-matnr,

    END OF itab.

    DATA : BEGIN OF btab OCCURS 0,

    maktx LIKE makt-maktx,

    END OF btab.

    DATA : return LIKE ddshretval OCCURS 0 WITH HEADER LINE.

    SELECT-OPTIONS: so_matnr FOR mara-matnr,

    so_maktx FOR makt-maktx.

    INITIALIZATION.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-low.

    PERFORM matnr.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-high.

    PERFORM matnr.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_maktx-low.

    PERFORM maktx.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_maktx-high.

    PERFORM maktx.

    &----


    *& Form matnr

    &----


    • text

    ----


    FORM matnr.

    REFRESH itab.

    SELECT matnr FROM mara INTO TABLE itab.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'MATNR '

    dynprofield = 'P_MATNR '

    dynpprog = sy-repid

    dynpnr = sy-dynnr

    value_org = 'S'

    TABLES

    value_tab = itab

    return_tab = return.

    mat = return-fieldval.

    UNPACK mat TO mat.

    so_matnr = return-fieldval.

    REFRESH return.

    CLEAR return.

    ENDFORM. "matnr

    &----


    *& Form maktx

    &----


    FORM maktx.

    REFRESH btab.

    SELECT maktx FROM makt INTO TABLE btab WHERE matnr = mat AND spras =

    sy-langu.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'MAKTX'

    dynprofield = 'SO_MAKTX '

    dynpprog = sy-repid

    dynpnr = sy-dynnr

    value_org = 'S'

    TABLES

    value_tab = btab

    return_tab = return.

    so_maktx = return-fieldval.

    REFRESH return.

    CLEAR return.

    ENDFORM. "maktx

    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.