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

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

  • 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

  • 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

  • Write Back Error: The system was unable to generate appropriate SQL

    All,
    Have looked at the previous threads on this topic and it has usually been syntax problems in the xml file. I've been over it a million times and can't see any problems.
    The error I'm getting is when I click the "update" button to initiate the write-back;
    The system was unable to generate appropriate SQL. Please contact your system administrator.
    Template: 'UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0}, Week_Ending = @{c1} WHERE id = @{c2} '
    Record: '<record action="update"><value columnID="c2">142</value><value columnID="c0">04/30/2012</value><value columnID="c1">05/06/2011</value></record>'
    My xml file is as follows;
    <?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="GOALS">
    <XML>
    <writeBack connectionPool="GL Oracle Data Warehouse Connection Pool">
    <insert> </insert>
    <update>UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0}, Week_Ending = @{c1} WHERE id = @{c2} </update>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Week Beginning and Week End are just two columns from WC_DEPT_GOALS_D - 44 columns in total which I want to write back to. These two are datetime, the others are int or float. I can't even get it to write back with these two, let a lone the other 42! :)
    Any suggestions? Thanks guys!
    Please note, I've also tried it without the "postUpdate" COMMIT line. Same error.
    Edited by: Ally on Jun 3, 2011 7:50 AM
    Edited by: Ally on Jun 3, 2011 8:00 AM

    If your column data type is varchar then you have to specify that in single quote
    COMMIT :if your DB supports automatic commit so you don't have to add it.
    check that the name in "<WebMessage name="GOALS">" is the exact same case as what you have in your report. i.e. it's Goals in the XML and then it cannot be GOALS in the Report or goals.
    And also try this..
    <update>UPDATE WC_DEPT_GOALS_D SET Week_Beginning = @{c0} WHERE id = @{c2}
    UPDATE WC_DEPT_GOALS_D SET Week_Ending = @{c1} WHERE id = @{c2}</update>
    Restart all the services and oc4j
    Cheers,
    Aravind
    Edited by: Aravind Addala on Jun 3, 2011 8:51 AM
    Edited by: Aravind Addala on Jun 3, 2011 8:57 AM

  • Obiee 10g write back error while insertion

    Hi,
    Im getting an error while trying to write back a column to oracle database.
    Error details
    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 orcl
    Xml issued
    <?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="orcl">
    <insert> INSERT INTO writebackasim(name)values (@{c1}) </insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    Help me please...

    now it is updating the value...But still error message is coming
    and i have changed the code to insert..BUt now getting the error message and not inserting the value.. can you please debug this.
    ?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="orcl">
    <insert>insert into writebackasim(id,name)values(@{c0},'@{c1}')</insert>
    <update>select null from dual</update>
    <postUpdate>COMMIT</postUpdate>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    error message
    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 orcl COMMIT
    -

  • 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 write back error MSG: OPR4ONWY:U9IM8TAC:OI2DL65P

    Hello there,
    I've been trying to use OBIEE write back function. I've created XML template to insert and update value in OBIEE dashboard and then to the DB. I've look into several research paper, yet I still have the problem. Your help is greatly appreciated. I thank you so much in advance for your help. Arnold
    Pls see the following detailed info concerning this error:
    Error MSG detail:
    =============
    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 code:
    =========
    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 SH
    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 SH
    XML 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="SHNEW">
    <XML>
    <writeBack connectionPool="SH">
    <insert>INSERT into sales (sales_quota) values(@{c0})</insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>

    You don't have any update statement here :
    <update> </update>
    Research when insert part is called and when update is called.

  • 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 error, help

    Hi all,
    In my write back report, i got this error:
    error code: OPR4ONWY:U9IM8TAC:OI2DL65P
    状态: HY000。 代码: 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)
    Issue SQL: EXECUTE PHYSICAL CONNECTION POOL "connection pool" COMMIT
    I checked in database, data have changed in db, but why raise this error?
    Edited by: jacky on 2010-7-27 下午8:42

    Hi Jacky,
    I guess you should put an insert statement in place .If the column that you are updating has null values then it will look for insert statement but if you are updating a column value that already has some value then it will look for update statement.For ex : if you are updating some meaure value from 200 to 300 then it will execute update statemnt but if you are updating null to 300 then BI server will look for insert staement.
    I worked on this a long way back so if you can try puttting insert statement then we can reach at some conclusion.
    Thanks
    Sandeep

  • WRITE BACK ERROR URGENT HELP

    Hi Experts,
    Below is the xml code for the write back and i am getting the error .
    Please go through and let me know how shud i correct the code if it is wrong,...
    <?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="CUST_FPP_REV1">
    <XML>
    <writeBack connectionPool="RecoPool">
    <insert>INSERT into DAILY.REVRECAT (SERVICE_REV) values (@{c4})</insert>
    <update> UPDATE DAILY.REVRECAT set SERVICE_REV=@(c4) where COMBI='@(c17)'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The error I am getting when I click on the write back button is
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred. nQSError: 43093 An error occurred while processing the EXECUTE PHYSICAL statement. nQSError: 17001 Oracle Error code: 904, message: ORA-00904: "C4": invalid identifier at OCI call OCIStmtExecute: UPDATE DAILY.REVRECAT set SERVICE_REV=(c4) COMBI='(c17)'. nQSError: 17011 SQL statement execution failed. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL RecoPool UPDATE DAILY.REVRECAT set SERVICE_REV=(c4) where COMBI='(c17)' "Also can we pass prsentation variables in the write back xml template..(.in the where clause in the SQL query)
    Appreciate your immediate reponse as this has become a work stopper for me ...
    Please let me know where I am going wrong.
    Regards,
    Veena A
    Edited by: mithuu on Mar 3, 2009 3:17 AM
    Edited by: mithuu on Mar 3, 2009 3:19 AM

    Hi Nico,
    Thanks for your reply but i am really confused...
    I tried with the points you told but not now gettig the error as
    " Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. NQODBC SQL_STATE: HY000 nQSError: 10058 A general error has occurred. nQSError: 43093 An error occurred while processing the EXECUTE PHYSICAL statement. nQSError: 17001 Oracle Error code: 904, message: ORA-00904: "C4": invalid identifier at OCI call OCIStmtExecute: UPDATE DAILY.REVRECAT set SERVICE_REV=(c4) COMBI='(c17)'. nQSError: 17011 SQL statement execution failed. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL RecoPool UPDATE DAILY.REVRECAT set SERVICE_REV=(c4) where COMBI='(c17)' "
    Please help as i am new to this tool.
    Appreciate your help.
    Regards,
    Veena A
    Edited by: mithuu on Mar 3, 2009 3:20 AM

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

  • Write Back - The system was unable to generate appropriate SQL. Please cont

    Hi I am facing the below error while implementing writback feature in obiee 11g.
    The system was unable to generate appropriate SQL. Please contact your system administrator.
    Template: 'update OBI_DEV.W_PRODUCT_D_WRITE_BACK SET MON_REL_TARGET = '@{c5b2e8f4d057e4201}', MON_GROSS_TARGET= '@{ce74545331e56f0bc}' where PRODUCT_FAMILY = '@{c9a6eeb6940647d1b}' and PRODUCT_TYPE = '@{c037fcc09911be97b}' and REGION = '@{c0bc248e1e2c13fc4}''
    Record: '<record type="update"><value columnID="c0c5d0de6e8463149"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">PROD_A</sawx:expr></value><value columnID="c9a6eeb6940647d1b"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">DP_CO</sawx:expr></value><value columnID="c037fcc09911be97b"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Commerical Product</sawx:expr></value><value columnID="c3805a6285c2d923d"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">INTL</sawx:expr></value><value columnID="c0bc248e1e2c13fc4" type="update"><newValue><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">3</sawx:expr></newValue><oldValue><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">2</sawx:expr></oldValue></value><value columnID="c5b2e8f4d057e4201"><sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:decimal">6</sawx:expr></value></record>'
    ============================================================================================================'
    here is my XML Template.
    <WebMessage name="Writeback">
    <XML>
    <writeBack connectionPool="Oracle DataWarehouse Connection Pool Write Back">
    <insert> </insert>
    <update>update OBAW_DEV.W_PRODUCT_D_WRITE_BACK SET M MON_REL_TARGET = '@{c5b2e8f4d057e4201}', MON_GROSS_TARGET= '@{ce74545331e56f0bc}' where PROD_FAMILY = '@{c9a6eeb6940647d1b}' and PRODUCT_TYPE = '@{c037fcc09911be97b}' and REGION = '@{c0bc248e1e2c13fc4}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    Thanks
    Kumar
    Edited by: 877408 on Jan 9, 2013 7:57 AM
    Edited by: 877408 on Jan 9, 2013 7:58 AM
    Edited by: 877408 on Jan 9, 2013 8:11 AM

    How about following line between the tags <WebConfig> and </WebConfig> in the instanceconfig.xml located under $INSTANCE_HOME/config/OracleBIPresentationServicesComponent/coreapplication_obips1:
    <LightWriteback>true</LightWriteback>
    Restart Presentation Services
    And check the write back permissions in Analytics->Administration> Manage Privilege as shown below:
    Just in case also check user has write access
    If helps pls mark else update
    Try with no space between tags like <insert></insert>
    Edited by: Srini VEERAVALLI on Jan 9, 2013 10:46 AM

Maybe you are looking for

  • Multi-touch trackpad in Windows 7?

    Ok, so I know that there is not a driver for windows 7 yet with the trackpad. But Windows 7 is built upon Vista so the drivers should work with no problems. The only thing is that when I try to install the driver it tells me that "This update is not

  • Some times Safari crashes and quits the first time I click a link

    Hello there As the title says, some times Safari crashes and quits the first time I click a link on a webpage (after opening one or more bookmarks). Upon reopening Safari, everything is fine. Is there a fix?

  • Help with Speedtream 4200

    Wanting help, Airport extreme seems to be working fine but won't connect to the internet. i have a siemens speedstream modem. is that the problem or does some one have a suggestion?

  • Can someone help comment on my workflow?

    I'm looking for advice on my workflow.   I'm a dad taking pics of nature, kids, parties etc.    I need to get the gazillion of raw pics off my drive before it overflows. Also, I've been using one collection per year but realize I need to combine all

  • How do I switch tabs in fullscreen mode in Safari iOS?

    I like FS mode in Safari, but seems to be unable to switch tabs while in fullscreen?