2012 Jul 03 8:50 PM
Hi Friends,
Moderator note - thread edited.
I have an issue with over payments in ISU.
I have written custom program to transfer payments between contract accounts.
Ex: I have a bill/Invoice with : 100.00--CA1
I made a payment of 300.00 to CA1.
then from custom program I want make transfer to CA2, CA3 with 150.00 each.
Written program like this:
a)first I am looking for available open items for CA1.
b)splitting open items into two 150's.
c)then calling FM FKK_TRANSFER_ITEMS_XBLNR and transferring items.
then this time I am not getting 300.00 .
and even for splitting.
suppose:
Actual bill: 100
consumption bill : 120.00
payment : 300.00
available open item : 180.00
but I should not get reverse and reset the doucment: another open item with 120.00
now I have two open items : 120.00 & 180.00
but not 300.00 total amount.
now questions: are: how can i get 300.00 as an open item or how can I transfer to different accounts through a custom program.
Let me know if you need any more details.
2012 Jul 03 10:01 PM
Firstly, you should not be using FKK_TRANSFER_ITEMS_XBLNR - it is not released and is meant to be used within a standard process.
Secondly, BAPI_CTRACDOCUMENT_TRANSFER is available.
regards,
bill.
2012 Jul 05 5:30 PM
Bill,
Very thanks for your response. I have used BAPI too, still its working for over payments.
I guess you must be understand my problem.
Step 1.
I have CA1 with 100.00(This is a Bill(invoice)) after making a Bill the consumption cost everything includes
let say 130.00, if I go and see CA1 in FPL9 T code.
Step 2.
For this I made a payment of 300.00
Step 3.
Now I can go and see in FPL9 300.00-130 = 170.00 As open item.
Step 4.
Now my client needs a transfer to CA2, CA3 with 150.00 each.
Step 5.
now I can able to reset clear the original CA1, now I can see 130.00 as open item.
u can see in Step 4, I need to transfer 150 each to CA2 & CA3. BUT I do not have these amounts as open items. though I have available of 300.00.
How can I do that. Can I merge two open items does this possible?? or Can I get any way like 300.00 as single open items.
Pls appreciate your response.
Thnaks for your time, I can reward you my best.