SAP Knowledge Base Article - Preview

3390691 - Migrating from ECC to S/4HANA is getting cancelled

Symptom

  • When migrating from ECC to S/4HANA one package is getting cancelled in ENR step and an ST22 dump like the one below can be observed:

Category               ABAP programming error
Runtime Errors         AMDP_EXECUTION_FAILED
Except.                CX_AMDP_EXECUTION_FAILED
ABAP Program           CL_FINS_CO_MIG_UTIL===========CP
Application Component  FIN-MIG-CO

----------------------------------------------------------------------------------------------------
|Error analysis                                                                                    |
|    An exception has occurred in class "CX_AMDP_EXECUTION_FAILED".                                   |
...
|    "cannot allocate enough memory:                                                               |
|     "SAPHANADB"."CL_FINS_CO_MIG_UTIL=>MIGRATE_COBK_COEP#stb2#20220401214717":                    |
|     line 17 col 3 (at pos 509):                                                                  |
|     "SAPHANADB"."CL_FINS_CO_MIG_UTIL=>MIGRATE_COBK_COEP": line 442 col 3 (at pos                 |
|     19154): search table error:  [9] Memory alloc"                                               |
----------------------------------------------------------------------------------------------------

  • indexserver_HostName.30640.rtedump.<timestamp>.compositelimit_oom.trc trace files are generated and contains entries similar to this:

[MEMORY_LIMIT_VIOLATION]  Information about current memory composite-limit violation: (2023-08-23 19:02:20 090 Local)
Composite limit violation (OUT OF MEMORY) occurred.
Composite limit=25gb (26843545600b)
Root allocator name=Connection/207279/Statement/890260483361979
Host: <host_name>
Executable: hdbindexserver
PID: <pid_number>
Failed to allocate 251.21mb (263415040b).

  • The statement number 890260483361979 collected from Root allocator name(Connection/207279/Statement/890260483361979) points to the SQL statement that caused the memory violation as shown below.

597704[thr=10506]: SqlExecutor, TID: 75, UTID: 103132904, CID: 207279, LCID: 207279, SEID: 844433711558668, parent: ---, SQLUserName: "SAPHANADB", AppUserName: "ApplicationUserName", AppName: "ABAP:SRD", ConnCtx: 207279 {LDBID: 3, LCID: 207279}, StmtCtx: (1) 890260393113050 {Parent: 207279, P: 5, THRL: 13, MEMLGB: 25, TIMESec: 0, ObjHdl: 139536600442112, User: "SAPHANADB", Schema: "SAPHANADB", SesCtx: {ObjHdl: 139695782338560, CID: 207279, LCID: 207279, User: "SAPHANADB", Schema: "SAPHANADB", Ver: 3319, CtxID: 793547}}, (2) 890260483361979 {Parent: 207279, P: 5, THRL: 13, MEMLGB: 25, TIMESec: 0, SesCtx: {ObjHdl: 139695782338560, CID: 207279, LCID: 207279, User: "SAPHANADB", Schema: "SAPHANADB", Ver: 3319, CtxID: 793547}}, WorkloadCtx: 844442163147342{INDI, P=5, THRL=13, MEMLGB=25, TIMESec=0, WTXMin=0, ICURMin=720, NAME=_SYS_DEFAULT}, type: "SqlExecutor", method: "NoAction", detail: "", command: "
Dump at QueryExecution: 
{
Project::do_open
Buffer id: 48
Operator id: -1
}

{
SQL:
/* procedure: "SAPHANADB"."CL_FINS_CO_MIG_UTIL=>MIGRATE_COBK_COEP" variable: LT_COEP2 line: 442 col: 3 (at pos 19154) */

<CODE>         

*/


Read more...

Environment

  • HANA 1.0
  • HANA 2.0
  • SAP S/4HANA 2022

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0 ; SAP S/4HANA 2022

Keywords

CL_FINS_CO_MIG_UTIL, MIGRATE_COBK_COEP, CX_AMDP_EXECUTION_FAILED, CL_FINS_CO_MIG_UTIL===========CP, memory, Memory alloc, compositelimit, , KBA , HAN-DB , SAP HANA Database , HAN-DB-ENG , SAP HANA DB Engines , FIN-MIG , SAP Simple Finance data migration , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.