Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Searchhelp for timestamp field

Former Member
0 Kudos

Hi,

I'm looking for a searchhelp that I need to assign to a selection field of type timestamp.

I prefer one single dialog screen, showing date & time together, but after each other is also fine.

(system: ECC 6.03)

Regards, Toine Pothuizen.

6 REPLIES 6

Former Member
0 Kudos

Hi Pothuizen,

Decalre the time field as of type TIMS. The search help is already defined for this type.

Regards,

Chandra Sekhar

Former Member
0 Kudos

Hi,

One standard search help is there. But the problem is it will return date with '/' and time with ':' and the user should remove these things. Else error will come.

parameters :

p_ts type timestamp MATCHCODE OBJECT CPE_TIMESTAMP.

start-of-selection.

write : p_ts.

Regards,

R.Nagarajan.

Former Member
0 Kudos

Hi,

Use Data Element CPET_VALIDFROM.

Regards,

Raju.

Former Member
0 Kudos

Just found one myself: CPE_TIMESTAMP

0 Kudos

Hi Toine,

Can you share how you created the search help using this CPE_TIMESTAMP?

if i use this as match code in a custom program as show above by R.Nagarajan i works perfect but in my case i need to define a new search help so I can have in in a standard SAP program

thanks

neobat

0 Kudos

Hi,

I don't remember, but I think it is something like this:

parameters :

p_ts type timestamp MATCHCODE OBJECT CPE_TIMESTAMP.