on 08-18-2008 8:48 AM
Hello,
i copied a new conditiontype from standard-condition MWST in hopeness my new condition also rounded on the same way.
My problem is, that if I create a new sales document, MWST is rounded and my new one not.l
Also with a rounding role inside the customizing I got no result.
Any idea what I need to change or how I can find my solution???
Regards
Nicole
Hello,
You can tackle this by using standard routine in your pricing procedure, if you want rounding oo after decilams. Check this...
In the 'Caltype' column in pricing that is "Condition formula for alternative calculation type", you need to add routine number "17 Rounding as perT001R", before only for those conditions which you want rounded.
Additionally, in table T001R such rounding data should be maintained.
For this goto SPRO - SAP NetWeaver - General Settings - Currencies - Define rounding rules for currencies
here maintain: Co, Code + Currency = 100
This will solve your problem
Regards
Dhananjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
one of the option is to modify the Routine mentioned below to meet the requirement, with the help of Abaper:
-
Include RV64A601
rounding rule for closest interger value
FORM FRM_KONDI_WERT_601.
data: da_xkwerx(15).
unpack xkwert to da_xkwerx.
*
move '00' to da_xkwerx+13.
*
*
*
pack da_xkwerx to xkwert.
data : lgort1 like lips-lgort .
data : d1(13) , d6(13) .
data : d2 type p decimals 2 .
data : d3 type p decimals 0 .
data : d4 type p decimals 2 .
data d5(2) .
data : d8(3) .
unpack xkwert to d1 .
d2 = d1 .
d3 = d2 .
unpack d3 to d6.
d5 = d6+11(2) .
if d5 >= 50 .
d8 = 100 - d5 .
d1 = d6 + d8 .
else .
d1 = d6 - d5 .
endif .
*pack d1 to xkwert .
select single lgort into lgort1 from lips where
vbeln = komp-vgbel and
posnr = komp-vgpos .
IF SY-SUBRC = 0 .
if lgort1 = 'JSTO'.
d1 = 0 .
pack d1 to xkwert.
else .
pack d1 to xkwert.
endif .
ELSE .
pack d1 to xkwert.
ENDIF .
-
Regards,
Rajesh Banka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Rounding use Requirement 17 in the Pricing Procedure.
Regards,
Rajesh Banka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.