cancel
Showing results for 
Search instead for 
Did you mean: 

Unit of key figure when updating to InfoCube with expert routine

Former Member
0 Kudos

Hi,

Expert routine. Update to InfoCube. 2 Key figures in infocube. one "base unit of measure" in source_package. One of the kiey figures must has unit " base unit of measure", another must has fixed value "L" as unit. In case of usual tranformation it's clear, because when you map something to key figure with unit you need to supply unit to the key figure via assigment or routine. \

How to specify unit for key figure in case of Expert routine ?

Thank to everyone in advance,

Pavel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pavel,

You populate just like you populate other fields, In the loop statement,

RESULT_FIELDS-BASE_UOM = 'L'.

Former Member
0 Kudos

Thank you for answer,

but, as I said, one key figure must have "base_uom" as a unit and another "L" as a unit. If I assign like this RESULT_FIELDS-BASE_UOM = 'L'. probably poth of them will have "L". I have unit of measure in the source, so I assigne it to the destination.

Former Member
0 Kudos

Hi,

In that case both key figures should have different units in first place. A record has one Material, so record should ideally have only one BASE_UOM.