on 06-17-2011 3:29 PM
Hello,
Is anyone using the Learning Solution Request-Based Correspondence with either vCalendar attachments and Microsoft Outlook 2010?
Our company recently moved from Microsoft Outlook 2003 to Microsoft Outlook 2010. None of our vCalendar attachments work since we have moved to Outlook 2010. When we try to open the .VCS attachment, we receive an error message stating that it is not a valid Internet calendar file.
Has anyone been able to get these to work?
Any help would be greatly appreciated and will be awarded with points.
Thanks!
I was experiencing this same issue and have finally have it resolved with a code recommendation from SAP. Hopefully you have already performed all the actions as outlined in this document:
http://aspireopenmic.com/2011/06/29/lso-outlook-calendar-requests-as-attachments/
However this does not work with Outlook 2007/2010 - only with Outlook 2003. I had to do this additional work:
1) Copy Class CL_LSO_CRP_RENDER_EXAMPLE to ZCL_LSO_CRP_RENDER_EXAMPLE
2) Edit the method CREATE_VCS of this new class.
- Comment all code out from this line onwards:
* BEGIN:VCALENDAR
ls_soli-line = 'BEGIN:VCALENDAR'.
APPEND ls_soli TO lt_soli.
.......
* Add CR/LF
LOOP AT lt_soli ASSIGNING <fs_soli>.
<fs_soli>-line+253(2) = cl_abap_char_utilities=>cr_lf.
ENDLOOP.
3) Add this statement:
DATA: helpstring TYPE string.
4) Add the following code within the method:
* BEGIN:VCALENDAR
CONCATENATE 'BEGIN:VCALENDAR' cl_abap_char_utilities=>cr_lf
INTO helpstring.* BEGIN:VCALENDAR
CONCATENATE helpstring 'VERSION:1.0' cl_abap_char_utilities=>cr_lf
INTO helpstring.* BEGIN:VEVENT
CONCATENATE helpstring 'BEGIN:VEVENT' cl_abap_char_utilities=>cr_lf
INTO helpstring.* ORGANIZER
CONCATENATE helpstring 'ORGANIZER:MAILTO:' ls_data-sender-smail
cl_abap_char_utilities=>cr_lf
INTO helpstring.* ATTENDEE
CONCATENATE helpstring 'ATTENDEE;ROLE=ATTENDEE:' ls_data-astxt '<' ls_data-amail '> '
cl_abap_char_utilities=>cr_lf
INTO helpstring.* DTSTART
CONCATENATE helpstring 'DTSTART:' ls_data-kbgda 'T'
INTO helpstring.
IF NOT ls_data-kbtim IS INITIAL.
CONCATENATE helpstring ls_data-kbtim INTO helpstring.
ENDIF.
CONCATENATE helpstring
cl_abap_char_utilities=>cr_lf
INTO helpstring.* DTEND
CONCATENATE helpstring 'DTEND:' ls_data-kndda 'T'
INTO helpstring.
IF NOT ls_data-kbtim IS INITIAL.
CONCATENATE helpstring ls_data-ketim INTO helpstring.
ENDIF.
CONCATENATE helpstring
cl_abap_char_utilities=>cr_lf
INTO helpstring.* LOCATION
IF NOT ls_data-b_ort IS INITIAL OR NOT ls_data-rstxt IS INITIAL.
CONCATENATE 'LOCATION:' ls_data-b_ort ls_data-rstxt
INTO l_subject SEPARATED BY space.
CONCATENATE helpstring l_subject
cl_abap_char_utilities=>cr_lf
INTO helpstring.
ENDIF.* CATEGORIES
CONCATENATE helpstring 'CATEGORIES;ENCODING=QUOTED-PRINTABLE:EDUCATION'
cl_abap_char_utilities=>cr_lf
INTO helpstring.* CLASS
CONCATENATE helpstring 'CLASS:PUBLIC'
cl_abap_char_utilities=>cr_lf
INTO helpstring.* SUMMARY
CONCATENATE text-001 ls_data-kstxt INTO l_subject SEPARATED BY space.
CONCATENATE helpstring 'SUMMARY;ENCODING=QUOTED-PRINTABLE:' l_subject
cl_abap_char_utilities=>cr_lf
INTO helpstring.* DESCRIPTION
CONCATENATE helpstring 'DESCRIPTION:' l_subject
cl_abap_char_utilities=>cr_lf
INTO helpstring.* END:VEVENT
CONCATENATE helpstring 'END:VEVENT'
cl_abap_char_utilities=>cr_lf
INTO helpstring.* END:VCALENDAR
CONCATENATE helpstring 'END:VCALENDAR'
cl_abap_char_utilities=>cr_lf
INTO helpstring.
CALL METHOD CL_DOCUMENT_BCS=>STRING_TO_SOLI
EXPORTING
IP_STRING = helpstring
RECEIVING
RT_SOLI = lt_soli.
5) Activate this class
6) Search for all occurances of where method CREATE_VCS is used within class CL_LSO_CRP_RENDER_EXAMPLE
7) Replace following statement:
lr_document = cl_lso_crp_render_example=>create_vcal( lr_reader ).
with:
lr_document = zcl_lso_crp_render_example=>create_vcal( lr_reader ).
This should resolve any problems now with the calendar attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karen,
Any solution for the working out the vcalender attachment even i am facing the same issue , i need .vcs or .ics attachment needs ti open in MS Outlook calender 2007 or 2010.
Please help me out if u find any solution or any turn around.
appreciates your help !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the firewall settings
Check it on machine that has no blocks (Administrator)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.