Alternate Unit of Measure (UOM)
Dear all,
I am trying to load alternate unit of measure through 'MM02' transaction. I have to add multiple EAN's. After the load is done i can see only one EAN being populated while the other is not getting loaded. Please let me know why this is happening. I have tried this manually and this is working but not through LSMW direct input.
Thanks
in my case also not working for LSMW Direct input so that i have done through LSMW -Recording method with below fileds
SMEINH-UMREN(03) UMREN_03 Denominator for conversion to base units of measure
SMEINH-MEINH(03) MEINH_03 Alternative Unit of Measure for Stockkeeping Unit
SMEINH-UMREZ(03) UMREZ_03 Numerator for Conversion to Base Units of Measure
SMEINH-EAN11(03) EAN11_03 International Article Number (EAN/UPC)
SMEINH-NUMTP(03) NUMTP_03 Category of International Article Number (EAN)
SMEINH-LAENG(03) LAENG_03 Length
SMEINH-BREIT(03) BREIT_03 Width
SMEINH-HOEHE(03) HOEHE_03 Height
SMEINH-MEABM(03) MEABM_03 Unit of Dimension for Length/Width/Height
SMEINH-VOLUM(03) VOLUM_03 Volume
SMEINH-VOLEH(03) VOLEH_03 Volume unit
SMEINH-BRGEW(03) BRGEW_03 Gross Weight
SMEINH-GEWEI(03) GEWEI_03 Weight Unit
SMEINH-AZSUB(03) AZSUB_03 Number of Lower-Level Units of Measure
SMEINH-MESUB(03) MESUB_03 Lower-Level Unit of Measure in a Packing Hierarchy
Similar Messages
-
ALternate Unit of Measure as a Order unit in PO
Hi everyone,
I have a problem while ordering the Quantity in PO with alternate unit which is maintained in MMR. The problem is
in MMR, I have maintained EA as the UOM and PAC as the Alternate unit of measure.
while in PO, i am trying to give the 'Order Unit (OUn) as the PAC which is the alternate unit maintained. But it is not accepting and
again reverting back to EA. i couldnt find out the solution. But some POs for that material is already ordered as PAC unit.
Could it be problem with the MMR ?
Regards
SivaHI,
Go to Inforecord of that material with that vender on that plant.
Change Inforecord(me12)...here in general data...change the order unit.
system will give the conversion factor as u defined in material master.
Hope Help U !
Regards,
Pardeep Malik -
Order qty by alternate unit of measures
Hi All,
In casting senario I want to map follwing.
I have created a material having UOM as "g" i.e. grams and maintained a conversion factor in alternate unit of measure to convert it to "MM" i.e. milimeters. I have also maintained alternate unit of measure in work scheduling view. Now when I create the order its in MM which is correct but I want to restrict order qty to 500 mm.
Means if the requirement is generated for say 650 mm length then order qty should be 2 having 500 mm length each.
How do i do this? Please advise.
Regards,
UGDear ,
You can achieve the same by keeping Fixed Lot Size FX and keep the quantity as 500 in the same UOM at material master level -MM02. in MRP1
Or if you want that 500 mm is your Maximum Order Qty , then you can mention the same in Maximum Lot Size field in MRP1
Try and revert back
Regards
JH -
How to report on Alternate Units of measure
Hi ,
I am trying to implement the unit conversion ..i have few basic questions..
1)Do we need to have the 0MAT_UNIT in the cube/ODS
2)for 0material do i specifically need the base unit of measure as unit for the attribute conversion factor..
How do i go ahead if my conversion factor has a different unit..
3)In my scenario i am trying to do unit conversion on a keyfigure which has unit as billing qty in SKU..Do I need to do anything different in this case in order to convert to a diff unit..
Had changed the code given in the how to do doc..The report gave all the values as zero.
Pl suggest.
Appreciate ur inputs.
Regards,
G.VI am using BW 3.5 .
Loaded/activated both 0material and omat_unit.
0MAT_UNIT is not maintained in the ODS/CUBE.
The keyfigure i am trying to convert to alternate unit of measure is billing qty in SKU which has billing qty in SKU
as unit to that quantity..
The user input variable for alternate unit of measure is defined on the unit billing qty in SKU..
when i debug it is not processing through this loop..
IF i_step = 0 AND i_vnam = 'YUOMCNVF' AND i_iobjnm = '0MATERIAL'.
read material and base uom from variables
LOOP AT i_t_var_range INTO l_s_var.
CASE l_s_var-iobjnm.
WHEN '0MATERIAL'. l_material = l_s_var-low.
WHEN '0BASE_UOM'. l_base_uom = l_s_var-low.
ENDCASE.
ENDLOOP.
Pl advise.. -
Hi,
In order to implement the Alternate units of measure -
I need to implement user exit and activate enhancement RSR0001. In the description below is listed what to implement of includes. In the function group XRSR - I have added the code to the includes ZXRSRTOP and ZXRSRU01. These are both a part of the group. But the last one ZXRSRF01 is not in the include folder. I tried to create an include by right click on the include folder and choose create - I named it ZXRSRF01 and copied the code into it. But it is still not to be found in the XRSR function group and when I check the program the get_form call raises and error in the code of the include ZXRSRU01. How to get the include in the function group or is there another solution?
From SAP - How to...report data in alternate units of measure.
3.7 User Exit for Variables
Implement user exit for variables and activate enhancement RSR00001.
***INCLUDE ZXRSRTOP.
Enhancement: Alternate U.o.M.
DATA: g_aunit TYPE /bi0/oimat_unit.
***INCLUDE ZXRSRU01.
Enhancement: Alternate U.o.M.
DATA:
l_s_range TYPE rsr_s_rangesid,
l_s_var TYPE rrs0_s_var_range.
l_dummy(72) TYPE c. "delete
DATA:
l_factor TYPE f,
l_factor1 TYPE f,
l_factor2 TYPE f,
l_msgv1 LIKE sy-msgv1, "insert
l_msgv2 LIKE sy-msgv2, "insert
l_msgv3 LIKE sy-msgv3, "insert
l_material LIKE /bi0/pmaterial-material,
l_base_uom LIKE /bi0/pmaterial-base_uom.
Called after user input
IF i_step = 3.
Get variable for alternative unit entered by user
Validate entry and store as global variable
READ TABLE i_t_var_range WITH KEY vnam = 'YTAUNIT' INTO l_s_var.
IF sy-subrc = 0.
TRANSLATE l_s_var-low TO UPPER CASE. "#EC TRANSLANG
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
EXPORTING
input = l_s_var-low
language = sy-langu
IMPORTING
output = g_aunit
EXCEPTIONS
unit_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error: Please enter a valid unit of measure
l_msgv1 = 'Unknown unit of measure:'.
l_msgv2 = l_s_var-low. "insert
l_msgv3 = '. Please enter a valid unit of measure.'.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
i_class = 'R9'
i_type = 'E'
i_number = '000'
i_msgv1 = l_msgv1
i_msgv2 = l_msgv2 "change
i_msgv3 = l_msgv3
EXCEPTIONS
dummy = 0
OTHERS = 0.
CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
sy-subrc = 4.
RAISE again. "#EC *
ENDIF.
ENDIF.
ENDIF.
Called from "Get Attribute" Function (Modification)
I_VNAM Attribute (not the name of the formula variable)
I_IOBJNM InfoObject
I_T_VAR_RANGE Contains characteristic value, attribute value,
unit of measure, query key date
IF i_step = 0 AND i_vnam = 'YUOMCNVF' AND i_iobjnm = '0MATERIAL'.
read material and base uom from variables
LOOP AT i_t_var_range INTO l_s_var.
CASE l_s_var-iobjnm.
WHEN '0MATERIAL'. l_material = l_s_var-low.
WHEN '0BASE_UOM'. l_base_uom = l_s_var-low.
ENDCASE.
ENDLOOP.
get factor for base UoM
PERFORM get_factor USING l_material l_base_uom l_factor1.
get factor for alternate UoM
PERFORM get_factor USING l_material g_aunit l_factor2.
return conversion factor for variable
IF l_factor2 <> '0.0'.
l_factor = l_factor1 / l_factor2.
e_meeht = g_aunit. "insert
ELSE.
When the UoM conversion is not maintained, instead of showing 0, the
base UoM with a factor of 1 is used. Therefore, the user sees MIXED
VALUES in the total line and knows right away that there is something
wrong. That way its easier to track inexistent conversion factors.
l_factor = 0. "delete
l_factor = 1. "insert
e_meeht = l_base_uom. "insert
ENDIF.
CLEAR l_s_range.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = l_factor.
APPEND l_s_range TO e_t_range.
e_meeht = g_aunit. "delete
ENDIF.
***INCLUDE ZXRSRF01.
*& Form get_factor
Get conversion factor from /bi0/pmat_unit
FORM get_factor USING i_material TYPE /bi0/oimaterial
i_mat_unit TYPE /bi0/oimat_unit
e_factor.
TYPES:
BEGIN OF ys_mat_unit,
material TYPE /bi0/oimaterial,
mat_unit TYPE /bi0/oimat_unit,
numerator TYPE /bi0/oinumerator,
denomintr TYPE /bi0/oidenomintr,
END OF ys_mat_unit.
DATA:
l_s_mat_unit TYPE ys_mat_unit.
STATICS:
s_t_mat_unit TYPE SORTED TABLE OF ys_mat_unit
WITH UNIQUE DEFAULT KEY.
CLEAR: l_s_mat_unit, e_factor.
READ TABLE s_t_mat_unit INTO l_s_mat_unit WITH KEY
material = i_material
mat_unit = i_mat_unit.
IF sy-subrc <> 0.
SELECT SINGLE * FROM /bi0/pmat_unit
INTO CORRESPONDING FIELDS OF l_s_mat_unit
WHERE material = i_material
AND mat_unit = i_mat_unit
AND objvers = 'A'.
IF sy-subrc = 0.
INSERT l_s_mat_unit INTO TABLE s_t_mat_unit.
ENDIF.
ENDIF.
IF l_s_mat_unit-denomintr <> 0.
e_factor = l_s_mat_unit-numerator / l_s_mat_unit-denomintr.
ENDIF.
ENDFORM. " get_factor
Hope someone can help.
ThanksHi Karin,
I am also facing the same problem for alternate units of measure...i tried to access the path
websmp201.sap-ag.de/~sapdownload/011000358700000488512003E/Howto_alternate_uom5.pdf
but it is not found...can u please give me this document if u have it with you.?
Thanks,
Vijaya -
Stock display with Alternate unit of measure
Hi All,
is there any report in SAP, which displays the warehouse stock with Alternate Unit of measure. I did try in MB52. It was showing only in BUM. Please help ASAP.
AyeshaHello Ayesha,
We had the same requirement. So we copied MB52 to ZMB52 and added a new selection for the AUM. Additional coding was also done for the UoM conversion.
Cheers !
Rajesh -
Mass Add of Alternate Unit of Measure
I'm looking for a transaction that will let me massively add to materials the same alternate unit of measure.
ANYONE?I believe MM17 and using table MARM should allow you to upload alt. UOMs. I have not tried this before so definitely verify that in test first.
Nic -
Reporting Data in Alternate Units of Measure
We have a requirement to report data in base unit of measure and also in pounds and kilograms. I have read the paper "How to Report Data in Alternate Units of Measure". My problem is that in our R/3 system the conversion from base unit of measure to pounds is maintained, but no conversion from base unit of measure to kilograms is maintained. In BW, I have 0MAT_UNIT for conversion to pounds but not to kilograms. For the solution to work, am I correct in thinking that the conversion to kilograms must exist in 0MAT_UNIT?
Also, the paper states that it is applicable to BW releases 2.0A to 3.1C. Those of you on BW 3.5 - is there new functionality or a different way of handling reporting in alternate units of measure?
Thanks for your help,
Gail BodnerGail,
Nothing new in 3.5 for UoM conversion. It will still have to be the way described in the How To paper.
Maintin the conversion in R/3. Also, Pounds to KG is a standard coversion - you can hard code it too. Issue in UoM conversion comes in where you cut across type of uints, i.e. from vol. to weight. Then additional information like density is needed but within the same area, it shouldn't be a problem.
Cheers
Aneesh -
How to Report on Alternate Unit of Measure
Hi All,
We recently implemented SAP for our Canadian operations. The Canadians want to see all our custom and standard reports in Alternate units of measure ( KG's & Ltr's ) but our reports only display in Lbs & Gal's. We were able to change our custom reports but is there any setting that SAP provides for the standard reports/transactions to display Alt UoM. We don't want to rush in and start changing standard reports. I'm sure, lot of you faced this situation before.
Regards,
Srinihi,
use the FM UNIT_CONERSION_SIMPLE
hope this helps
check this code
unit_in = itab-meins
unit_out = 'GLL'.
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
input = itab-meins
NO_TYPE_CHECK = 'X'
round_sign = ' '
unit_in = unit_in
unit_out = unit_out
IMPORTING
ADD_CONST =
DECIMALS =
DENOMINATOR =
NUMERATOR =
output = factor
EXCEPTIONS
conversion_not_found = 1
division_by_zero = 2
input_invalid = 3
output_invalid = 4
overflow = 5
type_invalid = 6
units_missing = 7
unit_in_not_found = 8
unit_out_not_found = 9
OTHERS = 10.
IF sy-subrc <> 0.
e_error = 1.
EXIT.
ENDIF.
Message was edited by: srinu k -
Base and alternate unit of measure
HI,
can anyone please tell me
1) what is base unit of measure and alternate unit of measure.
2) what is the relationship between these two.
i have one program which currently calculates base unit of measure for all the unit costs and now i need to calculate the alternate unit of measure for all the unit cost
I heard that relationship of these two will be found in MARM table but i couldnt find it
Please tell me how do i do achieve it.
Thanks,
Ahmed.Hi,
BASE UOM is the unit of measure which will be used by business to calculate the weight of the goods or rather the Unit of measure in which stocks of the material are managed.
Say for example I create one bulb. The base UOM is PCE or Piece.
It means that the Bulb will be referred to as 1 Piece irrespective of its weight.
So if in the sales order i put 10 PCE of Bulb it means 10 individual unit of the bulb.
Alternative UOM is the Unit of measure in which quantities can be entered alternatively to the base unit of measure / stockkeeping unit.
Say for example in our cases; we are selling these bulbs in boxes.
I BOX = 10 PCE .
So BOX becomes your alternate UOM.
The relation is maintained in MARM table via the additional view in the Material Master (MM01/ MM02/ MM03 transaction)
The relation 1 : 10 is managed by the UMREN UMREZ fields in MARM.
I hope this is useful for you.
Regards,
Ankur Parab -
Material upload: alternate unit of measure problem
Hello,
I'm uploading materials using LSMW (BAPI nethod: BUS1001006). I have a problem for the records with alternate units of measure. I put the units in a separate file and map the ISO code and the Numerator. However, I receive an error M3333 for the materials with 2 rows (one basic UoM and other alternate), which says that I have to maintain conversion factors for the alternate UoM. I thought, I'm doing so by providing Numerator (E1BP_MARM-NUMERATOR), but somehow it's not enough.
Any assistance will be highly appreciated
Thanks in advance,
EliWrong definition in MARMX structure.
-
BOM with alternate unit of measure
Hello team
Is it possible to create the BOM with alternate unit of measure ?
Thanks
JJHi,
Not possible to create BOM by item material with alt unit of measure.
If you want to use other UOM in production, use issue unit in work scheduling view.
If you want to procure use order unit in purchasing view.
For selling use sale unit in sales view.
Regards,
Dharma -
Display of Alternate Unit of Measure
Hi there,
We try to display alternate unit of measure <b>in BEx</b> by implementing the following Howto Doc:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to report data in alternate units of measure
It works fine as long as 0MATERIAL is included <b>in the rows</b> of the report.
In any other case (e.g. 0MATERIAL is a free characteristic or not included in the report at all) this solution won't work and we get the "red x"!
Any suggestions??
Thanx,
Ofer.Hi Ofer,
Virtual Char/KF behave as normal Char/KF in a sense that you create and add them in Infoproviders or Queries just like normal Char/KF. But they do not hold any data/values and their values are determined only at query run time (by writing code in user-exit for virtual kf/char.)
The logic could be something like this (though I'm pretty sure, would need to work on it again ):
Keep in mind that all this would be performed at query run time:
1. For each record, read material master data.
2. Get quantity, UoM for above record.
2. Get UoM from selection screen variable.
3. Convert and store in virtual KF.
You can search this forum for more information on it. Do let us know if need any more info.
Regards,
Vikrant. -
Regarding Alternate Unit of Measure
Sir,
Is there a provision to create a material with an Alternate Unit of Measure apart from the Barse Unit of Measure?.
In this case what impact will the Alternate Unit of Measure have in the BOM?. How to configure the Alternate Unit of Measure of a Child Component in the BOM?.
Can anyone give a detailed explanation of the subject.
Regards,
R. VijayakumarHi,
Use tcode MM01 and select Additional data field in top. In this select Unit of measure tab page.
Now enter the alt UOM with conversion factor.
In this case what impact will the Alternate Unit of Measure have in the BOM?.
In the BOM, you can assign only base unit. Alt UOM can not assign.
How to configure the Alternate Unit of Measure of a Child Component in the BOM?.
In the BOM, you can assign only base unit. Alt UOM can not assign.
Regards,
Dharma -
Re:alternate unit of measure effects in sales.
Hi, guru's,
I have added the alternate unit of measure, for the required material in additional data & additional EAN's., for the convinience of creating P.O. in our desired unit but, it is said that, due to this addition AUOM, adverse effect has occured in sales, is it possible.
thanks
tuljasinghhi,
yes it happens...
sales unit is diff used for sales and ordering unit is diff
so that sthe reason while creating PO or sales if the material has AOUM then we get diff UOM`s
Maybe you are looking for
-
Remove an entry in Screen Sharing
Hello, I added many entries into "My Computers" in Screen Sharing. I would like to remove some of them How to remove them ? Rgs
-
About config VPN in FWSM multiple context
hi i have 6509+FWSM(4.0.4) now i wanna use stite to stite and ez vpn in the fwsm (multiple context) mulitiple context mode in fwsm support ipsec vpn???
-
I am curious as to if this might have something to do with the fact that I recently downloaded the new operating systwm or if it might have something to do with the fact that i just activated the wireless system in my house. I just keep my computer c
-
Problem upgrading Broadband package
I am on Broadband Option 1 (now just called Broadband) with a 10Gb monthly limit. After incurring several £5 one-off charges for exceeding this over the past year, I've decided to upgrade to the next package which is unlimited (Broadband Unlimited) a
-
I have 11g standard edition database installed without RAC in a server environment. But, now I have needed to keep this database in RAC. Could I install or upgrade database with RAC environment without re-installation of oracle software/database from