cancel
Showing results for 
Search instead for 
Did you mean: 

Residual Payment ABAP Logic

Former Member
0 Kudos

Hello Gurus!!!!

Do you know how I can obtain the amount of a residual payment in a Z program? For example, a have an invoice of 10,000 USD and I execute a residual payment of 3,600 USD. There is only left 6,400 for payment. How can I obtain the value of 3,600 searching in tables BSEG, BSAK, BSIK? Using logical database KDF complicates a little bit the solution.

Thanks!!!

Fernando.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

N/C

Former Member
0 Kudos

Thanks for the answer.

We want to know the exact logic since we have problems on how to obtain the values when we clear more than one invoice. If you can give us this information it would be great!!

Former Member
0 Kudos

Suggestions?

Former Member
0 Kudos

Hi,

Whenever you use Residual Payment, then the Invoice Number (Original Document No.) field and date gets updated in the BSEG/BSIK table. With this you can get to know that this is a Residual Document for that Open Line Item and then you can get the amount as well. Suggest you use BSIK table as this is the Secondary Index Table.

There is also one more way of handling residual item, which is by creating a separate document type for residual items. I dont have an idea whether your company has a separate document type for the same.

Hope this info is of some help to you.

Award points if found useful.

Regards,

Venkat

Edited by: venkat bala on Nov 22, 2008 4:43 AM