SAP Knowledge Base Article - Public

3388249 - IBAN Valid From Field Remains Blank When the Bank Data is Uploaded for the Business Partner Using the API_Business_Partner

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:

  1. Login to the third-party tool
  2. 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": ""
        }
      ]
    },
.
.
.
------------------------------------------------------

  1. Go to the app Manage Business Partner Master Data
  2. Find and open the Business Partner ID
  3. Go to the tab Bank Accounts
  4. Navigate to the details of the Bank Account
  5. 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

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions