Show TOC

App Extensibility: Track Shopping CartsLocate this document in the navigation structure

Use

You can extend Track Shopping Carts according to your business needs for different aspects. For this purpose, the following extensibility options are available:

Extensibility Option 1

To add a customer field to the app, the following extensibility entities are available on the shopping cart header and shopping cart details screen. 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)

S2.view.xml

extMoreAttr

Service: ORDERTRACK_SERVICE

Entity: OrderTrack

  • INCL_EEW_PD_HEADER_CSD_SC

S3.view.xml

extMoreInfo

Service: ORDERTRACK_SERVICE

Entity: OrderTrackItem

  • INCL_EEW_PD_ITEM_CSD_SC

Extensibility Option 2

To add a customer field to the app, the following extensibility entities are available on the shopping cart item details screen. 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)

ItemDetail.view.xml

extMoreInfo

Service:SRMSHOPPING_CART

Entity:SRMShoppingCartItemData

  • /SRMNXP/S_SC_ITEM_DETAILS_META

  • /SAPSRM/S_CLL_WD_SC_I_BD

  • /SRMNXP/INCL_LIMIT_ITM

  • /SRMNXP/INCL_LIMIT_ITM_META

  • /SRMNXP/S_CONCURRENCY_DATA

Note

The extension includes mentioned above are specific to the Track Shopping Cart app. For information on extension includes specific to SRM <release> and SRM UI Add-On 1.0, refer to the relevant extensibility documentation.

Additional Extensibility Entities

Business Add-Ins (BAdIs)

The following BAdIs are available for extensibility purposes:

  • /SRMNXP/BD_CHANGE_DATA

    You can use this BAdI to modify the data that you want to display on the UI.

  • /SRMNXP/BD_ENHANCE_MODEL

    You can be use this BAdI to enhance the Gateway service models and add fields to the UI.

UI Controller Hooks

To plug in and execute custom code, the following hooks are available in the controller code:

Controller

Hook

Use

S2.controller.js

extHook1

Allows you to modify or add fields to the list of shopping carts displayed

extHookInit

Allows you to modify the filters used to retrieve shopping carts

S3.controller.js

extHook2

Allows you to modify or add fields related to the general information of a shopping cart

ItemDetail.controller.js

extHook3

Allows you to modify or add fields related to the item details of a shopping cart

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.

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.