Skip to Content

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

FIND Datawindow and Datetime column ?

" How to make a find in a datawindow on a column
of type(chap) datetime (date Oracle)?

When I use the find function(office) I receive an
error message " typical mist Expression match ".

The code is :

datetime dtt_debut

long nbrow7, rownumfind2

string ls_find

//

nbrow7=dw_7.rowcount()

//
dtt_debut=dw_7.getitemdatetime(3,"absag_datedebut")
//

ls_find="absag_datedebut="+string(dtt_debut)
rownumfind2=dw_7.find(ls_find,1,nbrow7)

Former Member
Former Member replied

HI Rene;

  Yes, I saw that after I posted it that Pascal wanted to use a DT data type. So my example code would then become ....

ls_find = 'absag_datedebut = DateTime ( "' + string(dtt_debut, "yyyy-mm-dd  hh:mm:ss") + '")'

Thanks for pointing that out.

Regards ... Chris

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