Hi Experts,
I am developing a routine in IPC JAVA area.
The routine in R/3 is Condition Value Formula.
I need to fetch a value of a 'Z' field from 'KOMP' structure. This 'Z' field is of Component Type 'KFAKTOR1'.
The piece of code looks like :
XKWERT = KOMP-ZZRENCEXP * XKWERT.
I have coded it in Java as :
BigDecimal condBasisFactor;
condBasisFactor = new BigDecimal(pricingItem.getAttributeValue("BASIS_FACTOR"));
return pricingCondition.getConditionValue().getValue().multiply(condBasisFactor);
Now I dont know how to map this Attribute "BASIS_FACTOR" and fetching its value. Is the procedure followed by me correct..? Or do I need to follow some other process..? We are using SAP AP 7.0.
Any helps would be greatly appriciated.
Regards,
Mayank