‎2013 Jun 14 2:51 PM
Hello All,
I want to update MM Classication Values.
Please check my jpg file.
You will see General -> Cahracteristic description (Z_MALZEMEGRUBU) and Values.
How can I fill Values field ? (I defiend some values like GRI, SFERO etc.)
I mean, Is there any Bapi, you know it ?
I tried with BDC program, but not succesull .
Regards
Tanju
‎2013 Jun 14 10:12 PM
Hi Tanju,
BAPI's are available to update all types of characteristics of materials i.e.Numeric,Character and Currency type.
First read the existing characteristic via 'BAPI_OBJCL_GETDETAIL' and then change/assign using 'BAPI_OBJCL_CHANGE'. Finally BAPI_TRANSACTION_COMMIT be called.
See Rob's answer here for example - http://scn.sap.com/thread/1777601
Also check the behaviour in case you are again trying to assign the same characteristic to same material. I think BAPI : 'BAPI_OBJCL_CHANGE' throws error but not sure since i had worked on it approx 2 years ago.
BR,
Ankit.
‎2013 Jun 14 3:08 PM
You can try the FM "CE_I_SET_CONFIGURATION". Moreover check the functon group CEI0, if you find something more appropoate for your requirement.
http://www.se80.co.uk/sapfms/c/ce_i/ce_i_set_configuration.htm
Cheers!
Abhinab
‎2013 Jun 14 3:19 PM
Hello Abhinab,
First of all, thank you for your answers.
But, are you sure is it interested with MM Classication ?
Because my problem is Classification problem.
Did you use it ?
I mean when I check the FM "CE_I_SET_CONFIGURATION, I did not find something about classification.
Regards
Tanju
‎2013 Jun 14 4:27 PM
Tanju,
As far as I know, classification is not limited to MM. It is generalized data spread across all modules. Having said that, I think you won't find any FM / BAPI specifically to update MM classification.
To run the FM CE_I_SET_CONFIGURATION, why not give a try like this -
Get the configuration of an existing material using VC_I_GET_CONFIGURATON. Populate the data of internal tables from VC_I_GET_CONFIGURATION to CE_I_SET_CONFIGURATION(Relevant data). Chnage something in the data and see what's the result.
You will need OBJNR to run both the FM. By looking at your screenshot, you can get your required OBJNR from MARC-OBJNR.
Cheers!
Abhinab
‎2013 Jun 14 10:12 PM
Hi Tanju,
BAPI's are available to update all types of characteristics of materials i.e.Numeric,Character and Currency type.
First read the existing characteristic via 'BAPI_OBJCL_GETDETAIL' and then change/assign using 'BAPI_OBJCL_CHANGE'. Finally BAPI_TRANSACTION_COMMIT be called.
See Rob's answer here for example - http://scn.sap.com/thread/1777601
Also check the behaviour in case you are again trying to assign the same characteristic to same material. I think BAPI : 'BAPI_OBJCL_CHANGE' throws error but not sure since i had worked on it approx 2 years ago.
BR,
Ankit.