Skip to Content
avatar image
Former Member

Sending outlook meeting request from SAP

Dear All

I used the below link to send the microsoft outlook meeting request from SAP
https://wiki.scn.sap.com/wiki/display/Snippets/SAP+ABAP+to+Outlook+Calendar+Entry

everything working fine except the time which iam passing not reflecting in outlook.

below are lines of code which i have used for displaying date and time in outlook

CONCATENATE 'DTSTART:' p_begda 'T140000Z' INTO ls_soli-line. APPEND ls_soli TO lt_soli. CONCATENATE 'DTEND:' p_endda 'T220000Z' INTO ls_soli-line.

please help in this regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 11, 2017 at 05:31 AM

    Can you elaborate on "not reflecting in Outlook?"

    The "Z" in the time usually means UTC, see https://www.w3schools.com/xml/schema_dtypes_date.asp, so this might explain a different time than 14 showing up in outlook, if this is the problem?

    Add comment
    10|10000 characters needed characters exceeded

    • If 04:00 is 04:00 PM, then your time is UTC+4:

      DATA date TYPE d VALUE '20171111'. " time given in UTC+4
      DATA time TYPE t VALUE '120000'. " time given in UTC+4
      DATA timestamp TYPE timestamp.
      " 2017/11/11 14:00:00 being expressed in UTC+4, convert it into UTC timestamp
      CONVERT DATE date TIME time INTO TIME STAMP timestamp TIME ZONE 'UTC+4 '.
      " convert the UTC timestamp into date and time expressed in UTC (blank time zone)
      " (i.e. no conversion)
      CONVERT TIME STAMP timestamp TIME ZONE '      ' INTO DATE date TIME time.
      ASSERT date = '20171111' AND time = '080000'.

  • avatar image
    Former Member
    Nov 11, 2017 at 03:53 PM
    -1

    Thanks Sandra for helpful reply.

    now i can able to display the selected time but instead of 11:00 AM its displaying as 11:00 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2017 at 07:12 AM
    -1

    Dear Sandra,

    how to default the Invite attendees now iam getting as attachment on opening i can save the appointment

    but client wants to send as invitation to attendees.

    Add comment
    10|10000 characters needed characters exceeded