Skip to Content
avatar image
Former Member

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 03, 2015 at 01:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded