Showing results for 
Search instead for 
Did you mean: 

Middleware: Change sales order status

Former Member
0 Kudos


I am trying to change the status of a sales order within the middleware.

For manupulation of the data I use a custom implementation

of 'CRM_DATAEXCHG_BADI' and there the interface 'CRM_DATAEXCH_R3D_MBDOC_FILL'.

Is interface is called after the MBDOC is filled.

So now I like to change the status of the sales order in that BDOC. I use the table 'STATUS' within the structure ct_bus_trans_msg. This is working fine as long as there is just one action on side of R3, e.g. created delivery for order.

However, when I create a delivery and PGI in R3, I am not able to set the status for my sales order. Worst I do not even see where the status is set by the R3.

Thanks for any help on this topic,


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Tim, I am wondering what is the origin of the sales order? I assume the order was created in CRM and PGI'd in ECC. If so which version of CRM are you running since tthere can be an issue with the changebility of the order in a different system. Tiest.