Skip to Content

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

[Date] Conversion Routine removes the standard date check ??


I have created my own date element so as to be able to use JJ/MM/AAAA (the standard forbids this - there has been various discussions on SDN about this) which is the "French way" to write a date.

I also attached a conversion routine ZDTFR to format the date accordingly.

But, as a result, I do not get the standard 'xxxx is not a date' that appears when using the DATS data element , instead of my own specific one.

I am only able to see that the date is incorrect (00000000) but I lose the text entered by the user (for instance, he/she type 01M12/2008 instead of 01/12/2008)

-> I can't see it the OnEnter event handler neither in the conversion routine (logical since it expects a date as input parameter)

It makes sense because the parameters being dates, the context attribute cannot retained strings.

Thanks in advance for your help.

Best regards,


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