You are on page 1of 1

Hi All,

logic to bring vendor line items into Customer ageing in order to get the net off balances.
Take company code, customer number and vendor number from KNA1 table.
Pass above fields into BSIK table and get vendor line items
Check for the vendor line items due date (current date - payment term days=net due date)
ageing days: current date - net due date
fill the 0-30, 31-60, 61-90, 91-120, 121-9999 based on the net due date calculated in previous
step.
so, ageing report will have customer line items as well vendor line items but when we see the
totals, it is net off balances.
my query is resolved now. we are able to get values into report properly.
Thanks all.