Skip to Content
avatar image
Former Member

Material Master locking during automation of Goods Movement using SAP PI

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • 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

    and

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

    Add comment
    10|10000 characters needed characters exceeded

  • 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.

    SET UPDATE TASK LOCAL

    Best Regards,

    Add comment
    10|10000 characters needed characters exceeded