Hi Rajiv,
In a nutshell, point (b) and point (c) will happen during the payment run at one go, and so there will be Surcharge debit document posted and the payment run will clear the oustanding receivables and the surcharge debit and will send it to the Bank./Credit Card Agency for processing.
Assuming that's the sceanrio, there can be two options-
Option-1-I would recommend you post the Surcharge debit charge during invoicing for the Direct debit Credit card customers.You can achieve this through event R402.
And leave the payment run as it its. As per Standard functionality,it will pick up all the oustanding receivables and create a single payment document.
If there is any reversal, the payment document will get reversed as a whole.
Option-2- Using event 0032, you can post a surcharge debit item and a corresposnding credit item.
The beauty of event 0032 is there is no addtional document number that you can create. You can only extend the line items for the existing payment document.
So, for a given payment document number, you will have three line items-one Payment document, one Surcharge debit and one surcharge credit.
In the payment medium, you can send the payment document only for the items less than Zero.
The only thing with event 0032, is the surcharge debit and surcharge credit will not get cleared during the payment run and an account maintanance run have to be executed to clear them-off. Try to check this in your system once.
Hope it helps...
Thanks,
Amlan