Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg Function Module F4IF_INT_TABLE_VALUE_REQUEST

Former Member
0 Likes
705

Hi,

We are upgrading our system from ECC 4.6 to ECC 6.0. For that we are replacing obsolete Function modules.

We found one obsolete function module VALUES_DISPLAY. For that we found the replacement function module F4IF_INT_TABLE_VALUE_REQUEST. But we have not sure how to use the new one. We don't know what are all the import and export parameters and the table values.

Could any one please help me out in resolving this.

Thanks a lot in advance for your kind help.

Regards,

Balaji...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
652

HI,

call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
*     DDIC_STRUCTURE         = ' '
      RETFIELD               = 'ZZJCLB' "Name of field from internal table & is required parameter
*     PVALKEY                = ' '
     DYNPPROG               = SY-REPID "Program name & is required parameter
     DYNPNR                 = SY-DYNNR "Screen number & is required parameter
*     DYNPROFIELD            = ' ' "Field on screen for which F4 is created & is required parameter
*     STEPL                  = 0
*     WINDOW_TITLE           =
*     VALUE                  = ' '
     VALUE_ORG              = 'S' "Type of output & is required parameter
*     MULTIPLE_CHOICE        = ' '
*     DISPLAY                = ' '
*     CALLBACK_PROGRAM       = ' '
*     CALLBACK_FORM          = ' '
*     MARK_TAB               =
*   IMPORTING
*     USER_RESET             =
    TABLES
      VALUE_TAB              = it_values_new "Internal table containing values to be displayed in F4 window & is required parameter
*     FIELD_TAB              =
*     RETURN_TAB             =
*     DYNPFLD_MAPPING        =
   EXCEPTIONS
     PARAMETER_ERROR        = 1
     NO_VALUES_FOUND        = 2
     OTHERS                 = 3

5 REPLIES 5
Read only

gaursri
Active Contributor
0 Likes
652

Hi Balaji,

Please have a look on this thread.

LINK:[Thread|;

Hope your query resolves quickly.

Have a best day ahead.

Read only

Former Member
0 Likes
653

HI,

call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
*     DDIC_STRUCTURE         = ' '
      RETFIELD               = 'ZZJCLB' "Name of field from internal table & is required parameter
*     PVALKEY                = ' '
     DYNPPROG               = SY-REPID "Program name & is required parameter
     DYNPNR                 = SY-DYNNR "Screen number & is required parameter
*     DYNPROFIELD            = ' ' "Field on screen for which F4 is created & is required parameter
*     STEPL                  = 0
*     WINDOW_TITLE           =
*     VALUE                  = ' '
     VALUE_ORG              = 'S' "Type of output & is required parameter
*     MULTIPLE_CHOICE        = ' '
*     DISPLAY                = ' '
*     CALLBACK_PROGRAM       = ' '
*     CALLBACK_FORM          = ' '
*     MARK_TAB               =
*   IMPORTING
*     USER_RESET             =
    TABLES
      VALUE_TAB              = it_values_new "Internal table containing values to be displayed in F4 window & is required parameter
*     FIELD_TAB              =
*     RETURN_TAB             =
*     DYNPFLD_MAPPING        =
   EXCEPTIONS
     PARAMETER_ERROR        = 1
     NO_VALUES_FOUND        = 2
     OTHERS                 = 3

Read only

Former Member
0 Likes
652

Hi,

Try this code

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'SYSTYP'

DYNPPROG = 'Z06PDE12_RSUSR003'

DYNPNR = '1000'

DYNPROFIELD = 'PA_SYST'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = it_list

return_tab = it_retn.

.

IF SY-SUBRC 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards,

Vijay

Read only

Former Member
0 Likes
652

Hi Balaji,

I just checked the function module and found that it had a well maintained documentation. Also there are long text available for the import parameters. Hope that will clear the doubts a lot.

Also have a look at this demo report program as to how to use the function module. DEMO_DYNPRO_F4_HELP_MODULE

Hope this will help.

Thanks,

Samantak.

Read only

Former Member
0 Likes
652

Hii Balaji,

See the standard program DEMO_DYNPRO_F4_HELP_MODULE in SE38.

or

u can have a small example here

F4IF_INT_TABLE_VALUE_REQUEST is used to display the f4 help for a perticule field on the section screen.

example

fetch the customer data into internal table.

pass the parameters like reffield,program name,screen and screen field.

***********************************************************************

  • At Selection Screen on value request *

***********************************************************************

  • F4 help for Corporate

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CORP.

PERFORM F4HELP_CORP.

&----


*& Form F4HELP_CORP

&----


  • F4 help for corporate

-


  • There are no interface parameters to be passed to this routine

-


FORM F4HELP_CORP .

  • F4 help for corporate

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'KUNNR'

DYNPPROG = 'Z_EXCESS_USAGE'

DYNPNR = '1000'

DYNPROFIELD = 'P_CORP'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = T_CORP

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

IF SY-SUBRC EQ 0.

  • Do nothing

ENDIF. " IF SY-SUBRC EQ 0

ENDFORM. " F4HELP_CORP

rgrds,

Shweta