Skip to Content
Former Member
Sep 19, 2007 at 12:53 PM

Conversion problem


Hi Gurus,

I have five fields those are gross weight(sum of net weight(vekp-ntgew) and tare weight ( vekp-tarag)).

Net weight (vekp-ntgew), length(vekp-laeng), width (vekp-breit), height ( vekp-hoehe).

I am passing all these values to idoc. First I am moving all the above values to one structure in that structure the length of gross weight is 15 characters, length of net weight is 15 characters, and length, width hight is of type c and 15 characters. I am moving all the above fields to this structure and then I am moving to IDOC. Finally my idoc contains the fields data in the below way

Gross weight : 150 but I want in 00150.0

Net weight : 100.000 but I want like 00100.0

Length : 10.000 but I want like 00010

Width : 20.000 00020

Height : 30.000 00030

I have tried but still the values are not coming properly.

Please help me because this I need to complete very urgently mean while I will also check at my end.

Thanks a lot.