Show TOC

App Extensibility: My LeadsLocate this document in the navigation structure

Use

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

Example

To add a field at the top of the lead edit view, 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

S4.view.xml

leadEditContentTopExtension

Lead

CRMT_ODATA_LEAD_HEADER_INCL

CL_CRM_LEAD_DPC_EXT

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

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

Extension Includes

The following extension includes are available:

DDIC

Extension Include

Use

CRMT_ODATA_LEAD_ATTACHMENT

CRMT_ODATA_LEAD_ATT_INCL

Allows you to extend the Attachment entity for leads

CRMT_ODATA_LEAD_CHANGE_DOC

CRMT_ODATA_LEAD_CHANGEDOC_INCL

Allows you to extend the Change Document entity for leads

CRMT_ODATA_LEAD_NOTES

CRMT_ODATA_LEAD_NOTES_INCL

Allows you to extend the Note entity for leads

CRMT_ODATA_LEAD_STATUS

CRMT_ODATA_LEAD_STATUS_INCL

Allows you to extend the Status entity for leads

CRMT_ODATA_LEAD_ORIGIN

CRMT_ODATA_LEAD_ORIGIN_INCL

Allows you to extend the Origin entity for leads

CRMT_ODATA_LEAD_PRIORITY

CRMT_ODATA_LEAD_PRIORITY_INCL

Allows you to extend the Priority entity for leads

CRMT_ODATA_LEAD_QUAL_LEVEL

CRMT_ODATA_LEAD_QUALLEVEL_INCL

Allows you to extend the Qualification entity for leads

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.

Note

If you wish to redefine the OData classes to extend the app, then you have to use the following methods:

Scenario

Class

Method

Update

CL_CRM_LEAD_DPC_EXT

/IWBEP/IF_MGW_APPL_SRV_RUNTIME~PATCH_ENTITY

OData Services

When you use the My Leads 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 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 Leads Next navigation step Define Settings for the "My Leads" App 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.