Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

pricing routine

I have a problem while creating/ using a new custom routine via transaction - VOFM.

Have created a custom routine(number - 999 ) under FORMULAS -> CONDITION VALUES. Have activated this routine and also configured the relevant pricing procedure in. The call of this routine happens fine(in my case it is while creating/changing po).....

when i try to change value komv-kbetr = 0.03 (it should be 3.00).

all my calculations converting into wrong decimal places.

Please your suggestions in this regards.

data lv_kbetr type kbetr.

case xkomv-kschl.

when 'ZZ'.

select single * from konp where knumh = xkomv-knumh

and kschl = xkomv-kschl.

if sy-subrc = 0.

lv_kbetr = ZCAL * konp-kbetr.

endif.

Tags:
Not what you were looking for? View more on this topic or Ask a question