Hi Rama,
As I mentioned in my previous post, in both the cases you can use the same bapi 'BAPI_OBJCL_CHANGE' as mentioned in my first reply.
1. If there is a classification view in the material master, this BAPI updates the value given.
2. If there is no classification view in the material master, this BAPI creates one with the given value.
Regards,
Asik.