11-23-2011 3:12 PM
The condition base value of a condition is always stored with 2 decimals in KONV-KAWRT, regardless of the actual number of decimals which depends on the unit in KONV-KMEIN. For example, 500 G (gram) is stored as 5000.00 G because G really has 3 decimals.
When viewing a condition in VA03 or VF03, SAP will show the condition base value with the right number of decimals.
My question: how can I determine the actual number of decimals myself? I thought it might be in T006-ANDEC, but that's not it.
11-24-2011 6:26 AM
Dear Filip,
Try the following simple syntax:
DATA: FLD(8) TYPE P DECIMALS 2, DEC TYPE P. DESCRIBE FIELD FLD DECIMALS DEC. DESCRIBE FIELD KONV-KAWRT DECIMALS DEC.
Regards,
Pranav.
11-24-2011 8:22 AM
That just says konv-kawrt has 2 decimals, regardless of the unit.
11-24-2011 6:44 AM
Just check the function module J_1B_IM_TX_CALCULATE_TAX_NEW, you will find the logic behind it.
Refer the line no's 415,439,442.
11-24-2011 8:17 AM
The line numbers don't match anything useful, probably because of enhancements from an SAP note. Can you copy/paste those lines pls, then I can find them and analyse the logic.
This is relevant for a units like grams and meters though, right? Not just currencies.
11-24-2011 9:09 AM
Please check whether it converts the condition value to the unit of measure of the target item while calculating..