Hello team.
We are create 2 idocs using this function. One for Invoice and the other Sales Order.
This use a standard include (Enhancenment Object) to start the IDOC.
After to use the function MASTER_IDOC_DISTRIBUTE we call to the DEQUEUE_ALL and after the COMMIT WORK.
This is because we don't use this, the IDOC is not send inmediatly with status 53.
and have the Status 30.
Using the DEQUEUE_ALL and COMMIT WORK send the IDOC inmediatly.
Now we have the problem so exist lock in the system (sm12) and found this lock in the SM21
Lock entry deleted manually: BKPF E
Lock entry deleted manually: KNB1 S
Lock entry deleted manually: VBAK E
Lock entry deleted manually: VBRK E
Can we change the Status IDOC inmediatly?
Any Idea?
Best Regards