i used bapi_material_savedata and bapi_objcl_create to create material and assign classes to it. i completed it successfully, no issues here.
recently we assigned number range for the material types, and i customized the bapi so that it could accept the materials to create if they satisfy the number range, and if they already exist then, no need to satisfy the number range. Now, if im giving a material within the number range for classification the bapi bapi_objcl_create returning the message 'Object 3000000001 does not exist' if i give the material which already exists then the bapi bapi_objcl_create successfully assigns the classification. im not getting it.
could anyone give suggestions on this.
thanks & regards