Converting one base unit of measure to another
Hi Experts,
i want to know the function module name , which should convert the one base unit of mesure to another base unit of measure.
like EA TO PAL , or PAL TO sqft.
i have found one function module ( MATERIAL_UNIT_CONVERSION) ,which is not giving proper output(giving only zero's)
could u please help me out from this problem.
Thanks in Advance,
Hello,
Try this.
data:c_kg LIKE lips-gewei VALUE 'KG', "Weight unit in kg
c_lb LIKE lips-gewei VALUE 'LB', "Weight unit in lb(pound).
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
input = i_ln_items-brgew
unit_in = c_kg
unit_out = c_lb
IMPORTING
output = i_ln_items-brgew_lb.
If useful reward.
Vasanth
Similar Messages
-
Changes in Base Unit of Measure
Hi,
We got an issue,User tried to change the Base unit of Measure from NO to KG.
1.For this material we dont have stock in unrestricted and quality,But it has reservations. 2.It has got Scheduling agreement,3.This material is used In BOM.
So if i cancel reservations,then remove this item from scheduling agreement and delete it from BOM.Will it work further to change the Base Unit of Measure.
Please Do help me in this matter
Thanks and Regards1) You can only change the base units of measure under the following circumstances
No stocks are available for the material.
There are no existing purchase requisitions, purchase orders, or scheduling agreements for the material.
At present, no purchase orders or purchase order items are being created or changed.
Item is not linked in any BOM as chield part
If requests for quotations, purchasing info records, or contracts are available for a material, the system emits a warning while changing base unit of measure. Still if you want to change unit of measure specify in a dialog box the factor for converting the base unit of measure into the new base unit of measure. The purchasing info records are then, if necessary, updated.
2) Solution
As system is not allowing changing base unit of measure there will be either stock of this material or existing purchase document
1) If there are stocks in the previous period, you can clear them as follows:
a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
2) If there are Open purchase requisitions, purchase orders, or scheduling agreements for the material.complete all P2P cycle for open orders (purchase requisitions, purchase orders, or scheduling agreements) and then close it.
3)Delete item from BOM
Then
1. Run Trnx MM02 (Change Material Master immediately.
2. Overwrite the old base unit of measure with the new one in basic data screen.
3. Save the change.
3) System checks
If a change criterion (Trnx. code MM02) is meeting all necessary prerequisites (as mentioned in point 1).System allows changing base unit of measure. Otherwise it displays warning or error. U can display the reason for this, by choosing Display Errors (ctrl+F1) -
Convert between EDI order Unit of Measure to Base Unit of Measure
Hi all,
I am looking for a method whereby the following can be accomplished
- Customer orders certain products in LBS UOM...they have been quoted a per LB price and an equivalent CS price by sales and they choose to send EDI orders in LBS
- Base unit of measure for these products is in CS. Stocking unit is cases. Pricing also maintained in cases
- I've maintained alternative UOM in the MM records to convert LBS TO CASES
What i really want is for the customer to submit the EDI order specifying LBS but when the sales order is created i want the order lines in CS. I want to deliver and bill in CS as well. I do not want the sales units to be the units that the order was submitted in.
Any suggestions are appreciated.Thomas,
We make creative use of the customer-material info record (CMIR) to do what you describe.
Standard functionality of the CMIR will allow the customer to send their internal SKU on an EDI PO, converting it to our SAP material number for use in the sales order.
We maintain a u201Cconversion factoru201D in the CMIR field called Search Term. We use an exit in the inbound IDoc processing code to apply the factor to the quantity ordered and the EDI1 price condition. For example, the factor u201C/006CASu201D would divide the customeru2019s order quantity by six and use CAS as the UOM on the sales order. The EDI1 price is multiplied by six, so that our CAS pricing matches up.
This allows any customer to order with their internal SKU and UOM, while we process the orders with our internal material numbers and preferred units.
An exit on the outbound process code allows us to use the same factor to change the values back into what the customer wants to see.
This works great in the consumer products industry, where we, the supplier, have to deal with inflexible customer EDI requirements.
Regards,
Ken -
QM_Change of base unit of measure not possible
Dear QM Experts,
Scenario is,
1. Material master created with QM view activation.
2. The Base Unit of Measure kept as EA
3. Inspection plan prepared for material with usage 5 and status 4.
4. Material has not undergone any purchase order / production order / routing or any other transactions except inspection plan.
5. No movements have done and the stock is zero
6. The requirement is to change Base Unit of Measure from EA to KG
When tried through MM02 system throws an error message as The base unit of measure cannot be changed; choose "Display errors" Message no. M3189
When viewed through log another information gets displayed as Routings already exist that are assigned to the material. Task list type Q.
I tried through trial and error method. First material assignment was deleted from task list, problem did not resolve. Thereafter deletion flag put to task list. No impact. At last entire task list deleted. Still system does not allow changing unit.
Has anybody faced the same problem ever? Whether deletion of task list (By T-Code QSR6) from data base will server the purpose? What are the obligations that one must follow while execution QSR6?
Or if there is any other solution to this requirement?
Thanks in advance
Best Regards,
Anand RaoHi
*What are the obligations that one must follow while execution QSR6?*
By this T code Deletion is very much possible provided that
If there are no stocks of the material in the current period and in the previous period
If there are stocks in the previous period, you can clear them as follows:
a) Post the stock in the previous period to the current period (for example, using movement type 561) so that the stock for the previous period is the same as the stock for the current period.
b) Clear the stock with the posting date in the previous period (for example, using movement type 562).
If no purchase requisitions, purchase orders, or scheduling agreements exist for the material
Material Is used in any task list/Rauting.
Now as per your schenario I hope you have checked Inspection lot & PR,PO.
Error showing Q type of task list.
Go to PLKO & MAPL table for this material & group & Gr counter check the entry.
Check deletion Indicator in both the tables. If it has status "X" then this task list is very much possible to delete through QSR6.
I hope this will add some value to your Execuation.
Regards
Sujit -
Follow up material with different base unit of measure
Hi all,
I have the BOM with material Mat1 as a component. The base unit of measure of Mat1 is KG.
Is it possible to replace Mat1 with Mat 2 material in MRP once the Mat1 warehouse stock is depleted.
The base unit of measure of Mat 2 is KGK.
The required quantity of MAT1 should be recalculated from KG to KGK accordanly unit ratio.
Please, expain, where does it maintain?
Thanks,
PeterHello Peter,
You can use follow-up setting (set Mat2 as follow-up of Mat1 in MRP 4 view of material master if this follow-up scenario is valid for all BOM) with discontinuation indicator '1', w/o effective-out date. In this case Mat1's stock will run out (no PldOrd, PR, etc) will be created, and from the date, when Mat1's stock runs out, MRP will calculate with Mat2.
As I told you, according to my best knowledge, you cannot realize this with different base unit of measures. (you have to change the buom of one of the related material masters or create a new material master if you cannot cope with buom-change).
Follow-up group scenario can also be used but I guess different buoms will be a problem in that case as well.
Maybe there are better solution but I'm not aware of it...
BR
Csaba -
Base unit of measure is cahnging after creation of material master
Hi
I have created a material with material type Raw material with BUM "Ton" , after save the material, when iam checking the material with display mode, the BUM is changed into "EA",i dont know where the sustem picks the BUM as "EA", kindly suggest where i have to do the configuration settings.
ThanksHi,
Have you created the New Material referencing from another material.
Please check the following links for details. It should be able to answer your queries.
[Re: can't able to change into alternate UOM]
[Re: variable order unit]
[Re: Base Unit of Measure]
Hope it helps,
Best regards
Amit Bakshi
Edited by: AMIT BAKSHI on Aug 4, 2011 12:44 PM -
Base Unit of Measure to Sales Unit Conversion
Hi,
Currently we are selling material in MT and all other transactions in MM and Production are in MT only.
Now client wants material to be sold in Meters, also in some cases the same material will be sold in MT also.
(As per my knowledge generally if the conversion is one to one i.e. base unit of measure is pieces and Sales unit of measure will be boxes and
1 box = 10 pieces can be maintained in material master.)
Here for conversion between Metric tonne to Meters there is formula involved so how and where this conversion needs to maintained in system.
How to map this type of scenario.
What all activities needs to be done from SD side and which other modules need to be involved this process.
Note: SAP is installed for more than 3 years now.
Hope i clear enough.
Regards,Hi following is the formula.
OD = Outer diameter, thickness, length, Number of tubes are maintained in sales order charateristics during sales order creation.
OD
Thickness
Weight in Kgs / M
length of tube
Nos of tubes
Total length in Mtrs
Rate / MT
Rate / Mtr
A
X = (A-B)*B*0.02456
'L
N
T= L xN/1000
R
M=R/1000*X
Regards, -
Base Unit of Measure - Day & Hours
Hi All,
We are facing a unique problem. We created a material with Base Unit of Measure as "DAY". At the time of MIGO, the FI Document also got posted with Quanity 5.00 and Base Unit of Measure as "DAY".
However, when we go to the Report Painter Reports in Controlling and see the Quantity; we see 120.00 Hours rather than 5.00 Days and we are unable to figure out because of which settings, system is behaving like this.
We checked the configuration of Unit of Measure through T. Code CUNI and found everything OK.
Kindly request you to throw some light on this.
Thanks,
Shalini day = 24hrs, system has calculated the 5days and converted into 120hrs.
please check the Order unit used in PO
also check the stock keeping unit/issue unit in master
also check the info record -
Base unit of measure issue during CIF
Hello,
we have one APO system which is connected to two R/3 systems (System A and System B).
Actually one product number was coming years ago from System A with base unit of measure EA.
We now need to add the same product number (with a different Business system group) via CIF coming from system B, but the source base unit of measure is ST.
CIF interface stops with error "Error Text: Base unit of measure for product xxx" ....
So actually I am looking for a way to add product xxx to the integration model in System B and transfer data to the APO system without removing the products and all linked master and transaction data from APO and creating new data.
Maybe there is a workaround ...
Thanks for any ideas and thoughts.
Kind regards,
AndreaAndrea
One way is to add ST as alternate unit of measure in APO product master . This is because you cannot change the base unit of measure in APO without deleting all the dependent objects.
After that you will be able to CIF over the data . But then you have to remember one thing . Whenever you change the material master for this material in R/3 and CIF it over , the alternate UOM ST will get wiped out in APO and you have to maintain it manually.
Thanks
Aparna -
Base unit of measure is different from Idoc to purchase order toSAP System.
Hi Gurs,
vendor send a purchase order for confirmation through EDI, the base unit of measure in the Idoc is PA( Parcel). For this same material the unit of measure in R/3 system is PC.( Piece). I got a error on this.I checked in CUNI, In Unit of measurement ST (PC) is already assigned to unit PCE in EDI. But i dont want to change the Conversion.I need this also and I want to create a new conversion ST(PC) is assign to PA( Parcel).
Please help in this.
Is it possible to maitainthe ISO-code PA into table Units of Measurement of Dimension?
Edited by: Vadivel Karalam on Nov 1, 2010 1:13 PMHi,
You are getting the error because as part of the std ( For ALE/EDI) the unit of measurement that is maintained is PC whereas if you look at another unit of measure that you have mentioned, the std doesn't define anything under the ALE/EDI setup.
Because of that all the conversions are coming with PC. So pls goto general settings and check unit of measure menu. There for each of your units, there is a section for ALE/EDI, set up the relevant UoM and the issue should get resolved.
Hope it helps. -
BOM Unit Different from Base Unit of Measure
Dear PP Experts,
I have following Scenario in some of wires which are .
Base Unit of Measure - Coil
Conversion Factor
1 Coil - 100 Metres (Already Maintained in mm01)
Suppose, one manufacuring item consist of 0.5 Metre of Wire. We want to use Metre in BOM, how can we use it.
Please help, full points if helped.
IshuDear,
In material master you maintin alternate unit as meter in plant data/storage 1 as unit of issue This will default this unit in BOM item
In the BOM, in the component enter the above material code and enter the qty as 0.5. system will default meter as the unit of measure in BOM.
Please come back if required
Edited by: Rajesha Vittal on Feb 16, 2008 8:35 AM -
Base unit of measurement while saving production order
Hi
While saving production order I am getting following problems:
"Material has no base unit of measure"
Whereas UOM is there, I also can see that as soon as I enter qty while creating the order. System automatically prompts the UOM.
I also donot find any problem in MRP run, planned order creation etc
So what can be the problem?
Edited by: BNR on Nov 24, 2008 5:22 AMDear,
It may be data base problem as you are getting this problem fequently so please check with Basis person.
Have you defined the any production unit in both material master WS view & in routing or any other alternative unit of measurement please check?
Regards,
R.Brahmankar -
Base Unit Of Measurement error
Dear Sir \ Mam,
Our some materials base unit of measurement is in KG, and we want to make bills, excise RG1 entry in KG for milligram sales or material transfer. How to go for such transaction, system is not allowing for such transactions.
Pls Note : We can't create two separate materials code for these UOM issue materials.
Requesting a help.
Regards,
Randhir PadwalHi,
As per my understanding you have base unit in KG and you want to material issue and sales in miligram unit. If this is requirement then you may try to assign "sales unit" for material master in "sales:sales org1" view. you have to also give the conversion rate from KG to miligram in additional data.
for issuing you have to maintain issue unit "miligram" in material master view "Plant data/stor1"
Regards,
mukesh -
Material Master MATMAS IDOC and base unit of measurement
Hi
We are using SAP standard material master IDOC type MATMAS05 to trigger IDOC. Our material master is having base unit of measure as "G". We are not using ISO unit of measurement. But Material master IDOC, segment E1MARM is populating base unit of meaurement (MEINS) as "GRM".
Any idea why IDOC is picking ISO unit of measurement instead of material master base unit of measurement.
Any idea how to send base unit of measurememt as "G" instead of "GRM" in DOC segment.
Thanks
NileshThere are ISO codes for country keys, currency keys, units of measure and shipping instructions. According to SAP design guidelines, you should use ISO codes for an IDoc if they are available. When you set up the IDoc, the SAP codes have to be replaced by ISO codes.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf -
Changing Base Unit Of Measure in Material Master
Dear All,
We need to change the base unit of measure of certain materials who have been assigned inspection plan. We have deleted the material from Inspection Plan and later even the plan. But still the system not allowing to change the BASE UNIT OF MEASURE. The error thrown by the system is : Material is assigned to inspection Plan.
Please guide in this regard as changing the material for us will be a very cumbersome act.
RegardsHi Rohan,
Please check 'display errors' in MM02 when you are trying to change the BUoM. It will say what prevents you from doing that.
Please check:
http://www.sap-img.com/materials/change-base-unit-of-measure.htm
BR
Csaba
Maybe you are looking for
-
How do I get my music back?
I made the silly mistake of syncing my ipod with my Itunes library. Without thinking about it I just hit accept and then realized that because all of the music on my Ipod was not the music in my library, all of the music that was on my ipod was now b
-
Cant attach multiple files in mail
How to attach multiple files in mail??
-
Error - Maintain the entry CAMGB VCNYR in V_T7PIQSWITHCVAL - Campus mgt
While saving student record (Transaction : PIQST00) system throws an error message "Maintain the entry CAMGB VCNYR in V_T7PIQSWITHCVAL " though I am not doing/have not done any GB(Great Britain) specific configuration. Can any one throw light on why
-
How to fetch data using Substring & Instring
Hi , I have data like a_76488b_2780c a_76488b_2780c_ a_76488b_c2780 a_76488b_c2780 a_31487b_5542 a_76488b_2780 i want to fetch data like last 4 numeric digit only 2780 2780 2780 2780 5542 2780
-
I am trying to construct an numeric control which will specify the width of the image a camera has to obtain. However, when I read out the current settings, I want the current number to also appear in the same numeric control, so it needs to act like