2006 Aug 23 10:06 PM
Hi,
I am printing afield on spascript form
Amount is &RBKP-RMWWR&
But its priniting like
Amount is 16.
It seems its printing the spaces. How do I condense in script withing &x&. ?
2006 Aug 23 10:08 PM
you use &RBKP-RMWWR(C)& to remove the leading space
if you want to remove the leading 0's you can use
&RBKP-RMWWR(Z)&
Hi,
I am printing afield on spascript form
Amount is &RBKP-RMWWR&
But its priniting like
Amount is 16.
It seems its printing the spaces. How do I condense in script withing &x&. ?
2006 Aug 23 10:07 PM
2006 Aug 23 10:08 PM
you use &RBKP-RMWWR(C)& to remove the leading space
if you want to remove the leading 0's you can use
&RBKP-RMWWR(Z)&
2006 Aug 23 10:10 PM
hi rajesh,
you need to use the formatting option as follows..
&RBKP-RMWWR(C)&
Go thru the below description...
<b>Space Compression
The symbol value is viewed as a sequence of words, each separated from the next by either one or a string of space characters. The C option has the effect of replacing each string of space characters with a single space and shifting the words to the left as necessary to close up the gaps. Leading spaces are completely removed. The results are the same as those of the ABAP command CONDENSE.
Syntax:
&symbol(C)&
Assuming ' Albert Einstein ' is the symbol value,
&symbol& -> Albert Einstein
&symbol(C)& -> Albert Einstein</b>
Cheers,
Abdul Hakim
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |