cancel
Showing results for 
Search instead for 
Did you mean: 

I am Facing Issue in ALV Field Catalog Merge FM

Anbu_04
Discoverer
0 Kudos
122

In ECC

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = v_repid
      i_internal_tabname     = 'GT_OUTDATA'
      i_inclname             = v_repid
    CHANGING
      ct_fieldcat            = v_fieldcat[]
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.

In Ecc i am Getting the Field CatLog Value's where i am Passing the GT_outdata as the internal table for getting Column name in v_fieldcat internal table.

 

 

Same Process i am doing in S4 But I am not Getting the values in V_fieldcat....

In S4

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = v_repid
      i_internal_tabname     = 'GT_OUTDATA'
      i_inclname             = v_repid
    CHANGING
      ct_fieldcat            = v_fieldcat[]
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.


Can anyone explain What will be the issue Insted of Passing Structure in Filed catalog merge Fm I need to pass Internal table only...

Any Suggestion???

View Entire Topic
0819
Explorer
0 Kudos

Hi,

Can you check the field in GT_OUTDATA structure is defined using TYPE or LIKE?