Ansicht
Dokumentation

/SCWM/R_PI_STOCK_DWNLD - Download Storage Bins and Count Data

/SCWM/R_PI_STOCK_DWNLD - Download Storage Bins and Count Data

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use this report to select physical inventory-relevant data in Extended Warehouse Management (EWM) and download it to a file, so that it can be used by an external physical inventory system.

Integration

The structure of the upload file is defined by the structure /SCWM/S_PI_STOCK_DWNLD. This structure is also used in the transaction Upload Storage Bins and Count Data.

Prerequisites

You have enabled the physical inventory procedure ES, for product-based physical inventory, and EL, for location-based physical inventory, in Customizing for the selected physical inventory area under Extended Warehouse Management -> SCM Basis -> Physical Inventory -> Basic Settings -> Define Physical Inventory Area.

If you are using decentralized EWM based on SAP S/4HANA, you have determined and set the prices from the connected enterprise management system (for example, SAP S/4HANA or SAP ERP). On the launchpad, choose Extended Warehouse Management> Physical Inventory> Periodic Processing> Determine and Set Prices from ERP.

Features

Selection

Standard Variants

Output

The report downloads this data as a CSV or XLS data file to a PC or as a CSV data file to a server, so that it can be used by an external system.

For download to a server, the logical file name EWM_PI_DOWNLOAD is used. For more information, see Customizing activity Cross-Client Maintenance of File Names and Paths.

Within this step, the fields QUAN (Book Inventory Quantity), UNIT (Base Unit of Measure), VPRSV (Price Control Indicator), VERPR (Moving Average Price/Periodic Unit Price), and WAERS (Currency Key) are filled for product-based physical inventory.

The report produces only one line for stock in a bin that has the same stock attributes. This can happen if there are multiple HUs with the same stock in one bin. As the HU information is not downloaded, the quantities of the stock are accumulated. If there are different alternative units of measure (UoMs) for stock with the same attributes in one bin, the quantity is only returned in the base UoM.

Activities

Example






rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 2928 Date: 20240426 Time: 172254     sap01-206 ( 58 ms )