cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity conversion with table T006

Former Member
0 Kudos

Hi,

My scenario is that my customer wants to convert a work key figure's unit from Hour to Working Day (1 WD = 7.5 Hour).

So i try to use quantity Conversion Type getting conversion factor from table T006 to implement it.

Customers can change unit conversion rules in T006 in their systems, right?

But when I ran a query with quantity Conversion Type,

always got system error:

Internal Error: Quantity Conversion Type

Message Number RS_EXCEPTION 000.

And unit of key figure was not converted.

My Quantity Conversion Type is defined as:

conversion factor: from T006

source unit: from data record

target unit: fixed value - DAY

(all my data is with unit Hour)

Could you help to clarify the reason?

Thanks in advance!

Regards,

Napoleon

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Did you look into using calculated keyfigure to do same computation? It looks fairly simple conversion.

Former Member
0 Kudos

The conversion type you are using requires that the source and the target unit of measure belong to the same dimension. If you check table T006, you will notice that H/HR belong to the TIME dimension and WD is not even in that table. Please refer to the online help for more:

http://help.sap.com/saphelp_nw70/helpdata/en/1c/1b5d427609c153e10000000a1550b0/content.htm

Using central units of measure (T006)

Conversion can only take place if the source unit of measure and target unit of measure belong to the same dimension (for example, meters to kilometers, kilograms to grams, and so on).

Regards,

John