Issue with Write Back

Hi All,
I have a requirement where the user can writeback to a field.
The table has two columns COMBI and SERVICE_REV.
COMBI is the key cloumn .
Below is the code in the writeback 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="CUST_FPP_REV1">
<XML>
<writeBack connectionPool="RecoPool">
<insert>INSERT into DAILY.REVRECAT SERVICE_REV=@(c4) where COMBI='@(c17)'</insert>
<update> UPDATE DAILY.REVRECAT set SERVICE_REV=@(c4) where COMBI='@(c17)'</update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
I am getting the error message 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: 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) where 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 i tried by hardcoding the values.
instead of c4 i used 123456 and for c17 i took the value in the table
It worked .
Thus writeback happens when i hardcode the values.
Is the xml code i have used is proper.
Please help me
Appreciate your immediate response.
Regards,
Veena A

use { and } instead of ( and ) for your column references:
<insert>INSERT into DAILY.REVRECAT SERVICE_REV=@{c4} where COMBI='@{c17}'</insert>
<update> UPDATE DAILY.REVRECAT set SERVICE_REV=@{c4} where COMBI='@{c17}'</update>
Regards John
http://obiee101.blogspot.com/

Similar Messages

  • Issues with play back in the time line

    I am having issues with play back in the time line.
    am working with footage captured off a DVCAM Tape in a DV/DVCPRO NTSC Time line.
    My settings are set to match the source footage so I dont have to render. What ends up happening is the footage at times plays fine and smooth and then out of no where it will start playing choppy. like its lagging. But the Audio stay fine. I use to have to problem before but then it stopped.
    Now its back and I can not figure out why it does this. Usually a restart of the system would help solve it but now it still keeps coming back.
    i have tried different settings in the RT menu and still seem to be having the same problem.
    i am running the footage of 3 1TB drives in Raid0 and the System has 16GB of Ram. So I dont see this being the issue.
    any ideas?

    of course not, the system boots from a 320GB Western Digital Hard Drive. (the one that came with the system)
    I have a feeling that its not the Hard Drive, but no idea what it could be.

  • Issue with Write Optimized DSO in BI 7.0

    Hi Guys,
    I have an issue reagarding Write Optimized DSO in BI 7.0.
    First, I explain the scenario..
    We have some Master Data Objects around 5. We have a source system for load master data.
    The design is like this
    There is a DSO which gets the data from 30 Master Data Sources and feeds 30 Master Data objects (Info Objects).
    The process of loading master data is before loading the new loads previous load requestes have to be deleted from this Write Optimized DSO and current loads have to be loaded. This entire process is done through Process Chains.
    In this regard. every thing is going smoothly. But for last somedays Deletetion of Requests in Write Optimized DSO process showing its failed (Red Color) with error (pls. check the below screen shot for that) even though the previous requested in DSO got deleted and new load requested added in DSO Manage Tab.
    What I am thinking is, its merely Fron End Problem, If am not wrong please help me in this regard.
    Please let me know is there any notes for related this issue, ot something other solution.
    THanks in Advance
    Peter ....

    how it is resolved how u did u done the procedure ?

  • Issues with Writing back data to Planning Cube After adding a new characterstic

    Hello,
    We have two cubes and a MP on top of it. ( Reporting Cube and Planning Cube ). An aggregation layer has also been built and so does a planning BEx query on top of it.
    Before Scenario: things were working fine as we were able to write back data to planning cube using the BEx.
    After Scenario: We created a new Dimension in the planning cube and added a new characteristic ( lets call it ZX_KEY ) . This Characteristic holds the concatenated values of some of the other characteristics in its master data tables . ( For ex: Account_Customer ID_Country-code_Industry-code ).
    This new characteristic is also present in the reporting cube and has been added and transferred to MP.
    This new characterstic was added to the planning BEx query as one of the rows and we executed it the analyzer. After entering the required values for all characterstics ( including the newly added ZX_KEY ) and the key figure values, we tried saving it. Now this is where the Analyzer is throwing up this error..
    ~~Characterstic combination cannot be assigned to part provider ~~
    ~~Characterstic 'ZX_KEY'; Characterstic value 'R123000000_12_US_TX'~~
    ~~ Entered values are incorrect:Correct before navigation ~~
    The value that we are entering ( R123000000_12_US_TX ) is picked up from the master data table of ZX_KEY by double clicking and selecting it from the fetched values. So i am not sure as to why its throwing up the above error. Request your help on this please.
    regards,
    Karthik

    Hi,
    Try to check that all characteristics are correctly assigned at multiprovider level.
    hope it helps

  • Has anyone had issues with the backing of 5c coming apart from phone?

    I have the 5C and always keep a case on it. I noticed today that on the left corner, the back casing is coming off of the phone. I am not happy with this and want to go in the store but I know they will tell me I dropped the phone. I am anal retentive about taking care of my phone. Has anyone else had this issue?

    sackster77 wrote:
    {snip}. . .Has anyone else had this issue?
    Answering this question will not help your issue.  You need to take the iPhone to the nearest Genius Bar.  That's the only solution that will reach an affirmative result.
    http://www.apple.com/retail/locator/

  • Issue with WRITE statement from Internal Table

    Hi All,
    I have written the below code in a infoset query, the syntax check is ok & when i run the query in debugging mode, i find the internal table being filled with the values & the write statement outputing the values as well.
    But the problem is when i execute the query the output does not show all the lines, instead just displays the last record . What could be the mistake?
    Is it because i have defined Y_EBELN, Y_EBELP & Y_OPENQTY as nodes in the Extras Tab of the infoset & have chosen this for display in my query? How to display the output from my internal table in my query output?
    Hope my problem is clear, await clarification.
    Vivek
    Code
      types:
        Begin of itab,
          wl_ebeln   type eket-ebeln,
          wl_ebelp   type eket-ebelp,
          wl_openqty type eket-menge,
        End of itab.
    Data: il_po type table of itab with header line.
    *Display open PO for materials
      SELECT EKETEBELN EKETEBELP EKETMENGE EKETWEMNG EKET~EINDT
           INTO (Y_EBELN, Y_EBELP, WL_MENGE, WL_WEMNG, Y_EINDT)
        FROM EKET
          INNER JOIN EKPO
             ON EKETEBELN     = EKPOEBELN
              AND EKETEBELP = EKPOEBELP
          INNER JOIN MARD
             ON EKPOMATNR     = MARDMATNR
              AND EKPOWERKS = MARDWERKS
              AND EKPOLGORT = MARDLGORT
        WHERE EKPO~MATNR = MARD-MATNR
          AND EKPO~WERKS = MARD-WERKS
          AND EKPO~LGORT = MARD-LGORT
          AND EKPO~LOEKZ = SPACE
          AND EKPO~ELIKZ = SPACE.
    *Display only still open qty per schedule line
      Y_OPENQTY = WL_MENGE - WL_WEMNG.
      il_po-wl_ebeln = Y_EBELN.
      il_po-wl_ebelp = Y_EBELP.
      il_po-wl_openqty = Y_OPENQTY.
        append il_po.
      ENDSELECT.
    ENDIF.
    Loop at il_po.
      write:/ il_po-wl_ebeln, il_po-wl_ebelp, il_po-wl_openqty.
    endloop.

    Hi Vivek,
      Try it like this.
    Data: Begin of itab,
           lifnr type lfa1-lifnr,
           name1 type lfa1-name1,
           land1 type lfa1-land1,
          End of itab,
          it_lfa1 like table of itab with header line,
          lifnr like lfa1-lifnr,
          name1 like lfa1-name1,
          land1 like lfa1-land1.
    select lifnr name1 land1 into (lifnr, name1, land1)
           from lfa1.
    it_lfa1-lifnr = lifnr.
    it_lfa1-name1 = name1.
    it_lfa1-land1 = land1.
    append it_lfa1.
    endselect.
    loop at it_lfa1.
    write:/ it_lfa1-lifnr, it_lfa1-name1, it_lfa1-land1.
    endloop.
    Note:
    In place of the above select you insert your join select statement. It is working for me.
    You have declared your internal table wrongly. In the internal table instead of TYPE use LIKE, it will work.
    Hope this will work for you.
    Thanks & Regards
    Haritha.

  • Issue with write Security filter in ASO 9.3.1

    Hello All -
    I'm having a strange security filter issue in system 9.3.1 ASO cube. We've the native users for the ASO cube and created several write security filters based on cost centers in that cube.
    For example, the below security filter sometime works, and sometime not:
    Write "Adjustments", @RELATIVE ("S532179", 0), @RELATIVE ("S587724", 0), @RELATIVE ("S525701", 0)
    There are total 8 standard dimensions in the cube. I tried all possible combinations to make it work constantly, but it doesn't. Even modified the filter like below so that it has all dimensions (using LEVMBBRS, IDESCENDANTS, RELATIVE) , still users can't load data at level 0 members.
    Write @LEVMBRS ("Chart of Accounts",0),@LEVMBRS ("Full Year",0),@LEVMBRS ("Business Unit",0),@LEVMBRS ("Fixed/Variable",0),@LEVMBRS ("Source",0),@LEVMBRS ("Products",0),@LEVMBRS ("Scenario",0),@LEVMBRS ("Cost Center",0)
    It looks like the user and filter association is not working. If I give the user direct write access to the cube (bypassing filter totally), the users can write fine. Please help!

    I didn't know that the logs didn't work; I tested it and they are not generated for ASO updates in 9.3.1. I didn't see any other setting that would cause them to be created; my guess is that the logs are created based on block manipulations that Essbase does internally using BSO. As there are no blocks in ASO then the same algorithm doesn't apply.
    We log Essbase changes in our Dodeca product but we use a different algorithm. We evaluate the update in our server before committing the changes and generate a relational log that has the datapoint information plus the old value, new value and standard 'who' information for the person making the update.
    Tim Tow
    Applied OLAP, Inc

  • My iPod won't sync because of issue with the back-up software

    I have recently purchased an iPhone 4 and synced it with my itunes library on my PC and then updated the software to 5.0.  I already had an iPod touch (4th generation) and now when i try and sync it with the library it says "back-up corrupt or incompatable with iPod, please delete back-up and try again"...i followed the instructions and now have no back-up and it restored the original factory settings to the iPod.  I am now trying to re-sync it to get my songs back and the same message is appearing.  How do i back-up my iPod ??

    the version of your ipod shouldnt stop it from syncing

  • Write Back Error

    I have Dashboards accessed by users through SSO login, i am trying to have write back enabled on one report.
    The Write Back works fine when accessed with 'Administrator' user id,
    but fails with the following error for other users
    +SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 13017] User or group has not been granted the Direct Database Access privilege to access the database 'ANSWERS'. Please verify the User/Group Permissions in the Oracle BI Administration Tool. (HY000)+
    I have given Manager Privilege 'Write Back' to Everyone, bit still facing the issue.
    Please suggest.
    Thank you,
    Vikas
    Edited by: vchahal on Jan 30, 2009 5:48 AM

    I am still facing issue with write back with LDAP Authentication.
    The rpd uses LDAP Authentication.
    Oracle BI server take the User ID and password typed by user and pass them to LDAP server for authentication, hence User ID and passwords are not stored in the rpd.
    The Write Back report works for Administrator id.
    The Write Back report also works for a user id created in rpd (after assiging all the required privileges for write back).
    The Write Back report fails for LDAP user id with the following error
    SQL_STATE: HY000] nQSError: 10058 A general error has occurred. nQSError: 13017 User or group has not been granted the Direct Database Access privilege to access the database 'ANSWERS'. Please verify the User/Group Permissions in the Oracle BI Administration Tool. (HY000)
    Please suggest.
    Thank You
    Edited by: vchahal on Feb 4, 2009 9:05 AM

  • Weird timing issues when playing back a recorded sound file and with synths

    Hello there,
    I'm having a couple of strange issues with playing back files that I have recorded using MIDI data which is then used to play an external synth which then gets recorded to an audio track which at the time is perfectly synced to a click track.
    The problem is (and I really dont get why this is happening) when it comes to playing back the recorded audio file that sometimes it is either behind or ahead of the beat.
    This makes absolutely no sense because sometimes it IS in time with the beat and other times when I play through my piece it is obviously out! I haven't moved the audio file in the arrange window and it is a permanent .aiff file that is stored on my hard-drive...what on Earth is going on?
    On a side note, the same problem happens with any of Logic's synths when I use an LFO that is supposed to be synced to the beat. Sometimes when I play back the MIDI data it is perfectly synced and in time and other times it is horribly out. It really is just pot luck!
    Anyone got any ideas?

    Thank you supermacmom!
    I have the LifeProof case for the iPhone5, and I remember the instructions saying that any protective screen cover should be removed before enclosing the phone into the case, but I left mine on with no ill effects.
    But I should have taken off the back protective film, which was covering the video mic!

  • Red box "Write Back Error" OBIEE 11.1.1.6.0

    Hi, are there anyone here succeed setup writeback in obiee 11.1.1.6.0 windows or linux system?
    I have tried every tutorials on the internet, but always stuck in red box "Write Back Error" and don't have any clue in the log files.
    thanks.

    hi Devarasu, thanks for reply, I have done all your instruction but still no luck, red box with "write back error" always appear. Do you know how can I track it down? Or should I patch or upgrade to 11.1.1.6.2 BP1 ?

  • I am having issues with my mac book pro backing up

    It is taking days. I have 5200 photos on it and a few problems so the mac guys said to back it up so they can do a few things to it but nothing major. Why is it taking SO long to back up? It's at 7.45 GB and will be complete at 41 GB.

    USB. I have some issues with my mac as is thats why I am backing up so the can fix them. I have some kernels, not sur ehow you spell computer kernels. LOL It has been backing up for 2 days and it is going NO where!!!!!

  • Issue with back end validation in jsf 2.0

    I am upgrading my apps to jsf2.0 and I came across something that I hope you have already solved.
    In jsf 1.1 action methods returned a string. If that string was NOT mapped as a navigation in faces-config.xml, then it just rerendered the active page. this made doing back end validation easy because I could add messages to the faces context and when the active page rerendered the validation messages would get displayed and no one was the wiser than it was done on the back end instead of on the front end.
    In jsf 2.0 I get null pointers if I return a string that is NOT mapped as a navigation. So I changed the code to return a string that is mapped as a navigation for that page when there is a validation error. but that is treating it like a new request and not a rerender so the validation messages I added to the faces context are not there when the page renders.
    if i test submit a form that has only front end validation then it works fine and the validation messages are correctly shown.
    any suggestions?

    In 11.2.0.3 you are unlikely to see the various truncate/drop issues relating to large numbers of small extents - unless you use dictionary managed tablespaces.
    There are a couple of possible threats with small extents and highly concurrent inserts with ASSM that might be a temporary problem when the object size is small. There may still be some issues with large uncommitted inserts or deletes making other session's work very hard to identify free blocks until the large transaction has committed - these things can be hard to test.
    There may still be a couple of inefficiencies with parallel query and small extents, although parallel CTAS did have a (possibly temporary) hack to allocate immediate large extents to work around some of the silly details.
    Really you need to think through your requirements and them model them on your system - some of the anomalies have changed several times over the last three years.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Now on Twitter: @jloracle

  • I cant find my pdf/ibooks on computer after backing up my iPad (they are on my iPad).   Also, I'm having issues with my Ipad turning off about every 2 minutes so I want to restore it.  Dont want to lose my files from my iPad.

    Actually I have 2 problems:  I cant find my pdf/ibooks on computer after backing up my iPad (they are on my iPad).  I looked under Ipad, I Books, PDFs, and it doesn't show them on the computer. How do I manually transfer these files?
    Also, I'm having issues with my Ipad turning off about every 2 minutes, and I want to restore it.  I want to make sure all of the files are backed up before I restore.  My trouble started when I was trying to update my IPad but it was taking too long (internet was scetchy) so I powered off...now Im having problems.  I haven't tried to update again since this problem. Any suggestions?  Should I restore? Should I update to 7.0.6?  (currently 7.0.3).
    Thanks,

    Try here:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer

  • Since I can not log in bug report page, not even getting an error message, I'll write all my issues with ios8 here...

    Since I can not log in bug report page, not even getting an error message, I'll write all my issues with ios8 here... I have an iphone 4S and I did the last update. Now I am in trouble.
    1. When I move the "sound on/off" button, I get it buzzing 10 times before the setting is changed and I can do anything else, just not reacting to the round button on screen touches.
    2. Impossible to copy text from most websites into notes.
    3. Impossible to delete an email account in settings.
    4. Uses up the battery twice as fast as before. I have "update apps" setting turned off, just reading a couple of mails, making a couple of photos and open maps apps twice a day, and the battery is dead well before the evening.
    5. Got extremely slow, and it was getting slower and slower with every system update.
    I'm sure I forgot something... But well, that already a lot.

    Well, actually number 3 in my list is not true any more, I just tried to delete my account 15 times, then I've written my post, then half an hour later my Settings finally updated my accounts list. Whohoo
    I did not try restoring it yet, thank you for the link!

Maybe you are looking for

  • How do I remove my book from iBook store

    I have a time sensitive book in the iBook store and would like to remove it. How do I remove it so that nobody can continue to download it?

  • Oracle 9i with Forms6i (having problems with objects)

    I am using Oracle 9i server and dev 6i (forms6i). i have a form based on Object tables (including REF's items). when i try to insert update, delete the reocrd in the form, it gives error. Insert/Update/Delete failed because of OCI_22132: hexadecimal

  • How to SeeThe Cost Center Budgeting Report

    Hi Experts, I am preparing the scnario for Cost Center Budgeting,once we enter the details in the budgeting plan,,we will post to the cost centers as well.after that how can we see the Cost Center Budgeting Report....will it be available in S_ALR_870

  • P.Pro 1.5 - Losing quality in AVI/MPEG to DVD conversion

    Hi, everyone. Is my first time in Adobe forums and my english isn't certainly the best, so excuse me for something I'll possibly make wrong :-) This is my problem: I edit a lot of videos (holidays, weddings, karting, ...) from Mini-DV tapes. No probl

  • JDBC: Error while connecting to MS SQL using JDBC adapter

    Hi All, Does anybody know what the error below mean and how to resolve it: - 2007-04-10 14:10:26 PDT: Processing started - 2007-04-10 14:05:57 PDT: Error: Accessing database connection 'jdbc:sqlserver://DBServer:1433;DatabaseName=name' failed: Driver