Hi Naveen
Am attaching an example, but it's actually quite easy to record characteristic updates using Transaction - using the binoculars to find the characteristic by description and then updating the value.
For Direct using the change bapi , you have to pass in the class number (name), objectkey (material in this case), class type (001 for materials), and table (MARA for materials).
Then you have to pick what type of characteristic, as it's broken out by character, numeric and currency. That makes it a bit tougher if you have a mix. In my example, I'm using numeric and character, as I almost never have currency, but that could be included, as well.
The attached example uses IF statements and a made up "Data Type" column, C if character and N for numeric.
Data file looks like this, with the made up data type code on the far right in column G
------------------------------
Sigrid Kok
pse | Winshuttle North America
------------------------------
Original Message:
Sent: 11-05-2019 00:37
From: Naveen Ganji
Subject: BAPI - Material Master Classification
Friends,
Am working on the Material Master Classification/Classes using BAPI - BAPI_OBJCL_CREATE & CHANGE. Can anyone please share some info on passing the parameter values to the BAPIs. I tried by using the SE37 code and verifying the result but didn't got success. Appreciate if someone can share the bapi script template.
Thanks
------------------------------
Naveen
------------------------------