SAP Knowledge Base Article - Public

3482087 - Error "Data loss occurred when converting &" in API BankStatementPost_In


An error "Data loss occurred when converting &" is received when calling the API BankStatementPost_In.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


SAP S/4HANA Cloud Public Edition


The length of the data in <NoteToPayeeInBankStatement> exceeds the maximum of 65 characters.


To pass memo line that over 65 characters via API BankStatementPost_In, it is recommended to use multiple <NoteToPayeeInBankStatement> tags in a single bank statement item. For example, to accommodate an 85-character memo line, use two <NoteToPayeeInBankStatement> tags as shown below:



NoteToPayeeInBankStatement, max length, memo line , KBA , FI-BL-PT-BA-2CL , bank statement (Public Cloud) , Problem


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