Skip to Content

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

How do I search on a Time Stamp field using the Java API?

hi everyone,

I am using the MDM 5.5 java api to build some applications and i am able to successfully search on a Literal Date field no problem.

But when i try to search on a Time Stamp field, it just doesn't work. I've tried to test it out on the searchRecord web service and that also fails. i'm thinking the problem is because of the literal-text value that was supplied, because a text literal is not a valid comparison value for a Time Stamp field, but i don't know for sure.

For my application, i have an input text field and that's what i want to use to search on the Time Stamp field. So my question is what java class/method do i need to use to convert the literal value to something the Time Stamp field can compare against? Or if it isn't a text literal issue, what could i be doing wrong?

Any help is very much appreciated!

many thanks,


Former Member

Helpful Answer

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