Skip the Order Lock Check while using BAPI_PRODORDCONF_CREATE_TE
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.