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

enque and deque for bapi_objcl_change

Former Member
0 Likes
707

I am using the FM bapi_objcl_change. I have to use the enque and deque for that FM but i do not know which tables are being updated with that FM . How do i do that?

I am using the FM bapi_objcl_change. I have to use the enque and deque for that FM but i do not know which tables are being updated with that FM . How do i do that?

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
637

You don't have to worry if you use any BAPI.. because BAPI will take care of the enque/ deque stuff.

Regards,

Naimesh Patel

Read only

0 Likes
637

I am still getting that error .

Read only

0 Likes
637

If you are calling the transaction multiple times (with a loop say), then it's possible that the previous locks have not released completely for the next bapi call. After each bapi call, when you commit, try:

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait   = 'X'   "<=======
  IMPORTING
    return = ret_tab.

Rob