You can extend My Leads according to your business needs for different aspects.
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.
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 .
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
.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
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 .
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 .
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 .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .