cancel
Showing results for 
Search instead for 
Did you mean: 

Error VL045 (The sales order is currently being processed) - Different OD's based on same SO

mario_maisto
Participant
0 Kudos
878

Hi!

I am facing a problem when trying to edit two different outbound deliveries (different shipping points) that are based on the same sales order. When trying to edit the second OD in VL02n, the GUI shows me an error of 'The sales order &1 is currently being processed by &2' (error code VL045).

Is there a way to bypass this for there is a requirement that two different users can edit those deliveries simultaneously?

Best regards,

Mario

View Entire Topic
DominikTylczyn
Active Contributor
0 Kudos

Hello mario.maisto

I don't think there is any workaround. A change to a delivery may also lead to a change of the corresponding sales order. Therefore when you change a delivery, SAP also locks the sales order.

Best regards

Dominik Tylczynski

mario_maisto
Participant

Hi Dominik!

Thank you for your answer. As a workaround I implemented my own code that checks the enqueue locks and if another user is currently holding the lock, the solution waits for a given time until the lock is released.

Best regards,

Mario