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

grtting problem in BAPI_MATERIAL_MAINTAINDATA_RT Error : Lock error

Former Member
0 Likes
937

Hi gurus,

I am using BAPI_MATERIAL_MAINTAINDATA_RT BAPI for material creation for material creation but i am getting one error

Characteristics profile has been locked .

but before running my BAPI program nothing is locked in SM12 but after executing that bapi its automatically locked i am unable to understand that problem so can anybody tell me why i am getting this error in my BAPI its i have done lots of RND on that but nothing i found

so help me in this regards

Regards

ANkit

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
676

Hi,

This might be because we r trying to create and update the Characteristics profile of same material. I am not sure if this works for u. But give a try.

First create material. COMMIT AND WAIT. Then create Characteristics profile after the COMMIT using material change BAPI. This may work for u.

Thanks,

Vinod.

3 REPLIES 3
Read only

vinod_vemuru2
Active Contributor
0 Likes
678

Hi,

This might be because we r trying to create and update the Characteristics profile of same material. I am not sure if this works for u. But give a try.

First create material. COMMIT AND WAIT. Then create Characteristics profile after the COMMIT using material change BAPI. This may work for u.

Thanks,

Vinod.

Read only

0 Likes
676

again i am gettin eror characterstics profile status is locked

i also used deque_all and bapi_transaction_commit

Read only

Former Member
0 Likes
676

Thnx it resolved actully sd category should be norm and functional person defined samm