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

How to parameter F4IF_INT_TABLE_VALUE_REQUEST?

Hi experts,

could u explain, what are the parameters in this function? I tried to parameter the function, but no value found and nothing was displayed.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • ddic_structure = '

retfield = ' '

  • PVALKEY = ' '

  • DYNPPROG = ' '

  • DYNPNR = ' '

  • DYNPROFIELD = ' '

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

  • VALUE_ORG = 'C'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

TABLES

value_tab =

  • FIELD_TAB =

  • RETURN_TAB =

  • DYNPFLD_MAPPING =

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

9 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:14 AM

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'CONNID'

    dynpprog = progname

    dynpnr = dynnum

    dynprofield = 'CONNECTION'

    value_org = 'S'

    TABLES

    value_tab = values_tab.

    refer demo program DEMO_DYNPRO_F4_HELP_MODULE.....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:22 AM

    Why I can't see any value?

    1. DATA: BEGIN OF gt_values OCCURS 0,

    specid TYPE zcust-specid,

    END OF gt_values.

    2 . (selection)

    I select into gt_values.

    3. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    • ddic_structure = '

    retfield = 'SPECID'

    • PVALKEY = ' '

    • DYNPPROG = ' '

    • DYNPNR = ' '

    • DYNPROFIELD = ' '

    • STEPL = 0

    • WINDOW_TITLE =

    • VALUE = ' '

    • VALUE_ORG = 'C'

    • MULTIPLE_CHOICE = ' '

    • DISPLAY = ' '

    • CALLBACK_PROGRAM = ' '

    • CALLBACK_FORM = ' '

    TABLES

    value_tab = gt_values

    • FIELD_TAB =

    • RETURN_TAB =

    • DYNPFLD_MAPPING =

    EXCEPTIONS

    PARAMETER_ERROR = 1

    NO_VALUES_FOUND = 2

    OTHERS = 3

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello,

      You have to read the table IT_RETURN & send the value to your selection screen element.

      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'SPECID'
                dynpprog        = sy-repid
                value_org       = 'S'
              TABLES
                value_tab       = l_it_dtypdesc
                return_tab      = l_it_ret_tab
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc = 0.
              READ TABLE l_it_ret_tab INTO l_wa_ret_tab INDEX 1.
              IF sy-subrc = 0.
                specid = l_wa_ret_tab-fieldval.
              ENDIF.
            ENDIF.
      

      Hope this is clear.

      BR,

      Suhas

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:16 AM

    Hi,

    You need not parameterize all the available. Only 5 exporting parameters and one table are mandatory to be parameterize.

    Here is the code.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    RETFIELD = 'MATNR' "The field name in the internal table

    DYNPPROG = SY-REPID

    DYNPNR = SY-DYNNR

    DYNPROFIELD = 'S_MATNR' " the select-option or parameter in screen

    VALUE_ORG = 'S'

    TABLES

    VALUE_TAB = I_MARA " the internal table name from which u want to display values

    EXCEPTIONS

    PARAMETER_ERROR = 1

    NO_VALUES_FOUND = 2

    OTHERS = 3.

    IF SY-SUBRC <> 0.

    ENDIF.

    That is all.

    If you have further query please fel free to say.

    Bye.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:16 AM

    HI,

    Just refer the below thread:

    f4ifinttablevaluerequest

    Hope this will help.

    Regards,

    Nitin.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:16 AM

    hi,

    Refer to this link...

    help-on-f4ifinttablevaluerequest

    function-modulef4ifinttablevaluerequest

    Edited by: avinash kodarapu on Dec 22, 2008 3:48 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:18 AM

    Hi Mr.White,

    look into this thread f4ifinttablevaluerequest

    Regards,

    Pravin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:23 AM

    hi,

    tables mara .

    data: begin of t_values occurs 2,

    value like mara-matnr,

    end of t_values,

    t_return like ddshretval occurs 0 with header line.

    select-options s_matnr for mara-matnr.

    at selection-screen on value-request for s_matnr-low.

    t_values = 'MAT1'.

    append t_values.

    t_values = 'MAT2'.

    append t_values.

    call function 'F4IF_INT_TABLE_VALUE_REQUEST'

    exporting

    retfield = 'MATNR'

    value_org = 'S'

    tables

    value_tab = t_values

    return_tab = t_return

    exceptions

    parameter_error = 1

    no_values_found = 2

    others = 3.

    if sy-subrc = 0.

    read table t_return index 1.

    endif.

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:49 AM

    hi,try this code

    SELECT-OPTIONS: s_f4 for wa_tab-f1.

    INITIALIZATION.

    PERFORM get_search_hlp_values.

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

    PERFORM get_f4help CHANGING s_f4-low.

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

    PERFORM sub_get_f4help CHANGING s_f4-high.

    FORM get_search_hlp_values.

    fill itab with values here

    ENDFORM. " sub_get_search_hlp_values

    FORM sub_get_f4help_for_user CHANGING p_bname TYPE char10.

    DATA: l_i_field TYPE STANDARD TABLE OF dfies INITIAL SIZE 0,

    l_wa_field TYPE dfies,

    l_i_return TYPE TABLE OF ddshretval,

    l_wa_return TYPE ddshretval.

    CONSTANTS: c_feild TYPE dfies-fieldname VALUE 'BNAME',

    c_dynprg TYPE sy-repid VALUE 'RSSYSTBD',

    c_dynpnr TYPE sy-dynnr VALUE '1000',

    c_dynfeild TYPE help_info-dynprofld VALUE 'S_BNAME-LOW',

    c_stepl TYPE sy-stepl VALUE '0',

    c_valueorg TYPE ddbool_d VALUE 'C'.

    Populate the Field table

    l_wa_field-tabname = 'QMFE'.

    l_wa_field-fieldname = 'FECOD'.

    APPEND l_wa_field TO l_i_field.

    IF NOT i_data[] IS INITIAL.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = c_feild

    dynpprog = c_dynprg

    dynpnr = c_dynpnr

    stepl = c_stepl

    value_org = c_valueorg

    TABLES

    value_tab = i_tab

    field_tab = l_i_field

    return_tab = l_i_return

    EXCEPTIONS

    parameter_error = 1

    no_values_found = 2

    OTHERS = 3.

    READ TABLE l_i_return INTO l_wa_return

    WITH KEY fieldname = 'FECOD'.

    IF sy-subrc EQ 0.

    p_bname = l_wa_return-fieldval.

    ENDIF.

    ENDIF.

    ENDFORM. " get_F4help

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 11:06 AM

    Thanks

    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.