‎2019 Apr 29 10:28 AM
Hi, experts!
I'm using FM BANK_API_CHDOC_DISPLAY to display customer change docs and i've got an ecxeption CX_SY_STRUCT_COMP_NAME in CL_ABAP_STRUCTDESCR=>CHECK_COMPONENT_TAB - "Multiple Specification of the Name as a Component Name".
After several hours of debugging, i'm found that the problem in CL_CDV_PREPARE=>DECOMPOSE_STRUCTURE [BUG here, at line 484, at READ TABLE...]
One of my table has a structure:
MANDT MANDT (key)
.INCLUDE ASSET (key)
BUKRS BUKRS (key)
ANLN1 ANLN1 (key)
ANLN2 ANLN2 (key)
INCLU-AK ASSET
BUKRSAK BUKRS (postfix -ak)
ANLN1AK ANLN1 (postfix -ak)
ANLN2AK ANLN2 (postfix -ak)
BUG appears during structure analysis - each component searching in IT_TABLEKEYFIELDS (table of keys) and definitely found it. For key fields it's work fine, but include non-key fields also add to CT_COMPONENT_KEY which leads exception.
I'm definitely sure it's a bug, help please.
SAP_BASIS 740 0005