Dear Sia
there is one document available which explains here in SCN this scenario on "very high level"; the details are much more complex.
So check these documents:
No Warehouse Management (WM/EWM) but need to Maintain Hazardous check for Materials Master, how ?
Examples of Integration of SAP EHS Management into other SAP Solutions
Blocking Hazardous Materials for Purchasing with HSM
C.B.