Showing results for 
Search instead for 
Did you mean: 

Agentry Date and Time picker on Android

Former Member
0 Kudos


I am developing an Agentry application on SMP 3.0 SDK 10 for Android. Is there a way of defaulting the Date and Time field on a Transaction screen to a blank value, but then go on to display the Current date and time on the picker/control. The furthest I have gone is to display the current date, but somehow the time is always defaulted to "12:00:01" and somehow this field is treated like a drop down box, that is, the transaction cannot be saved without this field being maintained. Is there.

So ultimately I would like to get onto a transaction screen with a blank date and time field, click on it, and this Date and Time Picker should display the current date and time. Second scenario, would be to get onto that same transaction screen maintain other fields but not maintain the Date and Time field but be able to still save the transaction.

Your input is appreciated.

Thanks and Regards;

Sizo Ndlovu

Accepted Solutions (0)

Answers (2)

Answers (2)

Product and Topic Expert
Product and Topic Expert
0 Kudos


You will need to add an additional field to enable / disable the date time field.  This will allow you to control when the picker is active.


Active Contributor
0 Kudos


  1. From our older design for real mobile apps that deals with touching the backend database, normally the 12:00:01 is to set the date not to be null as a null date could have serious impact on calculating duration, start time, hold, complete and others.  Most of our out of the box, either forces a very old date and time like January 1, 1901 12:00:00AM or something.
  2. Another idea is for your object properties that has a date/time data type is to force it to a blank value in your screen for an Android Platform.  See example in editor.

Hopefully this can help or if others may have idea they can share as well.

Best Regards,

SAP Mobile Support Team