SAP Knowledge Base Article - Public

3515662 - Simulation Posting for Warehouse Stock - SAP S/4HANA Cloud Public Edition

Symptom

When simulate posting Warehouse Stock at APP Migrate Your Data, There are 500 Errors. Selete first 10 entries, and simulate. The Errors becomes as 490, the 10 entries are simulated successfully.

There are only several issue entries, but all the 500 entries failed. 

There are a lot of error messages which are general error, they doesn't show the cause of the fail.

  • /SCWM/MIGRATION 159 Messages for Source Record Item: &1, &2, &3, &4
  • /SCWM/STOCK_UPLOAD 82 Error occurred during posting. No stock item was uploaded.
  • /SCWM/STOCK_UPLOAD 81 Error in items assigned to this header. Stock items were not uploaded.

Environment

SAP S/4HANA Cloud Public Edition CE2408

Cause

The behavior follows the design.

To speed up mass processing, the Migration Cockpit creates "packages" from large amounts of stock data and simulates/migrates them in parallel mode. Each package contains a maximum of 100 instances (under the same warehouse), and one instance refers to one stock header (with the stock items assigned to the header). When processing a package, errors in any instance within it will trigger a rollback, i.e. none of the instances within a package will be marked as successful in the simulation/migration unless there is no error. For example, the user will get exact 100 failed instances, when in fact there is only one error in one instance. The other 99 instances are error free, so in the subsequent run, no errors are thrown when the subset of these correct stock data is simulated without the erroneous stock.

Resolution

The error message handling in the stock migration scope was not perfect in the case that the error-free stocks inside a "package" also get an unclear error message at runtime. SAP development team has improved the message log and add new messages to locate the erroneous stock so that the user could find the actual errors more easily. 

The improvement will be possible at CE2502.

Workaround:

  1. Go to Monitoring, select the "Activity" and Click Show Messages.
  2. Switch to "Group By Message ID".
  3. Select Icon button "Error". There are real error message which cause the fail.

Keywords

/SCWM/MIGRATION 159, /SCWM/STOCK_UPLOAD 82, /SCWM/STOCK_UPLOAD 81, /SCWM/MIGRATION159, /SCWM/STOCK_UPLOAD082, /SCWM/STOCK_UPLOAD081, Migrate Your Data, Migration Cockpit, Warehouse Stock , KBA , SCM-EWM-IF-MIG-2CL , Interface Migration from LE-WM (Public Cloud) , Product Enhancement

Product

SAP S/4HANA Cloud Public Edition 2408