Skip to Content


Hi All,

I have an alv report in which internal table has 114 entries but when i am using function module REUSE_ALV_FIELDCATALOG_MERGE , only 44 fields are copied into the fieldcatalog....can anyone tell me why this is happening?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 23, 2008 at 04:41 AM

    Check your internal table declaration...

    when you declare the internal table fields using LIKE instead of TYPE.

    data: begin of it_final occurs 0,
              vbeln like vbak-vbeln,
              matnr like vbap-matnr,  "use LIKE instead of type
           end of it_final.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 04:31 AM

    the structure you are passing to REUSE_ALV_FIELDCATALOG_MERGE might be having only 44 fields in it.. check the structure you are passing to the FM REUSE_ALV_FIELDCATALOG_MERGE

    114 entries are rows...

    and 44 fields(columns) Is valid...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sandeep Bhamare


      Just read this:

      Supports the creation of the field catalog for the ALV function modules based either on a structure or table defined in the ABAP Data Dictionary, or a program-internal table.

      The program-internal table must either be in a TOP Include or its Include must be specified explicitly in the interface.

      The variant based on a program-internal table should only be used for rapid prototyping since the following restrictions apply:

      Performance is affected since the code of the table definition must always be read and interpreted at runtime.

      Dictionary references are only considered if the keywords LIKE or INCLUDE STRUCTURE (not TYPE) are used.

      If the field catalog contains more than 90 fields, the first 90 fields are output in the list by default whereas the remaining fields are only available in the field selection.

      If the field catalog is passed with values, they are merged with the 'automatically' found information.


      Shiva Kumar

  • Posted on Jul 23, 2008 at 11:12 AM


    I would suggest to creat your own strucutr to include those fields in the output list & simply pass that structure to the FM: REUSE_ALV_FIELDCATALOG_MERGE.This ensures the complete trnasfer of all the fileds defined in your structure without a single miss on any filed... hope this helps!!



    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.