Programming

Formatting Options in SAPscript: Without the Separator for 'Thousands'

In SAPscript, if you don"t want to show the "Thousands" charactor of data types DEC, CURR, INT and QUAN, you can apply this option.

Syntax


&VAR(T)&

Example

&VAR&       =     1,356.470
&VAR(T)& = 1356.470

Formatting Options in SAPscript: Number of Decimal Places

In SAPscript, you can set number of decimal places fo data types DEC, QUAN and FLTP by this option.

Syntax


&VAR(.n)&

Example

&VAR&       =     1,356.470
&VAR(.1)& = 1,356.5
&VAR(.4)& = 1,356.4700
&VAR(.0)& = 1,357

Grid Computing in View of SAP Labs

Scott Braker wrote A Look at Grid Computing Part I, and Part II. He works for SAP Labs as a Product Manager for the SAP Web Application Server specializing in Web AS Applications, Web Dynpro, systems and Portal topics. Prior to working working as a Product Manager for SAP Labs, Scott worked as a Senior Applications consultant for SAP EP RIG.

Formatting Options in SAPscript: Condense Space

In SAPscript, we can condense space between words to single space and delete leading space by this option.

Syntax


&VAR(C)&

Example

&VAR&      =        I    AM    A    ABAPER
&VAR(C)& = I AM A ABAPER

Formatting Options in SAPscript: Without the Leading Zeros

In SAPscript you can show value symbol without leading zeros by this option.

Syntax

&VAR(Z)&

Example

&VAR&     =     0010
&VAR(Z)& = 10

Formatting Options in SAPscript: Move Sign to Left and Right

In SAPscript about symbol that contain numeric value, you can show the sign of value symbol to left of the number by this option.

Syntax

&VAR(<)&

Example

&VAR&     =     999.99-
&VAR(<)& = -999.99

If you want to move back sign to the right of number, you can use this option.

Syntax


&VAR(>)&