Skip to Content
author's profile photo Former Member
Former Member

SAP EH&S Regulatory Content and SAP Unit of Measures (UoM) are definied different

Hello everyone,

I have the following problem:

SERC Provides data - for example Occupational Exposure Limits (OELs) - with the value and unit. For example 45 mg/m3.

But in our system we have the UoM set up as mg/m3 (Superscript notation).
Because of this SERC can not write the OEL data into SAP EH&S (because we do not have a unit mg/m3 but mg/m3).

How can we make SERC write the data, without adding / or changing the UoM definitions in the system?

(We do not want two densities (on with mg/m3 and one with mg/m3), nor do we want to change back to mg/m3 because the superscript notation is actual the correct one!)


I couldn't find any mapping options in the Mapping Database for UoMs....


Any ideas besides changing the coding in the User Exits?



Kind Regards


Mark

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Nov 27, 2014 at 07:47 PM

    Dear Mark

    quite interesting topic you raise. Two "subprocesses" are effect: Data management (data load and Data calculaiotn (e.g. using EXPERT rules)

    Honestly I have never had the need to analyse the "UoM"topic in that area. But yes you are right and may be your findings coud be important for other companies willing to use SERC.

    It seems to be that you really need to know the "correct" set up of SAP system to use SERC

    May be Ralph could give some comment on that. Is the SERC license describing the required set up on customer side (e.g. UoM )?

    C.B.

    PS: I would have expected the same as Mark; that if you have different UoM that you could be able to map in Expert rules; seems not to be the case

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Christoph

      The answer we got back from SAP was basically that we need to change the UoM setup in the SAP System to match SAP Standard and then SERC works.

      I guess I do need to mention how 'easy' (almost impossible) it is to change UoMs in a production system that runs a lot of other SAP modules (MM, SD, FI).


      At least I have a working modification 😊

      Greets

      Mark

      P.s.: I still have the feeling that I came across this issue years ago at another client - and we somehow managed it with the mapping MDB. I think it involved changing two or more tables in the mapping MDB - and wasn't quite straight forward. But I might be wrong.

  • Posted on Dec 01, 2014 at 07:27 AM

    Hi Mark,

    Since you are mentioning the mapping mdb: Does your problem occur when you load regulatory data or when you have the rule sets calculate data? If you are talking about rule sets, do the following:

    In the ExpRecordMap, find the corresponding entry and change it from non-phrased to phrased. In ExpPhraseMap, maintain a new entry with the internal ID mg/m3 (standard notation) and the external ID mg/m3 (your notation).

    Ralph

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Christoph Bergemann

      HI Christoph,

      True - I could have changed the UoM in the XMLs files.

      But that is not practical for me as I'm an ABAPer and can not write scripts that change hundred of thousands XML files withouth destroying them and test them all after changing them... 😊

      I made a copy of the user Exit FM and changed the UoM there.

      Kind regards

      Mark

  • Posted on Nov 26, 2014 at 03:53 PM

    Hi Mark,

    As far as I know, you cannot change the UoM in expert rules. You will have to find another solution.

    Ralph

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ralph,

      Thank you for your quick reply!

      I changed the Expert Function Modules to replace mg/m3 with mg/m³.
      (I copied the FMs and changed the customizing to point to the copies)

      But this is basically a modification of the system...

      I'm wondering if all customers really have the UoMs exactly defined as SERC provides them.
      In my experience not one customer has them set up exactly like the other....

      Regards

      Mark