Let's follow up this discussion at the Neptune Community
(this forum will be kept in read-only mode)
I'm with a problem.. When i use a datetimeinput controler in the screen, how could i set a default value?
I'd like that when the screen is loaded, this field receives the atual date and time..
More one doubt.. To send this data to SAP, the SAP field should be a string field?
Thanks a lot..
To set a value you can use the setValue() method.
For example, for setting today's date: oDateTimeInput.setValue("6/7/16");
Yes, to send this data to SAP, you can use a string field.
More info about the DateTimeInput: