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,
Shalin
Check note 194987
Similar Messages
-
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 -
Showing a measure as days/hours/minutes
Hi gurus, I need you help quickly:)
I have a report that shows duration of time for certain actions. The only measure in the report is hours (with two decimals). I want the measure to be shown as e.g. 4 days, 4 hours, 30 minutes instead of 100,5 (hours). Is this possible. Sorry if the question is noobThank you very much! Works just as it should!:)
EDIT: Realized that my measure was MINUTES, not HOURS ...
But that´s good cause editing the formula provided by Sandeep forced me into really understanding it:)
If it helps anyone, here´s what you put in the column formula if you want number of MINUTES converted to days, hours, minutes:
cast(floor(column_name/1440) as char)||'days'||' '||cast(floor(mod(column_name,1440)/60) as char)||'hours'||' '||cast(mod(mod(column_name,1440),60) as char)||'minutes'
Edited by: SJV4-ever on 2011-mar-16 08:42 -
Decimals regarding Unit of measurement
Dear Experts,
I'm facing to an issue related to the following unit of measure : KM and DAY.
I would like to add decimal places for these units of measure (3 places after decimal point) because actually it is 0 by default. I heard that it is not recommended.
These above units of measure are used in our material masters. And there are some open purchase orders, contracts for these materials.
Thank you for your help.
Best regards,
houcinneHello Lakshman,
I agree with you for not changing this table. I think it's risky. So I've decided to use another unit of measure such as H (hour) and M (meter).
Best regards, -
Error message 'Enter unit of measure' in Webclient
Hello Experts,
We are working on CRM 5.0 SP 7, IC WebClient and have implemented the BAdi "<b>CRM_SERVICEPROD_BADI</b>" to assign a service product ''<b>INVESTIGATION'</b> whenever user selects service ticket in WebClient.
However, when confirming a Business Partner and accessing the service ticket, an error is getting displayed stating "<b>Enter the unit of measure</b>".
We have already mentioned the unit of measure in Product but it seems it is not picking from there.
Please help me to remove this error.
Reward points assured for useful answers.
Regards,
Amithi
I had a similar Problem
You will have to assign the base unit of measure in service tab as hours and then in the sales and distribution tab assign the same unit in the sales unit and give minimum order quantity(for e.g-1) & delivery unit ,this you will have to do for all the sales areas you might have mapped in the S&D tab
I'm sure the issue will be resolved
Cheers!!
Regards
Shankar Raj -
Unit of measure error in BAPI_MATERIAL_SAVEDATA
Hi Guru's,
i am trying to upload the material master data using BAPI...while uploading ia m getting beloow error ..please guide me anyone you..where i am doing mistake.....
1st this error i am getting while executing:
internal unit HR ,language EN is not maintained.
and afetr execution in gs_return i am getting below error:
Unit of measure ****** is not defined; check your entry
error number :490
dont get tence for code and all the values ae moving properly into BAPI...and
here i am consider the unit of mesure as HR (hour)..
here i am caliculating like ex: for employe (material) generating bill in hour basis.that is per 1hour $100.
please let me know if my question is not clear..
thanks in advance and will full points to reply....
*& Report ZERP_MATERIAL_CREATE_UPLOAD
REPORT zerp_material_create_upload.
DATA:gs_bapimathead TYPE bapimathead,
gs_clientdata TYPE bapi_mara,
gs_clientdatax TYPE bapi_marax,
gs_plantdata TYPE bapi_marc,
gs_plantdatax TYPE bapi_marcx,
gs_forecastparameters TYPE bapi_mpop,
gs_forecastparametersx TYPE bapi_mpopx,
gs_valuationdata TYPE bapi_mbew,
gs_valuationdatax TYPE bapi_mbewx,
gs_salesdata TYPE bapi_mvke,
gs_salesdatax TYPE bapi_mvkex,
gs_storagelocationdata TYPE bapi_mard,
gs_storagelocationdatax TYPE bapi_mardx,
gt_materialdescription TYPE STANDARD TABLE OF bapi_makt,
gwa_materialdescription TYPE bapi_makt,
gt_taxclassifications TYPE STANDARD TABLE OF bapi_mlan,
gwa_taxclassifications TYPE bapi_mlan,
gt_prtdata TYPE STANDARD TABLE OF bapi_mfhm,
gwa_prtdata TYPE bapi_mfhm,
gt_prtdatax TYPE STANDARD TABLE OF bapi_mfhmx,
gwa_prtdatax TYPE bapi_mfhmx,
gt_unitsofmeasure TYPE STANDARD TABLE OF bapi_marm,
gwa_unitsofmeasure TYPE bapi_marm,
gt_unitsofmeasurex TYPE STANDARD TABLE OF bapi_marmx,
gwa_unitsofmeasurex TYPE bapi_marmx,
gs_return TYPE bapiret2.
TYPES:BEGIN OF gty_itab1,
matnr(18), "material
mbrsh(1), "industry sector
mtart(4), "material type
vkorg(4), "sales org
vtweg(2), "distr chan
kondm(2), "mat prcing grp
ktgrm(2), "acc asgn grp
dwerk(4), "plant
meins(3), "base uom
tragr(4), "tarns grp
matkl(9), "mat grp
spart(2), "division
ntgew(13), "net weight
gewei(3), "weight unit
werks(4), "plant
ladgr(4), "loading grp
dismm(2), "mrp type
mtvfp(2), "available check
disgr(4), "mrp grp
dispo(3), "mrp controller
beskz(1), "procurement type
prmod(1), "forecasting mode
bklas(4), "valution class
stprs(11), "std price
vprsv(1), "price control
peinh(5), "price unit
lgort(4), "storage location
maktx(40), "mat description
taxkm(1), "tax class
planv(3), "task list usage
brgew(13), "gross weight
mtpos(4), "gen it gross grp
END OF gty_itab1.
DATA:gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
gwa_itab1 TYPE gty_itab1.
TYPES:BEGIN OF gty_itab2,
abc(178),
END OF gty_itab2.
DATA:gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
gwa_itab2 TYPE gty_itab2.
PARAMETERS:p_files TYPE string.
*START-OF-SELECTION.
START-OF-SELECTION.
*using call method uploading CSV file into internal table
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_files
filetype = 'ASC'
TABLES
data_tab = gt_itab2
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_itab2 INTO gwa_itab2.
gwa_itab1 = gwa_itab2-abc(178).
APPEND gwa_itab1 TO gt_itab1.
ENDLOOP.
LOOP AT gt_itab1 INTO gwa_itab1.
SPLIT gwa_itab1 AT ',' INTO
gwa_itab1-matnr
gwa_itab1-mbrsh
gwa_itab1-mtart
gwa_itab1-vkorg
gwa_itab1-vtweg
gwa_itab1-kondm
gwa_itab1-ktgrm
gwa_itab1-dwerk
gwa_itab1-meins
gwa_itab1-tragr
gwa_itab1-matkl
gwa_itab1-spart
gwa_itab1-ntgew
gwa_itab1-gewei
gwa_itab1-werks
gwa_itab1-ladgr
gwa_itab1-dismm
gwa_itab1-mtvfp
gwa_itab1-disgr
gwa_itab1-dispo
gwa_itab1-beskz
gwa_itab1-prmod
gwa_itab1-bklas
gwa_itab1-stprs
gwa_itab1-vprsv
gwa_itab1-peinh
gwa_itab1-lgort
gwa_itab1-maktx
gwa_itab1-taxkm
gwa_itab1-planv
gwa_itab1-brgew
gwa_itab1-mtpos.
*header data
gs_bapimathead-material = gwa_itab1-matnr.
gs_bapimathead-ind_sector = gwa_itab1-mbrsh.
gs_bapimathead-matl_type = gwa_itab1-mtart.
gs_bapimathead-basic_view = 'X'.
gs_bapimathead-sales_view = 'X'.
gs_bapimathead-purchase_view = 'X'.
gs_bapimathead-mrp_view = 'X'.
gs_bapimathead-storage_view = 'X'.
gs_bapimathead-account_view = 'X'.
gs_bapimathead-cost_view = 'X'.
*sales data
gs_salesdata-sales_org = gwa_itab1-vkorg.
gs_salesdatax-sales_org = '8888'. "'X'.
gs_salesdata-distr_chan = gwa_itab1-vtweg.
gs_salesdatax-distr_chan = '88'. "'X'.
gs_salesdata-mat_pr_grp = gwa_itab1-kondm.
gs_salesdatax-mat_pr_grp = 'X'.
gs_salesdata-acct_assgt = gwa_itab1-ktgrm.
gs_salesdatax-acct_assgt = 'X'.
gs_salesdata-delyg_plnt = gwa_itab1-dwerk.
gs_salesdatax-delyg_plnt = 'X'.
*client data
gs_clientdata-base_uom = 'HR '. "gwa_itab1-meins.
gs_clientdatax-base_uom = 'X'.
gs_clientdata-trans_grp = gwa_itab1-tragr.
gs_clientdatax-trans_grp = 'X'.
gs_clientdata-matl_group = gwa_itab1-matkl.
gs_clientdatax-matl_group = 'X'.
gs_clientdata-division = gwa_itab1-spart.
gs_clientdatax-division = 'X'.
gs_clientdata-net_weight = gwa_itab1-ntgew.
gs_clientdatax-net_weight = 'X'.
gs_clientdata-unit_of_wt = gwa_itab1-gewei.
gs_clientdatax-unit_of_wt = 'X'.
gs_clientdata-item_cat = gwa_itab1-mtpos.
gs_clientdatax-item_cat = 'X'.
*Plant data
gs_plantdata-plant = '8888'. "gwa_itab1-werks.
gs_plantdatax-plant = '8888'. "'X'.
gs_plantdata-loadinggrp = gwa_itab1-ladgr.
gs_plantdatax-loadinggrp = 'X'.
gs_plantdata-mrp_type = gwa_itab1-dismm.
gs_plantdatax-mrp_type = 'X'.
gs_plantdata-availcheck = gwa_itab1-mtvfp.
gs_plantdatax-availcheck = 'X'.
gs_plantdata-mrp_group = gwa_itab1-disgr.
gs_plantdatax-mrp_group = 'X'.
gs_plantdata-mrp_ctrler = gwa_itab1-dispo.
gs_plantdatax-mrp_ctrler = 'X'.
gs_plantdata-proc_type = gwa_itab1-beskz.
gs_plantdatax-proc_type = 'X'.
gs_plantdata-period_ind = 'M'. "HARD CODED FOR PERKZ peroid indicator
gs_plantdatax-period_ind = 'X'.
gs_plantdata-inhseprodt = '0'. "hard coded for DZEIT inhouse production
gs_plantdatax-inhseprodt = 'X'.
*forecast parameeters
gs_forecastparameters-plant = '8888'. "gwa_itab1-prmod.
gs_forecastparametersx-plant = '8888'. "'X'.
gs_forecastparameters-fore_model = gwa_itab1-prmod.
gs_forecastparametersx-fore_model = 'X'.
*valution data
gs_valuationdata-val_area = '8888'. "gwa_itab1-bklas.
gs_valuationdatax-val_area = '8888'. "'X'.
gs_valuationdata-val_class = gwa_itab1-bklas.
gs_valuationdatax-val_class = 'X'.
gs_valuationdata-std_price = gwa_itab1-stprs.
gs_valuationdatax-std_price = 'X'.
gs_valuationdata-price_ctrl = gwa_itab1-vprsv.
gs_valuationdatax-price_ctrl = 'X'.
gs_valuationdata-price_unit = gwa_itab1-peinh.
gs_valuationdatax-price_unit = 'X'.
*storage location dat
gs_storagelocationdata-plant = '8888'. "gwa_itab1-lgort.
gs_storagelocationdatax-plant = '8888'. "'X'.
gs_storagelocationdata-stge_loc = gwa_itab1-lgort.
gs_storagelocationdatax-stge_loc = '8888'. "'X'.
*material discription
gwa_materialdescription-langu = 'E'.
gwa_materialdescription-matl_desc = gwa_itab1-maktx.
*tax classification
gwa_taxclassifications-taxclass_1 = gwa_itab1-taxkm.
gwa_taxclassifications-depcountry = 'US '. "HARD CODE FOR TAX
*prt data
gwa_prtdata-plant = '8888'. "gwa_itab1-planv.
gwa_prtdatax-plant = '8888'. "'X'.
gwa_prtdata-prt_usage = gwa_itab1-planv.
gwa_prtdatax-prt_usage = 'X'.
*unitsof measure
gwa_unitsofmeasure-alt_unit = 'HR '. "gwa_itab1-brgew.
gwa_unitsofmeasurex-alt_unit = 'HR '. "'X'.
gwa_unitsofmeasure-unit_of_wt = 'KG'. "gwa_itab1-brgew.
gwa_unitsofmeasurex-unit_of_wt = 'X'.
gwa_unitsofmeasurex-sub_uom = 'X'.
gwa_unitsofmeasure-gross_wt = gwa_itab1-brgew.
gwa_unitsofmeasurex-gross_wt = 'X'.
*appending workarea to table's
APPEND gwa_materialdescription TO gt_materialdescription.
APPEND gwa_taxclassifications TO gt_taxclassifications.
APPEND gwa_prtdata TO gt_prtdata.
APPEND gwa_prtdatax TO gt_prtdatax.
APPEND gwa_unitsofmeasure TO gt_unitsofmeasure.
APPEND gwa_unitsofmeasurex TO gt_unitsofmeasurex.
*calling FM BAPI for uploading the Material master data
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = gs_bapimathead
clientdata = gs_clientdata
clientdatax = gs_clientdatax
plantdata = gs_plantdata
plantdatax = gs_plantdatax
forecastparameters = gs_forecastparameters
forecastparametersx = gs_forecastparametersx
valuationdata = gs_valuationdata
valuationdatax = gs_valuationdatax
salesdata = gs_salesdata
salesdatax = gs_salesdatax
IMPORTING
return = gs_return
TABLES
materialdescription = gt_materialdescription
unitsofmeasure = gt_unitsofmeasure
unitsofmeasurex = gt_unitsofmeasurex
taxclassifications = gt_taxclassifications
prtdata = gt_prtdata
prtdatax = gt_prtdatax.
Check the return table.
IF sy-subrc NE 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE: / 'Error occured while creating material'.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'material',gwa_itab1-matnr,'created'.
ENDIF.
ENDLOOP.Hi Aparna..
even with HUR also i am getting same error.....
is there any changes required in the SPRO .......
i mean in BAPI had ..unitofmeasure we have around 21 fields( here extra fields is DEL FLAG)
but in unitofmeasurex has only 20 fields...
we need to anything in SPRO for avoiding DEL FLAG.....
sorry if i am confusing u.....
thanks for responce and send few more inputs for resolving the issuee.... -
Unit of measure missing for LagDuration in ES for Project Network Activity?
Hello,
I just tried the Enterprise Service "Read Project Activity" (ProjectProcessingManageProjectIn) from ESM ERP 604 in the ES workplace. The field LagDuration in the NetworkRelationship consists of only a number, but no unit of measure. I changed the unit from Hours to Seconds via the Web Portal and watched the results of the Service: the number did not change although one hour should result in different lag time than one second. IMHO the unit of measure is missing in the service definition. Or am I getting something wrong?
Regards,
Uwe.It is even worse: There are several duration fields in the "Manage Project In" Service Interface (e.g. Activity BaseDuration). In the responses these fields always contain a naked number (no unit of measure). In the WSDL these fields are of type "Duration" which has a pattern restriction of "PnYnMnDTnHnMnS" - not an int type! In a request if you pass e.g. "PT20M" (which is a valid Duration according to the samples) you will get a nasty parse error. Can anybody explain? Has anybody worked around this issue?
-
Dear Friends,
I have cretaed RFQ for services such as Manpower Hiring where Item category is,"D".Unit of Measure is UT.
Now I have selected the line item and clicked on Services to enter the details of Manpower such as Welders,Fitters,Carpenter etc. and here Unit of measure is HR (Hours).
Now when I am taking print out of this RFQ.Unit of Meauser for Manpower is UT,it is correct.But unit of Measure for Welders,Fitters,Carpenter etc is STD.Infact it should be HR.
I have checked the table ESLL and value of Unit of Measure here for Welder,Fitters,Carpenter etc and it is STD.
Can anyone explain me why the values are flowing as STD but not as HR?
Thanks in advance.
Regards,
ShrikantHi ,
Check is there any translation happening for your unit mentioned..
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1c/1b5d427609c153e10000000a1550b0/content.htm
I remember i had this issue once ..
Thanks,
sudhi -
BEx Query: Attribute not display Unit of Measure (UOM)
In a BEx I am trying to create a query that displays attributes to 0EMPLOYEE. One of the custom attributes is the employee's rate of pay. We have the hourly rate, nightly rate, etc. This attribute is a numeric attribute with currency assigned as the Unit of Measure. I am trying to create a query displaying the pay rates from the attributes of 0EMPLOYEE but remove the unit of measure in the output. I am aware this can be done on key figures using the NODIM formula. How can I remove on an attribute?
Example: Output is $10.25 UOM. I want it to display as $10.25.
Thanks.Hi,
Create a Formula Variable with Replacement Path for this Attribute.
Use NODIM function for the Formula Variable.
Let me know if it works according to your requirement.
Regards,
Geeta -
CK11N Unit of Measure MIN & HR not consistenly shows
We try to run standard cost estimate using CK11N. As a result some activity type "E" has MIN (minutes) as unit of measurement. By right it should show as HR (hours) because this was the unit we have been using since SAP went live. This problem occurs recently after we have done
patch 22 to 55.
There was no changes in work center, routing, material master. All remain the same.
In routing using MIN for setup time, since long time back.
This problem occured whenever we have setup time between
1 to 5 minutes. If we put 5 minutes above then it will show
as HR, which we are expected to.
For the calculation of cost for activity type there is
nothing wrong, the formula key and formula inside
work center was correct.
So, the question is, is there any setup to tell
the converstion to display as MIN insteas of HR
whenever setup time in routing we put
between certain condition, let say
1-10 will show as MIN
10 and above will show as HR.
There is no error message for this, only display
a different result.
Thank YouHi Berliner
Yes, SAP converts the UOM on the lower degrees if the calculated figures are so small the they are going out of calculations. This I have observed many a times.
Hence according to me costing lot size should be aligned with the routing base quantity or if some Fixed costs are involved in any operation/activity, the costing lot should be optimum to cover the fixed charges else per unit cost will be wrongly inflated.
Regards
Rajneesh Saxena -
GR IN ALTERNATIVE UNIT OF MEASURE
Dear Friends,
I want to know report for GR of production order in alternative unit of measure for a specific day.
Plz help me
Thanks
KKHi,
There is ni standard report in SAP for this.
As for the GR, this cannot be changed, you can disply stock in L or EA in many reports and transactions (MMBE and the physical inventory transactions can all be in either UOM for instance) but the main UOM for stock is the UOM defined on the issuing UOM on the plant / storage view of the material master. Or use MB51with movement type.
Or try report 'SAPMUNIT' from SE38
Regards,
R.Brahmankar -
Standard Report for base Unit of measure & alternative unit
Hi experts
Please give me standard reports for viewing base Unit of measure & alternative unit for a material code.
Regards
sandeepDear Mr Sabine
I observed that you have closed lots of thread without a proper solution. How can you do that? Or what propel you to close the thread? The closure should be done by the person who have created the thread. Till he/she gets a proper reply or the problem is resolved why to close. It may take some time, some days also. Delay reply should not be the reason for closure.
So please avoid from closing unilaterally. -
Change Unit of Measure for Non-stock item PR
Good day!
I have created a non-stock PR. After I saved it, the transaction was then converted to RFQ and then to PO. In PO, it was found out that the unit of measure was incorrect. We have reverse/cancelled both RFQ and PO but the unit of measure field is non-editable. Is there another way to change this aside from deleting and recreating the item?
Thank you.hi,
Its correct...It is always follows the same scenerio...
You can only change the Unit of measure when you have just saved the document and can change it till the further document is not made for it...
Once you make the further document like as you said you have made RFQ, its not possible to make change further...
So, the alternative is you delete the exsisting line item and create the new one...
For the same, create the new RFQ and PO items as well...
Regards
Priyanka.P -
Purchase requisition unit of measure AU ( Activity unit) (Service PR)
Hi!!Group Members!!
When i create Service Purchase requisition from T code ME51N - Create
I select k as account assignment category & D as item category system by default shows AU as unit of measure system does not allow me to change
When i adopt the PR to PO same AU will be in gray & system does not allow me to change
Print out will be in days as service master & data for service is entered in days
Pleas give your valuable inputu2019s so that I can solve my query
Regards
ShamulheqHi11 Roy Anamika
Thank you
I checked below configration screen in my system & has Unit of measure at item level AU
SPRO -- MM -- External Services Management -- Source Determination and Default Values and chage the UOM at client level or purchasing org level
I dont want to change as it is defined @ client level, insted of changing here can i come to know the fild which had become supress ( gray ) in PR & PO
regards -
Service Master - Unit of Measure
Hi all -
had a question about services and alternate unit of measure. On a service master, its not possible to specify alternate UoM (like we do in material master). What is the process to say create a service in minutes and create a PO in hours ?
any help would be appreciated.
thanksHi,
In service master we cant able to maintaint the AUM,
But the service maintainnsce on hourly or daily we have to decide.
Regards,
Andra.
Maybe you are looking for
-
Related to the previous question, the SHIFT command does not recognize the '#' sign over there. it does not eliminate so what I have used before to remove it is. this is the logic.. if znewlawsoncode+??? na 'abcdefghijklmnopqurstuvwxyz'. shift
-
Stuck Messages in Queue in SMQ2
Hi, I have messages that are stuck in a specific queue seen in SMQ2. when I checked the status of the queue, it is RUNNING and the first message in the queue has a statusText 'Transaction Executing'. We have deregister - register, activate, unlock, l
-
HT2729 syncing new ipad mini with itunes
trying to sync my new ipad mini to my older macbook with itunes 10.6 it says i need 10.7. When I check for upgrades it says mine is the latest version. Help?
-
Mass Change to activities status to complete
Hi All, We have a requirment to Mass Change to CRM activities status to complete. How can we change status from open to complete? Thanks in advance.
-
Windows not gaining focus...
Hello! After recent update (I can't recall having this issue before) windows that previously had focus, but lost it after I opened a new window, do not gain focus after I close the new window. This is very irritating, because now I have to click on t