Show TOC

App Extensibility: Simulate Sales Pipeline Locate this document in the navigation structure

Extensibility information for SAP Fiori app.

You can extend the app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
  • You can add new standard or custom fields to view additional details of an opportunity.

Extensibility of the Opportunity Details Popover (S1)

To <add a customer field to the app, for example>, 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

Run Time: Superclass and Method to Be Redefined

opportunityPopover.fragment.xml

extOpportunityPopover

(to add fields at the beginning)

Opportunity

CRMT_ODATA_SPS_OPP_EXPAND_INCL

CL_CRM_SALESPIPELINE_S_DPC_EXT

extOpportunityPopoverEnd

(to add fields at the end)

Further Extensibility Entities

Business Add-Ins (BAdIs)

The following Business Add-Ins are available for extensibility purposes:

  • <BAdI Name 1> (<Technical name>)

    You can use this BAdI to...

Extension Includes

In addition to the extension includes described above, the following extension includes are available:

DDIC

Extension Include

Use

CRMT_ODATA_SPS_OPPORT_HEADER

CRMT_ODATA_SPS_OPT_HEADER_INCL

Allows you to extend the Opportunity entity

CRMT_ODATA_SPS_OPPORT_SALESTG

CRMT_ODATA_SPS_SALESTG_INCL

Allows you to extend the Sales Stage entity

CRMT_ODATA_SPS_ACCOUNTS

CRMT_ODATA_SPS_ACCOUNTS_INCL

Allows you to extend the Account entity

CRMT_ODATA_SPS_CURRENCY

CRMT_ODATA_SPS_CURRENCY_INCL

Allows you to extend the Currency entity

CRMT_ODATA_SPS_DATE_RANGES

CRMT_ODATA_SPS_DATE_RANGE_INCL

Allows you to extend the Date Range entity

CRMT_ODATA_SPS_EMP_RESP

CRMT_ODATA_SPS_EMP_RESP_INCL

Allows you to extend the Employee Responsible entity

CRMT_ODATA_SPS_OPPORT_STATUS

CRMT_ODATA_SPS_STATUS_INCL

Allows you to extend the Status entity

CRMT_ODATA_SPS_OPPORT_TEAM

CRMT_ODATA_SPS_OPPRT_TEAM_INCL

Allows you to extend the Team entity

CRMT_ODATA_SPS_SETTINGS

CRMT_ODATA_SPS_SETTINGS_INCL

Allows you to extend the Settings entity for the app

CRMT_ODATA_SPS_USRSTATUS_CODES

CRMT_ODATA_SPS_USR_STATUS_INCL

Allows you to extend the Opportunity Status Code entity

CRMT_ODATA_SPS_OPPORT_EXPAND

CRMT_ODATA_SPS_OPP_EXPAND_INCL

Allows you to retrieve information about related entities, based on your requirement.

For more information about extension includes, 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 Includes End of the navigation path.

Extension Points

For <business case>, for example, the following extension points are available:

View

Extension Point

Use

<DDIC>

<Extension point>

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

To plug in and execute custom code to <business case>, for example, the following hooks are available in the controller code:

Controller

Hook

Use

S1.controller.js

extHookOpportunityPopover

Allows you to set data to additional fields that you want to display directly. This is called when you select the bubble in the Sales Pipeline.

@return {void}

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

As an example, the following UI controls can be hidden from the app UI:

View

Control ID

Use

changeLogDialog.fragment.xml

changeLogHeader

Allows you to view the list of changes to the opportunity pipeline.

changeLogDialog.fragment.xml

cbAllChanges

Allows you to select all the changes made to the opportunity pipeline.

changeLogDialog.fragment.xml

saveBtn

Allows you to save selected changes to the opportunity pipeline.

changeLogDialog.fragment.xml

discardBtn

Allows you to discard selected changes to the opportunity pipeline.

opportunityPopover.fragment.xml

upBtn

Allows you to move between opportunities that are close to each other on the chart.

opportunityPopover.fragment.xml

downBtn

Allows you to move between opportunities that are close to each other on the chart.

opportunityPopover.fragment.xml

OppDescription

Allows you view the description of an opportunity.

opportunityPopover.fragment.xml

accName

Allows you view the account name of an opportunity.

opportunityPopover.fragment.xml

mainContact

Allows you view the main contact of an opportunity.

opportunityPopover.fragment.xml

mainContactName

Allows you view the name of the main contact of an opportunity.

opportunityPopover.fragment.xml

mcEmail

Allows you view the email of the main contact of an opportunity.

opportunityPopover.fragment.xml

mcPhone

Allows you view the phone number of the main contact of an opportunity.

opportunityPopover.fragment.xml

empResp

Allows you to view the employee responsible for the opportunity.

opportunityPopover.fragment.xml

empRespName

Allows you to view the name of the employee responsible for the opportunity.

opportunityPopover.fragment.xml

empRespEmail

Allows you to view the email of the employee responsible for the opportunity.

opportunityPopover.fragment.xml

empRespPhone

Allows you to view the phone number of the employee responsible for the opportunity.

opportunityPopover.fragment.xml

d1

Allows you to maintain the start date of an opportunity.

opportunityPopover.fragment.xml

calStart

Allows you to select the start date of an opportunity.

opportunityPopover.fragment.xml

d2

Allows you to maintain the end date of an opportunity.

opportunityPopover.fragment.xml

calEnd

Allows you to select the end date of an opportunity.

opportunityPopover.fragment.xml

expRevId

Allows you to maintain the expected volume.

opportunityPopover.fragment.xml

wgtRevId

Allows you to display the weighted volume.

opportunityPopover.fragment.xml

forecastId

Allows you to maintain whether the opportunity is relevant for forecast.

opportunityPopover.fragment.xml

chanceOfSucc

Allows you to maintain the chance of success.

opportunityPopover.fragment.xml

salesStage1

Allows you to select the sales stage.

opportunityPopover.fragment.xml

status1

Allows you to select the sales status.

opportunitySlider.fragment.xml

opportunitySlider

Allows you to filter opportunities based on revenue.

opportunitySlider.fragment.xml

exLostCheck

Allows you to exclude opportunities that are lost.

opportunitySlider.fragment.xml

exWonCheck

Allows you to exclude opportunities that are won.

S1.view.xml

objectHeader

Allows you to display the text to describe the target.

S1.view.xml

objectStatus

Allows you to display the revenue achieved.

S1.view.xml

pg

Allows you to display the progress of revenue achieved.

S1.view.xml

sSP1

Allows you to select the different time-based pipeline views.

S1.view.xml

chart_sim

Allows you to view the opportunity pipeline on the chart.

S1.view.xml

name

Allows you to expand or contract the time period of the pipeline.

S1.view.xml

butChangelog

Allows you to view the changes made to the chart.

S1.view.xml

butSave

Allows you to save the changes made to the chart.

S1.view.xml

butReset

Allows you to reset the changes made to the chart.

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.