Skip to Content

Material Master locking during automation of Goods Movement using SAP PI

Jan 31 at 12:29 PM


avatar image

Dear expert,

I have a scenario. We are trying to automate goods movement happening at our plant.

Basically, we have a plant control system (PCS) whose backend is a sql database. Any goods movement happening at plant will create a record in the the database. Using SAP PI we are picking these records and trying to post Goods Movement in our ECC through different interfaces based on different processes.

The different processes are Goods Issue against a delivery, Goods Receipt against a delivery, PP Confirmations against a Process Order or Goods Receipt against a Purchase Order.

The issue we are facing is, for instance, ECC is receiving two messages at the same time say for instance one for Goods Issue against a delivery and another for PP Confirmation. If both the messages are trying to post respective Goods Movement then one message is failing with error as Material locked by user &. Where the user is the ECC user used by PI to connect to ECC.

I want to know if there is any way to avoid this situation.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Jan 31 at 01:31 PM

you can only put 2 trains on a single track if you put them behind each other.

Please see OSS note 1985306 - Performance guide for goods movements


2319579 - S4TWL - Performance optimizations within Material Document Processing - lock behavior and stock underrun protection

10 |10000 characters needed characters left characters exceeded
David Antonio Arroyo León Feb 01 at 06:50 PM

Hi Syed,

Are you calling any BAPI on proxy implementation from PI? If so, before call BAPI, try this sentences.


Best Regards,

10 |10000 characters needed characters left characters exceeded