‎2008 Jan 28 11:04 AM
Hi there,
I am creating a function module to create a material master using BAPI's. I am using the BAPI 'BAPI_MATERIAL_SAVEDATA'. However I did not find a way to pass the classification details to this BAPI. As I need to create a classification data along with material basic data, can you please tell me how I can do it. Are there any BAPI's which I can use to create classification data?
Please help, I have stuck here from a longer time.
Thanks,
Ganesh.
‎2008 Jan 28 11:09 AM
Hi ganesh
try this hope it will help you.
Pls reward if help.
Use the following BAPI's:
BAPI_OBJCL_GETDETAIL
BAPI_OBJCL_CHANGE
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
‎2008 Jan 28 11:09 AM
Hi ganesh
try this hope it will help you.
Pls reward if help.
Use the following BAPI's:
BAPI_OBJCL_GETDETAIL
BAPI_OBJCL_CHANGE
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
‎2008 Jan 28 11:23 AM
hi
good
Use FM 'BAPI_OBJCL_GETDETAIL' to retrieve the classification data.
Import params:
1. Object key : give the material number
2. Object table : give material master table i.e. MARA
3. Class Num: Give the class name from which u have to fetch the characteristic data
4. Class type: give '001' for material
You will get the classification data in the following tables:
ALLOCVALUESNUM
ALLOCVALUESCHAR
ALLOCVALUESCURR
This should be helpful, do get back in case of any queries.
thanks
mrutyun^
‎2008 Jan 28 11:28 AM
Hi,
Thank you for that, however I need to create the material in SAP along with its classification data. Using that function module I will be only getting the maintained classification values, right?
How do I create the material along with the classification data?
It will be very helpful, if you can provide a way to solve this!
Thanks,
Ganesh
‎2008 Apr 21 11:18 PM
Hi Ganesh,
I am facing the same problem of extracting the classification data along with material master data. Could you suggest any solution that you might have come across?
Regards,
Paritosh