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 Name | Description | Visability |
CHECK_DATE_FORMAT | check whether date format is vaild format | Public |
CALL METHOD cl_abap_datfm=>CHECK_DATE_FORMAT...more details | ||
CLASS_CONSTRUCTOR | CLASS_CONSTRUCTOR | Public |
CALL METHOD cl_abap_datfm=>CLASS_CONSTRUCTOR...more details | ||
CONV_DATE_EXT_TO_INT | conversion external date -> internal date | Public |
CALL METHOD cl_abap_datfm=>CONV_DATE_EXT_TO_INT...more details | ||
CONV_DATE_EXT_TO_INT_FALLBACK | conversion external date -> internal date (old impl.) | Private |
CALL METHOD cl_abap_datfm=>CONV_DATE_EXT_TO_INT_FALLBACK...more details | ||
CONV_DATE_INT_TO_EXT | conversion internal date -> external date | Public |
CALL METHOD cl_abap_datfm=>CONV_DATE_INT_TO_EXT...more details | ||
CONV_DATE_INT_TO_SHORTEX | convert internal date -> abbreviated date without year | Public |
CALL METHOD cl_abap_datfm=>CONV_DATE_INT_TO_SHORTEX...more details | ||
| ||
CONV_ISL_TO_GREG_FORMULA | Convert from Islamic date to Gregorian date | Public |
CALL METHOD cl_abap_datfm=>CONV_ISL_TO_GREG_FORMULA...more details | ||
CONV_PERIOD_EXT_TO_INT | conversion external period -> internal period | Public |
CALL METHOD cl_abap_datfm=>CONV_PERIOD_EXT_TO_INT...more details | ||
CONV_PERIOD_EXT_TO_INT_FBACK | conversion external period -> internal period | Private |
CALL METHOD cl_abap_datfm=>CONV_PERIOD_EXT_TO_INT_FBACK...more details | ||
CONV_PERIOD_INT_TO_EXT | conversion internal period -> external period | Public |
CALL METHOD cl_abap_datfm=>CONV_PERIOD_INT_TO_EXT...more details | ||
CONV_YEAR_EXT_TO_INT | Conversion: External year to internal year | Public |
CALL METHOD cl_abap_datfm=>CONV_YEAR_EXT_TO_INT...more details | ||
CONV_YEAR_INT_TO_EXT | Conversion: Internal year to external year | Public |
CALL METHOD cl_abap_datfm=>CONV_YEAR_INT_TO_EXT...more details | ||
GET_COUNTRY_DATFM | date format of a country | Public |
CALL METHOD cl_abap_datfm=>GET_COUNTRY_DATFM...more details | ||
GET_DATE_FORMAT_DES | date format describer | Public |
CALL METHOD cl_abap_datfm=>GET_DATE_FORMAT_DES...more details | ||
GET_DATE_FORMAT_DES_J | date format describer in JAVA standard | Public |
CALL METHOD cl_abap_datfm=>GET_DATE_FORMAT_DES_J...more details | ||
GET_DATFM | get the currently active date format | Public |
CALL METHOD cl_abap_datfm=>GET_DATFM...more details | ||
GET_DELIMITER | delimiter of date format | Public |
CALL METHOD cl_abap_datfm=>GET_DELIMITER...more details | ||
GET_NUM_OF_DATEFORMATS | Number of dateformats | Public |
CALL METHOD cl_abap_datfm=>GET_NUM_OF_DATEFORMATS...more details | ||
GET_PERIOD_FORMAT_DES | period format describer | Public |
CALL METHOD cl_abap_datfm=>GET_PERIOD_FORMAT_DES...more details | ||
GET_VALID_DATFM_FULL_PRIV | get all valid date formats supported by the kernel | Private |
CALL METHOD cl_abap_datfm=>GET_VALID_DATFM_FULL_PRIV...more details | ||
IS_VALID_DATE | Checks 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.
Name | Level | Description | Initial Value | Type | Visability |
EQV_CLASS | Static Attribute | LIKE | Private | ||
FIXED_DATFM | Static Attribute | Date format | LIKE XUDATFM | Private | |
USE_FALLBACK_DATFM_CONV | Static Attribute | '-' | LIKE | Private | |
USE_FALLBACK_PERIOD_CONV | Static Attribute | Use previous CONV_PERIOD_EXT_TO_INT implementation. | '-' | LIKE | Private |
VALID_DATEFORMATS | Static Attribute | alid date formats | LIKE 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