Symptom
When attempting to update Business Partner Roles using the API_BUSINESS_PARTNER in SAP S/4HANA Cloud Public Edition, several errors are encountered:
- "Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL; a check table is missing."
- "Error_Time Dependency_Addresses CHECK_TABLE_MISSING."
The system indicates that the address must be maintained first, resulting in failures during the address update process.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Pull data from Workday and create Workers in SAP, which successfully creates Business Partners in the background.
- Attempt to update Business Partner Party and Business Partner Roles in BP (Supplier) using the BP API API_BUSINESS_PARTNER.
- Successfully update the Business Partner Type.
- Attempt to update Business Partner Roles after maintaining the Address.
- Encounter errors during the address update process.
Cause
The issue arises when a Business Partner is created without any address, and the first address is created via API without specifying the default address usage.
This causes the error in the operation module BUA_CHECK_ADDRESS_VALIDITY_ALL due to a missing check table requirement.
Resolution
Adjust the request payload to include the default address usage for the first address created for an existing Business Partner. The payload must include:
- AddressUsage = "XXDEFAULT"
- StandardUsage = true
Example:
POST
/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner('BP_ID')/to_BusinessPartnerAddress
- Including the address usage "XXDEFAULT" ensures the system can create the mandatory default address and prevents the error.
- Test the adjusted payload and verify if the issue is resolved.
See Also
- Refer to: SAP Knowledge Base Article 0003109298 - Error: “Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL; a check table is missing” while creating the first address to the existing Business Partner using the API_BUSINESS_PARTNER
- Refer to: SAP Knowledge Base Article 0002838282 - What is a CB User?
- Refer to: SAP Knowledge Base Article 0003094222 - How to maintain business user (CB user) when reporting case for SAP S/4HANA Cloud Public Edition system
Keywords
business partner roles, api_business_partner, bua_check_address_validity_all, check_table_missing, sap s/4hana cloud public edition, address update, default address usage, XXDEFAULT, standard usage, payload adjustment, CPI integration. , KBA , LO-MD-BP-ODT , OData Service for Business Partner , Problem
SAP Knowledge Base Article - Public