cancel
Showing results for 
Search instead for 
Did you mean: 

How a customer billing document was paid

Former Member
0 Kudos

I have a billing document which was paid partially several times until it was completely paid. How can I get a report to tell me that a (or more) billing document was paid as follows:

BillDocNo      Amount      date

BillDocNo      Amount      date

BillDocNo      Amount      date

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you for your replies, but from the below data (FBL5N) how can you deduce the payments for  billing 3011018961 and 6110031660

You can say that 800 were used to pay both documents, and later 1200 was used to pay two clearing documents.

AssignmentDocument NumberDocument TypeDocument DatePosting DateAmount in local currencyDebit/Credit Ind.Clearing DocumentClearing date
61100316593011018961RV24-Jun-1224-Jun-121,000.00S11110141542-Jul-12
61100316603011018962RV1-Jul-121-Jul-121,000.00S11110141542-Jul-12
61100316601111014154AB2-Jul-122-Jul-12600.00S11110141559-Jul-12
61100316591111014154AB2-Jul-122-Jul-12600.00S11110141559-Jul-12
201207021811008755DZ2-Jul-122-Jul-12-800.00H11110141542-Jul-12
201207021111014154AB2-Jul-122-Jul-12800.00S11110141542-Jul-12
201207021111014154AB2-Jul-122-Jul-12-2,000.00H11110141542-Jul-12
201207091811008756DZ9-Jul-129-Jul-12-1,200.00H11110141559-Jul-12
201207091111014155AB9-Jul-129-Jul-121,200.00S11110141559-Jul-12
201207091111014155AB9-Jul-129-Jul-12-1,200.00H11110141559-Jul-12

I am looking for a logic to lead to the following output

3011018960 value: 1000 paid 400 on 2-Jul

3011018960 value: 1000 paid 600 on 9-Jul

3011018961 value: 1000 paid 400 on 2-Jul

3011018961 value: 1000 paid 600 on 9-Jul

Isn't there something standard to give me this output?

virupasan_balanathan
Active Participant
0 Kudos

Hi

Building a Logic like this is Not that easy. If you are Practicing "Residual Payment" (A residual item results when a payment is made for less than the actual amount outstanding. You clear the original open item, and the system posts a new open item) Method Logic Will be More Complex.

Since Every time You do Part Payment System Will Create New "AB" document. Then "AB" Document Need to Be Settled with Another "DZ" or Other Document.

Anyway You need to Extract the Date From "BSAD (Cleared Items) "  and "BSID (Open items)" Tables and Clearing Document (AUGBL) , Payement Reference (KIDNO) and  Billing Document (VBELN).

We are also Having Smiler Requirement, Sine this is more related to Finance our FI Consultant is Working on this.

Regards

B.Virupasan

Former Member
0 Kudos

hi,

check the sold to party details through transaction fbl5n.

sales order is maintained in VBAk and for  items select go to table vbap.

for billing documet search VBrk and vbrp.

if payment is not cleared check in in BSAD and if cleared look in BSID

Message was edited by: john tra volta

Lakshmipathi
Active Contributor
0 Kudos

Just check in FBL5N.  You will get the required details.

G. Lakshmipathi

Shiva_Ram
Active Contributor
0 Kudos

Use table VBRK and VBRP in an ABAP query to get the data. If you want to add any preceding document like sales order into it, then use table VBFA.

Regards,