cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing stock to 3rd Party System

Former Member
0 Kudos

Hi,

We have an requirement we need to publish stock to 3rd party system.

We work with make to stock scenario.

After discussing with my MM consultant,we decided we need to create a reservation in the back ground once sales order is created.

So that we can publish stock to 3rd party system ,time on time basis.

Once Sales order  for 10 qty .I reserved the stock through MB21  against sales order  with 231 movement type.

In MMBE i could see reservation.

In the RESB table i could see the reservation. Intially it was 0 after reservation it is 10

Our ultimate thing is ,if the opening stock is 100 qty

When sales order is created for 10 qty.

Now available open quantity is =100-10=90 qty this is what we need to publish to 3rd party system.

Even if i do PGI for 10 qty,still the reservation shows as 10.

I believe once  PGI is done reservation for particular material should come down as 0.But still it remains the same 10.

The reason why we assumed this is ,we will create the delivery note only based on Requested delivery date or PGI date.As the stock sent to 3rd party system will help in booking order,once order is booked in 3rd party we will recreate the order in SAP.And we will publish fresh stock position to 3rd party system.

Is there any Movement Type which will reduce reservation during PGI.Also this would help me.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Found that

BAPI_RESERVATION_CREATE1

BAPI_TRANSACTION_COMMIT

Can be used to create Reservation.

After PGI

We can delete reservation through

BAPI_RESERVATION_DELETE

BAPI_TRANSACTION_COMMIT


Also tested the same in system.