on 07-17-2008 10:57 AM
Hi
I have define
data: currency type i,
and in sapscript I want to align currency column to left, for example
price1: 23,123EUR
price2: 2 233 231,123EUR
OR
price1: 23,123EUR
price2: 2,233,231,123EUR
depends from user settings number formatting.
But I see that var currency in debugger have in left spaces and I see in Sapscript print like this:
price1: (spaces)23,123EUR
price2: 2 233 231 231,123EUR
How to align this currencies? I must to have define all format types depends for user formatting currencies.
For integer it is automatic but for var char not.
Edited by: Kosmo on Jul 17, 2008 11:57 AM
Edited by: Kosmo on Jul 17, 2008 11:58 AM
try this:
¤cy(ZC)&
Z and C must be in caps
other formatting options
&symbol(Z)& Omit Leading Zeros
&symbol(S)& Omit Leading Sign
&symbol(<)& Display Leading Sign to the Left
&symbol(>)& Display Leading Sign to the Right
&symbol(C)& Compress Spaces
&symbol(.N)& Display upto N decimal places
&symbol(T)& Omit thousands separator
&symbol(R)& Right justified
&symbol(I)& Suppress output of the initial value
reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Much thanx, it is working now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.