Show TOC

Creating and Working with Appointments TemplateLocate this document in the navigation structure

This section will guide you to create a template for Appointments items, and to work with it in Microsoft Outlook.


Make sure that you have the URL of the OData service you want to use, and you have permissions in the SAP Gateway system to access the service.


To create the Appointments template, proceed as follows:


  1. Open the GWM Outlook 2010 Add-in or GWM Outlook 2013 Add-in wizard.
    The wizard opens the Select Template page.
  2. Choose Appointments in the list of items under Select Template and then enter a name for the template.
    A default name, Appointment01, is provided for the template. You can change the name.
    Note The template name field can take a maximum of forty characters. Only alphanumeric (numbers and letters) are allowed.
  3. Choose Next. The Select Service page opens.
  4. Enter the URL of the service in the Service URL field and click GO to access the service.
    You can choose Browse to connect to SAP Gateway system, and then select the OData service, GWDEMO in the Connection Service window.

    The Service Collections pane opens to display the list of collections, and a default name is generated for the proxy in the Proxy Name field. You can change the name of the proxy.

  5. Choose Next. The page displays the following 2 panes:
    • Service Collection:

      Displays the list of collections in the selected service. Select the collection you want from the list.

    • Collection Properties:

      Displays the list of properties in the selected collection. Icons indicate the create, update and delete capabilities supported in the collection.

  6. Select the collection of your choice, for example, TimeRecordingCollection in the Service Collections pane.
  7. Choose Next, the Map Properties page displays.
    To manually define the mapping between the properties of the service and the properties of the Appointment item, drag and drop the suitable property from the SAP Properties on the left to the field for the Outlook Property on the right.
  8. Choose Next; the Additional Properties page displays. In the Additional Properties page, you can add further customization, and view the associations defined in the service for navigation options..
  9. Click Next; the Project Summary page displays, and then click Generate Project. The wizard generates the project for your template. The generated code and resources display in the Solution Explorer of Visual Studio.

Working with the Appointment Template in Outlook


  1. Select the GWM Outlook add-in name from the Microsoft Outlook ribbon. For example, GWMOutlookadd-in1
  2. Click Start of the navigation path GetAll  Next navigation step  TimeRecording End of the navigation path to retrieve all the time recordings from the SAP system.
    The time recordings are fetched and displayed in the Microsoft Outlook details region.
  3. Double click on a time recording item to open it, and then do the following:
    1. If the service supports record edits, make changes to the appointment item and click Save&Close to save the changes to the appointment in the SAP system.
    2. If the service supports record deletion, delete the appointment.
  4. Click on the New Item button on the toolbar to create a new time recordings. This is the New Items label you had specified when creating the template.
    The create appointment window appears.
  5. After entering the details for new time recordings, click Save & Close to save the new appointment to the SAP system.