Symptom
This KBA explains how posting rule is determined for items in the bank statement in BAI format.
Environment
SAP S/4HANA Cloud
Resolution
Posting rule determination logic for BAI format:
- Program determines the Transaction Type based on Bank Key and Bank Account in the file.
- Bank statement file will have the value for external business transaction code in record 16.
- Based on the value of external business transaction code and below conditions, program will decide the type of payment(incoming/outgoing) and set the sign (+/-) respectively against the amount.
-
- If external transaction code is less than 400 i.e. 1-399 (or)
- If external transaction code is between 700 and 760 i.e. 700 - 759 (or)
- If external transaction code is between 900 and 960 i.e. 900 - 959
then program will set value '+' and for all other values it will set value '-' to the amount.
-
- Finally, program will read posting rule from the SSCUI 101024 - Make Global Settings for Electronic Bank Statement based on transaction type, external business transaction code and sign. In case of no matches found, system will select posting rule declared under 'UNALLOCATED' external business transaction based on sign.
See Also
EBS - How to interpret a BAI2 file - SAP Community
2835665 - Wrong posting rule determination - BAI bank statement format
Keywords
BAI, posting rule, unallocated, bank statements, external business transaction, transaction type, sign, positive, negative, 101024, EBS, Manage Bank Statements, Manage Incoming Payment Files, S4_PC, S4_1C, FI-BL-PT-BA-2CL , KBA , FI-BL-PT-BA-2CL , bank statement (Public Cloud) , FI-FIO-AR-2CL , Fiori UI for Accounts Receivable (Public Cloud) , How To