Symptom
Using the OData API_Business_Partner, upon creating the Business Partner with Bank Data, you observe that the IBAN Valid From field remains blank in the Business Partner.
Environment
SAP S/4HANA Cloud
Reproducing the Issue
To perform the POST call:
- Login to the third-party tool
- Perform a POST operation for the API_Business_Partner
https://myxxxxxx-api.s4hana.ondemand.com/sap/opu/odata/sap/API_BUSINESS_PARTNER
where xxxxxx represents the tenant URL of the S/4HANA cloud system
Sample Request Payload:
------------------------------------------------------
{
"BusinessPartnerCategory": "2",
"BusinessPartnerGrouping": "BP02",
.
.
.
"to_BusinessPartnerBank": {
"results": [
{
"BusinessPartner": "",
"BankIdentification": "str",
"BankCountryKey": "str",
"BankName": "",
"BankNumber": "string",
"SWIFTCode": "string",
"BankControlKey": "",
"BankAccountHolderName": "string",
"BankAccountName": "string",
"ValidityStartDate": "/Date(1492098664000)/",
"ValidityEndDate": "/Date(1492098664000)/",
"IBAN": "string",
"IBANValidityStartDate": "/Date(1492041600000)/",
"BankAccount": "",
"BankAccountReferenceText": "",
"CollectionAuthInd": false,
"CityName": "string",
"AuthorizationGroup": ""
}
]
},
.
.
.
------------------------------------------------------
- Go to the app Manage Business Partner Master Data
- Find and open the Business Partner ID
- Go to the tab Bank Accounts
- Navigate to the details of the Bank Account
- IBAN Valid From field is blank
Cause
You have not provided the BankControKey and BankAccount in the Request Payload.
.
.
<BankAccount></BankAccount>
<BankControlKey></BankControlKey>
.
.
.
Resolution
Due to the technical logic, it is important to provide the data for BankControKey and BankAccount fields in the Request Payload of the API_BUSINESS_PARTNER. Once you provide these fields you will be able to see the data in IBAN Valid From field in the Business Partner.
Keywords
BankControKey, Bank Control Key, Bank Account, Bank, Account, BankAccount, IBAN Valid From, IBANValidityStartDate, IBAN Validity Start Date, IBAN, Validity , KBA , LO-MD-BP-ODT , OData Service for Business Partner , Problem