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 BAPI_OBJCL_DELETE works

Former Member
0 Likes
1,432

I am trying to delete the assigned class for a material. I am using Bapi 'BAPI_OBJCL_DELETE' and when i exectue the BAPI it returns the message that class is deleted successfully but when i view the material still the deleted class is assigned to the material. I dont know why the BAPI is returning that message. Any suggestions on how to delete the class for a material.

5 REPLIES 5
Read only

Former Member
0 Likes
1,032

Is there any Other FM or Method to delete a class which is assigned to a Material other than the above BAPI.

Read only

Former Member
0 Likes
1,032

Were you testing the BAPI in SE37 or in your program? Are you doing a BAPI_COMMIT after your bapi call? That might help.

Best Regards,

Chris H.

Read only

0 Likes
1,032

Got IT

Read only

Former Member
0 Likes
1,032

got it

Read only

Former Member
0 Likes
1,032

Could you please provide the details of the parameters which you have passed in the BAPI

BAPI_OBJCL_DELETE in order to delete the class?

Details of parameters like:::

OBJECTKEY

OBJECTTABLE

CLASSNUM

CLASSTYPE

Please help me in this