cancel
Showing results for 
Search instead for 
Did you mean: 

Unit of measure without space is displayed in Characteristics

0 Kudos
531

Hi All,

For a specification's value asssignment instance of a characteristics lets's say :

ZSAF_EHS_3000_022_0005_VALUE = 50h value is given as input and it is storing as 50 h but for the below

ZSAF_EHS_3000_022_0004_VALUE = 60% value is given as input and it is stroring as 60%

The in between space is not coming for this particular characteristic.

Due to this idocs are failing at interface level kindly help us to find the root cause for this issue. why space is not getting populated automatically.

satyanarayana.reddy9 christoph.bergemann b1fc906998264958b81574c23baebd57 Kindly help me to overcome this issue

Thanks and Regards,

Suresh.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi All,

We have found the exact issue why the unit of measure is not displayed without any space, the thing is we have migrated our EHS system from one EHS specific SAP system to another SAP System where all other modules used to be executed, our EHS specific unit of measure Where already maintained in the other SAP System under different dimensions and used by other modules like SD and MM therefore we created a custom UOM and maintained it in separate tables and a custom peice of code is also given by SAP to use those UOM created for EHS Purpose. At this point of code level they haven't specified the Space value and as a result space is not populated for the given value in characteristics.

Thanks and Regards,

Suresh.

Answers (10)

Answers (10)

0 Kudos

Hi Christoph,

Thanks for your inputs.

Regards,

Suresh

christoph_bergemann
Active Contributor
0 Kudos

Hello Suresh

never have seen your problem before. So i can not help any more. (

Space is not getting populated)

We nether have had such a problem in our set up

C.B.

christoph_bergemann
Active Contributor
0 Kudos

Hello

"SAF_EHS_3000_022_0004_VALUE = 60% value is given as input and it is stroring as 60%

The in between space is not coming for this particular characteristic."

I checked our system. I found a characteristic with "%" as UOM. if I enter e,g. 60 you will get automatic "60 %"; so there is always a space between value and UOM; therfore. check your system set up

C.B.

0 Kudos

Hi Christoph,

Thanks for your inputs, can you please let me know the system level checks to be performed because it seems if i recreate the particular characteristic with same UOM it works fine but it is not working for the existing one !!! Space is not getting populated.

Awating your inputs,

Regards,

Suresh.

Mark-Pfister
Active Contributor
0 Kudos

Hi all,

The UoM you define at characteristic level is the default UoM that will be assigned if you do not enter any UoM during manual data maintenance.
However any other UoM of the same dimension can be put in manually during data maintenance.
E.g.:

  • h at characteristic -> Dimension = TIME -> you can enter seconds, minutes, hours, days, years etc
  • g at characteristic -> Dimension = WEIGHT -> you can enter g, mg, kg, to, lb etc.

This SAP Standard and not EHS specific.
Check TR CUNI for details of UoM <-> Dimension assignment.

What is EHS specific is that SAP EHS stores the amount of decimal spaces. E.g.: if you have the characteristic defined with 3 decimal places: "-__.___,___"
5.010,05 will be stored as 5.010,05 and not 5.010,050.

Hope this helps in analyzing your ALE issue!

Best


Mark

0 Kudos

Hi Mark,

Thank you so much for your inputs, so for a characteristic we can provide any other UOM based on their dimensions Fine this clears m y first doubt. Thanks a lot .

Second thing on my issue, if i give input as 50 my output must be 50 % but we get 50% . As per satyanarayana.reddy9 inputs i tried to delete and recreate the characteristic in development system and now my issue got resolved and my UOM is printing correctly. But the thing is in Production it is used in more than 400 object so recreating the characteristic is not possible in Prod it will be a huge work. Is there any other possibility to overcome this issue.

Kindly let me know for any other concerns.

Thanks and Regards,

Suresh.

0 Kudos

Hi satya ,

Thanks for your inputs satya but in our case we have a characteristic where we have given h as UOM and still when we enter 50 min as input it is populating 50 min eventhough UOM is h.

Is there any specific reason why this conversion happens or any specific place where this conversion happens.

Thanks and Regards,

Suresh.


satya11719
Active Contributor
0 Kudos

Hallo vasanthabalan77

if we use 50 min as input it will print 50 min or else 50 h.

It always depends on what UoM you are giving in Characteristic, If you give min as UoM you will get 50 min.

please check this char .ZSAF_EHS_3000_022_0004_VALUE, as it is custom I dont know how you designed this without knowing more details i cannot comment much.

Regards

Satya

christoph_bergemann
Active Contributor
0 Kudos

Hello

Regarding: "ZSAF_EHS_3000_022_0004_VALUE = 60% value is given as input and it is stroring as 60%": I need to check our system for smething.

How the values are stored depends on definition of characteristic. E.g. you can maintain as well "70 - 80 °C" (if the charateristics is related to "Temperature" and you allow "intervalls"

C.B.

0 Kudos

Hi christoph,

Thanks for your inputs, Yes We ahve maintained the characteristic design as the one satya uploaded for this characterisitc ZSAF_EHS_3000_022_0004_VALUE and the unit is % .

So there is no issue with characteristic design apart from charateristic design is there any other configuration needs to be done ? so that space will be populated automatically when we enter a input like 60 and the result is 60%

Thanks and Regards,

Suresh.

christoph_bergemann
Active Contributor
0 Kudos

Hello

1.) what you enter via user interface will be stored in database . So if you enter 50 min: this is stored in database

2.) if you use a WWI layout with this characteristic: it will ouput 50 min

3.) there are some "buts".. if you dig deeper you will find some WWI related function modules for "converting UOM (e.g. temperature)

PLease check the existing WWI blocks

UOM "%": this is a "probematic" UOM. Very deep inside of SAP you need to define is this a "weight %" or something different. But normally: if you have assigned the "%" as UOM to your characteristic: if yo enter 50: you should get 50 % automatic. And this will be stored.

The probkem with "%" is the "unit conversion". E.g. for Temerature: it is easy to handle "°C" and "K" and "F" as UOMs; but for "%" this is nt the fact (I skip details)

C.B.

0 Kudos

Hi satya,

Thanks for your inputs,

yes you are correct. when we are providing input value as 50 we get 50 h as output .

But for the other characteristic we have maintained same characteristic design but unit of measure is % but still the UOM is not automatically populating.

For Ex, When we give input as 50 it must come as 50 % but output is only 50.

Kindly let me know why this automatic population of unit of measure is not working.

Thanks and Regards,

Suresh

0 Kudos

Hi Satya,

satyanarayana.reddy9

And one more thing to addon when we are creating a characteristic as you shown above ZSAF_EHS_3000_022_0005_VALUE, with unit of measure as h ,What will happen if we use 50 min as input it will print 50 min or else 50 h.

Thanks and Regards,

Suresh.

satya11719
Active Contributor
0 Kudos

Hello vasanthabalan77

Please check characteristic design ZSAF_EHS_3000_022_0005_VALUE,

one more thing we will not give value input as 50h, we give value as 50 , then it will take UoM automatically based on the Char design,

Please check Char. design and h is the standard UoM,

I hope it helps.

Regards

Satya