Hi All,
I am a newbie of ABAP programming. I have create a new routine for condition value by VOFM.
FORM FRM_KONDI_WERT_908.
*{ INSERT
DATA: p_value(7) TYPE p DECIMALS 4.
p_value = komp-brtwr * konp-kbetr / 10000.
xkomv-kbetr = konp-kbetr / 10.
xkwert = p_value.
*} INSERT
ENDFORM.
It is very strange that if p_value = 1.2340, xkwert will equal to 123.40 but not 1.23. It seems like the number format is right-justified.
Please kindly help on this issue....I have hold on this for a few days...Thanks~~!!