Skip to Content

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

help with vofm routine

Hello Everyone,

here is the issue i am having

the above screen is from invoice --item condition detail .

I am writing a routine in VOFM to change the condition value .

what is want is condition value = condition base value  * amount  = 211.28 * 3 = 633.84

This is the code i am using

FORM FRM_KONDI_WERT_900.

IF XKOMV-KAPPL = 'V'.

IF XKOMV-KRECH = 'C'.

xKOMV-kwert = xkomv-kbetr * komp-mgame / 1000.

ELSE.

ENDIF.

ENDIF.

ENDFORM.

when i debugg xkomv-kwert has the value 633.84 but in the invoice screen it prints 633.83 only .

please help to figure out why it is happening so .

Thank you so much .

pooja

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