SAP Knowledge Base Article - Public

3741591 - Migration error "An exception with the type CX_AMDP_EXECUTION_FAILED was raised, but was not handled locally or declared in a RAISING clause." in Migrate Your Data app

Symptom

While migrating Product Hierarchy using 'Product hierarchy assignment' object in Migrate Your Data app, a migration error occurs:

  • An exception with the type CX_AMDP_EXECUTION_FAILED was raised, but was not handled locally or declared in a RAISING clause. (Message no. DMC_RT_MSG 0)

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Go to Migration Your Data app;
  2. Goto migration project XXX and select migration object 'Product hierarchy assignment';
  3. Press Migrate -> Observe error "An exception with the type CX_AMDP_EXECUTION_FAILED was raised, but was not handled locally or declared in a RAISING clause.".

 

Cause

In Manage Product Hierarchies app, multiple identical hierarchies exist for the same Product Hierarchy, with statuses 'In Revision' and 'Draft' respectively, which is unusual.

  • The Hierarchy with status 'In Revision' can be edited by clicking Edit in the app for further operations as expected;
  • Click Edit on the Hierarchy with status 'Draft' results in the same error as when clicking Migrate button in Migrate Your Data app.

Resolution

  1. Delete the duplicate Product Hierarchies with status 'Draft';
  2. Re-click Migrate button in Migrate Your Data app.

Keywords

An exception, type CX_AMDP_EXECUTION_FAILED, not handled locally, declared, RAISING clause, Migrate Your Data app, Product hierarchy assignment, Migration error,  DMC_RT_MSG 0, Product Hierarchy, Manage Product Hierarchies app, In Revision, Draft, Duplicate hierarchies, Migration error, S/4HANA Cloud Public Edition, Data migration , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , CA-GTF-MIG , SAP S/4HANA Data Migration Cockpit Content , Problem

Product

SAP S/4HANA Cloud Public Edition all versions