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

function module for F4 help download

HI Experts

What is the function module for F4 help download.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 30, 2007 at 10:53 AM

    Hi,

    F4IF_INT_TABLE_VALUE_REQUEST

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 10:59 AM

    Hi,

    Function module is F4IF_FIELD_VALUE_REQUEST.

    Use the Function moduel like this in this i create screen 100 by using se51.

    REPORT zcl_f4_help.

    TYPES: BEGIN OF values,

    carrid TYPE spfli-carrid,

    connid TYPE spfli-connid,

    END OF values.

    DATA: carrier(3) TYPE c,

    connection(4) TYPE c.

    DATA: progname TYPE sy-repid,

    dynnum TYPE sy-dynnr,

    dynpro_values TYPE TABLE OF dynpread,

    field_value LIKE LINE OF dynpro_values,

    values_tab TYPE TABLE OF values.

    CALL SCREEN 100.

    MODULE init OUTPUT.

    progname = sy-repid.

    dynnum = sy-dynnr.

    CLEAR: field_value, dynpro_values.

    field_value-fieldname = 'CARRIER'.

    APPEND field_value TO dynpro_values.

    ENDMODULE.

    MODULE cancel INPUT.

    LEAVE PROGRAM.

    ENDMODULE.

    MODULE value_carrier INPUT.

    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'

    EXPORTING

    tabname = 'DEMOF4HELP'

    fieldname = 'CARRIER1'

    dynpprog = progname

    dynpnr = dynnum

    dynprofield = 'CARRIER'.

    ENDMODULE.

    MODULE value_connection INPUT.

    CALL FUNCTION 'DYNP_VALUES_READ'

    EXPORTING

    dyname = progname

    dynumb = dynnum

    translate_to_upper = 'X'

    TABLES

    dynpfields = dynpro_values.

    READ TABLE dynpro_values INDEX 1 INTO field_value.

    SELECT carrid connid

    FROM spfli

    INTO CORRESPONDING FIELDS OF TABLE values_tab

    WHERE carrid = field_value-fieldvalue.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'CONNID'

    dynpprog = progname

    dynpnr = dynnum

    dynprofield = 'CONNECTION'

    value_org = 'S'

    TABLES

    value_tab = values_tab.

    ENDMODULE.

    you use this exaple code.

    Plz Reward if Help,

    Mahi.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 11:06 AM

    Hi,

    F4IF_FIELD_VALUE_REQUEST - F4 help for fields that are only known at runtime.

    F4IF_INT_TABLE_VALUE_REQUEST - F4 help also returning the value to be displayed in internal table.

    POPUP_WITH_TABLE_DISPLAY.

    Regards,

    Bhaskar

    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.