on 2019 Apr 23 4:43 PM
Hi.
Just i want to know if i can change the KF Value with a Macro, e,g. I have Hectolitres (This is my base unit), but i want to change the value to Box (cs) with out change the key figure unit i only want to change the value.
Can i do it with a funtion macro? I was trying to use a funtion like UNIT_CONV_FACT ( HL ; CJ ) but i didn't have success results.
P.S I cant use a constant value because each material sometimes have different convertion factor.
Thanks in advance
Request clarification before answering.
Hi,
In this case, better to new macro function for internal Unit of Measure.
https://launchpad.support.sap.com/#/notes/1828487
The enclosed correction provides a new macro function that returns the current Unit of Measure of the keyfigure values table (the tab table).
Macro function is "ACT_INTERNAL_UOM".
Here an example of macro usage:
CURRENT UoM of the loaded data
Step : ( 1 Iterations : W 03.2013; W 03.2013 )
Row: Conversion Factor ( Frm W 03.2013 ) =
UNIT_CONV_FAC( ACT_INTERNAL_UOM ;
MAT_C( 'MEINS' ; ACT_PRODUCT ) )
The above macro
Best Regards,
Lingaiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
4 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.