Friday, 14 August 2015

SAP ABAP Date Formats

--------------------------------------------------------------------------------------

Check Tx- SU01 for the User default date format settings.


 Other date formats are available as shown below.

 Class-  CL_ABAP_DATFM  provides all sort of methods which provides all methods for date format processing.
Execute the method : GET_DATFM.

Shows the current user date format as 1.

This can be check against Tx- SU01 of the user default settings.

Test the method GET_DELIMITER.


 Provide a date format.

 So the Delimiter is   -     ( . ) 

 Check the Delimiter for date format 3.

  So the Delimiter is        (  - ) 

  Check the Delimiter for date format 5.

  So the Delimiter is     (  /  ) 

Test the method : CONV_DATE_INT_TO_EXT.




 provide the date and a date format.



provide a different date format  2.

provide a different date format  3.




----------------------------------------------------------------------------------------------

No comments:

Comments system

Disqus Shortname