Write Back in 11G

Hi,
How to implement write back option in 11G.
Regards
sathya

Hi,
Please check the below steps and refer the below links.
http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html
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

Similar Messages

  • Write Back Error in  OBIEE 11.1.1.7.150120

    Hello everybody,
    i have a problem with the writeback capabilities of OBIEE 11.1.1.7.150120.
    After the Migration from 10g to 11g i would like to customize the write back in 11g. I go like Oracle BI Practice: OBIEE 11g Configure Writeback this, but getting an OBIEE error:
    "Write Back Error
    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."
    The table does not have any constraint. I would like to insert for example the value "2".
    In my table properties i fill in "filling".
    My ...\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\customMessages\writeback.xml looks like that:
    <?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="filling">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>update analyticmodel.last_runtimes set laru_exec = @1, laru_runtime_start = sysdate </update>
    </writeBack>
    </XML>
    </WebMessage>
    <WebMessage name="machine_filling">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>update analyticmodel.machine_filling set mf_mach_id = @{c0}</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Thank you very much
    Best regards
    Christian

    Hi Cristian,
    You must use '' at script when call some column value. (use '@1' instead of @1)
    Tip.. note you can use your "WebMessage Name" (from your script, like "filling", "machine_filing") into your analisys.
    Hope this help
    Felipe Idalgo

  • 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

  • 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

  • OBIEE 11G Write Back Error

    Hi All:
    I am testing the OBIEE 11G write back function. After all the steps , there's an Error message said "Write back Error" . No other detail information. Do you have any idea about where's the problem of it?
    My xml file was under the folder of 'C:\OBIEE11\Oracle_BI1\bifoundation\web\msgdb'. and the detail is as below.
    <?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="write_back_test">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert> <update>FACT_Writeback set MAX_LY2 = '@{c1}' where PERIOD_KEY = '@{c0}'
    </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Really Thanks for your help.
    Sunny.Sun

    Hi,
    I think these is a problem with your connection pool name, please check it. It's a name of connection pool in BI administrator.
    if it's not problem, Can you try my way, replace '@{c1}', '@{c0}' by @1, @2...with 1,2 is a number of column in Criteria.
    It's my template :
    <?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="SetQuotaUseID">
    <XML>
    <writeBack connectionPool="WB_CONN">
    <insert> </insert>
    <update>UPDATE biee_map_revenue SET DIST_CODE=@5 WHERE REV_ID = @1 </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Edited by: OBIEE.vn on Feb 13, 2011 6:31 PM

  • Write Back implementation in OBIEE 11G

    Hi,
    i have created new table for implemetation of write back using obiee 11g.
    i have finished confirutation for that.but i am getting " THE SYSTEM NOT ABLE TO READ THE WRITE BACK TEMPLATE.PLEASE contact your system administrator.
    Could you please clearify this issue
    Regards,
    Akurathi

    Hi Cristian,
    You must use '' at script when call some column value. (use '@1' instead of @1)
    Tip.. note you can use your "WebMessage Name" (from your script, like "filling", "machine_filing") into your analisys.
    Hope this help
    Felipe Idalgo

  • 11g write-back drop down box

    Hi, I have enabled write back in OBIEE 11g dashboard. I would like to know if it is possible to create a drop down box within the write-back enabled column?

    I realize this is a very old thread, but I was hoping there was a way to do this.
    I would like to enable write-back to an a table we use to track running processes. I would like to be able to update the status to either 'COMPLETE' or 'INCOMPLETE'. The programs can change theses statuses to anything meaningful, but I only want those two values as options for write-back.
    Is this even possible?

  • Write back 11g issue

    hi experts,
    I´m trying the write back fucntionality in obiee 11g and i am getting some troubles while updating a record.
    In the write back template I call a DB procedure that updates a column
    <insert> </insert>
    <update> begin pr_update(@1); end </update>
    but unfortunaly the column is always updated with its current value and not the value I've just entered for the update.
    it's like if The presentation server is not sending the new value to the DB but the old one.
    any ideas?
    Thanks

    Hi aharab,
    Follow this link might be you are looking for something this way http://108obiee.blogspot.com/2009/07/obiee-write-back-solution-for-insert.html
    hope helps you.
    By,
    KK

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

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

  • OBIEE 11g write back to Essbase and run calc script feature

    Hi,
    I have a requirement to write back into Essbase Cube and run calc script from OBIEE dashboard.
    From what i have search on google, we must deploy additional Java Script into weblogic, but that is before OBIEE 11.1.1.6.
    I have 2 question:
    - Does OBIEE 11.1.1.6 already supported native write-back to Essbase and running calcscript?
    - Anyone has example of the custom java-script for write back and running calcscript?
    And another, if there are requirement like this, is it better to install Essbase Add-in on Microsoft Excel and do the what-if analysis there, then just display the report on OBIEE dashboard? (based on user-friendliness and the complexity on maintenance)
    Thanks in advance.

    Hi,
    Even I am trying to achieve the same thing as you have mentioned but think that it is not possible to achieve easily in obiee 11.1.1.6, though we do have a work around to perform a writeback in Essbase cube using JAPI as mentioned below.
    Also we can call Hyperion reports from OBIEE using Action Links and also pass parameters to the same but dont know if it runs calculation script.
    Below link could be useful for you for write back workaround.
    http://oraclebizint.wordpress.com/2009/05/25/oracle-bi-ee-10-1-3-4-1-writebacks-to-essbase-using-japi-and-custom-html-part-1/
    Let me know in case you have found out anything else related to same.
    Thanks,

  • Oracle BI Write Back on NULL values  - Write Back Error

    Hi together,
    Write Back Error
    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
    I receive this message when I try to make a update of an null value in the database.
    update value on value or value to null works fine. So the XML Message is working on production.
    Is this a BUG?
    Regards,
    Stefan
    <?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="SetWriteBackGKV">
    <XML>
    <writeBack connectionPool="QS_DWH_DB">
    <insert> </insert>
    <update>UPDATE QS_DWH.CKVB_HR_EXTERNAL SET CKVB_HR_EXTERNAL.GKV_SICKNESS_PERC = '@{c7}' WHERE CKVB_HR_EXTERNAL.D_TIME ='@{c5}'</update>
         </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>

    Hi,
    http://gerardnico.com/wiki/dat/obiee/write_back -- recheck your configuration following this link step by step with screen shots.
    Note : The Problem Occurred two ways,
    1. Problem your XMl Script
    2. If null value not present in your columns in your table in the database.The problem is 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

  • OBIEE 11.1.1.5.0 Write back error.

    I am working on OBIEE 11G(11.1.1.5.0) write back feature. After all the steps which were mentioned in 11g Documentation , there's an Error message said "Write back Error" . No other detail information. Do you have any idea about it?

    Yes,
    Please note that in Oracle BI 11g, the use of PL/SQL (any non core SQL logic) is no applicable to in the writeback configuration files. Do not use ';' semi-colons. Also such things as BEGIN / END do not work as they did in Oracle BI 10g.

Maybe you are looking for

  • Help! iTunes won't start up

    I go to open iTunes and get this error message "The iTunes Library.itl file is locked, on a locked disk, or you do not have write permission for this file." i've already reinstalled iTunes...didn't work. tried a bunch of other stuff as well...nothing

  • I upgraded to IOs5 and now my phone doesn't recognize my contacts in entering calls

    I upgraded my Iphone 4 to IOs5 and now the entering calls are not recognized, it appears only the number but anymore the name of the contact, i think is some easy issue but i can't find it! does it have happened to anyone?? and know how to solve it,

  • How to downgrade z1 compact from 4.4.2 (14.3.A.0.757) to 4.3 (14.2.A.1.142)?

    hi guys i just FED UP from posting all my bad reviews telling sony that this update couldn't fix the issues from the notification freezing sound, overheating, lag, battery drain, missing everything becausde all my alarms, reminders and ringtines comi

  • Itues 10.60 will not install

    Downloaded update for my Iphone and then i found out there was a update for itunes on my pc, so did the update but it will not install and will not connect to my iphone as itunes help will not load now. I can mot remove itune as pc will not allow me

  • Shipment cost based on ordering unit

    We have a scenario where the material UOM is MT while the ordering unit is KL. conversion factor is 10 kl = 8 mt. whie i am able to create shipment costs based on the MM UOM ( MT ) in VI01, i am not able to create shipment costs based on ordering uni