You can create custom interpretation algorithm to change system to look for the document to be cleared according the the reference field or the document number.

How does Interpretation algorithm work?

Tries to find in the note to payee information if there is any number in the document number range that you select in the selection screen. Once the system finds all the possible Document Numbers, it tries to find the corresponding FI document by looking for it in table BKPF.

With this document number, it updates table FEBCL with the corresponding clearing information. If it is not possible to find such FI document number, then it updates the table FEBCL to clear the document by amount. Then the system tries to post the document using the clearing information from FEBCL (document number or amount, depending on the above). Only in case, this posting fails, it posts the document on account. But first of all, it tries with the document number or with the amount.

For example in SAP Standard bank reconciliation always refer to KIDNO ( Payment reference ) , to find FI Document No, but in this case we want to find such FI Document No refer to ZUONR ( Assignment No ).

The solution . We can create custom Interpretation algorithm 901 to switch that rule.


Step by Step to Create Custom Interpretation Algorithm and Assign it

1.Go to transaction SE37 and create function module with the name should start Z_FIEB_interpretationnumber_ALGORITHM . for this case the name is Z_FIEB_901_ALGORITHM.

But the easier way you can copy from Interpretation algorithm 21 ( FIEB_021_ALGORITHM ).

2.Write the ABAP code in your custom interpretation algorithm.

Note :

You need to select FI Doc No from BSIS ( Open Item ) table based on ZUONR which you have input during FF67 Transaction.

Next, you need to passing some information to internal table T_AVIP_OUT with SFELD ( Name of selection field ) = ZUONR and SWERT ( Selection Value ) with value of ZUONR ( Assignment No ) and T_AVIP_OUT-KONTO fill with GL Account from FI Doc (BSIS ) before.

3.Go to SPRO


4.Assign interpretation algorithm 901 for your transaction type and posting rule the Z_FIEB_901_ALGORITHM will get called automatically.


5.For Electronic Bank Statement, the way almost same as before. but for SPRO you need to open .


6.You can assign the custom interpretation algorithm 901 ( Z_FIEB_901_ALGORITHM ) in this screen.


That how to create custom interpretation algorithm and the way to assign custom interpretation to posting rule and transaction type.


Incoming search terms: