cancel
Showing results for 
Search instead for 
Did you mean: 

Skip the Order Lock Check while using BAPI_PRODORDCONF_CREATE_TE

Former Member
0 Kudos

Hi,

I am using 'BAPI_PRODORDCONF_CREATE_TE' to create Time events for a confirmation and whenever the order linked to the confirmation is open ed in a different session in the 'Change' mode. The creation of Time events (ie by the BAPI) fails giving the error 'Order XXX is already locked by user XXX'. I have a requirement to skip this check so that even if the order is open the BAPI should still create the Time event.

Is this possible? Please let me know how to achieve this?

I found there is a importing field called 'POST_WRONG_ENTRIES' that could be helpful, but I am not able to make it work. Can someone shed some light on this as well.

Regards,

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Rahul, this is not possible in standard and you shouldn't do this at all.

For example you post a confirmation and in the meantime a user change the operation data. This would be an inconsistency. Or the assigned components, or the status of the order. All this would lead to inconsistencies as the confirmation would be done with other data than the order.

BR Sabine