SAP Knowledge Base Article - Public

3417631 - Payment Transaction Code is an optional field in the WSDL file, but mandatory while importing the bank statement.

Symptom

Payment Transaction Code is mentioned as an optional field in the WSDL file for the API BankStatementPost_In. However, when importing the bank statement without the Payment Transaction Code, the error "PaymentTransactionCode” is mandatory is raised.

Environment

SAP S/4 HANA Cloud

Reproducing the Issue

  • Import the bank statement through the API BankStatementPost_In.

Cause

The information in the WSDL file is incorrect.

Resolution

The information in the WSDL file will be corrected by 2408 release. Meanwhile, please follow the SAP Help Portal documentation and provide the Payment Transaction Code while importing the bank statement as it is a mandatory field.

See Also

Overview | Bank Statement - Post | SAP Business Accelerator Hub

BankStatementPost_In - BankStatementLineItems

Keywords

PaymentTransactionCode, External Business Transaction, WSDL, minOccurs="0", xsd:element name, xsd:element name="PaymentTransactionCode" minOccurs="0", BankStatementPost_In, BankStatementLineItems, FI-BL-PT-BA-2CL, FI-FIO-AR-2CL , KBA , FI-BL-PT-BA-2CL , bank statement (Public Cloud) , Problem

Product

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