Unit of Measure is not correct
Hi SAPMASTER,
Here I am with a new issue.
I have tried to fix but it is not possible.
So, I need your help.
I have a FM :
*"*"Local Interface:
*" IMPORTING
*" VALUE(I_MATERIAL) TYPE BAPIMATVP-MATNR
*" VALUE(I_CENTRO) TYPE BAPIMATVP-WERKS
*" VALUE(I_DEPOSITO) TYPE BAPICM61V-LGORT
*" EXPORTING
*" VALUE(E_UNIDADE) TYPE BAPIMATVP-MEINS
DATA:
vunit TYPE bapimatvp-meins
,tab_wmdvsx TYPE TABLE OF bapiwmdvs WITH HEADER LINE
,tab_wmdvex TYPE TABLE OF bapiwmdve WITH HEADER LINE
,vstge_loc TYPE bapicm61v-lgort
,vendleadtime TYPE bapicm61m-wzter
,vav_qty_plt TYPE bapicm61v-wkbst
,vdialogflag TYPE bapicm61v-diafl
,vreturn TYPE BAPIRETURN
,vmat_gen_data TYPE bapimatdoa
,vreturn_detail TYPE bapireturn
,vmat_plant_data TYPE bapimatdoc
,vmat_valuation_data TYPE bapimatdobew
CALL FUNCTION 'CONVERSION_EXIT_MATN2_INPUT'
EXPORTING
input = i_material
IMPORTING
output = i_material.
CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
EXPORTING
material = i_material " bapimatdet-material Material No.
plant = i_centro " bapimatall-plant Plant
* valuationarea = " bapimatall-val_area Valuation area
* valuationtype = " bapimatall-val_type Valuation type
IMPORTING
material_general_data = vmat_gen_data " bapimatdoa General material data
return = vreturn_detail " bapireturn Return Parameter
materialplantdata = vmat_plant_data " bapimatdoc Plant data
materialvaluationdata = vmat_valuation_data " bapimatdobew Valuation area data
e_unidade = vmat_gen_data-BASE_UOM.
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
plant = i_centro
material = i_material
unit = e_unidade
stge_loc = i_deposito
IMPORTING
endleadtme = vendleadtime
av_qty_plt = vav_qty_plt
dialogflag = vdialogflag
return = vreturn
TABLES
wmdvsx = tab_wmdvsx " bapiwmdvs Input table (date and quantity)
wmdvex = tab_wmdvex " bapiwmdve Output table (date and ATP quantity)
=================================================================
So, when I test this FM into SAP, the answer is e_unidade = EA. This is ok.
But When I consume this FM, the answer is e_unidade = ST.
Please, do I need to do any conversion, as I did with article number?
Thanks in advance,
Edson Luiz
Please use code tags to format your code.
Edited by: Rob Burbank on Sep 30, 2010 11:56 AM
Hi Kate,
You were wonderful !!!
It is fine with CONVERSION_EXIT_CUNIT_OUTPUT.
Best Regards,
Edson Luiz
Similar Messages
-
Base unit of measure can not be changed since EAN is already assigned.
Hi,
We would like to change the UOM from EA to SET .In order to tag MM # as BOM Header and ZCEN (Serial number profile)but the error massage appears as below print screensystem is not allowing to do so ,throwing following error message:
"Base unit of measure can not be changed since EAN is already assigned."
Could you help to resolve the same.
Thanks,
AmitHi,
Thats correct you must be getting Error message M3 341 ,
EAN international article number is tied with material number in basic data view with EAN Category and seperate number range
EAN is a standardized unit that uniquely identifies a material relating to a unit of measure or type of packaging.
The International Article Number (EAN) is assigned by the manufacturer of the material. In this case, the EAN identifies the
manufacturer uniquely. A company can assign EANs using "in-store" numbering techniques known only to the company.
If you still want to change UOM you need to first remove the EAN assigned..please explore further if you have internal number range
for EAN or external ..etc
Thanks
Diwakar -
Unit of measure is not maintained at level2 DSO
Hi Experts,
Unit of Measure is not maintained in level2 DSO.
Scenario:
We have a Product having values for different market in DSO UOM is Millions and Aggregated Value of that product is loaded in upper level DSO Unit of Measure is not maintained it shows blank.
Solution: We have done selective deletion and uploaded again from the DSO where UOM is maintained correctly, Issue is resolved.
We would like to know the cause of the issue.
Please any let me know how to isolate the issue and if you have time let me call you to investigate further.
Regards,
PremHi Murali,
UOM is maintained in level1 DSO correctly and for certain aggregated values it is not maintained and this very strange if we do manual upload data UOM is correct in Level2 DSO.
I guess issue happening in regular data load or what so ever....
We are trying to correct the data just by deleting and uploading again as this is permanent solution.
If routines are the issue when we upload manually it shouldnt work but still working fine... this strange behaviour....
please suggest and advise me... if required let me call you.
Regards,
Prem -
Alternative units of measure are inconsistent; correct the values in SMW01
Hi,
when material replication process is happening we came across an error in SMW01.It shows
Alternative units of measure are inconsistent; correct the values
Message no. COM_PRODUCT_UNIT014
Consider the below example
we have maintained a material from KG to MM which is not a standard SAP conversion but client requires this conversion as
Tubes (Steel) are mainly ordered in M (Meters) but invoiced by the supplier in KG. Then used in production in KG again. In that case we need a conversion M <-> KG.
This is very common practice even in indirect material (e.g. Oil, you order barrels, tu vendor invoices KG and you handle Liters in your stock
can anyone guide me if there is any BADI or SAP note available for this error.
regards
subbuHi,
I have gone through that note it says that the corrections has to be done at BBPCRM component level but i have gone through the system component version i did not find CRM
so how can we apply the note?
regards
subbu -
Views and Base unit of Measure is not coming in Chines Lang
HI All
Plz Help me.
I log-In Chines Server, during MM01 the views are coming in English language instead of chines.
and during PO creation The Base unit of Measure is not Coming in Chines Language it is displaying Some number??
I have maintained Source and taget lag in CUnI..but still Im getting this problem..
How to solve this plz help..
Thanks and regards
Ramesh reddyHi
Please maintain the translation in the Following Configuration
Logistics - General->Material Master->Configuring the Material Master->Define Structure of Data Screens for Each Screen Sequence
Select the Specific Screen Sequence & Maintain the languages
Similarly please maintain the Translations in the Transaction CUNI for the Base UOM in respective languages
I hope currently in your system only Language EN is maintained
Thanks
Madhav -
U2018Ea unit of measure has not been created in the language ES u2018in srm
Dear Friends,
I have checked in ECC & SRM in table T006A (UOM languages). UOM "EA" is defined in ES (Spanish).
Also in comm_hierarchy also i chked for product category language maintenance and found maintained in EN,ES languages.
u2018Ea unit of measure has not been created in the language ES u2018
I have tried with sapanish (international sort,dominic,traditional sort)& rest of spanish spoken country languages but i am getting the same error.( IE- tools-general-languages & refreshed the page). u2018Ea unit of measure has not been created in the language ES u2018
Regards,
WilliamHi Willam,
When are you getting this error ? i.e. while creation of shopping cart or process purchase order..
I believe this issue is due to creation of UOM..which means EA UOM should be created with EA language.
For further details please have a look on
http://wiki.sdn.sap.com/wiki/display/SI/UnitofMeasurerelatedsettingsinSAP
where they have specified that "Maintain UOM in different languages by logging to the system with different logon language"
Kindly confirm.
Thanks
Rajesh K -
Hi,
I am using the BAPI_MATERIAL_SAVEDATA to create material in the material master, I am passing
ls_bapi_head-basic_view = 'X'.
ls_bapi_head-purchase_view = 'X'.
ls_bapi_head-mrp_view = 'X'.
ls_bapi_head-storage_view = 'X'.
ls_bapi_head-quality_view = 'X'.
ls_bapi_head-account_view = 'X'.
these views, I am passing the necessary details to the BAPI . But it is giving me an error ' **Unit of measure ****** is not defined; check your entry**'. plz help me how to solv the problem.
Thanks,
shekarHi Vinod,
It was very usefull for me thanks,
I have another problem i have to pass Valuation Class - bklas and in quality view nspection Type - 'art', Inspection Type - Material Combination is Active - 'aktiv'.
please let me know how to pass these values to FM
thanks,
shekar -
Unit of measure JHR not defined
Hi Friends,
What can cause this problem. I am getting this error message
"Unit of measure JHR not defined" after I am creating a Shopping card in EBP.
JHR is existing on both sides Backend and EBP in the table T006.
Regards
Marco M.COM_PRODUCT_UNIT
you need to debug this program . JHR is not SAP or international UOM . it could be customised one
COM_PRODUCT_UNIT_READ_API
Is a unit of the product convertable into i_unit?
CALL FUNCTION 'DIMENSIONCHECK_DIMENSIONLESS'
EXPORTING
meinh = iv_unit
EXCEPTIONS
dimension_not_dimensionless = 1
t006d_entry_missing = 2
t006_entry_missing = 3
OTHERS = 4.
CASE sy-subrc.
WHEN 0.
MESSAGE e020(com_product_unit) "unit is dimensionless
WITH iv_unit
RAISING unit_not_allowed.
l_lines = l_lines + 1.
CALL FUNCTION 'COM_PR_UNIT_CHECK_CONVERTABLE'
EXPORTING
i_base_unit = ls_base_unit-unit
i_alt_unit = iv_unit
i_tabix = l_lines
it_pr_unit = lt_pr_unit
IMPORTING
e_add_const = l_add_const
e_numerator = l_numerator
e_denominator = l_denominator
e_unit = l_unit
e_sub_num = l_sub_num
e_sub_denom = l_sub_denom
EXCEPTIONS
not_convertable = 1
overflow = 2
OTHERS = 3.
CASE sy-subrc.
WHEN 1.
MESSAGE e020(com_product_unit)
WITH iv_unit
RAISING unit_not_allowed.
CALL FUNCTION 'COM_PR_UNIT_CHECK_CONVERTABLE'
EXPORTING
i_base_unit = ls_base_unit-unit
i_alt_unit = iv_unit
i_tabix = l_lines
it_pr_unit = lt_pr_unit
IMPORTING
e_add_const = l_add_const
e_numerator = l_numerator
e_denominator = l_denominator
e_unit = l_unit
e_sub_num = l_sub_num
e_sub_denom = l_sub_denom
EXCEPTIONS
not_convertable = 1
overflow = 2
OTHERS = 3.
CASE sy-subrc.
WHEN 1.
MESSAGE e020(com_product_unit)
WITH iv_unit
RAISING unit_not_allowed.
WHEN 2.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING overflow.
E COM_PRODUCT_UNIT 020 Unit of measure & is not defined for product
When do you get this error ? while ordering Internal goods and services or describe procurement?
or while procure from catalog. -
" Unit of measure ****** is not defined; check your entry in table T006
I´m Trying to create a material from MDM to SAP and I´m monitoring the IDOC in WE05 and i get the next message:
" Unit of measure ****** is not defined; check your entry
Message no. M3490
Diagnosis
The key for the unit of measure you entered is not defined in table T006.
Procedure
Define the unit of measure through Customizing (Materials Management). "
In MDM we are sending as remote key the SAP Code and this code exists in the table T006, but in the information of failed IDOC say:
" Messages have been issued: number 0000000000184470
Message no. MK101
Diagnosis
During inbound processing for the IDoc, messages have arisen while checking material data. "
If someone has information about it ,pls I´ll appreciate your answer.
Regards Itzell T.I´m Trying to create a material from MDM to SAP and I´m monitoring the IDOC in WE05 and i get the next message:
" Unit of measure ****** is not defined; check your entry
Message no. M3490
Diagnosis
The key for the unit of measure you entered is not defined in table T006.
Procedure
Define the unit of measure through Customizing (Materials Management). "
In MDM we are sending as remote key the SAP Code and this code exists in the table T006, but in the information of failed IDOC say:
" Messages have been issued: number 0000000000184470
Message no. MK101
Diagnosis
During inbound processing for the IDoc, messages have arisen while checking material data. "
If someone has information about it ,pls I´ll appreciate your answer.
Regards Itzell T.
Hi Itzell T,
While creating the material the unit of measurement which is entered is not existing in the SAP System. The unit of measurement entered during creation of material is cross checked from enteries of check table T006.
So, functional consultant should take care of this issue just let him know the message.
He know what problem actually is and fix the problem as Ankur had said. -
Error message :PurchOrder : Unit of measure PC not defined for language ES,
Hello,
I am facing a problem with PO replication to R/3 backend.
POs are not replicated to R/3, POs are in status 'Transfer Failed (E.Sys.)' .
When I check with 'RZ20' transaction I got this message :
PurchOrder : Unit of measure PC not defined for language ES.
SRM 4.0 Extended classic scenario
Regards,
ShaiekHi
This seems to be a configuration issue,.
Pls maintain the unit of measure in configuration using transaction CUNI
Hope this will help.
Pls reward suitable points.
Regards
- Atul -
Error as unit of measure PC not defined for language RO while creation ofPO
Hi GUYS,
When am trying to create a PO in ME21N transaction i got error as below,
unit of measure PC not defined for language RU
Message no. 06079
Table 006A contains no entry for this unit of measure
Please let me know what action to be taken from my side to over come this issue.
Note: If i check the related vendor i could able to view that the language maintained as RU.
Cheers,
Kumar.SHi Jurgen,
Thanks for your reply once again.
As mentioned by you earlier i have tried to login with languae RU in Q system but unfortunately i got an error saying taht language not installed.
Also we found for Language - EN and UOM - PC has been maintianed in T006A table.But if i check for lanugage - RU and UOM PC combinatoin has not manintaned in T006A table.
Please let me know how to maintain the values in this table T006A for combination Lang - RU and UOM - PC.
Please revert back with your soilution.
Note: I have tried in SM30 but failed due to below error
The maintenance dialog for T006A is incomplete or not defined
Cheers,
Kumar.S -
Unit of measure PCS not defined for language FR
Dear Gurus,
I try to raise a PO in ME21N, when saving the order, I am being prompted by the system with the following message:
"Unit of measure PCS not defined for language FR"
I then went to MM02 to check the material master data "Sales Text" Tab.
There the only language available is English, so I clicked on the "Language Maintained" Tab and created a new language for French.
The problem is that when I want to save the changes, the system prompts me with the following message:
"Blank texts exist in the following languages: French and English, these texts will be deleted"
Then the Material Master Data closes and no changes have been made.
Can you please guide me through step by step of what I have to do to be able to populate the field "PCS" for pieces in French so that it is taken into account in the Material Master Data and by extension in a PO.
Thanks for your help.
KInd regards
ChrisHi Chris,
Goto T code CUNI. In the first screen click on GOTO-Translation-dimension.
Enter EN in Source language and FR in Target.Maintain the entry there. -
Unit of Measure TON not defined for language PT ?
Hi all,
I'm new to MM and to SAP in general and I have 2 questions for now :
1. I have a requisition which is set up using unit of measure TON. When I try to create the PO, an error message pops up saying " Unit of measure TON not defined for language PT ". Do you know what does language PT means and why does this error appears? When I try to convert the TON into TNE, the same message pops up : " Unit of measure TNE not defined for language PT ".
I also can not convert TON into EA...any ideas why?
2. How can I see the total value of a PO that has many lines ?
Thank you very much
IulianaHi
Is this error "" Unidade de medida *** não definida em idioma PT ""
appearing only when you select Ton, or any other unit.
pl. clarify.
I have seen that you get this message when your loging Login language is Portuguese.
Any how Configuration of units needs to be checked in
Spro >General setting > check Units of measurements ,
( or pl. use Tcode -- Cuni )
I also can not convert TON into EA...any ideas why?
can you give me some more inputs, what erro are u getting ?
2. you can see the total Po. values in Po header details
under status tab view.
if my soln is found usefull
Pl. award me points
Thanks
Prasanna kumar .b.a -
Unit of measure EA not defined for language PT
Hello,
Vendor Communication is maintained in "Portuguese language-PT", while creation of Scheduling agreement system will given the below error, bcz Scheduling agreement will taken the Langause from vendr master
"Unit of measure EA not defined for language PT"
Table 006A contains no entry for this unit of measure.
We have cross checked Material master and maintained the "langauge-PT" in material master additional data.
Checked T006A table for "EA" found for language "EN, DE, CN etc. not for "PT" how to maintain T006A table for Portuguase langauge.
Regards
Mahesh Naik>
Mahesh Naik wrote:
> Hello,
>
> Suppose we have changed the source langauge "EN" to Target Langauge"PT" is it change all the Unit from EN to PT. after that how the system will pick english language's
No, it just gives you all the units maintained in that source language as a proposal to enter the description in target language PT, there will not be any change to the source language EN while maintaining a translation. -
How to correct CIF error Base unit of measure does not exist?
Dear experts,
I'm trying to cif a location product with base unit of measure KG in R/3 and alternative unit of measure well maintained.
it gives me a CIF queue saying that
"Base unit of measure ZXX does not exist (Product 0000000000000XXXXXX has not been created)"
I do not understand why, the unit ZXX does not exist in the alternative unit of measure for any of the materials managed
I also checked CUNI table and ZXX is not there neither in R/3 or APO,
Thanks for your help
ELooks like the Alternate UOM --Zxx is not maintained in APO.
2 ways to do this:
(1) program- RSIMPCUST
Re transfer all your UOM settings from R3 to APO
(2) Manual Maintenance in APO:
SPRO>SAP NETWEAVER>GENERAL SETTIGNS>Check UNits of Measurement
Thanks
Kumar
Maybe you are looking for
-
Can't set up mailbox for fourth email account on Mail?
I have a Macbook Pro - Mid 2009 - 2.53GHZ, 4GB and 250GB HD. Running OS version 10.6.8. My specific question is this I am using Mail 4.6 and have already set up a primary email account and through time I have added an additional 3 email addresses. th
-
I have just made the switch from PC to Mac with a nice new 15" Macbook pro! I cant help but feel like I am in Brazil speaking Russian. A beautifully crafted (£1500) piece of of kit that after 5 days I am getting no use out of and am still booting my
-
Airport Extreme w/ static IP address issue
I'm using a westell 7501 in front of my airport extreme to connect to our ISP. Our static IP from the ISP worked great until our Mountain Lion server upgrade. Something has changed and I can't seem to troubleshoot it. I've returned everything to fact
-
How to set debug mode in jdeveloper for SOA Suite
Hello, Is possible to use jdeveloper, soa suite and debug mode? I can debug my web application with oc4j embendded server. But when i want to deploy on oracle application server and debug, doesnt work. How can i fix that? I saw that tutorials for jde
-
Server lib referencing from WD
Hello everybody, I would like to use one class (named Sender) in many WD's. So I have created Java DC which define this class, wrapped it in J2EE Library DC and deploy to server. (java dc export in public part java class in 'assembly' mode, Library d