CL_ABAP_DATFM- Class



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.


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s