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

Similar Messages

  • 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  issue in obiee 10g

    Hi all,
    While updating data in DB using obiee 10g i am getting an error system is not able to read the template while updating.
    i have put the template in \OracleBI\web\msgdb\customMessages folder . Can anyone please suggest what might be the problem .
    below is the XML template i am using.
    <?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_Update">
    <XML>
    <writeBack connectionPool="WBC">
    <insert></insert>
    <update>UPDATE test SET COL3='@{c2}' WHERE COL1=@{c1}</update>
    </writeBack>
    </XML>
    </webMessage>
    </webMessageTable>
    </webMessageTables>
    Please help.

    Hi,
    Insert query is not mandatory.
    But you need to include a space between <insert> </insert>. So that s how it works. Check the xml with space in between the insert tag and it will work fine.
    This will resolve your problem. Please award if its helpful/useful to you.
    Regards
    MuRam

  • 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

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

  • Error  in reports after upgrade from OBIEE 10g to 11g :  [nQSError: 14025]

    Hi All, We upgraded RPD and web catalog from OBIEE 10g to 11.1.1.5. I see the following error while running few reports.
    Error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A
    general error has occurred. [nQSError: 43113] Message returned from OBIS.
    [nQSError: 14025] No fact table exists at the requested level of detail:
    When I add an user under BIAdministrator Application role and login, all the reports work correctly.
    I verified Oracle BUG fix (11850704) document and tried to make changes as suggested.
    Please suggest me if this issue is related to 10g to 11g RPD upgrade or are we missing any privileges?
    Also should I add every user to BIAdministrator role to avoid this issue?
    Thanks in Advance

    Hi,
    First of all i am not familiar on linux box.
    I tried in windows environment the rpd is deployed with out any errors.
    But i ran the ua.bat file in the following path
    \MWHOME\Oracle_BI1\bin\ua.bat.
    while i am running in oracle_common\bin\ua.bat is not responding in my local system.
    Please Mark if it helpful.
    Thanks

  • 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

  • Error during write-back

    Hi I've installed BIEE on a XP machine, with the OC4J option. The machine also has Oracle10gR2 database on it.
    I've been able to set up a repository and this is accessing the database ok. The answers page shows my created presentation layer.
    I'm now trying to implement write back and think the configuration to be correct (more than likely not) other than the connection pool in the xml. Anyway I get the following error(s) when I press commit on the dashboard.
    (I've tried the sql direct and this works)
    Type: Error
    Severity: 40
    Time: Sun Feb 10 22:57:14 2008
    File: project/webodbcaccess/odbcstatementimpl.cpp Line: 196
    Properties: ConnId-10;StmtId-75;ThreadID-716;HttpCommand-WriteBack;RemoteIP-192.168.1.207;User-isdb_admin
    Location:
         saw.odbc.statement.execute
         saw.httpserver.request
         saw.rpc.server.responder
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 27022] Unresolved Connection Pool object: "JWH"."Connection_Pool". (HY000)
    Type: Error
    Severity: 42
    Time: Sun Feb 10 22:58:04 2008
    File: project/webcomm/socket.cpp Line: 635
    Properties: ThreadID-716
    Location:
         saw.rpc.server
         saw.rpc.server.handleConnection
         saw.rpc.server.dispatch
         saw.threadPool
         saw.threads
    An error occurred during execution of "recv". An unknown error occurred in the sockets library. [Socket:-1]
    The XML for the write-back 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="SHNEW">
    <XML>
    <writeBack connectionPool="JWH"."Connection_Pool">
    <insert> </insert>
    <update>UPDATE SEARCH SET S_STRING='@{c1}'</update>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Note I've tried combinations with out source name 'JWH' and versions with and with out the _ (configured in the repository also)
    Any hints at what to look next are most welcome.
    everything else seems to work. The machine has full oracle on (so includes tns etc)
    John
    Message was edited by:
    johnhol_roke

    Ok found my error.
    Connection pool in repository had space in name "Connection _Pool" instead of "Connection_Pool", only visible if you cut and paste the connection details from repository into note pad.
    Every thing now works.
    Message was edited by:
    johnhol_roke

  • Error while Write Back

    Hi Frienz,
    Below is the xml file ..
    <?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="Correction_FPP">
    <XML>
    <writeBack connectionPool="RecoPool">
    <insert>INSERT into DAILY.REVRECAT (IP,PASSTHRU,REIMB ,DEF_REV_EAR_MTH, DEF_REV_CUR_MTH, INTERVERT, OTHERS, RATE_FACT, SAP_LOSS_GAIN) values (@{c10},@{c11},@{c12},@{c13},@{c14},@{c15},@{c06},@{c19})</insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The write Back button is enabled but ..wen i execute ...i get the error as ..
    *********************************************************************************************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 RecoPool
    Let me knwo why is the issue and how can it be solved.
    Appreciate ur help..
    Many Thanks,
    Veena A
    Edited by: Veena A on Jan 18, 2009 11:38 PM

    Hi Veena,
    1. Login into Presentation URL http://<hostname>:9704/analytics.
    2. Click on "Settings", a popup will come up
    3. in popup window Click on "Manage Privileges"
    4. Goto end you will find "Write Back"-->"Write Back to Database" infront of this if you find "*(not permitted)*"
    Then no previlages.
    Regards,
    Somu

  • 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

  • SQL Error in Write Back

    Hi Experts,
    We followed Venkat blog on Oracle biznet.
    But having a problem while trying to writeback values .
    This is our WriteBack.xml file
    <?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>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Error: The Execute Physical statement must specy a Physical SQL Statement to Execute .(HY000)
    Edited by: user7469483 on Oct 9, 2010 3:44 AM

    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

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

Maybe you are looking for

  • What exactly are unscaledWidth and unscaledHeight in mobile item renderers?

    Hello, What exactly are unscaledWidth and unscaledHeight that get passed to the measure() method for a mobile item renderer? I am guessing renderers start at  "default" width and height (so unscaled) which get scaled based on DPI. Is that it? Thank y

  • Video Input on set top

    How can I use the video input on the HD set tops? How about the USB? Solved! Go to Solution.

  • Run a NAS as Time Machine on a MacBook Pro

    Run a Synology DS211  and trying to get Time Machine on my MB Pro (Lion) to work with my NAS as backup. It show work...but...My Macbook Pro doesn't recognize the NAS when opening Time Machine, it doesnt show the NAS as an option. However, in Finder i

  • Problems with downloading files from the internet?

    I have Mozilla Firefox and Safari on my macbook. For some reason it will not let me download things from the internet. Whenever i keep a download link, the page never loads....can anyone put some insight into my problem? Justin Evans

  • Moving Home Directories

    I have 2 Xserves running OSX Server 10.4.10 ,the OD master is in New York and the replica in Paris. I have 3 user groups: AllEmployee, NYEmployee and ParisEmployee. I have Mobility preferences managed for every user (AllEmployee), Background sync ena