cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering of EHS master data from MM

Former Member
0 Kudos

Hi all,

I am very new to EHS environment and my requirment is to find the material relevant for the Hazmat master using a Z table. This has to be done during the interface which transfers the data to EHS. My query is how the data is getting transferred to EHS and how to find that?? Will it be done using some BDC or LSMW kind of thing?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks CB.. that was really helpful.. Will get back to you after analysing all those BAPIs..

christoph_bergemann
Active Contributor
0 Kudos

Hello Sharan

I have done a further inquiry and found BAPIs which might be better:

BAPI_BUS1119_SAVEREPLICA - BAPI: Edit Hazardous Substance Data (Mass Editing)

The other BAPIs are related to create specificatiot sbut not the Hazardous Substance master.

By standard the "HS_FILL" report is used to create th HSM (http://www.se80.co.uk/sapreports/h/hs_f/hs_fill.htm). With in his report the function module HSM060_HAZSUB_DATA_FILL seems to be used to do the filling. PLease tae a look in report HS_FILL.

PS: by the way: there is an "old HSM" available and the new one. I assume we are talking about the new one as the old one (the old approach) should not be used any more). The old scenario is described e.g. here: http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LEWM/MMWM.pdf

With best regards

C.B.

Edited by: Christoph Bergemann on Dec 11, 2010 5:58 PM

Edited by: Christoph Bergemann on Dec 11, 2010 6:03 PM

Former Member
0 Kudos

Hi CB,

I think you have hit the bull's eye by finding BAPI_BUS1119_SAVEREPLICA.

Have you got any documentation as what value should be inputted to replicate the HSMD process??

I am trying with different combinations, but couldnt figure out

christoph_bergemann
Active Contributor
0 Kudos

Hello Sharan

please refer to:

http://www.se80.co.uk/sapfms/b/bapi/bapi_bus1119_savereplica.htm

Might be useful (but very tricky to use because this is an ALE related BAPI).

C.B.

Edited by: Christoph Bergemann on Dec 16, 2010 7:34 PM

Former Member
0 Kudos

Hi CB,

I figured out myself after a lotta tweaking and thanks very much for the BAPi..

U saved me..

Answers (1)

Answers (1)

Former Member
0 Kudos

I found the interface and now my prblem is to find the BAPI which would do exactly the same functions as HSMD for creating hazardous substance. Any ideas??

christoph_bergemann
Active Contributor
0 Kudos

Hello Saharn

it is not really clear to me what you need. Therefore I try my very best in answering your question:

If you take a look here:; http://help.sap.com/saphelp_scm70/helpdata/en/55/37384162316532e10000000a1550b0/content.htm

you will find the chapter "Hazardous Substance Master" explaining what is going on. Now the "normal" story to get a HSM is:

a.) you have a material

b.) you link it to a REAL_SUB in EH&S PS

c.) you provide further data regarding the REAL_SUB

d.) and then the "creation" of HSM; begins

In the HSM a number of data can be transferred. As you can do here a lot of customizing you are "free" of how the HSM could look like. In HSM in most cases no specification number is needd any more. The "main" object is the material number

The filling itself is done with a simple report. PLease take a look in chapter "Filling of the Hazardous Substance Master" of sap help. Further infos can be found in chapter "Hazardous Substance Master Filling " of the sap help.

I hope that this info helps a little bit

C.B.

Former Member
0 Kudos

Hi CB,

Thanks for your valuable input.. I got a insight of whats happening with hazardous substances.

If am not wrong there is a transaction which goes with HSMD to create the hazardous substances for a material. Now my problem is to do the same in an interface. So basically i need to search for BAPIs which would behave the same way HSMD behaves. Any ideas on that??

christoph_bergemann
Active Contributor
0 Kudos

Hello Sharan

take a look here.

http://help.sap.com/saphelp_erp60/helpdata/en/fb/aa3bfbf89b11d287d8080009b98822/content.htm

and here (only examples):

http://www.se80.co.uk/sapfms/b/bapi/bapi_bus1077_create.htm

If you do an inquirey you will find e..g.

BAPI_BUS1077_CREATE

BAPI_BUS1077_DELETE

BAPI_BUS1077_CHANGE

With best regards

C.B.

PS: May be take a look here too:

Edited by: Christoph Bergemann on Dec 9, 2010 9:09 PM