Symptom
When attempting to delete a custom field created in the Custom Fields and Logic app for business context /IAM/ISSUE_ROOT, the system raises an error indicating that the field cannot be deleted due to existing usages.
The Custom Fields and Logic UI displays a message: "The selected field(s) cannot be removed from the business context due to the following existing usage(s). Please remove the usages and try again."
Also, the structure is non-editable to remove the field as per KBA 3600064 - Custom Field cannot be deleted due to external usages - SAP for Me suggestions.
Even after:
- Executing report SDDIC_DDLS_INDEX_ALL_SOURCES following SAP Note 3137922 - Custom Fields fail to be Published/Deleted due to dependencies on own generated objects - SAP for Me,
- Removing external usages in BRF+/FDT functions in all relevant clients (e.g., clients 400 and 500),
- Ensuring that the custom field is no longer referenced in generated classes or BRF+ objects,
- Checking where‑used data shows no remaining relevant references.
the deletion in the Custom Fields app still fails.
Then both Custom Fields and Logic UI and transaction SCFD-LOG display message:
- Create a task for transport request <transport_request>.
After creating a task for the transport request <transport_request> and updating apps "Configure Software Packages" (with 'Automatic Task Handling' on) and "Register Extensions for Transport." as per KBA 3032581 - Publish Custom Fields fail with transport request/tasks related issues. - SAP for Me
The deletion in the Custom Fields app still fails,
With Custom Fields and Logic UI displays messages:
- Please check custom field log (transaction SCFD_LOG for further messages).
- Could not be published
In transaction SCFD_LOG, the following error is raised during deletion:
- Return Code: 8. Object type: TABL. Object name: /IAM/D_I_ROOT. Nametab for table /IAM/D_I_ROOT cannot be generated.
Inspection of table /IAM/D_I_ROOT in SE11 shows the root cause:
- Table change not possible. There is a DB trigger on the table.
Table /IAM/D_I_ROOT (Statements could not be generated)
Read more...
Environment
Custom Fields app
SAP S/4HANA Cloud Private Edition 2023
HEC_ABAP
Keywords
custom field deletion, /IAM/ISSUE_ROOT, SCFD_LOG error, nametab generation failure, DB trigger on /IAM/D_I_ROOT, BRF+/FDT usages, cross‑client where-used check, generated objects, class and method dependencies, external usages removal, client 400 and 500 references, DDIC regeneration, SAP Note 2284776, custom field append removal, table regeneration blocked, dependency cleanup, business context deletion failure , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , BC-SRV-BR , BRFplus - ABAP based Rule Framework , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview