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,