Write back feature giving an error

hi all
i have implemented write back feature in obiee,
in custom messages i have created one xml file,in that i have written one updated command
when i am trying to update the record from the answers it is giving an error
in xml file i have created WebMessage name= "Insertorupdate",even i wrote simple update command,
<update>
update user_table set name='@{c1}',description='@{c2}',create_date=sysdate,active='@{c3}' where user_name='{c0}'
</update>
this is the error message i am getting,
The system is unable to read the Write Back Template 'Insertorupdate'. Please contact your system administrator.
Thanks
Sreedhar

hi kishore
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
<WebMessageTable lang="en-us" system="messages" table="Templates">
<!-- Testing templates used for writing back into an Excel workbook used as a data source -->
<!-- Save this file in the OracleBIData\web\msgdb\customMessages folder as WriteBackTemplate.xml -->
<WebMessage name= "Insertorupdate">
<XML>
<writeBack connectionPool="WriteBack">
<!-- Table has columns Col1, Col2, Col3Char, Col4Date and in query c0 maps to Col1, c1 maps to Col3Char, c2 maps to
Col4Date, c3 maps to Col2-->
<update>
update Create_user set full_name='@{c1}',description='@{c2}',create_date=sysdate,is_active='@{c3}' where
user_name='{c0}'
</update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
in my table i am having 7 columns,but here i am using only 4columns for updating.is it wrong???
Thaks
Sreedhar
Edited by: 791907 on Oct 19, 2010 3:18 AM

Similar Messages

  • Error in Write Back Feature in OBIEE 10g

    Hi,
    I am getting following error when I tried to implement Write Back feature...
    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.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL CP COMMIT
    My xml template is
    <?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> UPDATE WRITE_BACK_TEST SET EXPLAINATION='@{c1}' WHERE SQ_NUM=@{c0} </insert>
    <update> UPDATE WRITE_BACK_TEST SET EXPLAINATION='@{c1}' WHERE SQ_NUM=@{c0} </update>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    I even changed the instance config file by adding an entry <LightWriteback>true</LightWriteback>
    Let me know where I did wrong
    Thanks
    Edited by: 991740 on Mar 25, 2013 2:20 PM

    Try these
    1. Remove the COMMIT from the SQL statement.
    2. Leave the insert statement blank with a space for example:.
    <insert> </insert>
    Refer: http://docs.oracle.com/cd/E12103_01/books/AnyWebAdm/AnyWebAdm_Dashboard17.html
    If helps mark
    Edited by: Srini VEERAVALLI on Mar 25, 2013 4:13 PM

  • OBIEE 11.1.1.5.0 Write back feature 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?
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/answersconfigset.htm#i1018233
    Same XML file working in OBIEE 10g.
    SetForecast.XML
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="writeBack" table="Messages">
    <WebMessage name="SetForecast">
    <XML>
    <writeBack connectionPool="ODIDEV">
    <insert>INSERT INTO D1_FORECAST(TYPECODE,MONTHCODE,DOLLARS) VALUES(@1,@3,@4)</insert>
    <update>UPDATE D1_FORECAST SET DOLLARS=@4 WHERE TYPECODE=@1 AND MONTHCODE=@3</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    I copied in XML file in C:\OBIEE\middleware\instances\instance2\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes\customMessages and C:\OBIEE\middleware\Oracle_BI1\bifoundation\web\msgdb\customMessages.
    Thanks in advance.
    -Surya

    Hi Ankit,
    In my case the Writeback is not working. Can you help me out with the same.
    Following is my Template like:
    <?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="writebacktemplate_demo">
    <XML>
    <writeBack connectionPool="demonew pool">
    <insert> </insert>
    <update>
    UPDATE demonew.f SET cp=cae4c792813245e22 WHERE product='ca9d69a4885a1203a'
    </update>
    </writeBack>
    </XML>
    </WebMessage>
    <WebMessage name="writebacktemplate_demo">
    <XML>
    <writeBack connectionPool="demonew pool">
    <insert> </insert>
    <update>
    UPDATE demonew.f SET cp_target=c2e6e2110c93840a6 WHERE product='ca9d69a4885a1203a'
    </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>

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

  • Help on write back feature

    Hi All,
    I am working in Siebel Analytics 7.8.2.
    I have tried enabling write back feature in my application but I am not able to do so. The write back tab is enabled in the physical layer of repository. I have created a write back template. But the “Manage write back” option is not available in the Admin page. Could anyone please let me know whether any special license and configuration setting are required to enable write back in 7.8.2. ?
    Also please let me know the requirements and timeline to upgrade from SA 7.8.2 to 7.8.4. What are all the general factors (infrastructure change, additional components, configuration changes, etc) affecting the up gradation?
    Thanks.

    Hello Everyone,
    The write back feature is working fine. There was an issue privilege setting in rpd.
    Now one field is getting editable while pressing Update button in the dashboard report and type new value and pressing Apply button, data is getting updated in to DB table.
    To aviod the manual entry i want to enter a value from some kind of dropdown or any choice box. So could you please let me know how can i achieve this functionality.
    Thanks in advance.
    Regards
    Niraj

  • DATA Write back feature

    The Write back feature working on oracle 10.2
    but not working on
    ORACLE 9.2.0.5 With patchset 10.1.0.3 and patchset 9.2.0.6
    even when i click submit button the grid shows old values
    will it work on this version. Pls. confirm?

    10.1.0.3 database required additional OLAP patches over and above the basic 10.1.0.3 patch/upgrade process. This patchset was never release publicly and was only available to a few customers who requested it. It contained a number of issues and was replaced by 10.1.0.4 patchset.
    I would recommend you apply the 10.1.0.4 patchset as the BI Beans documentation clearly states WE DO NOT SUPPORT 10.1.0.3 DATABASE VERSION. YOU MUST USE 10.1.0.4 FOR 10gR1
    Hope this helps,
    Keith
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • What is Rollback,write back features in essbase

    please give me some note on this
    thanks
    Edited by: user618742 on Feb 3, 2009 4:24 AM

    'Write-back' refers to the ability of end-users to send values directly to the cube from a combined read / write interface such as the Essbase Excel Add-In, Smart View, Dodeca, Planning etc. A user can look at a value retrieved from the cube, decide for whatever reason that he or she wishes to change it, enter a new value and 'write it back'.
    This is in contrast to data loaded (usually as part of a batch process) from an external system.
    ASO is one of the two data storage mechanisms available in Essbase - it stands for 'Aggregate Storage Option'. As John said, write back to ASO cubes is only possible at 'level zero', and this feature was not introduced until version 9.3.1. If you aren't clear what 'level zero' means, I suggest reading this section of the Database Administrator's Guide: http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/frameset.htm?dinconc.html

  • Implementing Write back feature with a drop down

    HI,
    I have a requirement where in while implementing writeback a user has to see a dropdown kind of a column where he can select some static codes embedded in that column and select a sngle code , all other fileds are simple edit boxes. i have tried using java script in data format view but it doesnt help. can anybody suggest something to achieve this functioanlity.

    Hi Ashu, although I agree with Christian, did you found a solutions for this?
    Normally, when I am on a oracle database I would use APEX for this. But I am on a sql server database now, so I am looking for something like this as well...
    but again, OBIEE is a reporting tool and not a data entry tool...

  • OBIEE Writeback error - The system is unable to read the Write Back Templat

    Hi all,
    I'm trying to set up the write back feature for one of the reports. All the set up up including XML file in the custommessage folder is done.Ensured the webmessage name tag value (pmet_update) is same as the one used in the report write back template value etc.
    Also the server is restarted after the latest XML file(as shown below) is copied after all type of debugging with similar threads on this matter.
    But when i click on the update button in the report (button is highlighted), i'm getting the error
    "The system is unable to read the Write Back Template 'pmet_update'. Please contact your system administrator."
    here is the 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="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert></insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Could you please help?

    Hi,
    I think that you have to spacify 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.
    For me it works.
    Let me know!
    Gianluca Ancarani

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

  • Getting error during write back operation in OBIEE

    Hi Experts
    I have implemented the Write back operation in OBIEE . My xml code is
    <?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="NEW">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>UPDATE ACCT_DIM SET HIPC_FLAG='@{c5}' WHERE ACCT_SR_KEY=@{c0} </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    But i am getting error when i will click on Write Back Button.
    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.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL "Connection Pool"
    Please suggest me how to remove this error.
    Thanks In advance
    Rehards
    Sunil

    Hi experts
    This is my xml code but i am not able to update records in my database. is there any changes required in this 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="new">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>UPDATE ACCT_DIM SET HIPC_FLAG='@{c4}' WHERE ACCT_SR_KEY=@{c0} </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    My table name in database is ACCT_DIM and i am updating HIPC_FLAG in my table.
    I am getting 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.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred. nQSError: 27024 The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL "Connection Pool"
    Thanks in advance
    Regards
    Sunil

  • Write Back in Linux

    Hi All,
    Is it possible to have write back feature of OBIEE in Linux ? currentlyi am working on OBIEE 10g
    Regards,
    srl

    Hi,
    I am not sure about this..I know that we can use in linux...
    Go through this link might help you some way.. OBIEE Writeback error Sax parser Expected entity name with ampersand gt/lt
    Regards,
    Srikanth

  • ERPI Data write back not working due to unmapped dimension

    Hi,
    I am using version 11.1.2.1 of erpi with E-Business version 12. We have a hyperion Planning application. We are trying to write data back to e-business but the process is failing. The data goes into the staging tables but does not go into e-business due to unmapped dimensions. However, all the available dimensions have been mapped. The planning application contains multiple currencies and the hsp_rates dimension is not shown in erpi. We think this could be the unmapped dimension but there is no option to do this.
    Has anyone experienced this issue? The hsp_rates is a theory but a probable one since it is in essbase where the data is held.
    Thanks,
    Nathan

    we are unable to use the write-back feature.
    it keep give an error as the following :
    java.lang.NullPointerException
    ERPI Process Start, Process ID: 50
    ERPI Logging Level: DEBUG (5)
    ERPI Log File: C:\DOCUME~1\hyperion\LOCALS~1\Temp\1\/aif_50.log
    Jython Version: 2.1
    Java Platform: java1.4.2_08
    ERPI Process End, Process ID: 50
    any ideas?
    Aly

  • Depreciation write back

    Hi friends,
    In transaction ar29n (asset revaluation) when iam trying to run it by selecting "with depreciation write back", it is working fine but when iam selecting "without depreciation write back" its giving error " transaction type xyz cannot be used for activity 'new valuation gross'" .
    can any one give suggestions
    thank you
    genie

    Hi,
    check yout transaction type with trx.<b>OA81</b>
    A.

  • 10g Write back works for some users, not others

    Dear Gurus,
    I have a strange problem with the Write Back in my system. We use Write-back pretty extensively and have maybe 10-20 separate reports, updating a number of tables.
    We have been using this system for almost a year with no problems - Myself (logging in as Administrator) and a member of the Business team, logging in as herself (a member of the Presentation Server Administrator Group).
    We now require two more Business power-users to use our Write-back reports. I have added them to the Presentation Server Administrator group. However, when they try to enter values into ANY of the write-back reports, they get the following error;
    An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists...
    *State: HY000. Code 10058 [NQODBC]... A general error has occurred. [nQSERROR 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute (HY000)*
    SQL issued: EXECUTE PHYSICAL CONNECTION POOL "GL Oracle Data Warehouse Connection Pool"
    I do not understand why the write back is working without error for my own user, the Admin user and a member of the business team who is in the Presentation Server Administrator group, but not for two new additions to that group.
    I have checked that the Presentation Server Admin group is granted on the "Enable/Manage Write Back" privilege and on the Execute SQL privilege.
    Any ideas what else I could check?
    Thanks,
    A.

    Hey Amith,
    Thanks for your quick reply! Unfortunately, this doesn't seem to be the case. The system is pretty much wide open, apart from the Write pack privilege, which only the Presentation Server Administrator group has access to.
    I'm having another of my Presentation Server Administrators who has been in the group forever try to use the write back.
    There's no specific connection pool or database level permissions for write back, is there? And there's no specific permissions which need to be set on the xml template files?
    Thanks,
    A.

Maybe you are looking for