Skip to Content

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

ABAP for Super Dumps

Hello,

sorry - I am BW.

How to set a Variable to a floating value like 123.12.

I ve got a functionmodule like this:

DATA: CONVERSION_FACTOR TYPE /BIC/OIZVPDAYVOL.

IF UNIT_HILFSFELD = 'Thousand Therms'.

CONVERSION_FACTOR = <b>29,307</b>. * <============???

ELSIF UNIT_HILFSFELD = 'Therms'.

CONVERSION_FACTOR = <b>0,029307.</b> * <============???

ENDIF.

Thanks ::) & manymany points

Martin

Tags:
Former Member
Former Member replied

CONVERSION_FACTOR = '29.307'.

Or,

CONVERSION_FACTOR = 29307 / 1000.

0 View this answer in context

Helpful Answer

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