Skip to Content

Clearing in REFEBKA00 without match of XBLNR with Algorithm 021

Feb 18 at 05:56 PM


avatar image
Former Member

Hello together.

I have set up the electronic bank statement process. I have set up the algorith 021 - sarch for reference XBLNR.

Unfortunately the program also cleares items that match ONLY by amount.

Instead of "Just" posting on account, if no match, the system clears every open item with the same amount.

If I select the explicitely the reference search, why would I want the fall back solution of selecting just the amount:

IF sy-subrc NE 0.
* no advice found
* IF TFILL_XFEBCL = 0. n1388198
IF tfill_xfebcl = 0 "n1388198
AND NOT ( febep-intag = '001' AND sfnam = 'BELNR' ) "n1388198
AND NOT ( febko-input_format = 'PS') "WEC_PSP
* no clearing information available -> FB05 with amount
xfebcl-kukey = febep-kukey.
xfebcl-esnum = febep-esnum.
xfebcl-csnum = 1.
xfebcl-koart = agkoa.
xfebcl-agkon = agkon.
xfebcl-selfd = 'WRBTR'.
xfebcl-selvon = febep-kwbtr.
APPEND xfebcl.

Due to a lot invoice with same amounts, it is not wanted the random invoices are cleared just by matching amount.

Posting typ in the Posting rule is "8" Clear cred.subl.acct and on on account posting key 15 (incoming payment)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Feb 19 at 11:42 AM
10 |10000 characters needed characters left characters exceeded