pricing conditions not available with formula 500
[Sabrix] [Taxware] [Vertex]
Related:
- Mandatory condition 1TTE is missingSymptom In the scenario where billing is done in CRM,...
- Field ACCNT_NO is not populated for External Tax CalculationSymptom The taxes are different in CRM and ECC.The reason...
- Field ACCNT_NO is not populated after you impl. Note 1370080Symptom Field ACCNT_NO is not populated in External Tax Package...
Symptom
When using formula 500 and 501 to calculate US and Canada taxes in CRM using external tax packages, we do not get the pricing conditions in the scenario where billing is done in R/3.
In sm53 logs, a null pointer exception is found with reference to a scale base formula.
Other terms
Vertex, Taxware, Sabrix
Reason and Prerequisites
Scale base formula 500 not implemented in CRM
Solution
For the condition type UTXD in R/3 with calculation formula 500, the scale base formula 500 is also implemented. The condition type UTXD is downloaded into CRM with the scale base formula 500. So, a dummy implementation of scale base formula 500 has to be done in CRM using the note 809820. A sample code for the dummy implementaion is given below.
package osisoft.pricing.scalebase;
import java.math.BigDecimal;
import com.sap.spe.pricing.transactiondata.userexit.IGroupConditionUserExit;
import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
import com.sap.spe.pricing.transactiondata.userexit.ScaleBaseFormulaAdapter;
public class Scalebase500 extends ScaleBaseFormulaAdapter {
public BigDecimal overwriteScaleBase(IPricingItemUserExit pricingItem, IPricingConditionUserExit pricingCondition,
IGroupConditionUserExit groupCondition ) {
return null;
}
}