SAP Knowledge Base Article - Public

3492316 - Using ODATA API GET call A_BusinessPartner('{BusinessPartner}')/to_BusinessPartnerBanBank does not return Bank Data

Symptom

Using the ODATA API Get call /A_BusinessPartner('{BusinessPartner}')/to_BusinessPartnerBank no Bank Data is returned:

The output is as follows:

"to_BusinessPartnerBank": {

                    "results": []

                }

eq 'xxxxxx'&$expand=to_BusinessPartnerBank

Environment

SAP S/4HANA Cloud Public Edition 

Reproducing the Issue

  1. Launch the ODATA API /to_BusinessPartnerBank
  2. Input the Business Partner number (xxxx) for retrieving the data
  3. Perform the GET call

    Sample URL https://myxxxxx-adm.s4hana.ondemand.com/ui/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner('xxxx')/to_BusinessPartnerBank

Cause

Inbound Communication user is not assigned to the Communication Arrangement SAP_COM_0008 which in turn is limiting the authorizations of the Communication user to read the bank data

Resolution

  1. Create  Communication Arrangement SAP_COM_0008
  2. Assign the inbound Communication User with the new communication arrangement

    For details see Create Communication Arrangement for Business Partner Object

 

See Also

API HUB

Keywords

 F_BNKA_MAN, odata, act 03, sap_com_0087, sap_com_0008, bank data, empty, odata, url , KBA , LO-MD-BP , Business Partners , Problem

Product

SAP S/4HANA Cloud Public Edition 2402