Show TOC

Function documentationTransfer of Inventory Return and Component Scrap Data Locate this document in the navigation structure

 

This function enables the transfer of inventory data from SAP ME to SAP ERP using the MB_CREATE_GOODS_MOVEMENT (BAPI_GOODSMVT_CREATE) BAPI.

This function is used to return excess floor stock inventory to SAP ERP Central Stores within a specific plant, to return unused materials issued to a specific production order and to report component scrap quantities without reference to a specific production or planned order (see Goods Movement).

Integration

  • SAP ERP is the system of record for inventory management; SAP ME is the system of record for floor stock management (see Inventory ID).

  • SAP MII is used as the connector between the SAP ME Maintain Inventory activity and SAP ERP inventory control process for returning inventory and scrap.

Prerequisites

SAP ME
  • You have installed and configured the SAPMEINT subcomponent.

  • When the inventory data was initially received from SAP ERP, you specified floor storage location FLOOR_STR_LOC of components as Data to Collect on Inventory Receipt.

  • You have reviewed activity rule settings for Maintain Inventory in Activity Maintenance (see Maintain Inventory).

  • You have verified that reason codes that begin with the proper prefix were created:

    • RTN- for return to inventory (goods movement type 262 or 312)

    • SCR- for component scrap (goods movement type 551)

    For more information, see Reason Code Maintenance.

  • You have verified that the following custom data fields for the Reason Code category were created:

    • CENTRAL_STR_LOC

      For each reason code, set this value to the desired SAP ERP storage location for inventory returned from SAP ME

    • COST_CENTER

      For each reason code, set this value to the desired SAP ERP cost center for inventory returned from SAP ME

    For more information, see Custom Data Maintenance.

SAP ERP

You have created a cost center for reporting material scrap quantities.

Activities

  • When you decrease the value of the Qty on Hand field for an inventory ID, enter a reason code, and choose Save in SAP ME Maintain Inventory, SAPMEINT sends a message to SAP ERP using MB_CREATE_GOODS_MOVEMENT (BAPI_GOODSMVT_CREATE).

    If the reason code has the prefix RTN-, the component quantity is returned to SAP ERP Central Stores. If the reason code has the prefix SCR-, the component quantity is scrapped.

  • A material document is created to confirm the corresponding goods movement in SAP ERP:

    • Component return to stock with reference to the production order (goods movement type 262 — Goods issue to a production order — reversal)

    • Component return to stock without reference to the production order (goods movement type 312 — Transfer posting storage location (one step))

    • Component scrap without reference to the production order (goods movement type 551 — Goods issue for scrapping: scrap to a cost center)