SAP Knowledge Base Article - Public

3725591 - Unable to publish custom business object after increasing key field length - SAP S/4HANA Cloud Public Edition

Symptom

  • Runtime error occurs when attempting to publish a previously released Custom Business Object (CBO) after increasing the length of a key field.
  • Error message displayed: "Resource not found for segment 'I_Scbo_Registry_CType'."

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the "Custom Business Objects" app.
  2. Change the length of the key field (e.g., from 2 to 4).
  3. Save the changes and click "Publish".
  4. Observe the error message "Resource not found for segment 'I_Scbo_Registry_CType'" and publishing fails.

Cause

  • Once a business object is enabled for association (when the `Can Be Associated` checkbox is enabled), it is not possible to modify its key fields. The association target generates content based on the specifications of the key fields.
  • The error message "Resource not found for segment 'I_Scbo_Registry_CType'" is related to an issue where the error message for this scenario is not displayed correctly. The problem with the association involving the custom field occurs before the error message can appear.

Resolution

If the field length needs to be increased, consider the following options:

a. Create a new Custom Business Object (CBO) with the desired field specifications.

b. Alternatively, remove the association and any related usages, adjust the field as needed, and then re-enable the association.

Keywords

custom business object, field length modification, runtime error, metadata synchronization, publish failure, I_Scbo_Registry_CType, APS_EXT_CBO_D_SRV, /IWBEP/CM_MGW_RT/020, field length change, association issue, metadata cache, validation error , KBA , BC-SRV-APS-EXT-BO , Custom Tables and Nodes , Problem

Product

SAP S/4HANA Cloud Public Edition all versions