Thursday, April 25, 2013

0 Formatting options for all Data Types in ABAP


Formatting options for all Data Types in ABAP :



             Option
      Function
LEFT- JUSTIFIED
Output is left-justified.
CENTERED
Output is centered.
RIGHT- JUSTIFIED
Output is right-justified.
UNDER <g>

Output starts directly under field <g>.
NO-GAP
The blank after field <f> is omitted.
USING EDIT MASK <m>
Specifies format template<m>
USING NO EDIT MASK
Deactivates a format template specified in the ABAPDictionary.
NO-ZERO
If a field contains only zeros,these are replaced by blanks. For type C and Nfields, leading zeros are   replaced automatically.
NO-SIGN
The leading sign is not displayed on the screen.
DECIMALS <d>
<d> defines the number of digits after the decimal point.
EXPONENT <e>
In type F fields, the exponent is defined in <e>.
ROUND <r>

Type P fields are multiplied by 10**(-r) and then rounded
CURRENCY <c>
Format according to currency <c> in table TCURX.
UNIT <u>
The number of decimal places is fixed according to unit <u> specified in table T006 for type P fields.



 

SAP-ABAP Copyright © 2011 - |- Template created by Vishnu - |- Powered by Blogger Templates