Convert units in COSS/COSP

What FM do I use to convert units in COSS/COSP?  Do I just use FM UNIT_CONVERSION_SIMPLE?  I imagine I can use this FM but I do not know how to verify the results.
Regards,
Davis

Integration typically acts as a lowpass filter. For mechanical vibrations, you should make sure that your acquired signal is AC coupled or that you remove any DC component from the signal to integrate as this DC component will dominate the response and you will see a net displacement after integrating that isn't true of the real system.
You can integrate in the time-domain via filtering or numerical integration, or you can integrate in the frequency domain by simple scaling of the magnitude spectrum and shifting of the phase spectrum. It is easiest to integrate in the frequency domain because you don't have to worry about DC components dominating the velocity or displacement signals as it is easy to null the first bin in the spectrum. On the other hand,
if you need the time-domain displacement, you will have to use a time-domain technique. If you use filtering, be sure to allow enough time for the filter to settle before doing any additional measurements. If you use a numerical integration technique, pay particular attention to the initial conditions you use.
Good luck.
Doug
NI Sound and Vibration

Similar Messages

  • Cost center data fetch from COSS/COSP tables.

    Hi Experts,
    I need to fetch data from COSS/COSP tables for particular Cost centers fetched in CSKS select.
    As there is no Costcenter field I cannot access the database tables directly.
    Fetching entire dat and then deleting is causing performance issue with the report.
    I need to reduse the time taken by COSS/COSP table select , as I have Cost center field on the selection screen.
    Is there any other method or  FM that I can use?
    Thanks in advance!!!

    Hi
    This is my code to get the data from a certain cost element group:
    }call function 'G_SET_GET_ID_FROM_NAME'
         exporting
           shortname                      = p_kagru
           tabname                        = 'CCSS'
           fieldname                      = 'KSTAR'
           kokrs                          = p_kokrs
           ktopl                          = 'ENPC'
           setclass                       = '0102'
           check_set_empty                = 'X'
         importing
           new_setid                      = setid
    *     SET_INFO                       =
        exceptions
          no_set_found                   = 1
          no_set_picked_from_popup       = 2
          wrong_class                    = 3
          wrong_subclass                 = 4
          table_field_not_found          = 5
          fields_dont_match              = 6
          set_is_empty                   = 7
          formula_in_set                 = 8
          set_is_dynamic                 = 9
          others                         = 10
       if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       endif.
       call function 'G_SET_GET_ALL_VALUES'
         exporting
    *     CLIENT                      = ' '
    *     FORMULA_RETRIEVAL           = ' '
    *     LEVEL                       = 0
           setnr                       = setid
    *     VARIABLES_REPLACEMENT       = ' '
    *     TABLE                       = ' '
    *     CLASS                       = ' '
    *     NO_DESCRIPTIONS             = 'X'
    *     NO_RW_INFO                  = 'X'
    *     DATE_FROM                   =
    *     DATE_TO                     =
    *     FIELDNAME                   = ' '
         tables
           set_values                  = t_set_values
        exceptions
          set_not_found               = 1
          others                      = 2
       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 t_set_values.
        count = count + 1.
        r_kstar(3) = 'IEQ'.
        r_kstar-low = t_set_values-from.
        append r_kstar.
        if count = 500.
          perform read_coep.
        else.
          at last.
            perform read_coep.
          endat.
        endif.
      endloop
    U can use somthing like that to get data from cost center
    Max

  • 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

  • R/3 Datasource for COSS, COSP, COSSP, COSPP

    Hello experts,
    I need to extract the data from COSS, COSP, COSSP, COSPP tables in R/3. Is there any BW Datasource that pulls the data from these or Do I need to create Generic extractors?
    I would greatly appeciate your help.
    Thanks
    Sri

    hi Sri,
    try to go to help.sap.com, click 'search documentation',
    and option 'netweaver', type in coss, 'search',
    you will get datasources
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/5f61006c2b7048aaba0581e417f70c/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/000ba8833f4944a951b35243b2d415/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4a/95153fdb6f6b36e10000000a114084/frameset.htm
    check the same for cosp,cossp,cospp
    and check bi best practice
    http://help.sap.com/bp_biv235/BI_EN/html/BW/ControllingAnalysis.htm
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    hope this helps.

  • Converting Units in LabView and specifying sampling rate with Universal Library functions

    Hi,
    I am having trouble converting units in LabView 7.0 and having it write to a file / output on a chart in Nm instead of in volts.  I can't seem to find any straightforward instructions, eventhough it seems like a simple task. 
    Another task that would seem rather simple is changing the sampling rate with the XAIn program from the Universal Library for LabView (this is version 5.40).
    If anyone could help me out, I would greatly appreciate it - I have tried other sources without much luck!
    Thanks
    Jenna

    Are you really needing to change units or do you need to scale the voltages read from your sensors? If it's scaling, it would be trivial to set this up in mAX or with the DAQ Assistant if you were using an NI board. Since you are not, then you could use the Scaling and Mapping Express VI. The y axis of a chart is just a label. You can use the text tool to change it to anything you want.
    I have no idea how to change sample rate for your board. Have you asked the vendor?

  • Macro to convert Units to dollars (Product master)

    Hi experts,
    We want to forecast in units and convert units to dollars .
    What is the easiest way to convert units to dollars in planning book .
    Is there any way I can write a macro which picks up unit forecast in planning book and multiply with unit price in product master .
    Any help will be truly appreciated .
    Message was edited by: Moshe Naveh

    Hi ,
    You can have a currency based KF and if the prices are maintained in Pdt master then a simple macro should help. The advantage of using curreny based KF would be usage of multiple currencies as per business requirement.
    Let me know if it helps.
    Regards
    Gaurav Mathur

  • 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 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

  • Relation between COEP-COBK-COSS-COSP

    Hi  Experts,
    I am working on Archiving Object for COPA2_XXXX and job successfully executed with information COEP -- 5089 Records
    COBK -- 15765 Records
    COSP -- 20,765 Records will get archived.
    I would like to know the relation between COEP, COBK, COSS and COSP tables.
    I can see the 5089 Records in COEP table by giving the same selection input what i maintained in Archive Object and also using KSB5 Transaction.
    What to KNOW WHAT IS THE RELATION BETWEEN
    COEP --- COBK
    COEP --- COSP
    COSP --- COSS TABLES.
    Please help me in this regards.

    Hi,
    find the common fields between the tables:
    <b><u>COEP and COBK:</u></b>
    KOKRS
    BELNR
    GJAHR
    VERSN
    VRGNG
    TIMESTMP
    <u><b>COEP AND COSS:</b></u>KOKRS,BELNR,LEDNR,OBJNR,GJAHR,WRTTP,VERSN,KSTAR,HRKFT,VRGNG,PAROB,USPOB,BEKNZ,TWAER
    MEINH,BELTP,BUKRS,FKBER,TIMESTMP,GEBER,GRANT_NBR,SEGMENT.
    <u><b>COEP AND COSP:</b></u>
    KOKRS,BELNR,LEDNR,OBJNR,GJAHR,WRTTP,VERSN,KSTAR,HRKFT,     VRGNG,PAROB,USPOB,VBUND,PARGB,BEKNZ,TWAER,
    MEINH,BELTP,BUKRS,FKBER,TIMESTMP,GEBER,GRANT_NBR,SEGMENT.
    Debjani

  • Function module to convert unit of meause

    Hi. I am using a function module 'CF_UT_UNIT_CONVERSION' to convert UoM for material. But it's output field 'VALUE_NEW_EXP' is smaller (length 9 including 3 decimals). So I am getting a overflow error when the value crosses the limit. Is there any substitute function module available for this? Please let me know ASAP. Thanks in advance for your kind help.

    Hi.
    Now my error has gone. i.e. not getting the overflow shortdump but quantity is not getting converted into required units of measure... Can you please guess what should be the problem...
    Appreciate your help.
    Thanks.

  • FM for converting unit form one uom to another

    hi,
    can any one provide me fm ehich can be used to convert volumn and weight of delivery from one unit of measutre to another?
    i tried with UNIT_CONVERSION_SIMPLE but it gives error saying
    Exception       INPUT_INVALID
    Message ID:          BM
    Message:
    Please use a number field for the input value
    Thanks

    it is still not working, below is the test report i had created
    data : p_input type p DECIMALS 3.
    data: p_OUTPUT type string.
    p_input = '100.000'.
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
      EXPORTING
        input                      = p_input
       NO_TYPE_CHECK              = 'X'
       ROUND_SIGN                 = '+'
       UNIT_IN                    = 'CCM'
       UNIT_OUT                   = 'CD3'
    IMPORTING
      ADD_CONST                  =
      DECIMALS                   =
      DENOMINATOR                =
      NUMERATOR                  =
       OUTPUT                     = p_output
    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
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write P_output.
    thanks

  • 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

  • Convert Unit of Measure

    Hi all,
    i need a function that must change another unit of measure, not base unit of measure.
    Which function can i use ?
    Thanks a lot.

    Hello,
    AFAIK there is no such func. It's always AUoM --> BUoM --> AUoM.
    You can use the function 'MATERIAL_UNIT_CONVERSION' for these conversion.
    BR,
    Suhas
    PS: In our system we've created a custom function module to the direct conversion for AUoM --> AUoM.

  • At what level are the records pooled in COSS and COSP Tables

    Dear All,
    I have a question for you. i wold like to know what is the criteria that is taken into consideration while arriving at the totals in the COSS and COSP Tables.
    What are the fields that must be similar for some line items to be pooled and shown as a total record in COSS Or COSP Tables.
    For Ex: If i have two records in COEP table, what are the fields that must be equall for them to be shown as one Record in COSS or COSP table.
    Best Regards
    Kumar.D

    Criteria for pooling in COSS/COSP is the following:-
    Ledger
    Object number
    Fiscal Year
    Value Type
    Version
    Cost Element
    CO subkey
    Bus.Transaction
    Partner Object
    Source Object
    Dr/Cr indicator
    Trans. Currency
    Period block
    should be same
    Regards
    Sach!n

Maybe you are looking for

  • Db recovery in a multiprocess environment

    Hi, We have a application consisting of two tomcat servers using Berkeley db and hence the application is simultaneously accessed by two or more(I have a few utilities too) processes. I run one of these instances with primary flag and othe instance a

  • Can see only 1 record in DSO

    Hello Gurus, I transferred successfully 200 records from flat file to PSA and viewed them in PSA. Then I transferred them with a DTP to a DSO. In "Manage" option I can see that 200 records have been transferred but when I click on "Display Data" opti

  • Cannot make international call

    Hi, I am having problem to make international call. Below is the config. 022247: *Nov 25 02:08:27.598: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (10.53.5.38)sh run Building configuration... Current configuration : 22590 bytes ! Last c

  • Which tool i should choose

    I am a Jackeroo in javaprogramming . I wanna establish a webpage with JSP. Can anyone tell me which tool i should use.and which languange i should take.J2EE or J2SE or anythingelse. Thanx for all the reply

  • Failure to Uninstall PC suite

    Hi I may be missing something in the other discussions on this topic. My situation is that I want to update PC suite and am getting a message to unistall the previous version. However the Unistall logo has a red cross through it and does not work. I