Skip to Content
avatar image
Former Member

ALV Fieldcatalog with REUSE_ALV_FIELDCATALOG_MERGE and field with slash separators

Hi all,

I want to get a fieldcatalog from an internal table via function module

REUSE_ALV_FIELDCATALOG_MERGE.

My ITAB:

DATA: BEGIN OF LT_FILE_POP OCCURS 0,
 ANLAGE TYPE ANLAGE ,
 SPARTE TYPE SPARTE ,
 PROC_REF type /IDXGC/PROC_HDR-PROC_REF ,
 VERTRAG TYPE VERTRAG,
 VSTELLE TYPE VSTELLE ,
 END OF LT_FILE_POP.

But the function module is exporting the fielkatalog just for the entries without the slash-operator. With other words:

PROC_REF type /IDXGC/PROC_HDR-PROC_REF ,

is not in the field catalog. Does anybody know why?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 28, 2016 at 10:30 AM

    sorry, my posted coding was wrong:

    the ITAB looks:

    DATA: BEGIN OF LT_FILE_POP OCCURS 0,
    ANLAGE TYPE ANLAGE ,
    SPARTE TYPE SPARTE ,
    PROC_REF type /IDXGC/DE_PROC_REF ,
    VERTRAG TYPE VERTRAG,
    VSTELLE TYPE VSTELLE ,
    END OF LT_FILE_POP.
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2016 at 03:55 PM

    Maybe because of the ALV buffer. Empty it by calling the program BALVBUFDEL. In my system, it works with // types.

    By the way, your example shouldn't work because the reference types must refer to a DDIC table/structure, so it should be ANLAGE TYPE EVER-ANLAGE, etc.

    Add comment
    10|10000 characters needed characters exceeded