after a leave request is approved, we want to make a calendar entry in outlook. We find the class CL_APPOINTMENT. On the whole it works, but we are not able the change the "show as" property. The appointment should appear as absent in the calendar of the leave requester. Every leave request has to be confirmed by a deputy and this one should also have a calendar entry which should be shown as free. The problem is that every calendar entry is shown as busy.
We tried to use the method u201Cset_busy_valueu201D, but there aren't any changes if you forwarded another value to this method.
Perhaps there is a better way to create a calendar entry in outlook. The problem with the class CL_APPOINTMENT is that the appointment has to be confirmed in outlook. Is there an easier way to create an event directly in the calendar?