Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How Locks applied by BAPI

Former Member
0 Likes
670

There are many standard BAPI's in SAP like BAPI_SALESORDER_CHANGE. If this BAPI is used in application program, that can lock object or that sales order while changing sales order.

I would like to know how this BAPI locks sales order. Is it possible to see code which locks object or sales order, when trying to change sales order? How locks are applied when this BAPI is used?

Thanks in advance....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
577

Check the salesroder table. Identify the key and find the Lock Object in SE11 or SE12. Now find the ENQUEUE / DEQUEUE function modules from SE37 for that lock object.

2 REPLIES 2
Read only

Former Member
0 Likes
577

hi Yogesh ,

You Can Use the function BAPI_USER_LOCK

or Refer to the Below given Link

http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html

Read only

Former Member
0 Likes
578

Check the salesroder table. Identify the key and find the Lock Object in SE11 or SE12. Now find the ENQUEUE / DEQUEUE function modules from SE37 for that lock object.