Date Conversion - YYYYMMDD to DD.MM.YYYY - SAP Function Module

There are two function modules available in SAP.

1. CONVERSION_EXIT_PDATE_OUTPUT
2. CONVERSION_EXIT_SDATE_OUTPUT

In SAP both function module shows to be doing the same thing.


CONVERSION_EXIT_PDATE_OUTPUT

This FM should be used where there is a need to convert the date from YYYYMMDD to DD.MM.YYYY .





CONVERSION_EXIT_SDATE_OUTPUT

This is the correct function module for date conversion from  YYYYMMDD to DD.MMM.YYYY
(For example: 20180305 to 05.MAR.2018)






Comments

Also Read...