You can extend My Shopping Cart app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
To add a customer field to the app, the following extensibility entities are available on the header area and the product 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) |
S3.view.app.xml |
extMoreInfo1 |
Service: SHOPPING_CART Entity: Shoppingcart |
/SRMNXP/INCL_CUS_MINISC_HDR |
To add a customer field to the app, the following extensibility entities are available on the order 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) |
ShoppingcartCheckout.app.xml |
extMoreInfo2 |
Service: SHOPPING_CART Entity: ShoppingcartItem |
/SRMNXP/INCL_CUS_MINISC_ITM |
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 use this BAdI to enhance the gateway service model 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 |
---|---|
ShoppingCartCheckout.controller.js |
|
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 .
For a general description of the extensibility options and procedures of SAP Fiori apps, see http://help.sap.com/fiori_implementation .