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

Create Batch Class in Material Master

Former Member
0 Likes
1,072

I need to create the Batch class for n number of materials.

I am using the BAPI BAPI_OBJCL_CHANGE but it is not createing the Class. It says no Batch exists.

There are no Batches created for the Materials which FM or BAPI can be used to create the Batch Class which don't have the Batches.

I tried manually though MM02 it is working like for class 023 Class FERT03 it is createing but not via BAPI BAPI_OBJCL_CHANGE.

4 REPLIES 4
Read only

Former Member
0 Likes
603

any clues ???

Read only

0 Likes
603

Hi,

Check the BAPI ->BAPI_CLASS_CREATE (Read the documentaion of it).

Regards,

Nagaraj

Read only

Former Member
0 Likes
603

Hi Abhishek

I had a simillar isssue last year trying to create an equipment class. I had to finally use bdc.

Why dont u try to use bdc on mm02, or if u 've that much of patience u can debug mm02 to see how its being done in sap.

Best of luck.

Read only

Former Member
0 Likes
603

Created BDC to solve this