Conversion automatic unit measure

Dear all.
I have a question/trouble with the unit measure.
I am using a material with Base Unit of Measure = pza and Order Unit = crt.
When a SC is created; it is with a Base Unit of Measure = pza; but when PO is created, It does not make the automatic conversion of Order Unit = crt
How can I make this conversion automatic?
I appreciate your support in this issue
Thanks in advance

Any suggestion?

Similar Messages

  • Problm tih unit measure conversion

    Hello Sdn,
    I am facinga problem while changing the Purchase Info Record (ME12) via BDC. I am getting 2 errors and record is not getting updated.
    1) Conversaion problem with unit & Measure
    2) field KONP-NBETR value longer then screen field.
    I was user conversaion function module for unit measure value, still iam getting this error. Could you please any body help me out from this issue, so that I can move a head. Appreciate for your immediate response.
    Regards,
    Kumar.

    Its closed

  • Conversion of Unit of Measure in ALV Grid

    Hi all,
    I am using function 'REUSE_ALV_GRID_DISPLAY' to display some records in ALV grid. The record displays material, the quantity of the material consumed and the unit of measure (UoM) of the quantity. I am fetching the data from the table AUFM and the field I am using for UoM is ERFME.
    The problem is that when the UoM is displayed in the ALV, it is displayed as KAR but when i print the report or check the print preview, the UoM is displayed as CAR. I want to display CAR also in the ALV.
    I have tried using the function 'CONVERSION_EXIT_CUNIT_OUTPUT' which converts the KAR to CAR in the ALV, but when I print it or check the print preivew ,  it shows asterisks (*) in the UoM field.
    Can anyone tell me why this is happening and how I can solve this problem? Any help will be greatly appreciated.
    Regards,
    Hamza

    Hi Ozkar,
    I tried the function 'CONVERSION_EXIT_CUNIT_OUTPUT', it worked fine when displaying the UoM in the ALV, meaning it displayed CAR instead of KAR, but when I printed the list or chicked the print preview, it displayed stars (***) in the UoM field.
    Anyway, I tried something else and now it is working fine. I am writing below what I did so that if anyone else has this problem, they can also do what I did.
    As I said before, the UoM field was showing KAR instead of CAR in the ALV. So after passing the data to an internal table which would be used to display the data in the ALV, I called the function 'CONVERSION_EXIT_CUNIT_OUTPUT' and converted KAR to CAR. this displayed CAR in the ALV.
    Now, to also get CAR in the print out and print preview,I declared variables gt_event_exit and lt_event_exit.
    DATA: gt_event_exit TYPE  STANDARD TABLE OF slis_event_exit,
               lt_event_exit TYPE slis_event_exit.
    The variable will 'lt_event_exit' will contain the function codes of the Print(&RNT) and Print Preview (&RNT_PREV) buttons on the ALV. In the form where I am calling the function 'REUSE_ALV_GRID_DISPLAY', I pass the function codes to lt_event_exit and append it to the internal table gt_event_exit.
      lt_event_exit-ucomm = '&RNT'.
      lt_event_exit-before = 'X'.
      APPEND lt_event_exit TO gt_event_exit.
      lt_event_exit-ucomm = '&RNT_PREV'.
      lt_event_exit-before = 'X'.
      APPEND lt_event_exit TO gt_event_exit.
    Next I pass this table to the parameter 'IT_EVENT_EXIT' of 'REUSE_ALV_GRID_DISPLAY'. I also create a form USER_COMMAND and pass this form to the parameter 'I_CALLBACK_USER_COMMAND' of 'REUSE_ALV_GRID_DISPLAY' as shown below.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
                 I_CALLBACK_USER_COMMAND = 'USER_COMMAND '
                 IT_EVENT_EXIT                          = gt_event_exit
    What the above does is that, when a user clicks on the print or print preview button, the system instead of printing the list, it passes the control to the form USER_COMMAND. After the form is processed, it prints the list.
    In the form, I placed a loop on the internal table containing the data to be shown and simply converted the CAR back to KAR. The code is given below.
      FORM user_command USING  r_ucomm LIKE sy-ucomm
                              rs_selfield TYPE slis_selfield .
        CASE r_ucomm .
          WHEN '&RNT' OR '&RNT_PREV'.
            LOOP AT i_final .
              CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
                 EXPORTING
                   input = i_final-erfme
                   language = sy-langu
                 IMPORTING
                   output = i_final-erfme
                 EXCEPTIONS
                   unit_not_found = .
              MODIFY i_final.
            ENDLOOP.
       WHEN .
       WHEN OTHERS.
        ENDCASE.
    I hope this is helpful to anyone who has the same problem as I did. Now what I cant figure out is why the system automatically converts KAR to CAR when displaying print preview or when printing the list.
    Well, thanks anyway for the suggestion Ozkar.
    Regards,
    Hamza

  • Conversion of unit of measure function module.

    Hi All,
    Can you let me know the function module that convert the unit of measure from EACH(EA)to cases(CS). I have the material that unit of measure is in EACH(EA). And i have to dispaly in cases(CS).
    Regards,
    Rakesh Singh

    Hi Rakesh,
    Try this Function Module:
    MD_CONVERT_MATERIAL_UNIT
    Im sending you a sample code also.
    *& Form  f2121_convert_price
    Convert price to Base UoM
         -->P_LV_MEINS  Conversion UoM
         -->P_LV_KBETR  Converted Rate
         -->P_LV_KMEIN  Condition unit
         -->P_LV_MATNR  Material Number
         -->P_LV_KSCHL  Condition Type
    FORM f2121_convert_price USING    p_lv_meins
                                      p_lv_kbetr
                                      p_lv_kmein
                                      p_lv_matnr
                                      p_lv_kschl.
      DATA: lv_imenge LIKE ekpo-menge,
            lv_emenge LIKE ekpo-menge.
      lv_imenge = p_lv_kbetr.
      CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
           EXPORTING
                i_matnr              = p_lv_matnr
                i_in_me              = p_lv_kmein
                i_out_me             = p_lv_meins
                i_menge              = lv_imenge
           IMPORTING
                e_menge              = lv_emenge
           EXCEPTIONS
                error_in_application = 1
                error                = 2
                OTHERS               = 3.
      IF sy-subrc = 0.
        p_lv_kbetr = lv_emenge.
      ELSE.
        CONCATENATE text-009 p_lv_kschl INTO v_err_msg.
      ENDIF.
    ENDFORM.                    " f2121_convert_price
    Hope this helps you.
    Regards,
    Anjali.

  • Regarding Base Unit conversion to Unit of measure

    Hi all ,
    I have a  Custom report which post the goods Issue .
    The program uses tables mard and mska. In mard table fields used are mard-matnr,  mard-labst,mard-Lagerort,mska-sobkz,mska-vbeln,  mska-posnr,e mard-werks.
    the program call mb1a for updating the data using Bdc .
    <b></b>the problem is that the quantity of the stock is
    shown only in the base unit of measure .. but some material have Alternative Unit of measure  ... Its not taking Alternative Unit of measure ...
    Any help is highly appreciated ..
    Regards,
    Amarnath Reddy.

    Hi all ,
    the program aim is to transfer the stock from the storage location with reference to order number from  CO (cobl-aufnr).
    In mard when i am able to c the unit of issue for the selected material number.
    My question is in the report program sap is not looking for the unit of issue . It is only taking basic unit of issue ... Is there any way that program looks for the Unit of issue .

  • Conversion of unit of measure

    Dear Guru,
    I am making Sales Order, when I give freight in KG, it does not convert in gram or Ton. from where it will be done.
    Regards,
    Manoj Kumar

    Hi,
    In MMR sales view u maintain the sale unit, it will ask for the relation, give the relation & save it.
    Now u do sale order it will pick.
    Pandari

  • Different unit Measures Total in over all Result

    Dear All,
    The quantity is in different unit of measures like
    Presently getting:
    10PC
    10KG
    10PC
    20KG
    10ton
    Total *
    when add all those things the over result shows the *
    when i go with CKF  NODIM  option i could not found againest which order kgs are there and for which order pcs are there.
    So there is any option getting the overall result   total of different unit of measures .
      I want as below
    10PC
    10KG
    10PC
    20KG
    10ton
    Over all Result :
    20pc
    30kg
    10ton
    like that I need any possibility , Unit converion doing at  transforamation level based on the conversion factors
    but the  base unit of measure and Alternate unit of measures are  different orders are having different units , so it should be added.
    Please can anybody provide the some information.
    Thanks & Regards,
    Sathish

    Hi,
    Thanks for  your kind responce,
    which you said is ok to some extent , but the report looks not good
    as per your idea the report output is below
    order  unit1    unit2    unit3   value     qty
    1        x          kg        x      10000      20
    2       to          x         x          5000     10
    it looks like that , it is not good again the customer want total of the all units so the above one will not give
    in which way i mentioned in same either it is possible or not
    Once again thanks for kind responce and Idea
    Thanks & Regards
    sathish

  • Conversion between units belonging to different dimensions.

    Hello Friends,
    Is there any standard way available in BI 7.0 to convert unit cubic meter (M3) to Tonnes (TO). I am struggling to convert as both the units belong to different dimensions (M3 -> Volume and TO -> Mass).
    There is a function module in R/3 (MD_CONVERT_MATERIAL_UNIT) which does the required conversion. I am not able to find an equivalent in BI.
    Please assist as this is time critical. Thanks!
    Regards,
    Prem.

    Hello Prem,
    See this doc
    [How to Report Data in Alternate Units of Measure|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f]
    Thanks
    Chandran

  • Is there a way to automatically build measure object with SUM(col_name) from INT DB column?

    Hello,
    I have a workflow that needs to be repeated every month and I'd like to optimize it.
    1. DB table in SQL Server 2008 looks something like this:
    TABLE [CONTRACTS_GCO_LVL2](
      [CONTRACTS_BP_ID] [varchar](50),
      [Flag 1] [int] ,
      [Flag 2] [int] ,
      [Flag 3] [int] ,
    2. I bring this table into my BOE IDT 4.0.3 and drag it into object folder. All INT columns become dimensions. This is not what I want. These are 1/0 flags for me and I need them to be measures with SUM aggregation.
    3. I select all these INT sourced dimensios and right click on them with "Turn into measure with aggregation function - SUM"
    The problem is that step #3 is unbelievably slow. I need to spend hours doing this as I have thousands of these flags. I end up selecting all dimensions from one screen and converting them at the same time. This takes 4-5 minutes. IDT runs on a Win 2008 R2 Enterprise server with 32 GB RAM and 4 CPUs.
    In Universe Designer there used to be external strategies that allowed some customization of how the objects get automatically created from DB tables. I know there are no strategies in r4 (External strategy for tables)  but is there anything else to make this process faster?
    Thank you all!
    Natasa

    Hrm, I'm suspecting that perhaps it has to do something with setting CHAR fields. Some of the fields in this table are CHAR but I don't see a call in my PreparedStatement that can set a char, only a String, so that's what I've been using, but it may be that that's not the right thing to do. I'm running Java 1.5.10, and looking through the API there doesn't seem to be anything specifically for char.

  • Conversion of units

    Hi Experts
    Can anyone help me with conversion of a key figure which has cases to each. I have a kf which is having the numbers correctly if we filter units - sales unit as cases and bases units as eaches.. but when we remove the filter it removes all the numbers and is showing the same value. This is in the cube level. Now I want to show this converted value in kf, but not the same value. Can any one help? This is BI 7.0. If I have to write a code, can you show me step by step where and how to write it.
    Thank you
    Swetha

    Hi,
    Do you need conversion at report level or at staging/cube level?
    If it is at report level try creating CKF in report by using availabe fuctions.
    Please provide some exaple of your conversion so will be able to try more.
    I hope it will help.
    Thanks,
    S

  • No rounding with rounding profil when conversion  Roundg Unit Purch Unit

    Hello,
    I have a trouble when I try to make a purchase order with a material which has this data:
    Base unit ST
    Purchase unit on info record : CAR
    Rouding profil on info record : only with unit PAQ (%+ 50 ; %-50)
    Variable purchase order unit : 1 active.
    CAR = 10 ST
    PAQ = 5 ST
    When I make a purchase order, the quantity is only rounding with the purchase unit.
    Does anybody know why?
    Thanks a lot for your help.
    Sarah
    Edited by: Sarah Ah on May 24, 2011 11:15 AM

    Hi
    Its quite difficult to suggest something based on your inputs.
    In purchase orders, the system rounds to the unit of measure most suitable for logistics purposes.
    You can refer the documentation on dynamic rounding profile
    http://help.sap.com/erp2005_ehp_03/helpdata/en/4c/420da3470a11d1894a0000e8323352/frameset.htm
    Thanks !
    E.Avudaiappan

  • Sales Unit Measure

    Hi friends,
    I am working with a store network that sell Ceramic Tiles, and they use Square meters (M2) as a Base Unit of Measure for this material. They also handle the inventories in M2 and the material Price is by M2.
    The problem we have, is that they sell the material in M2, but it is packed in boxes of 1.5 M2 each one for example, and the customer ask for M2 but the quantity may not be equivalent to the M2 in the boxes.
    I mean, if a customer ask for 2 M2, but as each box has 1.5M2, the Sales Order should show 3 M2, because we can’t divide the box and the delivery unit should be to 2 boxes (CRT unit in SAP).
    I defined M2 as a Base Unit of Measure and CRT as an Alternative Unit of Measure, using the relationship 10 CRT to 15M2, in order to use whole numbres, because the system doesn’t allow decimals.
    I also defined, in the carpet sales org. 1, the following quantity stipulations:
    Min . order qty: 1.5 M2 ;  Min. Dely qty: 1.5 M2;  Delivery unit: 1 CRT
    In the Plant data /stor. 1 carpet, I defined CRT as a Unit of issue.
    I made a test but it didn’t work, I create an order for 2M2 and the system showed 2M2 instead of 3M2.
    Could you please tell me what I did  wrong and  how to solve it.
    Thanks in advance.

    Hi Manoj, I already had the condition PR00 defined for the material, and the price is by M2, because they sell by M2.
    I solved the problem partially with the rounding profile in the material master record, and now the system rounds the M2 quantity to the M2 in the box, I mean, if the sales order is by 5M2, the system rounds to 6M2 because each box has 1.5M2 and this is ok, however the system doesn't take the unit delivery in boxes (CRT) but M2, and we need to delivery in boxes not in M2.
    Regards, Gerardo

  • Changing of base unit measure

    Hi Experts,
                  I have problem regarding the changing of base unit of measure, I already closed all documents of related material, but still it can not be changed
    Error message given as
    The base unit of measure cannot be changed.
    The reasons for this are:
    Material staging requirements already exist.
    Reserv.No. Item
    No Data
                 awaiting for your valuable answer.
    Rakesh

    Dear,
    Message no M3 189?
    Activating the deletion flag or completing the production order technically is not sufficient if you want to exclude the production orders from the check since you can cancel these statuses at any time.
    The solution is to set the deletion indicator for the affected orders with the help of Transaction CO78 and to archive afterwards.
    Please refer OSS Note 95491and 138767.
    Regards,
    R.Brahmankar

  • Regarding unit measure of material

    Dear Guru's,
         I want to know the path for defining the new unit of measure for material like EA-EACH,KG-KILOGRAM.
    Thanks in advance,
    Regards,
    cherukuri

    hi,
    You can only change the base units of measure unter 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.
    If requests for quotations, purchasing info records, or contracts are available for a material, the system emits a warning if you change the base unit of measure. If one of these objects is then changed into an order, you only need to 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.
    Procedure
    Call the material master record in the create mode.
    Overwrite the old base unit of measure with the new one in one of the user department screens.
    Save the change.
    regards,
    Siddharth.

  • Automatically update measurement in Rental Object

    Dear Expert,
    Normally when we change the measurement in Architectural object, the measurment will be automatically updated to others Architectural object related to it.
    For example i
    f we expand the measurement in the building which is under the business entity, system will issues a message to update the
    measurement for others architectural objects in above hierachy.
    Is it possible to do the same function for the rental object such as room (RU02)under the building (RU01)
    Best regards,
    Timaporn

    Dear Joerg,
    Thank you very much for your advice. I found that, the measurement amount of RO can be automaticcally update if it link to architectural object with full assignment. When the measument of architectural object is changed, the system will automatically update rentsl object assigned to it.
    However, my requirement is to make the RO to be automatically update the measument amount in the related hierachy when change is made from RO, not AO.
    is there anyway to make this possible?
    Best regards,
    Tima

Maybe you are looking for

  • Calendar alarms are no longer supported?

    My previous scripts are simply not running and there doesn't seem to be an option to add one to an event any more! Automator still has the option to create calendar alarms and my scripts still exist, but the feature seems to have been dropped from "t

  • Error opening PDF attachment (via email)

    Hello, I've problems to send a PDF file with the function: 'SO_DOCUMENT_SEND_API1' At first a small overview of my process: - 'SCMS_DOC_READ'                 -> to read the file from the archive - 'SCMS_BINARY_TO_FTEXT'     -> to convert from bin. to

  • -3403D error when attempting Apple Hardware Test

    Hi everyone, I want to perform an Apple Hardware Test. I restarted, pressed option+D, and a globe appeared. After a minute, however, the following text appeared: Apple.com/support -3403D

  • Numbers for iPad user guide multilanguage

    hi evrerybody i was looking for the user guide for numbers for iPad in PDF but didnt find anything on the net or the suppport sections. all what i found are user guides for Numbers 09 ,obviously for Mac. till i found this link,so i thaught it would b

  • XServ doesn't display files in open/save window

    Hi; I have a weird problem. I have installed OS 10.5.1 on three machines so far and have worked through most of the issues but currently I have 1 machine with a weird problem. It is that when I try to show the files in the XServ in the standard OS Di