Symptom
- The user is unable to retrieve the `ADDRESSID` for suppliers using the `I_BUSINESSPARTNERSUPPLIERDEX` CDS view.
- The `ADDRESSID` for customers is available in the `I_BUSINESSPARTNERCUSTOMERDEX` CDS view, but no equivalent is found for suppliers.
- The `ADDRESSID` is required for modifying business partner address information.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Attempt to retrieve the `ADDRESSID` for a supplier using the `I_BUSINESSPARTNERSUPPLIERDEX` CDS view.
- Observe that the `ADDRESSID` is not available in the `I_BUSINESSPARTNERSUPPLIERDEX` CDS view.
- Compare this with the `I_BUSINESSPARTNERCUSTOMERDEX` CDS view, where the `ADDRESSID` for customers is retrievable.
Cause
Resolution
- Use the `I_Customer` CDS view to retrieve the `ADDRESSID` for customer addresses.
- Use the `I_Supplier` CDS view to retrieve the `ADDRESSID` for supplier addresses.
Keywords
addressid, cds view, i_customer, i_supplier, business partner, sap s/4hana cloud, supplier address, customer address, master data, retrieve addressid, cds view for addressid, sap public cloud, business partner api , KBA , LO-MD-BP-2CL , Business Partners for Public Cloud , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public