on 2015 Mar 30 11:28 AM
Dear Experts,
I hope that everyone is fine and healthy. I am stuck with SAP EH&S problem and as SAP EHS consultant, I was hoping that we can share knowledge. . I was hoping that one of you guys can help me. I want to upload substance with open content connector for SERC database with XML file but I am not able to get the initial load from XML file in to SAP. I have already created RFC and I can call OCC from CG02 via data determination but I cannot upload substances from XML file via OCC to SAP. Has anyone got experience with initial SERC database via OCC ?
Can you give me some advice?
Thank you in advanced for your help.
With kind regards,
Maywand
Request clarification before answering.
Hi Maywand,
when you start the load, do you get any error message or other system resposnse? If so, what response is it?
Ralph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ralph,
I don't get any error. I haven't found any option know how to load XML file in OCC and then load it to SAP. What should I do to load a new substance from OCC to EH&S. Do you have to load first the listed sub with .dat file via cg33 and then update it via OCC or can you also do an initial load with OCC?
thanks in advanced!
Maywand
Hiu Maywand,
you can do an initial load, but the LIST_SUB must have a CAS number as identifier maintained to permit the OCC an identification of the substance.
Likewise if you load data to a LS_UN_SUB, it must have a UN number maintained as identifier.
Without these, the OCC doesn't know what to load.
Ralph
Dear Maywand
it is not "clear" how you have prepare the OCC and XML file to be used in upload.
To use OCC you need to prepare "mappings" etc. Starting from hit list you can do as mentioned by Ralph initlal upload and delta upload.
Do you get a "screen" showing the spec (some core data like identifier) and the data you would like to upload? Which "preparation" steps to use OCC has been done? (check OCC documentation on your local file for proper set up of OCC and check the OSS note mentioned in SAP online help etc. etc.)
May be thiscould be of interest:
As shown in second document: there are not more that 20 thread regarding OCC. Seems to be that this tool is either not used or that no issue come up in use.
C.B.
PS: aas mentioned in Import of Data - Specification Management (EHS-BD-SPE) - SAP Library
There are two options to use OCC. One in dialog modus (online) and second offline modus. I assume you would like to use first mode?
Hi Ralph,
Thank you again for replying:
You have mentioned the following but the
LIST_SUB must have a CAS number as identifier maintained to permit the OCC an identification of the substance.
But if the LISTED_SUB is not yet there in CG02 how do you load the new LISTED_SUB that is there in XML file. The situation is as following:
I have pakkage that contains XML file with listed substance.
How do I load the substance that are in XML file in to SAP CG02?
Maywand
Dear Maywand
it seems to be that you have a kind of "XML" file. This file contains e.g. identifiers and value data assignments (e.g. density etc.). You could try to "extract" from XML file the identifiers and the create by "mass" the specifications using the standard EHS import option (as proposed by Ralph); as mentioned: you need to specify at least some identifier and a substance authorization group; I strongly ! recommend that you specify as well specification nature in your upload file; Only by using standard import (and may be old Data Editor from Technidata) you can specify by mass the "nature" per specificaiotn. Using OCC you can only upload the the "core" data.
C.B.
Tarun,
In sap note 2084355
the followin is explained
Create the user exit type SUB_LOAD as follows:
I have done that but do you know what the next step is?
thanks in Advanced!
Dear Tarun
after rereading the OSS note this would be my understanding:
SAP did a smalll "redesign/enhancement" of SAP EH&S OCC. Now there seems to be the option to use "load files" (flat txt files can be used) as has been used with DataEditor from TechniData. to do the upload. The "only" con as discussed in this thread: you still have the need to set up the specs using CG02 by your own or by using standard SAP import functionality to generate the specs. But afterwards you are now more flexible.
You will find lots of threads of persons in this FORUM which "hate" the ".dat" structure to be used in SAP standard import. So this improvemnet might be a good one. As mentioned in the OSS note: there are now two options: On "online" and one"offline" option. In the "offline" option SAP EH&S OCC is generating a standard EH&S input file (.dat file). In Online you can execute the upload immediately.
C.B.
Dear Ralph
thanks for highlighting the options as available in the DataEditor solution. The new options as delivered with the recent/current version of OCC are interesting and therefore I will analyse them deeper. I believe with this new option it is really a valuable tool (even if one might ask the question: why can I not generate the spec as well with OCC; but can only load additional data using OCC); I assume that many people will (or would like) so say "thank you dear SAP for enlaring this" as the standard option of EHS import is for many consultants a option which is not easy to use. (and may be some consultants will be happy to have now an alternative in comparison to DataEditor solution).
C.B.
Dear Tarun
OCC and EH&S Expert are related to each other. They have some solutions parts which you need for EH&S expert and for OCC (e.g. database; mapping etc.); they are delivered as one "exe" (according to myknowledge); if you execute the "exe" you have "just" to select if you would like to install OCC or to install EHS& expert server; but the steps afterwards (that means instellation/set up steps) are "slightly" different (please check customizing as well etc.). And the set up is different. OCC does not have a "server" structure (it is not designed to run on a "server" platform); EH&S expert is designed to be set up as WWI on a seperate hardware etc.
C.B.
PS: keep in mind. in the last years SAP has improved EH&S expert a lot ! There are improvements in the area of performance and other stuff; please check SAP marketplace for details; especially if you activate EnhPack 3 some "on top" optimizations are possible.
Hi Christoph,
no misunderstanding, please: You can certainly use the OCC to generate a spec in EH&S. Simply create a corresponding dat-file, just like you used to do with the DataEditor. But you cannot load data from SERC to a spec that doesn't yet exist in EH&S. The reason is simply this: If the spec doesn't yet exist, which data should the OCC load onto the spec or in other words: How can the OCC identify the nature of the spec? For this reason you need to have a LIST_SUB with a CAS number or a UN-listed Sub with a UN number. Then the OCC knows which substance it is and load the correct data.
So the steps are:
Ralph
Hi Tarun,
As Ralph suggested the Listed_Sub with cas nr must be there in SAP EH&S and then via OCC you can upload the regulatory data. SAP has a new version that enables you to create .dat file. Via SAP markt place you must download the following version of OCC>
EHSEXP32_37-20000083.EXE
I am still investigating how to create a .dat file for mass upload for the listed substances.
kind regards,
Atrafi
Dear All,
I would like to thank you all for sharing your knowledge about this subject.
The correct answer is that the listed_SUB with a cas number must be created in cg02 in order to load data via OCC.
Futheremore it is better to install OCC in windows 7 because I had problems running OCC from windows 8.
with kind regards.
Maywand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.