on 2009 Mar 13 10:01 AM
Hi,
i would like to know if there is any way of knowing in which UOM is working a user at a exact moment. We have a macro in which we need the UOM selected by the user for modifying a key figure value.
Is it possible to know it?
Regards.
PS : We have SCM 5.0 and we are working with APO DP.
Request clarification before answering.
Javier,
Can you just run the macro first irrespective of the Unit of measure being used and then once you get the resultant data populated in all the KFs, in the base unit of measurement,
Right click on the plae just above the first Key figure name, or just below the Design icon and -->
Select 'Unit of Measure' -> then Select 'Set'-> then from the menu select the Unit of measure of your choice, in this case 'CF'.
But if the Unit of measure you want (CF) is not an SI standard unit like LB, KG, Feet, then you have to maintain the Alternate Unit of measure you want in the Product Master (/n/sapapo/mat1)--> under the tab 'Unit of Measure'. Try this for one Product and cehck the results. Also note that the values will be stored in Base Unit of Measure 'Defined for that Planning area' always, but in interactive Planning, the user can view the data in alternate unit of measure.
Hari V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Javier.
It is not the final answer I know, but you can determine the conversion factor between the UOM being used by the User versus the UOM for the planning area with the macro function: DISPLAY_CONV_FACTOR()
This will not 'tell you' what the UOM being used is, but also I'm not sure what your final objective is, so may be of help.
M
Hi,
thank you very much for your response.
Final objective is to know in which UOM is working the user cos we want to write a 0 value with a macro if value is 1. this one will be inserted by another macro for UOM CF, so if the user changes the UOM while working with the interactive planning book we have to know exactly which UOM is selecte to covert the value to CF and if "1" then write a "0".
Hope this clarifies the doubt.
Regards.
Thank you very much.
Javier.
Hi Javier.
The short answer is that technically you don't.
But it will tell you one of two things:
Either:
1. That it is definately not CF (the ELSE result)
2. That it is CF or a 1:1 equivalent (The If = True result)
I was asking whether this was a step in the right direction, as I am still not very clear what you are trying to acheive.
M
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
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.