Show TOC

App Extensibility: My ContactsLocate this document in the navigation structure

Use

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

Example

To add the preferred communication method to the contact details, 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

ContactDetails.view.xml

extContactDetailsInfo

CRM_BUPA_ODATA

CRMT_BP_ODATA_ADDRESS_INCL

Superclass: CL_CRM_BP_ODATA_RT_ADDRESS

Method: READ_ADDRESSES_FOR_PARTNER

For information about extending the My Contacts app, including detailed steps and an example of how to show only contacts with the role Contact Person, see the Extension Guide provided with SAP Note 2016653 Information published on SAP site.

Back-End Extensibility

Extension Includes

The following extension includes are available:

DDIC Structure

Extension Include

Use

CRMT_BP_ODATA_ACCOUNT

CRMT_BP_ODATA_ACCOUNT_INCL

Accounts

CRMT_BP_ODATA_ADDRESS

CRMT_BP_ODATA_ADDRESS_INCL

Address data

CRMT_BP_ODATA_CONTACT

CRMT_BP_ODATA_CONTACT_INCL

Contacts

CRMT_BP_ODATA_ATTACHMENT

CRMT_BP_ODATA_ATTACHMENT_INCL

Attachments

CRMT_BP_ODATA_NOTE

CRMT_BP_ODATA_NOTE_INCL

Notes

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.

OData Services

If you use the app in offline mode, the wrapper service CRM_ODATA calls the app-specific OData service CRM_BUPA_ODATA internally. Therefore, if you extend the CRM_BUPA_ODATA service and use the app offline, you must ensure that the wrapper service CRM_ODATA takes these extensions into account.

You register your additional or extended entities in Customizing for SAP CRM, under Start of the navigation path Customer Relationship Management Next navigation step Master Data Next navigation step Business Partner Next navigation step Settings for "My Accounts" and "My Contacts" Apps Next navigation step Register Extensions for CRM OData Service End of the navigation path .

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.