SAP ABAP SAPSCRIPT
From SapWiki
Formato en Sapscript
- Fill Characters
&symbol(Ff)&
The figure for customer sales in the KNA1-UMSAT field is $700. The Dictionary description of the field specifies an output length of eight. Symbol Result &KNA1-UMSAT& 700.00 &KNA1-UMSAT(F*)& **700.00 &KNA1-UMSAT(F0)& 00700.00
- Sing to the Left
&symbol(<)&
&ITCDP-TDULPOS(<)& -100.00
- N° Decimals
&symbol(.n)&
&EKPO-MENGE(.4)& 1,234.5600
- Ommiting Leading Zeros
Certain symbol values are output with leading zeros. To suppress these values use the Z option.
&symbol(Z)&
- Ommiting Leading Sign
Program symbols with numeric values can have a leading sign, which usually appears at the right of the numeric value as a space for positive numbers, or as a minus sign for negative numbers. The S option ensures that the value is formatted without the sign.
&symbol(S)&
- 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 replaces each string of space characters with a single space and shifting “words” to the left to close gaps. Leading spaces are completely removed. The results are the same as if the ABAP command CONDENSE was used.
&symbol(C)&
- Suppresing Initial Values
The I option suppresses the output of symbols that still contain their initial value.
&symbol(I)&