Hi,
As per my knowledge , Based on Chapter ID, it is fixed for Excise Duties ( DGFT).
Kindly confirm that are you using Same Chapter ID in mentioned 3 scenarios?
If Chapter ID's are Different the create 3 Different Material Code then your problem will solve.