2010 Dec 23 9:32 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
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
2010 Dec 23 9:51 AM
Hi,
Instead of hardcoding the values , pass them to the repective variables and call the method.
Regards,
Srini.
2010 Dec 23 10:03 AM
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').
2010 Dec 23 10:10 AM
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
2010 Dec 23 10:50 AM
I find it!!
Make this an all day event
*lo_appointment->SET_VIEW_ATTRIBUTES( SHOW_ON_TOP = 'X').
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |