You are on page 1of 3

Inventory Visibility

Technical Information
Service Name InventoryVisibilityQueryResults

Calculation View sap.hba.t.rtl.car.int.v:: InventoryVisibilityQuery

Role sap.hba.t.rtl.car.int.roles::InventoryVisibility
 
The InventoryVisibilityQueryResults service retrieves information from the
following sources:
 Inventory information from SAP ERP
 Current material stock based on information calculated from SAP for Retail
and SAP Customer Activity Repository (SAP POS Data Transfer and Audit)
 Unprocessed sales in POSDTA will compare with inventory data which are
replicated from SAP ERP into HANA
 Inventory report will create using HANA view InventoryVisibilityQuery

Input Parameters
This service requires the following input parameters:
 P_SAPClient: A three-character SAP client identifier.

Example URL for calling the service


http://<domain-name>:<port-number>/sap/hba/t/rtl/car/int/odata/
CARServices.xsodata/InventoryVisibilityQuery(P_SAPClient='<client-number>')/
Results?$format=json&$filter=Article eq '<article-number>' and Location eq
'<location-number>'

Result
This service returns the following information:
Column Property Type

SAP Client Attribute


Column Property Type

Location Attribute

Plant Name Attribute

Plant Customer Number Attribute

Street Name Attribute

City Name Attribute

Postal Code Attribute

Region Attribute

Country Attribute

Material Base Unit Attribute

Unit Of Measure Commercial Name Attribute

Unit Of Measure Long Name Attribute

Article Attribute

Article Name Attribute

Unrestricted Use Stock Quantity Measure

In-Transit Stock Quantity Measure

In-Transfer Stock Quantity Measure

Total Valuated Stock Quantity Measure

Total Valuated at Cost Stock Value Measure

Total Valuated at Retail Stock Value Measure

Article Safety Stock Quantity Measure

Article Maximum Stock Level Quantity Measure

Article Minimum Safety Stock Quantity Measure

Cost per Stock Unit Measure

Sales Value per Stock Unit Measure

Current Stock Measure

Unprocessed Sales Quantity Measure


To perform inventory visibility analysis, SAP Customer Activity Repository
accesses inventory data stored in a source SAP ERP system. The table below
lists the SAP ERP inventory data that is required to perform inventory visibility
analysis.

Inventory Visibility Main SAP ERP Tables


Analysis

Inventory Visibility DD02L, DD02T, MARD, MBEW, T001K, T005, T005T, T134M, TCURC,
(General) TCURM, TCURT, TCURX
Cross Company EKET, EKKO, EKPO, DD02L, DD02T, MBEW, T001K, TCURM
Stock In Transit

SAP Customer Activity Repository includes functionality that allows you to


achieve a near real-time view on inventory in your business. Typically, your
inventory information is stored and managed in your SAP ERP source system.
Some examples of how inventory counts in SAP ERP are updated include:

 Processing of sales documents: sales documents include information


on what items and in what quantity are sold, and the inventory counts
are adjusted accordingly.
 In-store operations, such as the entry of a goods receipt: as the
store receives goods, the inventory counts are increased by the
received amount.
 POS transaction sales data received from SAP POS DM or SAP
Customer Activity Repository: data on what items and in what
quantity are sold in brick-and-mortar stores is posted to SAP ERP at
regular intervals. SAP ERP inventory counts are updated accordingly.
This particular type of update does not necessarily occur frequently
enough to obtain a near real-time view on your current inventory.

You might also like