cancel
Showing results for 
Search instead for 
Did you mean: 

EHS EXPERT rule fact changes

TandraP
Explorer
0 Kudos
745

Hi Dears

I am very new to SAP EHS and haven't worked on Expert Rules before.

I have 2 requests of change regarding custom expert rules:

1. For the first rule that, when the component percentage value is entered in the lower limit field of a standard composition type, it does not calculate the highest value into another custom composition type when the rule is run.

I have tried editing the ExpFactMap sheet, by adding i_oplow as internal id. No help.

2. The next rule was created from standard rule ZEXP_COMP, but the issue is when more than one comp types are available for the same pure sub, and one of the comp type is ACT_AGENT, final comp type should be ACT_AGENT and the values are to be summed up.

Instead after the rule is run the standard comp is defaulting to the impurity type or any other custom composition type instead of act_agent type.

Please guide me. Any help would be appreciated.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Tandra,

I am not sure I correctly understand your first question. If you maintain the lower limit, why should a rule set use this entry as a higher limit in another composition?

For the second question, if one component appears more than once when drilling down, it will be written with the component type it has maintained on the first level. This is explained at the bottom of chapter 1.1 in the manual of the COMP rule set.

Best,

Ralph

TandraP
Explorer
0 Kudos

Hi ralph.paczkowski,

For the first question:

when the data is entered as below for component 482 (note only the “> 94” is entered)

the result of the ZEXP_EPEPB rule is as below. The value for 482 is shown as 0 (zero) instead of 100

Now business is expecting the value for 482 be 100% in the final calculation as below

TandraP
Explorer
0 Kudos

Right now in the mdb file there is entry for upper value only:

internal id group external id lang

i_upp COMP C:COMPUPP 0

i_opupp COMP C:PRECU ENG

I had tried the same with the lower limit:

internal id group external id lang

i_low COMP C:COMPLOW 0

i_oplow COMP C:PRECL ENG

But it did not work.

Hope this clarifies my question.

Regards,

Tandra

0 Kudos

Tandra,

(1) The Fact Mapping controls which data is read by the Expert Rule.

The Expert Rule file (*.RUL) needs to contain instructions for copying the Lower Limit values to the new composition.

(2) Does you ZEXP_COMP Expert rule use the /BASE Option for Composition Explosion? If so, then check this SAP Note:

1962619 - EHS Expert: /BASE option provides only the component type of the top composition level

Best Regards,

Jim