2007 Feb 28 6:40 AM
hi expects,
whatever data i am show in output screen i want to change it.
how is it possible?
example : 2.75
i want to convert into 0.0275.
can any body give the code, how to write? it is urgent
thank you
2007 Feb 28 6:45 AM
DATA : VAL TYPE P DECIMALS 2.
DATA : V1 TYPE P DECIMALS 4.
VAL = '2.75'.
V1 = VAL / 100.
WRITE:/ V1.
check this .
2007 Feb 28 6:41 AM
2007 Feb 28 6:43 AM
hey just to confirn whethr do u want to change iton he screen or in your program ...
for anything which needs screen's interaction u hav to use Dialog programming...
but if it is only the selection screen using select options and parameters then u can directly change the data using different Internal Tables....
so watevr the requiement ... go as per tht...
hope this will help
Thanks ,
Ashwani
2007 Feb 28 6:45 AM
DATA : VAL TYPE P DECIMALS 2.
DATA : V1 TYPE P DECIMALS 4.
VAL = '2.75'.
V1 = VAL / 100.
WRITE:/ V1.
check this .
2007 Feb 28 6:48 AM
Hi Rohit,
it depends on the data u want to convert... is it percentage or amount or qty??
if it is amt then u can use WRITE...CURRENCY... to get the data converted..
if it is percentage or some value then u can directly divide it.. by 10... or 100... or 1000...
if it is quantity then again u can use WRITE... UNIT... to get the data converted..
Reward points if helpful