Skip to Content


Jun 16, 2017 at 05:36 AM


avatar image

Hi Experts,

During upgrade from EHP5 to EHP8 at Phase


I am facing the issue as below.

Please provide me the solution.

Category Internal kernel error
Application Component Not assigned
Date and Time 16.06.2017 07:26:07

Short Text
Inconsistency in the dictionary for structure "AFKO".

What happened?
Error in the SAP kernel

The current ABAP program "CL_GUI_ALV_GRID===============CP" had to be
terminated because the ABAP
processor detected a system error.

Error analysis
There is an internal system error.
There is an inconsisteny for DDIC structure "AFKO". The corresponding
Dictionary runtime object (NAMETAB) is incorrect.

The number of components of structure (NAMETAB component "fldcnt") is
declared as 166. If all the substructures are resolved, and the actual
total number of components is calculated recursively, a different value
is returned.
value is returned.

Trigger Location of Runtime Error
Program CL_GUI_ALV_GRID===============CP
Include %_CCO
Row 7

Source Code Extract

Line SourceCde

1 TYPE-POOL co .
2 * Type für Auftragskopie erstellen
3 TYPES: BEGIN OF co_ord_idx,

index_new LIKE sy-tabix,
flg_append TYPE c,
rsnum_old LIKE afko-rsnum,
stsma_old LIKE jsto-stsma,
END OF co_ord_idx.
TYPES: co_ord_tab LIKE typ_ord_idx OCCURS 0.

TYPES: BEGIN OF co_opr_idx,
aufpl_old LIKE afvc-aufpl,
aplzl_old LIKE afvc-aplzl,
index_new LIKE sy-tabix,
END OF co_opr_idx.
TYPES: co_opr_tab TYPE co_opr_idx OCCURS 0.

TYPES: BEGIN OF co_cmp_idx,
rsnum_old LIKE resb-rsnum,
rspos_old LIKE resb-rspos,
rsart_old LIKE resb-rsart,
index_new LIKE sy-tabix,
END OF co_cmp_idx.
TYPES: co_cmp_tab TYPE co_cmp_idx OCCURS 0.

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

1 Answer

Boris Rubarth
Jul 12, 2017 at 06:15 AM

Hi Sagar,

your question misses important details, most of all: which exact SUM version are you using?

SUM 1.0 SP xx patch level yy ...

Thanks, Boris

10 |10000 characters needed characters left characters exceeded