Application Development 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: 

Profit Center BAPI : BAPI_PROFITCENTER_CHANGE

0 Kudos
1,042

Dear all ,

I am facing issue of User Locked with BAPI  "BAPI_PROFITCENTER_CHANGE" ,

When the first time EDIT record comes it Edited and Committed  but next record for same Profit Center Comes it shows USER LOCKED ,

Please suggest me how to handle this situation.

Thanks in advance .

3 REPLIES 3

SimoneMilesi
Active Contributor
0 Kudos
168

Are you passing LOCK_IND flags?

Which data are you trying to update?

Did you put COMMIT after the first bapi?

0 Kudos
168

Hi Simone ,

Yes I am passing LOCK_IND .

DATA , any changes related to Profit center.

Yes I have put COMMIT .

0 Kudos
168

Then it's correct the behavior!

If you lock the Profit center, then you cannot change it without unlocking!