SAP CL_ABAP_FORMAT OO Class - Tools for Formatting









CL_ABAP_FORMAT is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_FORMAT including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_ABAP_FORMAT SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability



CL_ABAP_FORMAT attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
A_CENTERConstantCentered Alignment3LIKE
I
Public
A_LEFTConstantLeft Alignment1LIKE
I
Public
A_RIGHTConstantRight Alignment2LIKE
I
Public
C_LOWERConstantLowercase2LIKE
I
Public
C_RAWConstantUnchanged Upper/Lower Case0LIKE
I
Public
C_UPPERConstantUppercase1LIKE
I
Public
D_ENVIRONMENTConstantDate Format Environment-Specific3LIKE
I
Public
D_ISOConstantDate Format 2007-01-312LIKE
I
Public
D_RAWConstantDate Format 200701310LIKE
I
Public
D_USERConstantUser-Specific Date Format1LIKE
I
Public
EXP_PRESERVEConstantExponential RepresentationCL_ABAP_MATH=>MAX_INT4LIKE
I
Public
E_HTML_ATTRConstantHTML Attribute5LIKE
I
Public
E_HTML_ATTR_DQConstantHTML Attribute mit Delimiter '6LIKE
I
Public
E_HTML_ATTR_SQConstantHTML Attribute mit Delimiter '7LIKE
I
Public
E_HTML_JSConstantJavascript8LIKE
I
Public
E_HTML_JS_HTMLConstantJavascript in HTML10LIKE
I
Public
E_HTML_TEXTConstantHTML Text4LIKE
I
Public
E_JSON_STRINGConstantJSON String24LIKE
I
Public
E_JSON_STRING_NUConstantJSON string (non-Unicode)39LIKE
I
Public
E_PCREConstantRegex (PCRE)40LIKE
I
Public
E_PCRE_EXTENDEDConstantRegex (PCRE extended mode)41LIKE
I
Public
E_REGEXConstantRegex20LIKE
I
Public
E_STRING_TPLConstantABAP String Template22LIKE
I
Public
E_URIConstantURI Without Reserved Character16LIKE
I
Public
E_URI_1ConstantURI variant 133LIKE
I
Public
E_URI_FULLConstantURI With Reserved Character18LIKE
I
Public
E_URI_FULL_LCConstantLike URI_FULL, with lowercase escaping36LIKE
I
Public
E_URI_LCConstantLike URI, with lowercase escaping35LIKE
I
Public
E_URLConstantURL Without Reserved Character12LIKE
I
Public
E_URL_FULLConstantURL With Reserved Character14LIKE
I
Public
E_XML_ATTRConstantXML Attribute1LIKE
I
Public
E_XML_ATTR_DQConstantXML Attribute With Delimiter '2LIKE
I
Public
E_XML_ATTR_SQConstantXML Attribute With Limiter '3LIKE
I
Public
E_XML_TEXTConstantXML Text0LIKE
I
Public
E_XSS_CSSConstantXSS: Cascading Style Sheets30LIKE
I
Public
E_XSS_CSS_7BConstantXSS: Cascading Style Sheets (7-Bit)21LIKE
I
Public
E_XSS_CSS_NUConstantXSS: Cascading Style Sheets (Non-Unicode)31LIKE
I
Public
E_XSS_JSConstantXSS: Javascript28LIKE
I
Public
E_XSS_JS_7BConstantXSS: Javascript (7-Bit)23LIKE
I
Public
E_XSS_JS_NUConstantXSS: Javascript (Non-Unicode)29LIKE
I
Public
E_XSS_MLConstantXSS: XML/HTML26LIKE
I
Public
E_XSS_ML_7BConstantXSS: XML/HTML (7-Bit)25LIKE
I
Public
E_XSS_ML_NUConstantXSS: XML/HTML (Non-Unicode)27LIKE
I
Public
E_XSS_URLConstantXSS: URL32LIKE
I
Public
E_XSS_URL_7BConstantXSS: URL (7-Bit)19LIKE
I
Public
L_INConstantAlpha Conv: Input2LIKE
I
Public
L_OUTConstantAlpha Conv: Output1LIKE
I
Public
L_RAWConstantAlpha Conv: None0LIKE
I
Public
N_ENVIRONMENTConstantEnvironment-Specific Number Formatting2LIKE
I
Public
N_RAWConstantNeutral Number Formatting0LIKE
I
Public
N_USERConstantUser-Specific Number Formatting1LIKE
I
Public
O_ENGINEERINGConstantOutput: Technical06LIKE
OUTPUTSTYLE
Public
O_SCALE_PRESERVINGConstantOutput: Scale Preserving02LIKE
OUTPUTSTYLE
Public
O_SCALE_PRESERVING_SCIENTIFICConstantOutput: Scale Preserving Scientific05LIKE
OUTPUTSTYLE
Public
O_SCIENTIFICConstantOutput: Scientific03LIKE
OUTPUTSTYLE
Public
O_SCIENTIFIC_WITH_LEADING_ZEROConstantOutput: Scientific with Leading Zero04LIKE
OUTPUTSTYLE
Public
O_SIGN_AS_POSTFIXConstantOutput: +/- Sign Right01LIKE
OUTPUTSTYLE
Public
O_SIMPLEConstantOutput: Simple00LIKE
OUTPUTSTYLE
Public
S_LEFTConstantAlgebraic Sign Left, Positive Omitted1LIKE
I
Public
S_LEFTPLUSConstantAlgebraic Sign Left, Positive '+'2LIKE
I
Public
S_LEFTSPACEConstantAlgebraic Sign Left, Positive ' '3LIKE
I
Public
S_RIGHTConstantAlgebraic Sign Right, Positive Omitted4LIKE
I
Public
S_RIGHTPLUSConstantAlgebraic Sign Right, Positive '+'5LIKE
I
Public
S_RIGHTSPACEConstantAlgebraic Sign Right, Positive ' '6LIKE
I
Public
TS_ENVIRONMENTConstantTime Stamp Format Environment-Specific4LIKE
I
Public
TS_ISOConstantDate Stamp Format 2007-01-01T12:00:00[.123]3LIKE
I
Public
TS_RAWConstantNo Time Stamp Format0LIKE
I
Public
TS_SPACEConstantDate Stamp Format 2007-01-01 12:00:00[.123]1LIKE
I
Public
TS_USERConstantUser-Specific Date Stamp Format2LIKE
I
Public
T_ENVIRONMENTConstantTime Format Environment-Specific3LIKE
I
Public
T_ISOConstantTime Format 12:00:001LIKE
I
Public
T_RAWConstantTime Format 1200000LIKE
I
Public
T_USERConstantTime Format User-Specific2LIKE
I
Public
X_NOConstantNo XSD formatting0LIKE
I
Public
X_YESConstantXSD formatting1LIKE
I
Public
Z_NOConstantRepress Zero1LIKE
I
Public
Z_YESConstantOutput Zero0LIKE
I
Public


Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!