Show TOC

 Inventory Replication

 

To replicate the inventory data.

Technical Data

Entity Type

Service Operation

Software Component Version

RTLDDF 200

Release State

Released

Technical Name

InventoryTDMReplicationBulkRequest_In

Namespace

http://sap.com/xi/RTLDMF/Global2

Category

SAP A2A

Direction

Inbound

Mode

Asynchronous

Idempotency

Not applicable

Change/Update Behavior

Type 1

P2P Communication Enabled

True

Business Context and Use

The Replicate Inventory as Bulk service operation is used to replicate the inventory data, such as the amount of inventory by location.

Features

The inbound operation creates and updates the inventory data.

The operation includes the following main elements:

  • External Location Identifier

  • External Product Identifier

  • Sending System Identifier

    Defines the logical system.

  • Stock Type

    Defines the use of a certain stock quantity. Only free available stock is accepted.

  • Inventory Direction Movement Code

    Defines whether goods have been issued or received.

  • Stock Quantity

    Represents the stock quantity, which can be a positive number or 0 (zero).

  • Stock Quantity Unit of Measure

    Represents the unit of measure (UoM) for the supplied quantity.

  • Validity Date

    Represents the date when the stock has been calculated by the central stock management system.

Message Types
  • Inventory TDM Replication Bulk Request

Error Handling

The Replicate Inventory as Bulk operation supports the Forward Error Handling (FEH) concept.

Constraints

The following nodes and elements of the message type are not relevant:

Inventory

  • InventoryManagedLocationInternalID

Item

  • InventorySpecialStockTypeCode

  • SellerPartyInternalID

  • ProductRecipientPartyInternalID

Aggregation Overview (complete node is not relevant in the system)

  • MaterialInternalID

  • Description

  • InventoryUsabilityCode

  • InventoryUsabilityName

  • InventorySpecialStockTypeCode

  • InventorySpecialStockTypeName

  • Quantity

Notes on SAP Implementation

  • The generated proxy in DDF is the /DMF/CL_FND_INVRPLCTBLKRQ ABAP class. The proxy data type is used in DDF for the /DMF/FND_INV_TDM_RPLCT_REQ incoming bulk replication message.

  • The Service Implementation Workbench (SIW) is used to implement the service back-end system. The SIW uses the /DMF/II_FND_INVRPLCTBLKRQ project ID configuration name and the /DMF/CL_FND_INVRPLCTBLK_SI generated service implementation class.

  • DDF uses the Service Mapping Tool (SMT) for the inbound message mapping (/DMF/CL_INV_RPLCTN_SMT Mapping field).

Enhancements

The /DMF/SE_FND_INVRPLCTBLK Business Add-In (BAdI) is available for this operation. The BAdI contains the /DMF/IF_SE_FND_INVRPLCTBLK interface with the INBOUND_PROCESSING method.

The method is called during the inbound data mapping and can be used in the following cases:

  • To overwrite the existing mapping.

  • To map additional data if new elements were added to the message.

The /DMF/CO_INV_RPLCTN_REQ_MSG_S internal communication structure is used as the importing parameter for the method.

The Service Mapping Tool (SMT) allows you to enhance the inbound and outbound mapping. To enhance the mapping, you must select the /DMF/CL_INV_RPLCTN_SMT application as the entry point.