12-28-2016 10:03 AM
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?
12-28-2016 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.
12-28-2016 3: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.