SAP Knowledge Base Article - Public

3772443 - API_MATERIALSERIALNUMBER returns 201 response but serial number/equipment not created for material with serialization level 1 - SAP S/4HANA Cloud Public Edition

Symptom

  • Creating material serial numbers via API_MATERIALSERIALNUMBER with serialization level 1 returns HTTP 201 Created, but neither the serial number nor the equipment is created.
  • In the Manage Material Serial Numbers app, create a serial number and save; an unnamed object appears and the app becomes unresponsive; the serial number is not created.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Configure the material with serialization level 1 (equipment and serial number must be the same).
  2. Call API_MATERIALSERIALNUMBER (OData V4) to create a material serial number, optionally providing identical values for SerialNumber and Equipment.
  3. Observe HTTP 201 Created in the response.
  4. Check the system: the serial number and the equipment do not exist or are not aligned.
  5. Alternatively, in the Manage Material Serial Number app, create a serial number and save; an unnamed object appears and the app becomes unresponsive; the serial number is not created.

Cause

Product restriction that serialization level 1 (equipment and serial number kept synchronous) is not supported by API_MATERIALSERIALNUMBER and the Manage Material Serial Numbers app.

Resolution

  • Workaround 1: Use app Create Material Serial Number (IQ01) to create the serial number manually.
  • Workaround 2: Use the Migration Cockpit object “PM - Equipment” for mass creation of equipment/serial number with external number range.

See Also

SAP Note: 3680483 - SAP S/4HANA Cloud 2602: Release Restriction Note

Keywords

serialization level 1, serial equipment alignment, API_MATERIALSERIALNUMBER, 201 Created, serial number not created, manage material serial number app crash, pm equipment migration, external number range, leading zeros char18, serial number profile, equipment category, mass create serial numbers, odata v4, material serial number creation , KBA , PM-EQM-EQ-2CL , Equipment (Public Cloud) , LO-MD-SN-2CL , Serial Numbers (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions