Wednesday, January 21, 2009

Formatting SAPSCRIPT


Offset &symbol+offset&
Output Length &symbol(length)&
Omitting the Leading Sign &symbol(S)&
Leading Sign to the Left and Right &symbol(<)& , &symbol(>)&
Omitting Leading Zeros &symbol(Z)&
Space Compression &symbol(C)&
Number of Decimal Places &symbol(.N)&
Omitting the Separator for ‘Thousands’ &symbol(T)&
Specifying an Exponent for Floating Point Numbers &symbol(EN)&
Right-Justified Output &symbol(R)&
Fill Characters &symbol(F f )&
Suppressing Output of Initial Values &symbol(I)&
Ignoring Conversion Routines &symbol(K)&
Local Dates (Currently Only for Japan) &symbol(L)&
Changing the Value of a Counter
&SAPSCRIPT-COUNTER_x(+)& - Increase counter by 1

&SAPSCRIPT-COUNTER_x(-)& - Decrease counter by 1
Preceding and Subsequent Texts (Pre-Text / Post-Text) &'pre-text'symbol'post-text'&
Country-Dependent Formatting /: SET COUNTRY country_key
Date Mask /: SET DATE MASK = 'date_mask'
Time Mask /: SET TIME MASK = 'time_mask'

No comments:

Post a Comment