We are trying to implement a Credit Card Surcharge in SD pricing. The idea is to charge this if a sales order is entered with a payment card number. This will be done through a new condition type ZCCS whose value will be a certain percentage of the amount being charged to the credit card on the sales document. This amount being charged to the card may be different from the value of the document since customer may have asked us to charge only up to a certain limit on the credit card and the balance will become an open Accounts Receivable item. I am thinking we can calculate the value of this new condition using a Condition Formula but need two pieces of information to be able to do that.
1. We need to know that it's a credit card order, but VBAK-RPLNR is not available before the order is saved. What can we look at to identify a credit card order in pricing requirement or condition value formula?
2. We need to know the amount which is going to be charged to the card. After the order is saved this is available in FPLT* tables, but we need to know this in condition value formula during initial order entry.
Any thoughts/suggestions about how to look for these two values in Alternate Calculation Type formula are greatly appreciated.
Thanks,
Pratik