cancel
Showing results for 
Search instead for 
Did you mean: 

removing zero's in 22.500 in printout

Former Member
0 Kudos

Hi,

I need help reagrding the removing zero's in MENGE field.

Currently they are giving value in ME22N as 22.500 and 28

But when dispying in the layout the requirement is 22.5 and 28.

what ever the value come ex 22.500 they do not want have 00 is the out put.

I tried with &EKPO-MENGE(C11.1) in layout the field is displaying fine i.e 22.5 but other field is taking 28.0.

Even in program i tried with NO-ZERO.but it didn't work.

Please help me regarding this.

Best regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

try : MENGE(Z) in your write statement

Former Member
0 Kudos

Hi DT,

Welcome To SDN!!.

CHECK THE THEARD

https://forums.sdn.sap.com/click.jspa?searchID=11513860&messageID=5202397

Regards

Kiran Sure

Former Member
0 Kudos

use SHIFT statement..it may help you:

SHIFT <variable> RIGHT DELETING TRAILING '0'.

Regards,

Dara.

Former Member
0 Kudos

Hi

SHIFT EKPO-MENGE RIGHT DELETING TRAILING ZEROS.

Hope this will helps

Arun Joseph