Skip to Content
0

ALV Fieldcatalog with REUSE_ALV_FIELDCATALOG_MERGE and field with slash separators

Dec 28, 2016 at 10:03 AM

48

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

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.
Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Dec 28, 2016 at 03:55 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded