SAP CL_ABAP_DATFM OO Class - Internationalization and date format









CL_ABAP_DATFM 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_DATFM 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_DATFM 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
CHECK_DATE_FORMATcheck whether date format is vaild formatPublic
CALL METHOD cl_abap_datfm=>CHECK_DATE_FORMAT...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_abap_datfm=>CLASS_CONSTRUCTOR...more details

CONV_DATE_EXT_TO_INTconversion external date -> internal datePublic
CALL METHOD cl_abap_datfm=>CONV_DATE_EXT_TO_INT...more details

CONV_DATE_EXT_TO_INT_FALLBACKconversion external date -> internal date (old impl.)Private
CALL METHOD cl_abap_datfm=>CONV_DATE_EXT_TO_INT_FALLBACK...more details

CONV_DATE_INT_TO_EXTconversion internal date -> external datePublic
CALL METHOD cl_abap_datfm=>CONV_DATE_INT_TO_EXT...more details

CONV_DATE_INT_TO_SHORTEXconvert internal date -> abbreviated date without yearPublic
CALL METHOD cl_abap_datfm=>CONV_DATE_INT_TO_SHORTEX...more details

CONV_ISL_TO_GREG_FORMULAConvert from Islamic date to Gregorian datePublic
CALL METHOD cl_abap_datfm=>CONV_ISL_TO_GREG_FORMULA...more details

CONV_PERIOD_EXT_TO_INTconversion external period -> internal periodPublic
CALL METHOD cl_abap_datfm=>CONV_PERIOD_EXT_TO_INT...more details

CONV_PERIOD_EXT_TO_INT_FBACKconversion external period -> internal periodPrivate
CALL METHOD cl_abap_datfm=>CONV_PERIOD_EXT_TO_INT_FBACK...more details

CONV_PERIOD_INT_TO_EXTconversion internal period -> external periodPublic
CALL METHOD cl_abap_datfm=>CONV_PERIOD_INT_TO_EXT...more details

CONV_YEAR_EXT_TO_INTConversion: External year to internal yearPublic
CALL METHOD cl_abap_datfm=>CONV_YEAR_EXT_TO_INT...more details

CONV_YEAR_INT_TO_EXTConversion: Internal year to external yearPublic
CALL METHOD cl_abap_datfm=>CONV_YEAR_INT_TO_EXT...more details

GET_COUNTRY_DATFMdate format of a countryPublic
CALL METHOD cl_abap_datfm=>GET_COUNTRY_DATFM...more details

GET_DATE_FORMAT_DESdate format describerPublic
CALL METHOD cl_abap_datfm=>GET_DATE_FORMAT_DES...more details

GET_DATE_FORMAT_DES_Jdate format describer in JAVA standardPublic
CALL METHOD cl_abap_datfm=>GET_DATE_FORMAT_DES_J...more details

GET_DATFMget the currently active date formatPublic
CALL METHOD cl_abap_datfm=>GET_DATFM...more details

GET_DELIMITERdelimiter of date formatPublic
CALL METHOD cl_abap_datfm=>GET_DELIMITER...more details

GET_NUM_OF_DATEFORMATSNumber of dateformatsPublic
CALL METHOD cl_abap_datfm=>GET_NUM_OF_DATEFORMATS...more details

GET_PERIOD_FORMAT_DESperiod format describerPublic
CALL METHOD cl_abap_datfm=>GET_PERIOD_FORMAT_DES...more details

GET_VALID_DATFM_FULL_PRIVget all valid date formats supported by the kernelPrivate
CALL METHOD cl_abap_datfm=>GET_VALID_DATFM_FULL_PRIV...more details

IS_VALID_DATEChecks if DATE can be converted to any internal representat.Private
CALL METHOD cl_abap_datfm=>IS_VALID_DATE...more details



CL_ABAP_DATFM 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
EQV_CLASSStatic AttributeLIKE
Private
FIXED_DATFMStatic AttributeDate formatLIKE
XUDATFM
Private
USE_FALLBACK_DATFM_CONVStatic Attribute'-'LIKE
Private
USE_FALLBACK_PERIOD_CONVStatic AttributeUse previous CONV_PERIOD_EXT_TO_INT implementation.'-'LIKE
Private
VALID_DATEFORMATSStatic Attributealid date formatsLIKE
STRING
Private




CL_ABAP_DATFM types

DATFM_COMPAT -

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!