Create unit in BW

Hi everybody!
I need to create a unit for 0quantity that is not created in R/3, so I can't replicate the unit of measure from the source system.
Where could I create the unit in BW so I can use it in 0quantity?
Thanks in advance.
Regards.

To add a new Unit of Measure, you can go to tcode CUNI and update the table.
If you're looking to create a new InfoObject Unit Characteristic, that's not possible, because SAP BW doesn't allow the creation of custom Units or Date/Time Characteristics.

Similar Messages

  • Create Unit Test wizard does not populate parameters

    If I right click a standalone function or procedure and select "Create Unit Test", the parameters window is populated and I am able to enter input and expected output values for the test.
    However, when I attempt the same with a function that is within a package, the parameters window is blank.
    I am using version 3.2.20.09

    Looks like someone has already reported this bug (and a workaround) in this thread:
    unit testing packages in sql developer
    Edited by: AJMiller on Dec 11, 2012 9:24 AM

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

  • Problem creating unit testing repository (and workaround)

    I tried to create the unit testing repository with a user that had all the required system privileges granted through a different role other than RESOURCE and CONNECT roles, and who wasn't explicitely granted CREATE VIEW, but inherited it through the custom role. However the check in SQL Developer is explicitely for the RESOURCE and CONNECT roles (regardless of what privileges they have granted to them in whichever database version past, present or future) and for CREATE VIEW privilege granted direct to the user:
    SELECT DECODE (roles.required_role_count + privs.required_priv_count,
                   3, 1,
                   0)
              AS basic_privs_granted
      FROM (SELECT COUNT (*) AS required_role_count
              FROM user_role_privs
             WHERE granted_role IN ('CONNECT', 'RESOURCE')) roles,
           (SELECT COUNT (*) AS required_priv_count
              FROM USER_SYS_PRIVS
             WHERE privilege IN ('CREATE VIEW')) privsI found this SQL contained within the sqldeveloper/extensions/oracle.sqldeveloper.unit_test.jar in an XML file: oracle/dbtools/unit_test/manage_user/UserSql.xml and replaced the SQL with one that actually checks for the specific system privileges:
    SELECT DECODE (required_sys_priv_count,
                   10, 1,
                   0)
              AS basic_privs_granted
      FROM
           (SELECT COUNT(*) AS required_sys_priv_count FROM
             (SELECT privilege
                FROM role_sys_privs
               WHERE privilege IN ('CREATE CLUSTER','CREATE INDEXTYPE','CREATE OPERATOR','CREATE PROCEDURE','CREATE SEQUENCE','CREATE SESSION','CREATE TABLE','CREATE TRIGGER','CREATE TYPE','CREATE VIEW')
              UNION
              SELECT privilege
                FROM user_sys_privs
               WHERE privilege IN ('CREATE CLUSTER','CREATE INDEXTYPE','CREATE OPERATOR','CREATE PROCEDURE','CREATE SEQUENCE','CREATE SESSION','CREATE TABLE','CREATE TRIGGER','CREATE TYPE','CREATE VIEW')))This enabled me to bypass that check when creating the respository. I don't know if all these privileges are actually required by the unit testing repository or not, so maybe the above list can be reduced...
    Edited by: RDB on Mar 1, 2013 2:24 PM

    Hi Sai Vineeth,
    First of all, I appreciate your elaborate way of framing the question. That itself helps others to comment.
    On the first two questions, I am sure you'll be able to follow the answers provided and take care of your concerns.
    On your question 3), an additional piece of information that should bring smile to you
    Whether the Test is to happen in DEV or QAS or whatever 'System Role' is dependent on the Test Plan.
    So, if you have two distinct Test Plans, one for Unit Tests and the other for Integration Tests, which should be the case, as usual, you can certainly point the System Role to DEV or QAS as required.
    Feel free to pose any other query as well.
    Best regards,
    Srini

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Create Unit Test Vectors From The Unit Test Configuration Window

    I have recently been using more test vectors in the unit test framework.
    The principle works well but if you are in a unit test and decide you need a test vector you must:
    Close the unit test configuration
    Create a test vector
    Set up your vector (entering values and data types, which is much easier if you could see the actual unit test case)
    Close the vector configuration window
    Open the unit test configuration
    Assign the new vector file to the unit test
    Now you can assign vectors to test inputs
    This seems convoluted and forces unnecessary context switchs.
    I propose that at a minimum, you should be able to create a new vector file and launch it's configuration without leaving the unit test configuration window. I suspect that the whole process could be streamlined even further though.
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

    Oops supposed to be ideas exchange, sorry!
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

  • How to create UNIT info catalog

    Anyone has the steps to create InfoObject catalog for info object type UNIT ?

    Hi Bee, Unit info object  is SAP defined info object, which is available in Business contect.
    No need to creat.
    if you want to assign A unit of measure to particuler key figure while creating the key figure itself you assign "unit of measure" as "0unit".
    if you want to assign a fixed measure u can select or you simp[ly metion variable in Key figure info object change screen.
    Hope it will help.
    Regards,
    Shailaja

  • How to create unit conversions and translation type

    hi,
        i need to create translation typre for unit conversion, plese provide with tcode for translation creation and table for seeing the unit conversion rates

    TCode for Unit Conversion : RSUOM
    Table: T006
    Hope this helps

  • Create unit costing in Sales order

    Hi all,
      I have a requirement wherein I need to create a Unit costing for an item in Sales order. You can see this, when we select any item in the sales order and choose
    GOTO->EXTRAS->COSTING.
      If any body has an idea, please provide some inputs. Actually, I have checked out BAPI'S for Sales order creation, but I couldn't find any parameters that suits the requirement.
      Very much thankful if any body provides solution.
    Thanks & Regards,
    Adithya

    Hi,
    I know that accessing the VA01 / VA02 t.codes will kill the performance.   Is there any other t.code available in CO to update the unit cost estimate for sales order.  Or if any function modules?
    Rgds,
    Mallik
    Edited by: mallik on Mar 8, 2010 3:19 PM
    Edited by: mallik on Mar 8, 2010 3:19 PM 1213131

  • Create unit cost reports in Hyperion Financial Reporting

    Hi,
    I have some doubts regarding the creation of "per unit" reports in Hyperion Financial Reporting. In the business model we have:
    - different cost and revenue groups (identified by accounts dimension)
    - different business channels (identified by business channel dimension)
    - units different for each business channel (identified by accounts dimension and by currency dimension)
    What would be the most efficient way to easily construct per unit reporting? Reporting should be able to show data as:
    (*in principle, the "$ per unit" column is the most important one. The other columns could be hidden without problem)
    (**the main challenge is to be able to easily reflect per unit values calculated with different units, depending on the business channel and potentially other dimensions)
    More precisely, the questions are:
    1. What should be the dimensions structure? Units in separate dimension? Or inside accounts dimension and differentiate with currency dimension?
    2. The calculation of per unit amounts should be done within the reporting or should it be precalculated value?
    2a. If within reporting - how to technically include this calculations? Show $ and units and then use the formula?
    2b. If precalculated - how to solve the problem that the TOTAL per unit values are not the sum of per unit values for each Business channel separately (as each Business channel has its per unit calculated only with the units of this Business channel)? (please take into account that Business channel may not be the only dimension that changes the units to be used in per unit calculation - we can also have different units for different cost centers etc.)
    3. How to show $ and units separately, as in the example, if, when limiting a row by Revenue, for example, is making the units value for this row 0? How to overcome this?
    Many thanks in advance for your help and best regards,
    Pawel

    I came up with one concept of how to deal with this problem - let me know what you think. The idea is pictured in the image below:
    The answers to the 3 questions using this solution would be:
    1. What should be the dimensions structure? Units in separate dimension? Or inside accounts dimension and differentiate with currency dimension?
    Units would be a separate account in the "accounts" dimension. But also, units could be differentiated by the "currency" dimension.
    2. The calculation of per unit amounts should be done within the reporting or should it be precalculated value?
    2a. If within reporting - how to technically include this calculations? Show $ and units and then use the formula?
    Withing the reporting, as I have no solution to precalculate per unit values using so many different groups of units - if we want to have different per unit per each business channel or cost center etc. I understand we would need that many different precalculated "per unit" values, which would be a lot...
    Regarding 2a, a simple formula would do (box C). However, for rows with auto totals, the formula would need to have priority over the autototals (box D) - how is that done? Is it possible and easy?
    3. How to show $ and units separately, as in the example, if, when limiting a row by Revenue, for example, is making the units value for this row 0? How to overcome this?
    As we can differenciate units using both accounts and currency dimension, with the accounts placed in rows, the elements selected would always include the units (box A). Then, in the columns, using "currency" you would choose whether to show the cost and revenue accounts ($) or units (box B). Like this you would not get 0 in units, neither you would distort $ amounts.
    What is your opinion? Best regards!

  • Can i create IC  without  unit/currency dimention?

    i am not having the key figures of type amount and quantity, in that case can i create the infocube with out creating unit/currency dimention.

    Hi,
    These 3 r fixed dimensions - predeined by SAP. So you need not create any dimension for unit or time or datapackage. Just go to dimensions screen of ur iC. You ll find these 3 at the biottom of the screen as fixed dimensions
    REgards,
    R.Ravi

  • Unit testing in J2EE environment

    Hi All:
    We have been trying to use Junit for creating unit test scripts, and have been bit successful in unit testing DAOs and Value objects - but problem is testing of components like EJBs and Servlets or even classes like Actions or Commands. Since these components run under application server environment, I am not sure how to unit test them without either deploying them on the actual server or simulating app server and rest of the system.
    I was wondering if people could share their experience in writing unit test scripts especially for J2EE components - like Servlets, JSPs and EJBs. On the similar note, is there any similar tool or API for creating integration test scripts?
    Thanks,

    Well - we already have couple of other servers but that's for beta, QA and Integration testing. Problem is with the unit testing. In unit testing, some piece of code is tested by itself. And I am not sure how I can unit test some of the classes like Servlets, EJBs, JSPs or even dependent classes like Commands or Actions. For example, consider following Action class from Java Pet Store:
    public final class CartHTMLAction extends HTMLActionSupport {
    public Event perform(HttpServletRequest request)
    throws HTMLActionException {
    // Extract attributes we will need
    String actionType= (String)request.getParameter("action");
    HttpSession session = request.getSession();
    // get the shopping cart helper
    CartEvent event = null;
    if (actionType == null) return null;
    if (actionType.equals("purchase")) {
    String itemId = request.getParameter("itemId");
    event = new CartEvent(CartEvent.ADD_ITEM, itemId);
    else if (actionType.equals("remove")) {
    String itemId = request.getParameter("itemId");
    event = new CartEvent(CartEvent.DELETE_ITEM, itemId);
    else if (actionType.equals("update")) {
    Map quantities = new HashMap();
    Map parameters = request.getParameterMap();
    for (Iterator it = parameters.keySet().iterator();
    it.hasNext(); ) {
    String name = (String) it.next();
    String value = ((String[]) parameters.get(name))[0];
    final String ITEM_QTY = "itemQuantity_";
    if (name.startsWith(ITEM_QTY)) {
    String itemID = name.substring(ITEM_QTY.length());
    Integer quantity = null;
    try {
    quantity = new Integer(value);
    catch (NumberFormatException nfe) {
    quantity = new Integer(0);
    quantities.put(itemID, quantity);
    event = CartEvent.createUpdateItemEvent(quantities);
    return event;
    In order to unit test above class from say, JUnit test script class, I will have to pass HttpServletRequest object to its method - I will also have to store corresponding command params and store them in the request object - how will you write unit test script for the above class?

  • How can I unit test my Swing application?

    Hi All,
    In my application I came across a situation where I have to automate the unit testing of my application.
    Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame.
    Can any one please help/suggest me, how to automate the drawing process (this process consists of drawing the polylines with mouse and few action/mouse events)?
    your help will be highly helpful to me.
    Satya

    What exactly will that unit test prove? That you can mock the drawing of lines?
    Unit test are supposed to test certain parts of your application code - I'd concentrate on unit tests that are actually useful and for example in the future can help to catch regressions.
    If anywhere you can get help creating unit tests of this magnitude, I'd look in the unit testing support for Swing applications. Google for "java swing unit test" to see what you can come up with. Probably you'll need to create some plumbing yourself to make custom painting unit-testable; perhaps you could do something with painting to a BufferedImage in stead of to a Swing component for example.

  • Does new type of unit testing in Flash Builder4 support ANT task ?

    Hi,
    I am using the new way of creating unit tests following this page http://help.adobe.com/en_US/flashbuilder/using/WS27ECA937-059A-4308-A2E2-F3A3AAB64337.html #WSF04FE993-D0BA-4a2b-BDF1-8B8ABF22E448, which is really easier and more efficient than old ways.
    But I then found that the old ANT task "flexunit" for running unit test not working any more.  So if I want to get the results of unit testing from a CI server, how could I do now?
    Thanks a lot
    Michael

    @Michael Lin89 - You can find information on using FlexUnit4 via Ant @ http://docs.flexunit.org/index.php?title=Ant_Task.  There has been a lot of information collected on the wiki as well related to the CI process.  You can see that info @ http://docs.flexunit.org/index.php?title=Continuous_Integration_Support.  There are also an assortment of community projects built to work with FlexUnit which you can check out on the community page @ http://docs.flexunit.org/index.php?title=Community_Projects. There is also a sample project for working with CI, Ant, Maven, and a few other technologies @ http://docs.flexunit.org/index.php?title=CI_Sample_Project_Information.
    Hope this helps to fill in the gaps as to what support we offer in terms of Ant and CI.
    -Brian

  • How to change Unit for Breakdown Duration in Maintenance order.

    Hello,
    In cuni, somebody created Unit "TST" by mistake, system can not convert it to "second" for calculation automaticlly.
    "TST" make no sence. So if maintain "TST" as Unit for Breakdown Duration in a maintenance order, dump will happen. However there is a maintenance order maintained Unit for Breakdown Duration as "TST" saved by mistake, Dump will happen when I try to access to this order by IW32 to change the Unit for Breakdown Duration. Is there any way to change the Unit for Breakdown Duration"TST" to "H" so that I can access to this order by IW32.
    Thank you.

    Hi,
    You could temporarly adjust the CUNI definition for TST so that it can be converted to seconds. Adjust the notifications to set a valid unit of measure.
    The alternative would be to update the field MAUEH in table QMIH with a valid breakdown unit of measure.
    -Paul

Maybe you are looking for

  • How do I keep an application window hidden when not accessed?

    I have an application running constantly to control my FW audio interface outputs etc. I use system events applescripts to control it's UI with a USB controller (PowerMate) - and that by necessity brings the application window to the front every time

  • Application synchronization issue

    Hi, I have one question for you all, I hate music and application synchronization, but while music is manually synced since the beginning, my applications are synced with iTunes. So every time I sync the iPhone new apps are copied to iTunes and apps

  • Slow Performance when 800 edits applied....

    I have a close friend that told me today that he's applied 800 edits to a single photo and now it takes about 3 minutes to perform any additional edits. He's using a current model 17" MacBook Pro with 8GB RAM. What can be done to accelerate performan

  • Upgraded processor

    I replaced the stock processor on my G4350 Sawtooth with a 1gig Mercury Extreme and it's been working just fine. Problem is the system profiler shows the cpu speed as 0 MHz. Recently I tried to install OSX Leopard on a new external Firewire HD and go

  • How to clear a master detail form in adf

    hi I am using j developer 11 g (ADF). I have a master detail page. i want to clear all data when the form loading first time I used an lov for searcching the data. here am called createInsert method for clearing the data from form on pageload, but am