You have defined your own date field by means of the “Inputfield" command. You would like this field to behave as far as possible like SAP Standard "Date"-type field. In other words :
To be able to select a date with F4, you must still specify in the input field the additional searchhelp="GuiXT.DATE" option. See also in this respect the documentation relating to the "InputField" command.
Using the script below, you can carry out the entire checking/conversion
You can build this script into a script you create yourself, first of all using the include "Datumstest.txt" command. Your script should start with the command On "Enter" Process="Ihr_Script.txt" .