Show TOC

App Extensibility: My AppointmentsLocate this document in the navigation structure

Use

You can extend My Appointments according to your business needs for different aspects.

Example

To add an attribute in the header area, the following extensibility entities are available on the different layers. You have to extend each of these entities according to your specific business needs:

UI

Back End/ABAP

View

Extension Point

Design Time: Gateway Entity

Design Time: Extension Include (in DDIC Structure)

Run Time: Superclass and Method to be Redefined

NewAppointment.view.xml

extensionEditHeader

Appointment

CRM_APPOINT_ODATA_INCL

CRMS_APPOINTMENT_ODATA

For more information about extension hooks and extension points for the My Appointments app, visit the SAP Fiori apps reference library at https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html?appId=F0005.

Note To display the extensibility information about the My Appointments app in the SAP Fiori apps reference library, click the IMPLEMENTATION INFORMATION tab on the App Details page that is displayed.
Back-End Extensibility

Business Add-Ins (BAdIs)

The following BAdI is available for extensibility purposes:

  • CRM_APPT_ODATA_BD in enhancement spot CRM_APPT_ODATA_ENH

You can use this BAdI to define your own logic for reading, creating, or changing appointments. This is necessary if, for example, you want to add your own fields, or use different processing logic for existing fields.

You call the BAdI using transaction SE18.

Note For create and update scenarios, use the new BAdI method UPDATE_APPOINTMENT_DETAILS instead of the old BAdI method UPDATE_APPOINTMENT.

OData Services

When you use the My Appointments app in offline mode, the wrapper service CRM_ODATA calls the app-specific OData service CRM_BUPA_ODATA internally. If you extend this service and use the app in offline, you must ensure that the wrapper service CRM_ODATA takes your extensions into account.

Register your additional or extended entities in Customizing for SAP CRM, under Start of the navigation path Customer Relationship Management Next navigation step Transactions Next navigation step Settings for Activities Next navigation step Define Settings for "My Tasks" and "My Appointments" Apps Next navigation step Register Extensions for CRM OData Service End of the navigation path.

The CRM_ODATA service is available as of the following backend releases:

  • SAP Enhancement package 4 (SP02) for SAP CRM 7.0

  • SAP enhancement package 3 (SP12) for SAP CRM 7.0

Front-End Extensibility

Extension Points

If there are additional fields available in the OData service, you can display these fields on the UI. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step Extension Points End of the navigation path.

UI Controller Hooks

If there are additional UI controller hooks available in the controller code, you can add own code. For more information, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step UI Controller Hooks End of the navigation path.

Display of UI Controls

For more information about hiding UI controls, see the extensibility documentation for the respective SAP NetWeaver release on your front-end server at http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori Next navigation step Extending the UI Layer Next navigation step UI Extensibility Workflow Next navigation step  Next navigation step Checking the SAP-Enabled Extension Options Next navigation step Hiding UI Controls End of the navigation path.

More Information

For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation Start of the navigation path Extensibility Information for SAP Fiori End of the navigation path.