Archived discussions are read-only. Learn more about SAP Q&A

About using F4IF_INT_TABLE_VALUE_REQUEST

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
            .

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question