How to convert  unit of measures in bex on master data attribute values

Hi All,
i need to convert the unit of measure in Masterdata Attribute values... that means ) ' 0grooss_wt'. this is attribute as a keyfigure of ' 0material' .. this ' 0gross_wt' values has to convert in KGs. at Present ' 0gross_wt' values are in KG and Grams...
I can change these values in update rules by writting Routine.. But I need to convert it in KGS at BEX Query Designer Level..
I need calculate like this
quantity sold * Gross Weight.
here Gross Weight is the formula variable which replacing the values of gross weight...
i tried by creating conversion types in RSUOM t-code. but it works on keyfigures of infocube.. not on attribute values of master data...
is there procedure in formula variable it self to convert unit of measure before replacing the values.....
or is there any other  solution to  this Problem...
Thanks in advance..
regards
ravi.p

Hi
Have you tried to create a variable for ths kf with exit. I thnk it is possible here
Assign points if useful
Regards
N Ganesh

Similar Messages

  • Converting Unit of Measure (not quantity)

    Hello All,
    I have an interesting issue that I am not sure how to address.  I have done some searching online and through the forums on how to convert unit of measure.  Nearly all of the returned entries pertained to converting FT to LB, and scenarios like that.
    My issue deals with the data in the EORD table.  I created a custom program to create/update numerous source lists using a BDC for transaction ME01.  This way the user can enter numerous materials and plants into one program one time, rather than create each source list individually.  One such source list has a value in field MEINS as GAL (Gallon).  However this is the converted value, this can be viewed in SE16n.  If I use SE16, or debug the program, I can see the value in MEINS as GLL.  This is the unconverted value.  Thus when I create the source list I get an error.
    I was wondering if there was a function module I could use to convert the UoM.  I know I could create logic to check the value of UoM and if it is incorrect to change it using a custom FM or even in the logic of the enhancement itself.  But this could change over time, meaning more units could be added requiring more logic changes.  If there was a standard FM I could use, I could implement it once and be done with it.
    So does anyone have any advice or know of an FM I could use?  I will continue to search for an answer and if I find one I will post.  If my question is confusing please let me know and I will clear up anything I can.
    Thanks for your help in advance.
    Regards,
    C.

    There is a conversion exit on unit of measure, "CUNIT" (via table T006A) use
    CONVERSION_EXIT_CUNIT_INPUT    Conversion exit for commercial (3-char) measurement unit INPUT
    CONVERSION_EXIT_CUNIT_OUTPUT   Conversion exit for commercial (3-char) measurement unit OUTPUT
    Regards

  • How to update Unit Of Measure for a material in BAPI_SALESORDER_CHANGE

    Hi All
    How to update Unit Of Measure for a material in BAPI_SALESORDER_CHANGE

    hi,
    in BAPISDITM structure, which is their in orderitemin
    update updateflag of BAPISDITMX, which is their in orderiteminx for the same field with update flag = 'U'
         kindly try with <b>T_UNIT_ISO</b>
                                or
                               <b>TARGET_QU</b>
    comeback with u r comment
    regards,
    pavan
    Message was edited by:
            pavan kumar pisipati

  • System is not converting unit of measure ment while doing cost estimation.

    Hi All,
    System is not converting unit of measure ment while doing cost estimation.
    Now i am explaining system setting. based on this kindly help me.
    Our Base Unit of Measure Measuremnt in Material Master is M2 (meter square) and We have maintained Unit conversion in Master as  1 PC is <=>2.5 M2.
    We are running costing for 1 M2.
    Producion we are doing in Peaces (PC) .  and i maintained Std Value for for Machin and Labour for PC only. and we maintained charge quantity in phases also.
    While running cost estimation system is not converting std value of machin & labour into M2.instead it is showing full machin and labour time and value.
    System showing PC value for M2 Cost estimate.
    Can any one let me know where i am missing.
    Thanks in Advance.
    Regards,
    Sahil

    Hi,
    as per your explanation: 1 PC (piece) = 2,5 sqm (m2), standard values for "labour / machine" maintained per PC.
    I guess within T-code CUNI, the unit PC does not allow any decimal places (means there can be only 1 piece, 2 pieces, 2 pieces but not 1 and a half pieces, 2,63 pieces,...)
    Now if you are running plan cost estimate for quantity 1 sqm (m2) SAP picks the "labour / machine" values for 1 PC (and not for 1 / 2,5 = 0,4 pieces) as decimal places for unit pieces are not allowed so its up-rounding.
    Run cost estimate for 10 sqm (m2) which should be 4 PC and the result should be fine.
    Best regards, Christian

  • HOW TO CREATE UNIT OF MEASURMENT IN SAP

    HI ALL,
    PLEASE HELP HOW TO CREATE UNIT OF MEASURMENT  IN SAP NM/S
    GIVE ME THE SCREEN SHOT OR STEPS IMM.
    THANKS
    HAPPY

    HI,
    please check the below link for creation of UOM.
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/create-unit-of-measure-1339786
    transaction code to create uom is CUNI and you should have an ISO code for that.
    Regards,

  • How to  extract  master data  attribute from  r/3 to bw give steps details

    how to  extract  master data  attribute from  r/3 to bw give steps details screenshots

    Hi
    Go through the below process to extract Master Data Attribute from R/3
    Hi,
    Maintaining Generic DataSources
    Use
    Regardless of the application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any transparent table, database view or SAP Query InfoSet, or using a function module. This allows you to extract data generically.
    Procedure
    Creating Generic DataSources
    1. Select the DataSource type and specify a technical name.
    2. Choose Create.
    The screen for creating a generic DataSource appears.
    3. Choose the application component to which you want to assign the DataSource.
    4. Enter the descriptive texts. You can choose any text.
    5. Select the datasets from which you want to fill the generic DataSource.
    a. Choose Extraction from View if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the database view or transparent table.
    For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
    b. Choose Extraction from Query if you want to use a SAP Query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
    Notes on Extraction Using SAP Query
    After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the InfoSet.
    For more information about maintaining the InfoSet, see the System Administration documentation.
    c. Choose Extraction Using FM if you want to extract data using a function module. Enter the function module and extraction structure.
    The data must be transferred by the function module in an interface table E_T_DATA.
    Interface Description and Extraction Process
    For information about the function library, see the ABAP Workbench: Tools documentation.
    d. With texts you also have the option of extracting from fixed values for domains.
    6. Maintain the settings for delta transfer, as required.
    7. Choose Save.
    When performing extraction, note SAP Query: Assigning to a User Group.
    Note when extracting from a transparent table or view:
    If the extraction structure contains a key figure field that references a unit of measure or a currency unit field, this unit field has to be included in the same extraction structure as the key figure field.
    A screen appears on which you can edit the fields of the extraction structure.
    8. Edit the DataSource:
    &#9675; Selection
    When you schedule a data request in the BI scheduler, you can enter the selection criteria for the data transfer. For example, you can determine that data requests are only to apply to data from the previous month.
    If you set the Selection indicator for a field within the extraction structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
    &#9675; Hide field
    You set this indicator to exclude an extraction structure field from the data transfer. The field is no longer available in BI when you set the transfer rules or generate the transfer structure.
    &#9675; Inversion
    Reverse postings are possible for customer-defined key figures. Therefore inversion is only active for certain transaction data DataSources. These include DataSources that have a field that is marked as an inversion field, for example, the update mode field in DataSource 0FI_AP_3. If this field has a value, the data records are interpreted as reverse records in BI.
    If you want to carry out a reverse posting for a customer-defined field (key figure), set the Inversion indicator. The value of the key figure is transferred to BI in inverted form (multiplied by –1).
    &#9675; Field only known in exit
    You can enhance data by extending the extraction structure for a DataSource by adding fields in append structures.
    The Field Only Known in Exit indicator is set for the fields of an append structure; by default these fields are not passed to the extractor from the field list and selection table.
    Deselect the Field Only Known in Exit indicator to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list and in the selection table.
    9. Choose DataSource ® Generate.
    The DataSource is saved in the source system.
    Maintaining Generic DataSources
    &#9679; Change DataSource
    To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
    You can change the assignment of a DataSource to an application component or change the texts of a DataSource. Double-click on the name of the table, view, InfoSet or extraction structure to get to the appropriate maintenance screen. Here you make the changes to add new fields. You can also completely swap transparent tables and database views, though this is not possible with InfoSets. Return to DataSource maintenance and choose Create. The screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
    If you want to test extraction in the source system independently of a BI system, choose DataSource ® Test Extraction.
    &#9679; Delta DataSource
    On the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the corresponding query. If you want to delete a DataSource, make sure it is not connected to a BI system.
    NR

  • How to delete the sales org information from BP Master Data in SAP CRM 5.0

    Hi Guruu2019s
    How to delete the sales org information from BP Master Data in SAP CRM 5.0
    Thanks...
    Mahesh Pasupunuri

    Hello
    There is a report attached to [SAP Note 725857|https://service.sap.com/sap/support/notes/725857] that performs the deletion.
    Regards
    Joaquin

  • How to change specified hierachy node to master data attribute automatic?

    Dear BW experts:
             How to change specified hierachy node to master data attribute automatically? I have a retail business: I have a fixed material group hierachy in R3 Retail ,Now I will extract the material group hierachy ,my goal is that the specified material group hierachy node as dimension in query ,not show hierachy level,So I need change specified material group hierachy node to material group's attribute.
    Anybody solve the requests?
            Thank you for your help in advance !

    If I understand your requirement correctly, you need to have a specific Material Group Hierarchy level (Say Level 2) to be an attribute of Material Group. Usually, this level represents a Brand or Segment, or something with specific meaning.
    If this is correct, here are the things you need to do:
    1) Create an InfoOnject for this specific attribute representing the specified hierarchy level
    2) Add this InfoObject to Material Group as an navigational attribute
    3) Select this navigational attribute in your InfoProvider
    4) Create a transformation routine for this navigational attribute in Material Group Transformation so that the specified hierarchy level for Material Group will be found and populated. The detail of this routine will depend on your specific requirement. Also, you have to make sure Material Group Hierarchy is updated before Material Group attributes are loaded. If you are not family with ABAP, please ask an ABAPer to help you for the Transformation Routine.
    5) Include this navigational attribute in your query along with other required InfoObjects.
    Hope this help and good luck!
    Bill

  • Using master data attribute in BEx Query u0096 formula

    Hello,
    I want to use the master data attribute (Eg. Customer master 0CUSTOMER, 0ALTITUDE (Geo Location Height)) in query formula calculation. How do I do this?
    Please help me.
    Thank you
    Subbu

    Hi Subramaniam,
    You can definately use the master data attributes in the formula calculation if that is a numeric value (logically u can use a characteristic in formula).
    for e.g Net weight from 0MATERIAL can be used through formula variable in formula but Color is a characteristic and there is no point in using that in a formula.

  • Master Data Attributes issue in BEx

    Hi Everyone,
                            I have loaded Master Data Attributes and Texts for 0customer. 0Customer has one Display attribute. I add this into the Bex Query Designer.But the data for the display Attribute(SORT1) is not displayed in the Analyzer. I have maintained everything correctly. The Baclkend BI system has Data for the display attribute.
    Do we require to do any additional settings in Query Designer for the dat ato be shown when we drag the display attribute into Query Designer Panel. I have maintained the Display settings correctly in Query Designer
    Please Advise.
    Regards,
    Samir

    Hi,
    are you able to See no data in Field of Attribute(SORT1) or  are you not able to see field Attribute(SORT1) in report?
    if you are not able to see field Attribute(SORT1) in report, right click on 0Customer, select property and go to attribute tab. select Attribute(SORT1)  from left to right. click ok. you will get field Attribute(SORT1) in report.
    you are not able to See no data in Field of Attribute(SORT1). activate master data after maintaning master data and chech value is availble in attribute (SORT1)

  • Convert unit of measure to metric

    Does anyone know how to convert a unit of measure to metric?  Is there a function module that I can use? Thanks.

    report ychatest.
    here qty is ur quantity field in ur internal table ,
    loop at itab.
      call function 'UNIT_CONVERSION_SIMPLE'
        exporting
          input                      = itab-qty
    *   NO_TYPE_CHECK              = 'X'
    *   ROUND_SIGN                 = ' '
         unit_in                    = itab-vrkme
         unit_out                   = 'EA'
      importing
    *   ADD_CONST                  =
    *   DECIMALS                   =
    *   DENOMINATOR                =
    *   NUMERATOR                  =
         output                     = itab-qty
    * 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
    modify itab transporting qty.
    Endloop.

  • Convertion unit of measure....

    Hi,
          I Have KWH(Kilowatt Hour), TO(Tonnes) and M3(Cubic Meter),How to Convert these values into single unit of measure?
    Regrads,
    devi,

    Hi,
    Check following thread as well
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00944f2f-c3e8-2c10-ccb5-a6e4cc882db4?QuickLink=index&overridelayout=true
    RSUOM can be used to maintain the conversion parameters.
    Alternatively we can use numerator/denominator concept as well and get the multiplication done at report or Infoprovider level.
    You can also get that field from source if it is available readily.
    Thanks and regards

  • How to change unit of measurement in report builder 10g?

    Dear members,
    I want to change the unit of measurement from inch to points?
    but there is no effect in layout editor.
    how to change that, I can be able to resize the items on my report.
    Regards:

    Tools > options > Rulers < select points >

  • How to suppress unit of measure in structure

    hi,
    i am using a structure values based on fiscal period. I would like to suppress unit of measure for the values. For normal key values without using structure, I can suppress unit of  measure by function NODIM. But i am not able to use that here.
    How to use it. pls reply.
    Thanks,

    Avneet,
    I am not able to understand your question - if it is a key figure structure - you should be able to use NODIM in a formula...
    Arun

  • How to display "unit of measure" in CO-PA report?

    Dear all,
    Is it possible to include "unit of measure" in CO-PA report?
    From billing document the sales qty is reported in pcs and kpcs (we have maintained conversion betweed pcs and kpcs).
    if unit of measure is not displayed, we don't know the qty is in pcs or kpcs.
    Thanks~

    Hi Sharon
    Go to KE32 and check - There should be an option to include The UoM as a char
    Also, while using drilldown option, the UoM is displayed at the Column Header itself
    br, Ajay M

Maybe you are looking for