WriteBack Error in OBIEE 10g

Hi Friends,
I got an error while executing the writeback Template.I am using simple SH schema.
Please Help me to fix the error.
The Template I have given is 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">
<XML>
<writeBack connectionPool="Connection Pool">
<insert> </insert>
<update>UPDATE SALES SET PK=@4 WHERE TIMES.CALENDAR_YEAR='@1' PRODUCTS.PROD_NAME='@2' SALES.AMOUNT_SOLD=@3</update>
     </writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
The Updated Colomn here is "PK" present in SALES Table.
The Error I got is ....
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: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 16001] ODBC error state: S1000 code: 933 message: [Oracle][ODBC][Ora]ORA-00933: SQL command not properly ended. [nQSError: 16015] SQL statement execution failed. (HY000)
SQL Issued: EXECUTE PHYSICAL CONNECTION POOL "Connection Pool" UPDATE SALES SET PK=123 WHERE TIMES.CALENDAR_YEAR='1998' PRODUCTS.PROD_NAME='1.44MB External 3.5" Diskette' SALES.AMOUNT_SOLD=64464.83
Please Help me to fix the Error.
Thanks in Advance....
Regards,
Pamidi.

Hi JD,
Thank you for your good Reply.
I already recognized the Error with Update Command.No need to end ';' to Update Commad.
I know the Simple Update command like <update>UPDATE SALES SET PK=@2 WHERE PROD_ID='@1'</update> . this command will be worked.
But in this case(This Error with previous Update Command) , I am not able to write correct Update Command.
If you know please let me know.Thanks in Advance.
Regards,
Pamidi.

Similar Messages

  • Governor limit exceeded in cube generation error in OBIEE 10g

    Hi Gurus,
    one of my OBIEE Report is throwing the error called *"Governor limit exceeded in cube generation(Maximum data records exceeded.)"*
    I am using OBIEE 10g.Could you please suggest me here and report also runnig for long time like to get one day data it is running for 30 min to pick 9000 rows.
    Regards,
    SK

    Hello,
    Try to alter the values in the instanceconfig.xml. ( Under \OracleBIData\web\config )
    <CubeMaxRecords>200000</CubeMaxRecords>
    <CubeMaxPopulatedCells>200000</CubeMaxPopulatedCells>
    Also refer to :     OBIEE 10g: Error: "Governor Limit Exceeded In Cube Generate. Error Codes: QBVC92JY" or "Maximum number of allowed pages in Pivot Table exceeded...Error Detail" When Displaying a Pivot View or Chart [ID 1092854.1] if it did not solve the issue.
    Hope this helps. Pls mark if it does.
    Thanks,
    SVS

  • Socket communication error in OBIEE 10g.

    Hi
    I have below error in nqserver log by which i am unable to connect admin tool and presentation service. I am using OBIEE 10g.
    [nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall
    Please Suggest.

    Hi ,
    Its not about the no. of connection pools u have in ur RPD .Its the maximum number of connections allowed for this connection pool. The default is 10. This value should be determined by the database make and model
    and the configuration of the hardware box on which the database runs as well as the number of concurrent users who require access.
    Ref :
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/oracle-bi-server-stops-automatically-after-some-time-3645235
    Just give it try .

  • Writeback error in OBIEE 11g

    I am using the writeback template below. It works fine if my browser is set to English language.
    *<?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="PartyItemNoteTemplate">*
    *<XML>*
    *<writeBack connectionPool="WriteBackCP">*
    *<insert> </insert>*
    *<update>*
    INSERT INTO PARTY_ITEM_NOTES (note_key, item_num, party_id, note_text, latest_party_item_note_flag, created_by) VALUES (bi_party_notes_s.NEXTVAL, '@3', @17, '@15', 'Y', '@16');
    *</update>*
    *</writeBack>*
    *</XML>*
    *</WebMessage>*
    *<WebMessage name="PartyItemNoteEditTemplate">*
    *<XML>*
    *<writeBack connectionPool="WriteBackCP">*
    *<insert> </insert>*
    *<update>*
    INSERT INTO PARTY_ITEM_NOTES (note_key, item_num, party_id, note_text, latest_party_item_note_flag, created_by) VALUES (bi_party_notes_s.NEXTVAL, '@2', @7, '@6', 'Y', '@8');
    *</update>*
    *</writeBack>*
    *</XML>*
    *</WebMessage>*
    *</WebMessageTable>*
    *</WebMessageTables>*
    The problem is when I try this using other browser languages, I get a red box with a generic 'Write-back Error' error message in it, and the writeback does not work.
    German error: Rückschreib-Fehler
    French error: Erreur de réécriture
    etc...
    The party_item_notes table is defined as follows:
    CREATE TABLE warehouse.party_item_notes
    note_key                     NUMBER(10),
    item_num                     VARCHAR2(32 BYTE),
    party_id                     NUMBER(15),
    note_text                    VARCHAR2(150 BYTE),
    latest_party_item_note_flag  CHAR(1 BYTE),
    created_by                   VARCHAR2(15 BYTE),
    created_date                 DATE             DEFAULT SYSDATE
    I tried executing the insert statements in TOAD after running ALTER SESSION SET NLS_LANGUAGE= 'FRENCH' - and it worked fine, the row was inserted without errors. Has anyone else run across this issue, or does anyone have any ideas what might be causing it?
    -Nick

    <WebMessage name="TROUBLE_TICKETS_New">
    <XML>
    <writeBack connectionPool="GSC_SMR_CP">
    <INSERT> UPDATE GSC_TGT_TROUBLE_TICKETS
    SET
    OTG_CAUSE=UPPER('@{c9227d804691e9716}'),
    Total_TICKET_TIME='@{cf19c99ecc1414eb9}',
    ELAPSED_REPAIR_TIME_HRS =('@{cf19c99ecc1414eb9}'/60),
    APPROVED=UPPER('@{cb45e48c440ebf89e}'),
    SLA_EXCLUSION=UPPER('@{c10a102137164cf12}'),
    PRIORITY='@{c74265fdc727ff6fa}',
    RESOLUTION_CODE=UPPER('@{cd3316a358092e99a}'),
    RESOLUTION_DESCRIPTION=UPPER('@{cfad893d1d5324d1a}'),
    ALT_NEID =UPPER('@{cc2288d55a477ddea}'),
    RESPONSIBLE_PARTY =UPPER('@{c9e6e09ec96da547d}'),
    USER_COMMENTS='@{c6a96d76497318e04}'
    WHERE TKT_ID= '@{cb5ebeface51c760a}'AND NEARSUBSCRIBEROID =  '@{c16b6d1fc868f2304}'
    </INSERT>
    <UPDATE>UPDATE GSC_TGT_TROUBLE_TICKETS
    SET
    OTG_CAUSE=UPPER('@{c9227d804691e9716}'),
    Total_TICKET_TIME='@{cf19c99ecc1414eb9}',
    ELAPSED_REPAIR_TIME_HRS =('@{cf19c99ecc1414eb9}'/60),
    APPROVED=UPPER('@{cb45e48c440ebf89e}'),
    SLA_EXCLUSION=UPPER('@{c10a102137164cf12}'),
    PRIORITY='@{c74265fdc727ff6fa}',
    RESOLUTION_CODE=UPPER('@{cd3316a358092e99a}'),
    RESOLUTION_DESCRIPTION=UPPER('@{cfad893d1d5324d1a}'),
    ALT_NEID =UPPER('@{cc2288d55a477ddea}'),
    RESPONSIBLE_PARTY =UPPER('@{c9e6e09ec96da547d}'),
    USER_COMMENTS='@{c6a96d76497318e04}'
    WHERE TKT_ID= '@{cb5ebeface51c760a}'AND NEARSUBSCRIBEROID =  '@{c16b6d1fc868f2304}'
    </UPDATE>
    </writeBack>
    </XML>
    </WebMessage>

  • Consistency check error in OBIEE 10g

    Hi
    I have the below error while doing consistency check.
    I was trying to join two fact tables by complex join, but getting below error
    NQSError:15009 Could not load navigate space for subject area
    NQSError: 15009 Multiple paths exist to table Plans.Circular joins schemas not supported
    Please suggest

    If you have to join fact tables in physical, make sure your logical layer remains a star.
    Either add both fact tables to one logical fact table source , or create two logical stars, where both facts are joined to all conformed dimensions.
    Note: if both facts are not at exactly same granularity, your reports will show incorrect results most definitely. So avoid fact to fact joins.

  • Syntax Error in obiee 10g

    I am getting syntax error [nQSError: 27002] Near <)>: Syntax error [nQSError: 26012] . Please help me to identify for below code
    CASE WHEN Core."Dim - Date"."Year" = 'year(current_date)' THEN FILTER( AGO(Core."Fact - Spend and AP Invoice Distribution"."Spend YTD", Core."Date"."Year", 1) USING Core."Dim - Date"."Date" = VALUEOF(NQ_SESSION."R_Current_Date")) WHEN Core."Dim - Date"."Year" <> 'year(current_date)' THEN FILTER( AGO(Core."Fact - Spend and AP Invoice Distribution"."Spend YTD", Core."Date"."Year", 1) USING Core."Dim - Date"."Date" = cast(concat(cast(day(current_date) as char) ||’-’|| month(current_date) ||’-’|| cast(year(Core."Dim - Date"."Year") as char)) as date)) Else 0 End
    Many thanks.

    WHEN Core."Dim - Date"."Year" 'year(current_date)' THEN You are missed condtion
    try to use as WHEN Core."Dim - Date"."Year" ='year(current_date)'
    or
    CASE WHEN Core."Dim - Date"."Year" = 'year(current_date)' THEN FILTER( AGO(Core."Fact - Spend and AP Invoice Distribution"."Spend YTD", Core."Date"."Year", 1) USING Core."Dim - Date"."Date" = VALUEOF(NQ_SESSION."R_Current_Date")) WHEN Core."Dim - Date"."Year"= 'year(current_date)' THEN FILTER( AGO(Core."Fact - Spend and AP Invoice Distribution"."Spend YTD", Core."Date"."Year", 1) USING Core."Dim - Date"."Date" = cast(concat(cast(day(current_date) as char) ||’-’|| month(current_date) ||’-’|| cast(year(Core."Dim - Date"."Year") as char)) as date)) Else 0 End
    Mark as correct
    Edited by: Srini VEERAVALLI on May 3, 2013 6:02 AM
    Based on given OP what was said is correct. when you are getting cast issues then you need to share values too.
    Thanks
    Edited by: Srini VEERAVALLI on May 3, 2013 2:03 PM

  • SQL Expression in Filter conditon Error in OBIEE 10g

    Hi
    I am getting an error while giving the sql in the sql expression in filter conditon.
    The sql expression I am giving is:SELECT MAX("Task Runs"."Start Time") saw_4 FROM "Analysis"'
    Error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <SELECT>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: {call NQSGetLevelDrillability('set variable disable_cache_hit=1; SELECT "Task"."Task Name" saw_0, "Task Runs"."Time in Seconds" saw_1, TOPN("Task Runs"."Time in Seconds", 10) saw_2, "Task Runs"."Start Time" saw_3 FROM "Analysis" WHERE "Task Runs"."Start Time" >= SELECT MAX("Task Runs"."Start Time") saw_4 FROM "Analysis"')}
    But when I individualy select start time column and check max of it the data comes fine, but if I am giving in sql expression it errors out.
    Please suggest.

    Hi Sini,
    I have tried taking the second suggestion but I get no result for that
    "Task Runs"."Start Time" -->Filter->Advanced button->Convert this in SQL->
    WHERE "Task Runs"."Start Time" >= MAX("Task Runs"."Start Time" by "Task"."Task Name")
    Here I did not understand the code Task Runs"."Start Time" by "Task"."Task Name". If possible elaborate.
    And 1st suggestion the query formed just looks the query u suggested.
    Unable to figure out what exactly is the problem.
    Try something as in with 2 queries
    http://www.cool-bi.com/Tweaks/JoinsinAnswers.php
    or else
    "Task Runs"."Start Time" -->Filter->Advanced button->Convert this in SQL->
    WHERE "Task Runs"."Start Time" >= MAX("Task Runs"."Start Time" by "Task"."Task Name")
    not sure how it works but this is other way of your sql in BI

  • GROUPBY error in OBIEE 10g

    I had a requirment where I need to calculate the duration of the etl runs on daily basis
    So I have calculated the duration using the below formula.
    by grouping the run_wid and using the column in criteria and hiding it(in order to avoid the error 'column in GROUPBY clause not in the projection list.')..
    the reason for grouping the run_wid is when the etl fails it is run multiple times and multiple entries on same run_wid are generated so I have captured them by
    grouping them based on run_wid.
    Everything works here fine.
    But when I want to analyze on the whole year average etl runs using the above process.
    So in order to achieve this by taking the year and duration and grouping by run_wid. I again get the error 'column in GROUPBY clause not in the projection list.').
    I can't use the run_wid in the criteria because it not showing at year level. Please suggest a way/idea on achieving this.
    Edited by: 949675 on May 30, 2013 10:17 PM

    Hi Yadav,
    Thanks for suggesting the idea it worked little bit by not making me to pull the run_wid in both
    criteria and adding in GROUP by in advanced tab.
    The problem what I am facing now is the value is not average values and its only showing the sum
    of all the values
    The formula for calculating Average is Avg(round(sum(TimestampDiff(SQL_TSI_SECOND,Audit."Start Time",Audit."End Time"))/60,2)/60 by run_wid)
    The columns in my criteria are
    Year|Average
    Ex:
    In year 2011 the ETL has run 50 times, I am seeing 50 etls total run time in Average.

  • Java heap space error in obiee 10g

    Dear All,
    We are unable to generate the reports. We observed the following error in OC4J
    12/06/06 17:43:28 java.lang.OutOfMemoryError: Java heap space
    12/06/06 17:43:36 Exception in thread "Timer-8" Exception in thread "Timer-0" j
    va.lang. OutOfMemoryError: Java heap space
    12/06/06 17:44:45 java.lang.OutOfMemoryError: Java heap space
    12/06/06 17:45:18 java.lang.OutOfMemoryError: Java heap space
    12/06/06 17:45:19 java.lang.OutOfMemoryError: Java heap space
    12/06/06 17:45:26 java.lang.OutOfMemoryError: Java heap space
    How to resolve this.
    Thanks.

    Hi,
    Increase the heap size by setting -Xmx to the desired amount of memory in the <java-option> element in opmn.xml:
    <module-data> <category id="start-parameters">
    <data id="java-options" value="-Xmx256M" />
    </category>
    </module-data>
    Alternatively, you can set a system property at OC4J startup:
    java -Xmx256M -jar oc4j.jar
    Refer : http://docs.oracle.com/cd/B14099_15/web.1012/b14011/diagnosis.htm
    Regards,
    Srikanth

  • 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

  • Oracle bi error codes u9kp7q94 OBIEE 10g

    Hi All,
    I have created new user in RPD(Online Mode).
    Then i have loged into Answer.It throws error
    "oracle bi error codes u9kp7q94 OBIEE 10g"
    How to fix.
    Thanks
    Gram

    Raj wrote:
    Hi All,
    I have created new user in RPD(Online Mode).
    Then i have loged into Answer.It throws error
    "oracle bi error codes u9kp7q94 OBIEE 10g"
    How to fix.
    Thanks
    GramAre you getting this error on the login screen? or when you are opening a report?

  • OBIEE 11g Writeback Error

    Hi All,
    I am unable to configure the writeback functionality in OBIEE 11g, i am getting error while pressing Apply button in the report no error message is displayed in the error box only 2 ok buttons.
    Folder customMessages doesn't exist:
    "ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obipsn/analyticsRes/customMessages"
    so i created the folder and added the writeback xml file to the folder.
    is there is any way to check the error.?

    Hi,
    Please check if you have followed the following steps mentioned:
    http://obiee10grevisited.blogspot.in/2012/02/write-back-in-obiee11g.html
    Regards
    MuRam

  • Localization in OBIEE 10g(Error "start row is set higher than the row count

    Hi All,
    I m Working on Localization.
    I have used exteranize string and saved excel file and added language column and inserted data en and fr and loaded the file into the database.
    then i have created 2 variables
    one is for weblanguage SELECT 'VALUEOF(NQ_SESSION.WEBLANGUAGE)' FROM DUAL
    second is SELECT SESSION_VARIABLE, TRANSLATION FROM TAB_EXTERNAL WHERE LANGUAGE = 'VALUEOF(NQ_SESSION.LOCALE)' when i click on Test for the second variable it showing error
    "start row is set higher than the row count"
    i have seleted start row =10 and show some 10.then also it is showing same error.
    Please send me the solution ASAP.
    Thanks and Regards
    Kiran Kumar

    Hi Kiran,
    I am working in OBIEE localization. I created two variables and when press test i am getting vaules successfully. But in OBIEE application i am getting columns in english only. It seems there is some problem with values in DUAL table. It contains only 1 column called 'DUMMY' and value as 'X'.
    Please give me complete configuration steps to setup localization OBIEE 10g. Please drop me a mail to [email protected] if u have steps. I will call u if u provide contact number.

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

Maybe you are looking for

  • HR_MAINTAIN_MASTERDATA - Missing Action Reason (MASSG)

    Hi Developers, I have a bit of an issue. I'm trying to create a new employee using FM HR_MAINTAIN_MASTERDATA. Unfortunately, when I call the FM and enter the below listed imports, I receive the following error IMPORTS: PERNR                     ==>  

  • PCI 6220 how to route I/O signals?

    Hi I am using a PCI 6220 connected with a SCC 2345, on labview 71 XP based. I have 24 V signal and I want to divide the frequency, and send out divided signal on RTSI 0. I tryed to use a SC-DI on the 2345, but I don't know how to route the DI signal

  • Playing music in iTunes, clamor, distorts the song

    Playing a song in iTunes clamor is heard, a very distorted. When I play it in another probgramie everything works fine. Already tried to uninstall and install again.Someone had this problem? Please help. I am using windows xp.

  • How to merge 2 halves of an image contained within 2 separate folders + repeat (2 image sequences)?

    I have two folders of image sequences. Folder 1 contains images for the left hand side of the frame. Folder 2 contains images for the right side of the frame. Each image in folder 1 pairs with a corrosponding image in folder 2 and I want to merge the

  • Java - MS SQL Server 2005 JDBC connection problem

    Hi all, i tried to set up a connection and tried the following codes and got an exception {color:#ff0000}--------------------Configuration: <Default>-------------------- Got an exception! com.microsoft.sqlserver.jdbc.SQLServerDriver Process completed