Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

Cancel an appointment using CL_APPOINTMENT

$
0
0

I am trying to cancel an already sent appointment to outlook from SAP, as below, trying to create ICS file as an attachment to CL_BCS, refering to below link

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/209e4aee-3743-2e10-4190-e075c38889a3?quicklink=index&overridelayout=true

 

lv_row = 'BEGIN:VCALENDAR'.

lv_cnt_nn = strlen( lv_row ).

concatenate '0' lv_cnt_nn lv_blank_tt lv_row into lv_row RESPECTING BLANKS.

append lv_row TO lt_attachment.

 

lv_row = 'VERSION:2.0'.

lv_cnt_nn = strlen( lv_row ).

concatenate '0' lv_cnt_nn lv_blank_tt lv_row into lv_row RESPECTING BLANKS.

append lv_row TO lt_attachment.

 

lv_row = 'PRODID:-//SYFADIS//PORTAIL FORMATION//FR'.

lv_cnt_nn = strlen( lv_row ).

concatenate '0' lv_cnt_nn lv_blank_tt lv_row into lv_row RESPECTING BLANKS.

append lv_row TO lt_attachment.

 

 

lv_row = 'METHOD:CANCEL'.

lv_cnt_nn = strlen( lv_row ).

concatenate '0' lv_cnt_nn lv_blank_tt lv_row into lv_row RESPECTING BLANKS.

 

 

In between this I try to append the body text using, DESCRIPTION: keyword.

But I am unable to add multiple lines with line break, in body text, although there seems to limitation of 255 chars in single line ?

Any idea how to implement it. I tried search on forum but no luck !


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>