on 12-02-2010 7:39 AM
The code I used to display carton dimension in Packing List is:
&<FS_VBPLK>-LAENG(C.0)&X&<FS_VBPLK>-BREIT(C.0)&X&<FS_VBPLK>-HOEHE(C.0)&
The output text is 10 X20 X30 , there's an extra space after each number. How can I get 10X20X30 ?
Because of the field type, you have a space left for the negative sign. Since your dimensions are positive, try using the 'S' option as well to suppress the gap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a last test before adding the perform, I would remove any spaces between the variables...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Normally the (C) after the variable to use to compress the variable but looks like it is not working because you have multiple variables that you are printing and because of the size of the variables you might be getting the spaces.
I am not sure if this can be done in the script itself but you can do it using subroutines in script.
In the form you need to call a perform like below:
/:PERFORM join_fields IN PROGRAM zreport
/:USING &vari1&
/: &vari1&
/:CHANGING &vari3&
/:ENDPERFORM
In the program you need to concatenate the variables in one field and compress no-gaps and display the value.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.