Skip to Content

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

Clear Date component

Hi There,

I am trying to clear Date component using code but I don't see any such function available in scripting.  Does anyone has any idea on this.  Basically I am trying to clear this date field with nothing in it once I click on clear button.

Thank you for your suggestions


Former Member

Hello Raj,

As mentioned above you can give DATEFIELD_1.setDate("");



the idea is to give invalid date to make the calender component empty .


Arjun KT

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question