Application Development and Automation 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: 
Read only

CL_APPOINTMENT SET_DATE

Former Member
0 Likes
967

Hi experts,

I send an appointment trought CL_APPOINTMENT module function to Outlook.

The problem is that the date is incorrect. I write the follow code:

lo_appointment->set_date( date_from = '20101223'

time_from = '130000'

date_to = '20101223'

time_to = '140000').

And the appointment in Outlook is from day 23 00:00:00 to day 24 00:00:00

the program doesnt show me the correct hours.Any idea??

thanks in advanced

Edited by: Markus C. on Dec 23, 2010 10:33 AM

Hi experts,

I send an appointment trought CL_APPOINTMENT module function to Outlook.

The problem is that the date is incorrect. I write the follow code:

lo_appointment->set_date( date_from = '20101223'

time_from = '130000'

date_to = '20101223'

time_to = '140000').

And the appointment in Outlook is from day 23 00:00:00 to day 24 00:00:00

the program doesnt show me the correct hours.Any idea??

thanks in advanced

Edited by: Markus C. on Dec 23, 2010 10:33 AM

4 REPLIES 4
Read only

Former Member
0 Likes
825

Hi,

Instead of hardcoding the values , pass them to the repective variables and call the method.

Regards,

Srini.

Read only

0 Likes
825

I try to pass the variables without results.

  • Sample Apppointment for specific date/time

lo_appointment->set_date( date_from = '20101223'

time_from = horai

date_to = '20101223'

time_to = horaf

timezone = 'UTC').

Read only

0 Likes
825

The email send me this appointment:

BEGIN:VCALENDAR

PRODID:-//SAP AG//R/3-620//S

VERSION:2.0

METHOD:REQUEST

BEGIN:VEVENT

ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=REQ-PARTICIPANT;

ORGANIZER;

DTSTART;VALUE=DATE:20101223

DTEND;VALUE=DATE:20101224

X-MICROSOFT-CDO-ALLDAYEVENT:TRUE

LOCATION:Lugar

UID:03949147220CFB478849929284722CC3@

STATUS:CONFIRMED

DTSTAMP:20101223T100708Z

SUMMARY:Titulo de la cita

CATEGORIES:Ausente

CREATED:20101223T100708Z

SEQUENCE:0

TRANSP:OPAQUE

PRIORITY:5

CLASS:PUBLIC

DESCRIPTION:Test de Prueba

END:VEVENT

END:VCALENDAR

Read only

Former Member
0 Likes
825

I find it!!

  • Make this an all day event

*lo_appointment->SET_VIEW_ATTRIBUTES( SHOW_ON_TOP = 'X').