‎2009 Oct 07 10:39 AM
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.
‎2009 Oct 07 11:10 AM
‎2009 Oct 07 11:17 AM
Hi,
Check the BAPI ->BAPI_CLASS_CREATE (Read the documentaion of it).
Regards,
Nagaraj
‎2009 Oct 07 11:20 AM
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.
‎2009 Oct 07 1:46 PM