Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic date formatting

I want to be able to format a date from a source field of type D into a target of type C (this will go in a file to the bank) such that the format is defined dynamically at run time; so if the user specifies DD/MM/YYYY today would look like 23/10/2007 or if they specified YY-MM-DD they'd get 07-10-23

I've searched for function modules containd DATE or DATUM in the name and I don't find any in our 46C system. I'm kind of surprised there isn't something.

Note: I am not talking about the limited number of hard coded formats available as add-ons to the WRITE command.

Former Member
Not what you were looking for? View more on this topic or Ask a question