Application Development 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: 

About using F4IF_INT_TABLE_VALUE_REQUEST

Former Member
0 Kudos

Hi Experts

i want to use F4IF_INT_TABLE_VALUE_REQUEST to show popup with two columns according to type definition below. as the second field "DES" is not refering to any table field or data element, therefroe, i am using TYPE C length 200 to declare it.

TYPES: BEGIN OF TY_S,
          ZZJCLB TYPE ZZJCLB1-ZZJCLB,  * ID
          DES TYPE c length 200,  *Description
         END OF TY_S.

After calling function module like below. Currently, The popup only shows one column. So, my question is how to show the second column for field DES with column title i want?

call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
*     DDIC_STRUCTURE         = ' '
      RETFIELD               = 'ZZJCLB'
*     PVALKEY                = ' '
     DYNPPROG               = SY-REPID
     DYNPNR                 = SY-DYNNR
*     DYNPROFIELD            = ' '
*     STEPL                  = 0
*     WINDOW_TITLE           =
*     VALUE                  = ' '
     VALUE_ORG              = 'S'
*     MULTIPLE_CHOICE        = ' '
*     DISPLAY                = ' '
*     CALLBACK_PROGRAM       = ' '
*     CALLBACK_FORM          = ' '
*     MARK_TAB               =
*   IMPORTING
*     USER_RESET             =
    TABLES
      VALUE_TAB              = it_values_new
*     FIELD_TAB              =
*     RETURN_TAB             =
*     DYNPFLD_MAPPING        =
   EXCEPTIONS
     PARAMETER_ERROR        = 1
     NO_VALUES_FOUND        = 2
     OTHERS                 = 3
            .

1 ACCEPTED SOLUTION

faisal_altaf2
Active Contributor
0 Kudos

Hi, SAP Guy

Do the following Change in types it will solve out your problem,

TYPES: BEGIN OF ty_s,
          zzjclb TYPE zzjclb1-zzjclb,  " ID
          des TYPE char200,  " Description Change Here 
         END OF ty_s.

Best Regards,

Faisal

3 REPLIES 3

Former Member
0 Kudos

Hi,

You need to refer to the Table field or data element for DES field. Search for the data Element which is of Char type with 200 length and refer to this .

You can use this data element DML_DESCR which is of length 255. which has 'Description' as field text.

Former Member
0 Kudos

Hi,

In Place of Sy-repid & Sy-dynnr, try passing the Hardcoded values or constants.

faisal_altaf2
Active Contributor
0 Kudos

Hi, SAP Guy

Do the following Change in types it will solve out your problem,

TYPES: BEGIN OF ty_s,
          zzjclb TYPE zzjclb1-zzjclb,  " ID
          des TYPE char200,  " Description Change Here 
         END OF ty_s.

Best Regards,

Faisal