1 Reply Latest reply: Mar 6, 2012 12:38 AM by Efren Reyes RSS

Write text on a line between 2 positions(reserve a number of characters)

Efren Reyes
Currently Being Moderated



In the second column of a bill I have a material. In the third column I have a unit of measure. I want the unit of measure to appear at the same position, regardless of the lenght of the material.


Example: Material   Unit

                12           ST

                123           ST


If I use (K) addition(this means ignore conversion routines), the sapscript will put the unit in the right place, but it will fill all the length of the material(18) with zeros in front:


                Material   Unit

                000000000000000012           ST

                000000000000000123           ST


So I can not use that addition. What do you suggest?