Skip to main content
Question

How to identify the payment is Over/Short/Exact Payment in AR

  • September 8, 2020
  • 2 replies
  • 5 views

Hi Team,

I have a scenario in AR, I need to derive a new activity in AR, which should tell us the payment made by the customer is Over/Short/Exact Payment.

Im checking in BSEG table, by taking BELNR and the corresponding WRBTR but not sure how to match the Invoice amount to paid amount.

Suggest me a possible way to match the Invoice & Paid amount.

Thanks

Chanti

2 replies

  • Level 0
  • November 22, 2021

Hi @chanti.p,

 

this is a comparison rather then an activity creation in my opinion. I would use CASE WHEN to compare the paid amount to the to-be paid amount. Something like this should work to classify each case: CASE WHEN paid amount = to-be paid THEN 'Exact' WHEN paid amount > to-be paid THEN 'Short' ... ELSE... END

 

Best

Kevin


gabriel.okaba11
Celonaut
Forum|alt.badge.img+2

Hi Chanti,

This is not as straightforward as it seems.

You could match invoices with clearing documents using BSEG.AUGBL and BSEG.BELNR (with BSEG.KOART = 'D').

To identify these 3 scenarios would be basically comparing the WRBTR values. It gets tricky when Payments are not correctly linked to the invoices (which is a very common issue).

 

Best,

Gabriel