2008 Jan 11 7:47 AM
Dear experts,
My requirement is that i need to clear the customer account balances . It can be cleared manually thru tcode F-32.
But i need to automate the process by writing BDC or BAPI or any FM.
Pl help me by providing some inputs on that. Also help me by suggesting how i can do that.
tks in advance,
ram
2008 Jan 11 9:09 AM
Hi,
Go to SHDB for recording the transaction.make sure,you dont make any mistake while recording.
Using this recording,you can write a BDC and automate the process.
<REMOVED BY MODERATOR>
Bhavin P Shah
Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:28 PM
2008 Jan 11 9:33 AM
Regarding F-32 which is used for FIFO clearing while doing recording through SHDB.
First enter customer and for the date use the logic by checking the invoice amount and payment which ever may be greater enter that date and enter period and select document number radiobutton
and enter
in the next which has greater amount enter that document number i.e invoice number or payment number and take care that the greater amount should be above the lower amount other wise error will occur there we will calculate the balance amount.
if payment amount is greater we will run for clearing another invoice number or if invoice amount is greater means run with another payment amount.
2008 Jan 31 9:37 AM
i have completed this scenario by doing recording for transcation F-32, according to my requirement it's become much easier to do it using BDC.
Thanks to all for kind response.
regards
ram
2008 Feb 02 4:44 AM
Hi ! subbaraman venkataramanan
There is a similar requirement in my company. If possible can you share the BDC code.
My email: <REMOVED BY MODERATOR>
Thanks & Regards
Sanjay Petkar
Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:28 PM
2008 Feb 23 4:22 AM
Hi ! subbaraman venkataramanan
There is a similar requirement in my company. If possible can you share the BDC code.
We have created BDC it is not giving any error but effect is not going to original documents.
It is preparing posting documents (FB03) but items are still open in open list(FBL5N).
My email: <REMOVED BY MODERATOR>
OR <REMOVED BY MODERATOR>
Please suggest
Thanks & Regards
Mahendra Darwatkar
Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:29 PM
2008 Mar 05 8:02 PM
Hi Ram,
I have to work on F-32 using BDC,where i am getting one payment for two invoices or one payment for single invoice.Can you send your code to my mail id ( <REMOVED BY MODERATOR> ) and give some suggestions regarding this...Do needful help regarding this issue ASAP.
Thanks
Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:30 PM
2008 Mar 05 8:03 PM
Hi Sanjay ,
I have to work on F-32 using BDC,where i am getting one payment for two invoices or one payment for single invoice in flat file.Can you send your code to my mail id ( <REMOVED BY MODERATOR> ) and give some suggestions regarding this...Do needful help regarding this issue ASAP.
Thanks
Edited by: Alvaro Tejada Galindo on Mar 5, 2008 4:30 PM
2010 Sep 18 8:06 PM
i am also having same requirement.but the logic is becoming too complex because single document number for clearing the open items.for a customer we can have n number of invoices and n number of payments.based on the base line date,assignment and xref3.
18.05.2010 DZ 2000
18.05.2010 DR 1000
18.05.2010 DR 200
20.05.2010 DZ 2000
20.05.2010 DR 1000
20.05.2010 DR 200
now we are creating 2 documents for 18.05.2010 and 20.05.2010 .but customer expects to create single document or both.
then we have to handle table control.page down and page up.
is the process folowing is correct or we have to create individual documents or single document
2008 May 27 11:28 AM
HI.
This is Ravi Kumar . I have written BDC using recording shdb
but i am facing lot of problem with the logic . Can you send me the sourc code you have written.
Regards
ravi
2008 May 27 11:31 AM
Ask ur functional guy to help u for doing recording as he/she is the right person to do so .