Write Back from OBIEE 11g to multiple tables in DB

Hi All,
We have requirement to write-back from OBIEE 11g to multiple tables in DB.
1) Inserting a new row in report. Inserting record into multiple tables through OBIEE?
2) In report we have fields like Region Id, Product Id, Date, Quantity. Region Id, Product Id, Date are dimension fields and Quantity is Fact measure while inserting row in report does OBIEE checks Refrential Integrity Constraint during Write Back on DB.
Let me know if you need more details on this. Thanks in Advance.
Regards,
Rajkumar.

Hi,
1) With regard to inserts into multiple tables, try using multiple insert tags (I haven't tried it) but I think it should work.
2) I don't think OBIEE would check referential integrity , but DB would and give you appropriate response.
Let us know how you got on...
Thanks & Regards

Similar Messages

  • Write back from OBIEE into Essbase

    Hi everyone,
    Questions about write back from OBIEE (11.1.1.7) into Essbase (EPM 11.1.2.3).
    First of all, did anyone manage to do it ?
    Secondly, what are the constraints ? (number of cells updated limited, only level 0 of the Essbase database can be updated, only existing data can be updated or things like that ?)
    Thirdly, what are the best practices regarding OBIEE or Essbase security when we implement write back  ?
    Thanks for answers

    Hi,
    writing to Essbase from OBIEE exist for many years...
    In the past it was doing via a JSP page but since last year it's supported directly with a simple UPDATE statement.
    Have a look at SampleApp 406 (current version), in the Essbase examples there is also the write back using the UPDATE statement.
    Just keep in mind one thing: OBIEE is not supposed to be an entry form for Essbase or any other system, it can be used for editing values so you can dynamically change params for what-if calculations (running a calc script after updating a value) and that kind of things.

  • Write Back Error OBIEE 11g

    I am facing the following error massege in writeback funtionality.
    I checked the value ,connection pool,writable,read/write permissions but not resolved the issue.
    "An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists, contact your system administrator."
    Any help about that ?

    Hi,
    http://satyaobieesolutions.blogspot.in/2013/03/write-back.html -- recheck your configuration following this link step by step with screen shots.
    http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
    http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html Note : The Problem Occurred two ways,
    1. Problem your XMl Script
    2. If null value not present in your columns in your table in database.The ; problem has occured.
    please check below steps.
    1. Are you using OCI or ODBC in your connection pool? Try it with OCI Call Interface 11g.
    2.Remove the commit tag from the XML file.
    <postUpdate>COMMIT</postUpdate>
    =============================================================================================================
    This xml file working for me.
    Insert--
    A couple of small adjustments got your XML to work here:
    <?xml version="1.0"; encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="WriteBack">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> INSERT INTO FACT (PRICE,PRODUCT_KEY,REGION_KEY,SALE_UNIT,TIMEKEY,SALES_QUOTA)
    values (@{c7},@{c8},@{c9},@{c10},@{c11},@{c5} ) </insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The <writeBack> tag is written with a lower case "w".
    The "connetionPool" needs an upper case "P".
    Update--
    I think that you have to specify also an SQL statement for the update tag, for example:
    <?xml version="1.0"; encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert> select null from dual</insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The witeback wants for both the tags (<insert></insert> and <update></update>) an SQL Statement.
    Hope this help's
    Thanks
    Satya

  • Write back in OBIEE 11g : unable to check "enable write back"

    Hi all!
    I have a table on presentation, i want to make a table in analysis with function "Write back". But in criteria, when i choose "column properties" --> "write back" tab --> i can not check "Enable write back". I have granted privileges "write back" to user
    Please tell me how to configure to make it.
    Thanks so much.
    Edited by: OBIEE.vn on Jan 6, 2011 7:54 PM

    Guys,
    In OBIEE 11g You need to make sure that you mark the logical columns in your Repository RPD as "Writeable". Otherwise the ability to write to these columns is not allowed for WriteBack functionality.
    Cheers,
    Christian
    http://www.artofbi.com

  • WRITE BACK IN OBIEE 11g

    Hi ,
    Colud you please clearify the error "The system not able to read the WRITE BACK template.Please contact your system Administrator.
    for that, I folled this Document.
    http://rajeshthomas.blogspot.in/2012/08/writeback-analysis-in-obiee-11g-part-1.html
    Regards,
    Akurathi

    hi,
    check the writeback xml code,there might be some syntactical errors and column numbers in the insert/update statements.You should check the enable writeback check box for all the columns which you used in the writeback template.
    mark if helpful/correct..
    thanks,
    prassu

  • Unable to connect to SQL Server 2008 from OBIEE 11G(on 64 bit Linux box)

    We are unable to connect to connect to SQL Server 2008 from OBIEE 11G which is on 64 bit Red Hat Enterprise Linux.
    Infrastructure: OBIEE 11.1.1.5 64bit, on 64 bit Red Hat Linux Enterprise Linux 5.6 , MS SQL Server 2008 on 64 bit Microsoft Windows Server
    Issue Description: Unable to connect to SQL Server 2008 from OBIEE11G RPD
    Details: We are unable to connect to SQL Server 2008 from OBIEE which is on a 64 bit Linux box. We created the ODBC connection on Linux box to the SQL server. Whenever we try to import metadata it throws an error that says ‘Connection Failed’.
    Here are the steps we followed to setup the ODBC connection on Linux box.
    1) We updated the user.sh file with the LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 values that point to $ORACLE_HOME/bifoundation/odbc/lib
    This is where we found the driver for SQL server SEmsss23.so.
    2) We updated the odbc.ini file with the entry for SQL server with the connection details
    SI_SQL_Server_DEV = SQL Server
    [SI_SQL_Server_DEV]
    Driver=/u001_OAS/Oracle/Middleware/Oracle_BI1/bifoundation/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=10.230.216.52,54970
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SVBDW_NEW
    LoadBalancing=0
    LogonID=SIDatavalidation
    Password=~~~Password123
    QuoteID=No
    ReportCodePageConversionErrors=0
    3) We updated the IDENTIFIER_QUOTE_CHAR with single quotes instead of double quotes in the DB features of the RPD
    4) We updated the bash_profile file to point the ODBCINI variable to the path where the OBIEE odbc.ini file is present.
    Export ODBCINI=/u001_OAS/Oracle/Middleware/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/odbc.ini
    The error in nqsserver.log file says “[nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified.”

    Hi,
    Make sure SQL Configuration Manager make sure the TCP/IP enabled. please try below method
    Method 1
    Re Create a new ODBC & Oracle Bi Server DSN Configuration test it and use it in the connection pools.
    define your ODBC data source in your server where the BI Server is installed. Check your DB connections in your physical layer and make they are defined on your BI Server as well.
    Method 2:
    try using the complete TNS in below format in the datasource name section:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =DB IP)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) and provide the credentials.
    Method 3:
    To use the OCI call interface you need to have oracle client DB to be installed so that you can establish a connection using that DB credentials and connect to the remote dB and then import the tables.....this is the rule of thumb.
    hope helps you.
    Thanks
    Deva

  • Write Back feature in 11g environment

    Hi,
    I am trying to implement write back feature in 11g environment.
    i have configured RPD as mentioned below-
    in physical layer- non cacheable,
    in BMM- enable write back checkbox,
    in Presentation layer read/write property for field,
    in report i have checked write back box for column.
    I have created xml file for the column to be edited.
    But i am not able to locate where i need to mention this xml file name.
    Please let me know where i need to mention the xml file name and where i need to place the file.

    Can you confirm that you have done ALL of the following:
    -Make sure you use columnIDs as opposed to column position in the XML template
    -Use Schema prefix on the table column
    -Ensure WebMessage name on XML template matches the EXACT name in Table View Properties
    -Ensure Physical table is non cacheable
    -Presentation and Logical layer must have Write enabled for the writeback columns
    -If we dont need an INPUT command make sure to have a space between the XML tags
    I dont have access to a writeback file currently..if you can paste yours here, maybe we can help.
    Also, if the responses are helpful, please mark them as helpful or correct.

  • Write back from Excel into OBIEE?

    Hi Experts,
    I have a requirement, where in I have to write back into Oracle DB through OBIEE.
    The user will upload an excel/csv containing more than hundred records into OBIEE dashboard.
    The functionality is, on click of a (submit) button the OBIEE should write back into Oracle DB (through OBIEE) row by row taken from excel.
    Pls help if any one has any idea. I'm new to OBIEE tool.
    Have a great day!!!
    Thanks,
    Venky

    Why do you want to do that through OBIEE? It's not a data loading tool! The write-back functionality is explicitly built for sporadic updates and not for mass-import.
    From Booshelf:
    The write back feature is not suitable for entering arbitrary new records. In other words, do not
    use it as a data input tool.
    (Oracle Business Intelligence Presentation Services Administration Guide Version 10.1.3.2 - Configuring Report Write Back - Write Back Limitations)
    Use OWB, ODI, Informatica or any other ETL Tool for that (yes, I know ODI is ELT...don't start a flame war over that ;-)).
    Cheers,
    C.

  • Error While Extract results from OBIEE 11g Prest. Service to External apps.

    Need a urgent help
    I am using java to connect to OBIEE's  11g SOAP-API and trying to pull Graph’s in External Application.
    I have successfully been able to connect to the API, create an HtmlViewServiceSoap object, and use a combination of the following methods to pull HTML & Javascript Content and write to a file through this all methods: addReportToPage, getHeadersHTML, and getHTMLForReport.
    But while executing the respective URL got from getHeadersHTML ,getHTMLForReport function it gives ‘EmptyResponse’ alert message. Actually, The URL got from getHTMLForReport i.e. reportObject.setAjaxGoUrl does not Hit to Bridge Servlet, So in the application only the Searching image appears with ‘EmptyResponse’ alert message .
    We are Successfully able to render graphs using OBIEE's  10g SOAP-API HtmlViewServiceSoap service and getHeadersHTML ,getHTMLForReport function in External Application.
    Please let me Know the solution ASAP for extracting Graph from OBIEE's 11g SOAP-API
    Edited by: user13351567 on Jul 1, 2011 12:49 AM

    Hi all
    João, could you please explain how did you solved that network problem? I'm having a similar error establishing a Site Studio connection: 'Design time connection error: java.net.SocketTimeoutException: Read timed out'
    If I create this connection from a JDeveloper installed in the machine where UCM, WebCenter and SSXA are installed there's no connection problem. The problem only occurs in others pcs in the same network.
    Thank you in advance

  • Write back - how OBIEE decides  insert or update action ?

    Hello
    I have a question regarding write-back.
    I have both an insert and update statement in my template file.
    I want to give the users ability to insert new rows and update existing ones.
    I am able to do both, but sometimes the insert/update behavior is not consistent. That is, instead of updating the record, it creates a new row itself in the database (and sometimes the reverse also is true).
    Anyone has ideas on how OBIEE decides whether it is an insert or update action?
    thanks in advance

    Hi,
    I have implemented writeback in Obiee 10g version
    It's working fine
    Please refer my correct code
    3)      Add XML File to this path  C:\OracleBI\web\msgdb\customMessages\WriteBack.xml  and
    C:\OracleBIData\web\msgdb\WriteBack .xml   path.
    File Name: WriteBack.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="WriteBack">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <update>UPDATE db_summary SET comments='@{c1}' WHERE location='@{c2}'</update>
    <insert>INSERT INTO db_summary {comments} VALUES '@{c1}' </insert>
    </writeBack>
    </XML>
    </WebMessage>
    <WebMessage name="WriteBackNew">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <update>UPDATE report_comments SET comments='@{c1}' WHERE username='@{c0}'</update>
    <insert>INSERT INTO report_comments {comments} VALUES ('@{c1}') </insert>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Note: It’s all are case sensitive and red lined letters are give as above. After that restart all the OBIEE Server (Java Host, OC4J, BI Server etc.)
    Note1: As Button Text in Presentation Layer :system="WriteBack"  and
    As Template Name in Presentation Layer : <WebMessage name="WriteBackNew">
    For more refer my blog link
    http://obieeelegant.blogspot.com/2010/12/write-back-steps-1-go-to-repository.html
    Thanks
    Deva

  • Need document on how to create write back template for 11g

    Can anybody provide documentation on how to create write back template for OBIEE 11g?
    Thanks

    Can anybody provide documentation on how to create write back template for OBIEE 11g?Yes! Oracle does. How about you start by reading it? I will give a hint, it's on the System's Administration guide.

  • Write Back in OBIEE

    Hi All,
    Is there any document about write back?
    I need to understand how I can use this in my reports.
    Thanks,
    Poojak

    Hi Pooja,
    I have learned , how to use the OBIEE writeback from this article. Please award points if find useful.
    http://oraclebizint.wordpress.com/2007/09/20/oracle-bi-ee-101332-write-back-option-budgetingplanning/
    let me know if any questions.
    Thanks and Regards
    S

  • Unable to connect to DB from OBIEE 11G

    Hello experts
    I have successfully installed OBIEE 11G on my Linux machine.. On Windows machine I have installed the client tool. Both are version 11.1.1.7.0.
    I have my Tnsname.ora file saved in both Oracle_Home/network/Admin as well as OBIEE/Oracle_BI1/Network/Admin folder..
    Now my DB is on a different linux machine, so my TNSname file has the correct entry for that..
    I am able to connect to the DB from my OBIEE server machine through Putty by doing : sqlplus username/password@instance
    However, from OBIEE side, I am not able to update rowcounts nor viewing reports..
    From RPD side, I am getting errors: The connection has failed,
    From report:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: 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: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    I have tried
    http://123obi.com/2011/03/error-the-connection-has-failed-in-obiee-11g/
    The problem persists.
    Let me know what should I do to resolve this issue..
    Thanks

    Hi,
    Lets try with these once
    First copy the TNSnames.ora and sqlnet.ora files from ur Database following location:C:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN
    and paste these two files in ur Obiee installetion following two locations:
    D:\MWHOME\Oracle_BI1\network\admin
    D:\MWHOME\oracle_common\network\admin
    Hope if it helps you..
    Please mark......

  • Creating chart from single column of multiple tables in Numbers '09

    I have multiple tables (spread across multiple sheets) in my document. In column B of each table is a name. The other columns contain other categorized data. Each table has a variable number of rows, but each name is unique within a table. A particular name in any one table may or may not occur in another.
    What I want to do is create a chart that shows the total number of times each unique name occurs across all the tables. Not really sure how to do this...
    I would also like to be able to sort the chart from highest to lowest.
    Message was edited by: Sir Reginald

    That won't quite work, as I have hundreds of names to process. It was a good starting point though. Here's what I had to do:
    1) create a new table (mynames) containing all the names in mynames::A
    2) in mynames::B1 put the formula =SUM(COUNTIF(Table 1::A, A1), COUNTIF(Table 2::A, A1), ...)
    3) Select column mynames::B and then choose *INSERT -> Fill Down* from the menu
    It becomes a bit tedious to have to update the formula and refill the column every time I add another data table. Imagine if I had hundreds of tables to enter. Hmmm....
    I currently have one table per sheet, but if I were to move all the tables onto one sheet, categorize a column, and then collapse all the categories, that wouldn't take up too much space on one sheet. Say I had 100 tables, I could then reduce the formula to:
    =COUNTIF(Table 1:Table 100::A, A1)
    I would also have to make sure to place the mynames table before Table 1 in the table list. All in all, much less of a hassle to add new table data.
    Hopefully, Apple will add multi-sheet spanning collections, in the same way you can do multi-table collections now.
    Message was edited by: Sir Reginald

  • How to export users and their roles/responsibilities from OBIEE 11g weblogic console ? (we have nearly 8000 users)

    Hi Gurus,
    I am not an expert in the OBIEE 11g security area, we have an urgent requirement where in i need to obtain the complete list of all users along with their roles/responsibilities.Ours is a big organization and there are nearly 8000 users. Please advice if i need to write any weblogic script (WLST) or is there any other simple way for this..
    Thanks,

    If it is through Presentation Layer,Below the steps you can follow:-
    1. Open the OBIEE 11G RPD (offline/online) in Administration Tool
    2. Select the ALL/required presentation objects form your Presentation Layer and right-click.
    3. On the context menu select “Permission Report”
    4 .The Permission Report dialog displays the name and a description of the selected presentation object,
    along with a list of users/application roles and their permissions. CLick the Save button to save the permissions in CSV format.
    5.Once you saved to a CSV format, you can use that report for the quick auditing of security management.
    Below the screen shot for the same
    http://www.4shared.com/photo/h1EKYgh1/zrclip_002p5719bc78.html
    Mark if helps.
    Thanks,

Maybe you are looking for