Conditional based Writeback OBIEE 11g

Hello ,
I have a requirement to enable the writeback to specific records which satisfies the specific conditions.
EX:-My requirement ,i have a approved column ;it is writeback column.So,that should be enabled based on the create date.If the create date is more than 3 days the approved column writeback option should be disabled.
Is there anyway we can achieve this requirement.
Thanks,
prassu

Hi I think that with some javascript you could disable the write back input.
Why don't you use another method:
1) conditional formatting on the rows that are changeable (e.g. show them in green and the other greyed out)
2) apply a condition in the write back SQL statement that takes care of the 3 days e.g. update table1 set col1=ABCDE where days<3 and id=123

Similar Messages

  • [nQSError: 46036] Internal Assertion: Condition pLeftOperand in obiee 11g

    Hi ,
    I am trying to display text data from Essbase Cube in OBIEE report , had one thread already opened for this :
    Displaying text data from Essbase Cube in OBIEE report
    I'm approaching in the following way :
    1. Created one session initialization block "TEXT_ID_VALUE" , having below query :
    select TEXT_ID, VALUE from HSP_TEXT_CELL_VALUE ;
    2. Matching the data populating in "TEXT_ID"(numeric data) session variable, with one of my measure column and fetching the corresponding "VALUE" session variable (text data) . (both the session variable's belong to TEXT_ID_VALUE initialization block , with 'row wise initialization' )
    3. Wrote below expression in measure column(in BMM layer) :
    CASE WHEN  "CAPEX_inteliplan"."CAPEX"."Capex Description" = VALUEOF(NQ_SESSION.TEXT_ID)  THEN  VALUEOF(NQ_SESSION.VALUE)  END
    Its throwing this error message :
    *[nQSError: 46036] Internal Assertion: Condition pLeftOperand, file server\Query\Optimizer\Request\Src\SQORRqExprCond.cpp, line 158.*
    Am I missing anything / is it the correct way to do it?

    Hi Srini ,
    I found " user.sh " under :
    C:\obiee11g\instances\instance2\bifoundation\OracleBIApplication\coreapplication\setup
    It about :
    The examples of configuring Oracle and DB2 UDB
    *# clients on various Unix and Linux Operating Systems(Solaris,Linux,HPUX PA-RISC,HPUX Itanium,AIX) .*
    I found a "user.cmd"(probably for windows) also in that folder location , but it contains only the following :
    *@echo off*
    REM This file is a place holder for setting environment variables
    REM set TNS_ADMIN=C:\obiee11g\Oracle_BI1\network\admin
    Not sure where add "OBI_BACKGROUND_STACK_SIZE = 1024 KB" !

  • Coloring value with condition in Analysis OBIEE 11g

    Dear Gurus,
    I have pivot analysis, which show date and sales.
    I want to highlight the value of the date if it holiday.
    I want to coloring red the holiday date.
    How to do that?
    Thank you before
    Regards
    JOE

    Hi,
    Here I have one question,
    How you know wether which day is holiday in your time dim? do you have any condition on that?
    If you know that just go-->time date column properties-->click --> condtinoal tab--> apply filter condition and apply the color as you like.
    Hope this help's
    Thanks
    satya

  • WHERE condition in OBIEE 11g

    HI gurus,
                    How can I use a WHERE condition in obiee 11g in the Column formula or in the BMM layer in the repository .
    Thanks in advance
    Reg,
    Niv

    Hi,
    In the Column formula, the functions like Case When clause (Category: Expressions) can always be used in the building the expression.
    For the above, there is always two options
    1. Derived from Physical Mappings - this will list only the physical tables that are pulled into the LTS of the logical table
    2. Derived from existing columns using an expression - this will list all the Logical tables in the RPD
    If you want to apply the filter i.e where clause on the entire table, then go to Content Tab of the LTS
    Enter your WHERE clause filters in the section - Use this "WHERE clause".....
    The above modifications will apply where clause on all the columns
    Please mark if it is helpful
    Srikanth

  • Buttons not showing up for Writeback option in OBIEE 11g

    Hey guys,
    I'm struggling with the writeback option in OBIEE 11g.
    I've made all the required changes as per the documentation.
    1) Making the column writeable in BMM layer.
    2) Giving the column and the table read/write permission in the presentation layer.
    3) writing the query in the xml for insert and update and have put it in the right path.
    4) Modified the instance config and included the <Lightwriteback>true</Lightwriteback> in it.
    5) Enable the column with writeback property.
    6)Enabled the table view property with writeback.
    However when i untick the table toggle mode,it makes the column editable but without any update button.
    whereas if i tick the table toggle mode it neither makes the column editable nor does it shows up any button.
    Could somebody help me out with the solution.
    Thanks,
    Anirban

    Anirban,
    You need to make sure that 'Write Back to Database' privilages have been correctly setup for you. If you have admin rights on the catalog, you should be able to check and modify it under Security > Manage Privilages on the Administration screen.
    cheers,
    Adnan

  • OBIEE 11g Writeback Error

    Hi All,
    I am unable to configure the writeback functionality in OBIEE 11g, i am getting error while pressing Apply button in the report no error message is displayed in the error box only 2 ok buttons.
    Folder customMessages doesn't exist:
    "ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obipsn/analyticsRes/customMessages"
    so i created the folder and added the writeback xml file to the folder.
    is there is any way to check the error.?

    Hi,
    Please check if you have followed the following steps mentioned:
    http://obiee10grevisited.blogspot.in/2012/02/write-back-in-obiee11g.html
    Regards
    MuRam

  • Issues with less than and grater than condition in prompts in OBIEE 11g,

    Hi all,
    i am facing the prombles with less than grater than conditions in OBIEE 11g.
    i created two date prompts with presentation variables datefrom and dateto
    and i used these prompts in fileters like this using grater than and less than symbol.
    filters are as below:
    lastupdated date is grater than or equal to @{datefrom}{1/1/1950}
    lastupdated date is less than or equal to @{dateto){1/1/1950}
    and created two prompts
    creation datefrom >=
    creation dateto<=
    when i passing the dates 05/12/2004 and 05/12/2005 in prompts after clicking the apply button in OBIEE 11g it feches all the records but i need records between these dates. and one more thing is after clicking apply button the two date fields getting the same date..
    am i do any thing wrong in the above ???
    please let me know friends..
    waiting for ur replyyyyyy..
    Thanks
    Edited by: BI_user on Oct 12, 2011 2:10 AM

    Hi,
    Create date prompts with operator as = not >= (or) <= as you need to save that value in presentation variable and you are filtering report using those variable filters.
    Regards,
    Srikanth

  • Can I set a conditional format as default in OBIEE 11g?

    Hi,
    I would like to set all positive number be (green) and negative number be (red) for all tables in Analytics Web (OBIEE 11g). Apart from create conditional format for every tables, is there any way to set once only and apply for all reports?

    Hi User,
    You can set system wide default by clicking on the button in conditional format tab.
    *Make sure user has "Save System-Wide Column Formats" privilege to enable the option.
    Regards,
    Dpka

  • Conditional show error in dashboard In OBIEE 11g

    Hi Gurus,
    I I have a dashboard prompt which is a radio button containing Month & Quarter. Also have 2 other prompts like DP_Month which will show months(201301,201302 ...) and DP_quarter which will show(2013Q1,2013Q2..). This 2 prompts will show conditionally based on based on 1st prompt selection(like Month or quarter) which is working properly.
    Suppose when I click Month I m getting 2nd month prompt and changed to Quarter and getting Quarter prompt..But when I move to 2nd page  Quarter prompt is selected but Month dropdown  is showing.
    Please suggest..
    Regards,
    Smita

    Hi Nagireddy, thanks for your reply.
    Is there any limit of values to extract in Dashboard prompt? i.e. when you use drop down list as Dashboard prompt, is there any limit of values to extract from database?
    In my local environment (instanceconfig.xml), there is limit of Rows to View and Download set to 20K, however I did not see anything related to the Dashboard Prompt.  

  • External Table Authentication in OBIEE 11g

    Hi ,
    I have a security table, which contains userid,displayname,group . I have imported Security table in Physical Layer. I'm creating session variables based on condition.
    When am trying to logging into analytic s getting an error, invalid username and password . I'm using 11.1.1.6.0 version
    How to handle external table authentication in OBIEE 11g version.
    Regards,
    Malli

    Hi fiaz,
    That links talks about 10g version.
    Step1: We have imported a secutiry table in Physical layer.
    Step2: Creating a session variable by selecting initilazation block.
    Select user_name,group from security_table where user_id=':USER' and pwd=':password';
    step3: created DISPLAYNAME,GROUP & USER VARIABLES in edit target window
    After these modifications i was trying to logging with new user, which is there in security table.
    I am getting an error that is invalid user or password.
    Is there any other changes does it required here.
    Regards,
    Malli
    Edited by: user10675696 on Dec 26, 2012 9:39 PM

  • How to build a Analysis report in OBIEE 11g

    Hi All,
    I have a query regarding 'How to' to build an analysis report in OBIEE 11g.
    The data model is a financial data model, where information such as Actual, Plan, Forecast, What - if etc for current AND prior year need to be displayed in a dashboard.
    I created two analysis reports one for current year Rep1 and second for prior year Rep2 each with filter criteria as current year and prior year respectively based on years column. and then in the dashboard I created prompt based on scenario column (radio button) for Actual, plan, Forecast, and wht if.
    I am able to show the current vs prior year data in the same dashboard for Actual or Plan or forecast or what if (depending on data availability in the database).
    I want to achieve the same information in a single analysis report instead of two separate analysis reports. I do not want to create separate physical report for current and prior year data.
    I need one analysis report which I can use in dashboard and depending on selection for scenario (actual , plan, forecast or wht if) I want to show the current AND prior year data the way I achieved in with two seperate reports embedded in their respective sections as explained above.
    Does any one have idea how to achive this by building single analysis report?
    If you need any more clarificaiton or have any queries, please let me know.
    Thanks and Regards
    Santosh

    As per I understand your requirement,
    In your Dashboard create a Presentation variable which receives the value of year you select.
    Now in your analysis, select the year column along with all the measures you want (Actual, plan, Forecast, and what-if, etc).
    Create a filter on Year column and convert it into SQL. Put the condition as:
    "Year" BETWEEN @{Presentaion_Variable} - 1 AND @{Presentation_Variable}
    You will get the result for selected year and the previous year.
    Hope it helps..
    Regards,
    A.K.

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • Creation of report in OBIEE 11g

    Hi
    I need to create a reportin dashboard
    so, i added page for this, but where i can found subject areas in OBIEE 11g so that i can create a report on this page based on that subject area.
    can anyone help me in this.
    Thanks
    Mannu

    Manu,
    For Creating New Reports,
    1.Got to -> New ->Analysis you will have your Presentation Tables under Select Subject Area
    Click on your Subject Area -> you'll get list of tables under the Subject Area
    2. Expand the Folders and click the required column.
    3. Click on Result tab - > you'll get Title and Table View
    4. Format your Table view and Title View
    5. Save your New Report in Shared Folders (You may create your own folder under Shared folder)
    View the Reports on Dashboard.
    1.Got to -> New ->Dashboard -> you will have New Dashboard Window
    Name - Give the name of your Dashboard
    Select Location - /Shared Folders/Standard Dashboard/
    Click Ok -> you'll get Empty Dashboard window.
    2. Edit the Dashboard -> Drag and Drop your Saved reports from Shard Folder under Catalog
    3. Click on Save button (Top Right) and save your dashboard -> click run [Green right Arrow(Top Right)].
    4. Now you'll have your report in your dashboard page.
    Rename Dashboard Page
    Edit the Dashboard - > Click Properties Nedt to X Symbol -> Dashboard Properties
    -> You'll have the Dashboard Properties window -> Select the Dashboard Page -> Rename
    Prompts:
    1.Got to -> New ->Dashboard Prompt-> you will have your Presentation Tables under Select Subject Area
    Click on your Subject Area -> you'll get the Untitle Prompt Window
    -> Click + symbol -> Column Prompts ->you'll get list of tables
    2. Expand the Folders and click the required columns from the list (the Columns should be your Report's table).
    3. Save your New Prompts in Shared Folders.
    Note: The Prompt columns should be Is Promptd in your Reports Filters.
    Thanks,
    Balaa...

  • Applying decode function in obiee 11g

    DECODE(A.AC_CCY,'INR',DECODE(DRCR_IND,'D',-1,1)*A.LCY_AMOUNT,DECODE(DRCR_IND,'D',-1,1)*A.FCY_AMOUNT),
    DECODE(DRCR_IND,'D',-1,1)*A.LCY_AMOUNT,
    Can any one help me how to decode the above sql statement in obiee 11g.
    Edited by: 925104 on Apr 3, 2012 12:48 AM

    you can achieve it by using CASE WHEN condition END function in obiee. nested case also supported by obiee.
    check the below link Decode Join  Condition in OBIEE RPD
    Thanks
    Jay.
    Edited by: Jay on Apr 3, 2012 12:56 PM

  • OBIEE 11g agents are failed to connect to Essbase

    OBIEE 11g agents are failed to connect to Essbase. We are using :USER & :PASSWORD (SSO) in connection pool setting to connect to Essbase.
    User account exists in both OBIEE and Essbase. OBIEE dashboards which are based on Essbase are working fine. Essbase variables in RPD are upto date.
    Only agents are failing and error says invalid credentials, but dashboard pages are running without any issue.
    OBIEE: 11.1.1.5 (BP4)
    Essbase: 11.1.2.1
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Login fails due to invalid login credentials (HY000)
    Essbase and OBIEE services are up and running.
    Any help will be appreciated.

    We finally implemented CSS Token option and ended up with this error. We are unable to connect to essbase with CSS Token option.
    We followed the Oracle document to implement this.
    [nQSError: 43119] Query Failed: EPMCSS-00301: Failed to authenticate user. Invalid credentials. Enter valid credentials. (HY000)
    We did update this property:
    JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -Dweblogic.home=${WLS_HOME} -Didstore.identityAttribute=objectguid"
    Any help will be appreciated!

Maybe you are looking for