Programmatically add a dimension condition in my BI JSP crosstab page

How can I programmatically add a dimension condition on a existing measure in my BI JSP page?? My case is that I have a fact table which stores all department cost. I want my BI JSP crosstab can only display one department cost total "not" all department total. But, the department condition is base on which user logined. For example, "A" user should display "aa" department and "B" user should display "bb" department. Please HELP!!!!!!!!!!!! Thanks very much!!!!!
Regards,
Eric

I would recommend using the built-in security feature of the analytic workspace. There is a command called PERMIT that can be applied to both dimensions and cubes and controls user access to dimension members.
There is a document on the OLAP home page that explains how to secure and AW using the permit command
http://www.oracle.com/technology/products/bi/olap/olap10g_applying_aw_security.doc
Hope this helps
Keith Laker
Oracle EMEA Consulting
BI Blog: http://oraclebi.blogspot.com/
DM Blog: http://oracledmt.blogspot.com/
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Samples: http://www.oracle.com/technology/products/bi/samples/

Similar Messages

  • How to add Terms and Conditions in Standard PO XSL-FO template

    Hi all,
    I want to add terms and conditions in PO_STANDARD_XSLFO template....
    anyone has idea how to do it...
    In the template one place is given to add Terms and Conditions, but i am not able to use it.....
    Regards
    Ravi

    You are not getting my question Vicha... I am explaining you.....
    For POrelated work....
    Like SQL,PL/SQL file we keep it in PO_TOP/SQL directory
    Shell Scripts file in PO_TOP/bin directory
    RDF in PO_TOP/report...directory
    Now i am confused here that we have to keep this Terms and Condition file in specific directory under PO_TOP
    OR
    we can keep it anywhere on Server in any directory.
    Regards
    Ravi

  • How to programmatically add rectangle to a pdf file ?

    How to programmatically add rectangle to a pdf file ?
    There is several page pdfs, non-vector, black and white.
    Users are color blind and have disabilities.
    To train them, one adds a rectangle at a certain lower-left point and width,height specified for a page.
    The idea is to give the script the page and coordinates and size of rectangle to be added programmatically. Green rectangles are acceptable as the cones are most sensitive there.
    Also, additional feature to add bookmarks on the left in the order these rectangle data is provided to the script.
    The script could be "hard-wired" by a list of the rectangle coodinates, and page number, pasted inside acrobat and run or entered into acrobat in some way.
    Your script would help many disabled people who are distributed through out the world.
    Feel free to contact me by email if you wish.
    Dying Vets

    P.S.
    This rectangle does not have to be a full annotation rectangle which needs user,date and a lot of info.
    Something minimal like this would suffice
    1 0 0 RG % red for stroke color
    200 300 50 75 re
    As you can see that the native unit of the pdf file is the "point" having 72 in an inch.
    The file dpi would be given. However, one could assume that pixel for the rectangle lower-left and width/height are given.
    From the pixels and dpi, the points could be calculated if desired.

  • Which is better - Add a dimension or create more members in an existing

    Which is better - Add a dimension or create more members in an existing dimension?
    We are trying to figure out which can give us better performance in terms of calculations and retrieving reports - to add another dimension (entity/country) or add about 500-800 more members in an existing location/division dimension?
    Thank you!

    If you have BSO cube i would recommend to add in the same dimension where as ASO you can add members in a new dimension. Adding a new dimension is like creating a new cube you have to change each and every single calc scripts,report scripts,FR reports,Webforms and your rule files .... all the dependencies has to be changed manually . I think 500 members in the exsting BSO dimension will not impact the calc or retrieval times that much .

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

  • User exit in sales order to add new item condition

    Hi,
    Our business requirement is to add new item conditions in an order (VA01/VA02) using ABAP coding. Has anyone done this before?
    I'm thinking of using USEREXIT_NEW_PRICING_VBAP in MV45AFZB ?
    Thanks.
    Edited by: William Lawlor on Jul 8, 2008 12:19 PM

    Hi,
    This exit USEREXIT_NEW_PRICING_VBAP in MV45AFZB is used only to determine or not a new price calculation according to a modification of specific field (ex : if shipping condition is changed, then new price determination).
    To add new condition type, you can used requirement in pricing procedure (V/08) with condition formula.
    What is the condition to add this new condition type ?
    Regards,
    Lionel

  • ABAP: How to add a Price Condition Item to an order item

    Hi experts,
       Is it possible to add a Price Condition Item to an order item by BAPI or Function in sap crm? (like: 0k04 10 USD 1 EA)

    Hi,
    You need to use CRM_ORDER_MAINTAIN and have to use structure IT_PRIDOC to update or add new pricing data.
    But do remember, you have to call FM 'BAPI_TRANSACTION_COMMIT' once you are done with call to FM CRM_ORDER_MAINTAIN, else all your updation will remain in buffer and will have no effect in Database, which will let u feel as if things are not working they should be.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Add new price condition in an order

    Hi
    In a sale order, we want to add a new condition price when we do a new detemination of a price. This new condition is manual.. this due to we receive
    edi1 (cucstomer expected )prices by idoc and that in some cases this condition
    is not populated.
    using spro i got the list of price user exits and i saw that one could be interesting
    usexit_xkomv_bewerten_init .. in prog rv61afzb ..?
    does anyone has yet done this ?
    thanks for the answers

    CALL FUNCTION 'MEASUREM_DOCUM_DIALOG_LIST_1'
           EXPORTING
             ACTIVITY_TYPE                = '1'
             F11_ACTIVE                   = 'X'
             INDICATOR_INITIALIZE         = ' '
             DEFAULT_DATE                 = SY-DATUM
             DEFAULT_TIME                 = SY-UZEIT
             DEFAULT_READER               = SY-UNAME
             WORK_ORDER_OBJECTNR          = V_OBJNR
             WORK_ORDER_KEY_EXTERN        = ' '
             WORK_ORDER_OBJECTNR1         = ' '
             NO_DIALOG                    = 'X'
             PREPARE_UPDATE_IF_API        = 'X'
           IMPORTING
             INDICATOR_UPDATE             = ZINDICATOR_UPDATE
             LEFT_WITH_F15                = ZLEFT_WITH_F15
           TABLES
             DOCUMENTS_DEFAULT            = T_DOCUMENTS_DEFAULT
      DOCUMENTS_DEF_INS           =
             DOCUMENTS_INSERT             = T_DOCUMENTS_INSERT.
      DOCUMENTS_UPDATE             =
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT = 'X'.

  • How can i add the dimensions and data loading into planning apllications?

    Now please let me know how can i add the dimensions and data loading into planning apllication without manuallly?

    you can use tools like ODI or DIM or HAL to load metadata & data into planning applications.
    The data load can be done at the Essbase end using rules file. But metadata changes should flow from planning to essbase through any of above mentioned tools and also there are many other way to achieve the same.
    - Krish

  • How to programmatically add UDVs to project?

    Hi all,
    I have successfully used something like this to programatically add shared variables to an LVLIB (the code assumes that the library associated with the Container Reference contains at least one variable):
    An example output would be:
    Container Name: "MyLibrary.lvlib"
    Variable Name: "Variable1"
    Variable Path: <blank>
    Variable Type String: "Variable"
    (I notice that there is no way to specify the data type of the variable, and LabVIEW creates a DBL variable in the LVLIB by default.)
    However, if Container Reference is associated with a "User-Defined Variables" container, then I get Error 1 at the Invoke Node ("LabVIEW: An input parameter is invalid"). A example output is:
    Container Name: "User-Defined Variables"
    Variable Name: "Variable1"
    Variable Path: <blank>
    Variable Type String: "Variable"
    Questions:
    Does the error occur because LabVIEW is trying to create a DBL variable (which is not allowed with UDVs)?
    How can I programmatically add UDVs to my project?
    Thanks in advance!

    What is the scope of your project? How will you be using these UDV's?
    Mark P.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Add a dimension

    Hi Experts,
    I am new to BPC and was just wondering if there will be any adverse affects if we add a dimension to an application while the BPC system is in the production mode.  Can it even be done?  If not, I would like to know if there is a work around. 
    Also, I would like to know the consequences on the BPC system if we can (and do) add a dimension to the application.
    Thanks for all your help.

    Hi,
    According to my knowledge... you will not have development rights in production. It is not advisable to do it directly on production system, which can lead to unnecessary situation which will be difficult to handle. its advisable to do the development in dev system and transport to the prod.
    coming to your specific question.......
    you can add dimension to the application by using modify application feature.
    Hope this helps...
    Regards,
    Surya Tamada.

  • IProcurement -- Add new search condition in shopping lists

    Hello,
    Has any one ever added an extra condition to the search page.
    My requirement is, in iProcurement - Shopping Lists page.
    I would like to add a new search region with Text box to enter the Item and display the search results in the existing Results region.
    Has anyone done similar customization .. please help.
    Satya

    OK, Le me explain this way.
    in iPorcurement -- Shopping Lists page there is feature to add the items to the Personal favourites list when we order them, so that we can just refer to the Favourite list next time when we order the same item.
    Now, in Shopping lists page, there is a list box(poplist) when i select the "Personal favourites" in that list box it displays all the items that are added to the Personal favorites list. Assuming that this favorite list has some 200 items in it. i want to add a search condition to search a specific item(s) in this list.
    Thanks,
    Satya

  • How can i programmatically add a text in a combobox drop down menu ?

    How can i programmatically add a text in a combobox drop down menu ? Can it be possible using any property node?

    You've posted to the wrong forum. Please post to the LabVIEW board.

  • Very Simple: How do I programmatically add line breaks?

    Very Simple: How do I programmatically add line breaks or how do I encapsulate my RichCommandLink's within a paragraph?
    My Code is as follows:
    for (String token : userViews.getViewNames())
    // add command link
    RichCommandLink output = new RichCommandLink();
    output.setText(token);
    // set action here
    // output.setActionExpression());
    viewItem.getChildren().add(output);
    // update view
    this.menuAccordion.getChildren().clear();
    this.menuAccordion.getChildren().add(0, viewItem);
    AdfFacesContext.getCurrentInstance().addPartialTarget(getMenuAccordion());

    Sorry, I'm using Jdeveloper 11.
    Im using JSP, JSF, ADF, Fusion. The RichCommandLink is an ADF Control.
    My PanelAccordion is bound to a RichPanelAccordion in my java class. When I add RichCommandLink's to the accordion the items are added next to each other. How do I add line breaks from my java class?

  • How to programmatically add af:setPropertyListener to CommandImageLink

    Hi All,
    My Requirement: programmatically add af:setPropertyListener to CommandButton
    I referred this post how to programmatically add af:setPropertyListener to CommandButton and followed the following code.
    Code:
    // create a value expression
    ValueExpression vx =
    elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
    String.class);
    // set a default value if desired
    vx.setValue(elContext, clockNo);
    SetPropertyListener spl =
    new SetPropertyListener(ActionEvent.class.getName());
    spl.setFrom(clockNo);
    spl.setValueExpression("to", vx);
    // add the listener to the button
    newOpButton.addActionListener(spl);
    My Code:
    <af:commandImageLink id="editInsuraceDetLink"
    icon="/resources/images/Edit.jpg"
    iconPosition="trailing"
    rendered="#{not row.deleted}"
    action="addEndorsement"
    useWindow="true"
    inlineStyle="vertical-align:bottom;"
    partialSubmit="true"
    shortDesc="Edit"
    *actionListener="#{pageFlowScope.GetEndorsementTypeListener.execute}"*
    returnListener="#{GetEndorsementDetailsListener.execute}"
    windowEmbedStyle="window"
    windowModalityType="applicationModal"
    windowHeight="650" windowWidth="740">
    </af:commandImageLink>
    Action Listener - .GetEndorsementTypeListener.execute code:
    RichCommandImageLink a_button = (RichCommandImageLink) a_component.findComponent("editInsuraceDetLink");
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application application = fctx.getApplication();
    ELContext elContext = fctx.getELContext();
    ExpressionFactory elFactory = application.getExpressionFactory();
    ValueExpression vx = elFactory.createValueExpression(elContext, "#{pageFlowScope.controlFlowName}", String.class);
    // set a default value if desired
    //vx.setValue(elContext, clockNo);
    SetPropertyListener spl = new SetPropertyListener(ActionEvent.class.getName());
    spl.setFrom(a_target.getEndorsementFor().toString());
    spl.setValueExpression("to", vx);
    System.out.println("From= "+spl.getFrom());
    System.out.println("To= "+spl.getValueExpression("to"));
    // add the listener to the button
    a_button.addActionListener(spl);
    I got the following output.
    From= Nominee / Appointee
    To= ValueExpression[#{pageFlowScope.controlFlowName}]
    Now my Problem is: the pageFlowScope variable ControlFlowName is not set.
    And also I got a *link*: https://blogs.oracle.com/vijaymohan/entry/usage_of_setpropertylistener_and_setactionlistener
    Whats wrong with my code. Is my problem related with above *link*.
    Please suggest me how to add SetPropertyListener programmatically.
    -Thanks
    Mohanraj

    Frank,
    This works:
            // create a value expression
            ValueExpression vx =
                elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
                                                String.class);
            // set a default value if desired
            vx.setValue(elContext, clockNo);
            SetPropertyListener spl =
                new SetPropertyListener(ActionEvent.class.getName());
            spl.setFrom(clockNo);
            spl.setValueExpression("to", vx);
            // add the listener to the button
            newOpButton.addActionListener(spl);But, I am thinking you would have known about it before I posted it. I don't really know how it works, but it does.
    Can you help me reconcile between this, and what you said. Because what you said makes sense too.

Maybe you are looking for