SAP Knowledge Base Article - Public

3554770 - Error in Uploading Return Type SO Using Migration Cockpit in SAP S/4HANA Cloud Public Edition

Symptom

  • An error occurs when attempting to upload return type sales orders (SO) using the Migration Cockpit in SAP S/4HANA Cloud Public Edition.
  • The error message displayed is 'Unpermitted combination of business object BUS2032 and sales doc. category H'.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Migration Cockpit in SAP S/4HANA Cloud Public Edition.
  2. Attempt to upload return type sales orders (SO) using the Migration Cockpit.
  3. The error 'Unpermitted combination of business object BUS2032 and sales doc. category H' is displayed.

Cause

The Migration Cockpit uses the BAPI_SALESORDER_CREATEFROMDAT2, which is designed to handle sales documents of business object ID BUS2032 (Sales Orders). However, this BAPI only supports migration of sales documents with document category ‘C’ (standard sales orders). Sales documents with other categories, such as 'H' (Return Orders), cannot be processed through the standard migration object for sales orders in the migration cockpit. This restriction is by design.

Resolution

  1. Use the Migration Object Modeler (transaction LTMOM) to enhance the existing migration object or create a custom migration object specific to return orders.
  2. Update the logic to support the required sales document categories (e.g., "H").
  3. Activate and test the custom migration object.
  4. Alternatively, use APIs to create the necessary sales documents. For return orders or other document types, consult the API Business Hub for available APIs in the Sales and Distribution (SD) module.
  5. For time-sensitive or production-critical entries, manually create the required documents via standard transaction codes like VA01 for Sales Orders.

See Also

2818627 - Migration Cockpit: Collective KBA for migration object Sales orders (only open SO) (SIF_SALES_ORDER) - SAP for Me

Keywords

Migration Cockpit, SAP S/4HANA Cloud Public Edition, sales orders, return type, error, BAPI_SALESORDER_CREATEFROMDAT2, business object BUS2032, sales document category H, Migration Object Modeler, LTMOM, API Business Hub, Sales and Distribution module, VA01. , KBA , SD-SLS-RE-2CL , Returns (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions