Skip to Content
Former Member
Jul 17, 2008 at 09:57 AM

Condense space from integer currency in SAPSCRIPT



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


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