Symptom
- It is not possible to create bank master data for Business Partners using API_BUSINESS_PARTNER.
- Message Bank ******* for country ** does not exist is encountered in the response payload when a bank account which does not exist in the system is used to create a business partner.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Post the Request Body of API_BUSINESS_PARTNER to create Business Partner using third party applications like Postman.
Cause
API_BUSINESS_PARTNER calls CL_MD_BP_MAINTAIN => MAINTAIN. This API doesn't support Bank Master Data creation.
Resolution
There is no API to create Bank Master Data.
Bank master data should be created via Migration Object BANK or manually using available Apps. Once Bank Master Data is available API_BUSINESS_PARTNER can be used to create Business Partner.
See Also
For Bank Migration Object details, click here.
API_BANKDETAIL_SRV can be used only to read Bank Details. For more details, click here.
Keywords
S4_PC, CA-BK, LO-MD-BP, BNKA, CL_MD_BP_MAINTAIN, API_BUSINESS_PARTNER, OData, API, bank, account, IBAN , KBA , LO-MD-BP , Business Partners , Problem