Message type: E = Error
Message class: CFD_REPOSITORY_UTIL - Custom Fields: Repository
Message number: 031
Message text: Custom Field &1: Published code value &2 must not be removed.
Deletion of value &V2& of property <ZK>Code </>in entity set
<ZK>CodeListValues </>is not allowed when the custom field &V1& is
already published. The reason is that the code value can already be used
and stored in database records.
System revokes creation of custom field &V1&
Do not delete code values for already published custom fields. If the
code value shall no longer be used for new instances, you can also set
property <ZK>IsDisabled </>in entity set <ZK>CodeListValues </>to a
valid value.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
CFD_REPOSITORY_UTIL031
- Custom Field &1: Published code value &2 must not be removed. ?The SAP error message CFD_REPOSITORY_UTIL031 typically occurs in the context of custom fields and custom logic in SAP systems, particularly when using the Custom Fields and Logic (CFL) functionality. This error indicates that a published code value for a custom field is being attempted to be removed, which is not allowed because it may affect existing data or business logic.
Cause: The error is triggered when: You are trying to delete or modify a code value that has already been published and is in use. The custom field has dependencies or references in existing records, and removing the code value could lead to inconsistencies or data integrity issues.
Solution: To resolve this error, you can take the following steps: Check Usage: Verify if the code value you are trying to remove is currently in use in any records. You can do this by checking the relevant tables or using transaction codes that allow you to view the
Get instant SAP help. Sign up for our Free Essentials Plan.
CFD_REPOSITORY_UTIL030
Custom Field &1: Label and tooltip are missing in master language &2.
What causes this issue? For value &V2& of property <ZK>MasterLanguage </>in entity set <ZK>CustomFields </>no propert...
CFD_REPOSITORY_UTIL029
Usage in CDS view context &1, &2, &3 missing.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CFD_REPOSITORY_UTIL032
Internal error occurred
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CFD_REPOSITORY_UTIL033
Custom Field &1: Label in language &2 is too long. Maximum length is &3.
What causes this issue? The metadata of custom field &V1& is invalid. The value &V2& of property <ZK>FieldLabel </>in ent...
Click on this link to search all SAP messages.