Show TOC

App Extensibility: Count StockLocate this document in the navigation structure

Use

You can extend the Count Stock app according to your business needs for different aspects. For this purpose, the following extensibility options are available:

  • You can add new fields to enhance information displayed about the inventory in the following views:

    • Inventory Count List view

    • Header section of the Inventory Details view

    • Product list section of the Inventory Details view

    • Inventory Count List view and header section of the Inventory Details view in the Manage Stock Counting app

  • You can add a new column to the table in the Inventory Details view in the Manage Stock Counting app

  • You can change the default value of the maximum number of items to be displayed in the Inventory Count List

  • You can integrate your own scanning implementation

Further Extensibility Entities

Business Add-Ins (BAdIs)

The following Business Add-Ins are available for extensibility purposes. In most cases they are used in conjunction with specific extensibility elements, such as extension hooks or points, to fully implement the desired extensibility feature. The BOM provides this information in the list of available extensibility elements for the app.

  • BAdI: Enhancement of Detail Header in Inventory Details Screen

    (RETAIL_ST_CS_CA_DETAIL_ENH)

    Allows you to enhance the information that is displayed for an inventory item that an associate selects to count in the Count Stock app

  • BAdI: Enhancement of Information in Inventory Count List Screen

    (RETAIL_ST_CS_CA_HEADER_ENH)

    Allows you to provide additional information about inventory items displayed in the Inventory Count List screen in the Count Stock app

  • BAdI: Enhancement of Item Information in Inventory Details Screen

    (RETAIL_ST_CS_CA_ITEM_ENH)

    Allows you to provide additional information for products in the Inventory Details screen in the Count Stock app

  • BAdI: Enhancement of Information in Manager App Inventory Count List Screen

    (RETAIL_ST_CS_CA_HEADER_MGR_ENH)

    Allows you to provide additional information about inventory items displayed in the Inventory Count List screen and to enhance the information displayed for an inventory item in the Inventory Details screen in the Manage Stock Counting app

  • BAdI: Enhancement of Product Information in Manager App

    (RETAIL_ST_CS_CA_PRODUCT_ENH)

    Allows you to provide additional information about products in the Inventory Details screen in the Manage Stock Counting app

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.

To plug in and execute custom code to extend various features in the app, the following hooks are available in the controller code:

Controller

Hook

Use

CountingActivities.Controller.js

extHookGetCountingActivityListSizeLimit

Allows you to change the default value of the maximum number of items to be loaded to the Inventory Count List from the back-end system

BarcodeScanHandler.js

utilityExtHookOnBarcodeScanHandler

Allows you to connect a barcode scanning device to the application

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.