Unable to use WriteBack function in OBIEE on a Unix setup

Hi All
I am trying to implement the writeBack function in OBIEE. We have OBIEE installed on a Unix machine. Below is the xml that I have writte, it keeps erroring stating that the xml file cannot be read.
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawnm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="forecast">
<XML>
<writeBack connectionPool="MOM_BI">
<Insert></Insert>
<Update>UPDATE STORE SET STORE_NAME='{@c1}' WHERE STORE={@c0}</Update>
<postUpdate>COMMIT</postUpdate>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Below is the log that I've received from OBIEE:
Error loading XML Message File (/app/oracle/product/OBIEE10133/OracleBI/web/msgdb/CustomMessages/forecast.xml): Sax parser returned an exception.
Message: Invalid document structure, Entity publicId: /app/oracle/product/OBIEE10133/OracleBI/web/msgdb/CustomMessages/forecast.xml, Entity systemId: , Line number: 2, Column number: 1^M
Error Codes: UH6MBRBC^M
Could you please let me know what is wrong with my xml file? By the way I only want to do an update to my table. Also I have followed all the examples from Venkat and others but I stil cannot get it to work.
Regards
Adnan

It's already good to know that the file gets picked up.
What I don't understand: "The log files are not being updated with the error however when I re-save my Answer it is populating the log file to state that the object already existed."?
I had to put a fake "insert" statement to get it working once. Here's the 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="ELT_Upside">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_UPSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where UPSIDE_COMMENT_ID=@{c2} </update>
<insert> UPDATE T_DW_LOGIC_ELT_UPSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where UPSIDE_COMMENT_ID=@{c2} </insert>
</writeBack>
</XML>
</WebMessage>
<WebMessage name="ELT_Downside">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_DOWNSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where DOWNSIDE_COMMENT_ID=@{c2} </update>
<insert> UPDATE T_DW_LOGIC_ELT_DOWNSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where DOWNSIDE_COMMENT_ID=@{c2} </insert>
</writeBack>
</XML>
</WebMessage>
<WebMessage name="ELT_Outlook">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_OUTLOOK SET AMOUNT=@{c4}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where OUTLOOK_COMMENT_ID=@{c0} </update>
<insert> UPDATE T_DW_LOGIC_ELT_OUTLOOK SET AMOUNT=@{c4}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where OUTLOOK_COMMENT_ID=@{c0} </insert>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Cheers,
C.

Similar Messages

  • Use EVALUATE function in obiee

    Hi ALL
    i hv a database query like this;
    select
    deptno,
    rtrim (xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enamesfrom
    emp
    group by
    deptno;
    now, i want to use this using Evaluate function in obiee column formula.
    thn how to do it.
    Please reply.
    THX
    SAP

    Hello SAP,
    I have seen you for sometime and one thing I came to know is you are creating threads and once you got your solution or you dont feel to follow up you are just leaving the thread.
    see few here,
    Sorting month name
    Drill down problem
    Re: Filter in Union Request
    so please better close the threads which are answered and proceed further.

  • How to use CHOOSE function in OBIEE

    Hi,
    Could any one help me out in using the choose function in OBIEE.
    How can a column be restricted using the choose function, when different users belonging to different groups logs in.
    Rakesh

    It seems be obvious that you should not publish reports to users and groups who are not allowed to see the columns in the report,
    but in practice it can be very challenging to oversee this, especially when you have a lot of groups and a very strict security model....or "unsurmountable" and unchangeable "business requirements" ;-)
    Testing definitely is the crucial point. And when you start going nuts with column access rights plus column selectors, dynamic view switching, guided nav., dynamic column formulae etc. etc. the fun really begins.

  • Unable to use XML functions in OWB 10gR2.

    Hi,
    I am trying to use XMLELEMENT ,XMLATTRIBUTES and XMLFOREST function for loading into a XML file using OWB 10Gr2.
    During deployment it is erroring out with an error 'identifier 'XMLELEMENT' must be declared'.
    Please suggest some workaround or possible reason for this problem.
    Reagrds,
    PHD
    Edited by: user1662077 on May 21, 2009 5:17 AM

    Hi Navneet,
    I have followed these steps,But beyond that there is some thing which we want to achive.
    We want the xml file to have a proper format like
    "<?xml version="1.0" encoding="UTF-8"?>
    <Header recTyp ='01' RTA='IN200200' ISIN='IN2000020220' recDate ='20090202' stmtDate='20090202' stmtTime='232020'
    totNSDLPos='100' totTrnstPos='0' TotUnlckPos='10' TotLckPos='100' totPldgPos='0' totFrzPos='9' totIdtPos='9'
    NSDLTotFrzPos='1' totDtlRec='2'/>
    <Details recTyp='02' dpId='IN300118'>
    <BenDtl benAcctNum='12345678' type='01' subtype='02' status='01'>
    <FirstHldr name='op' fatherName='' PAN='HUFSOSFNKS'>
    <Address type='1' pinCode='400097' phoneNum='28490520' faxNum='9999999999'>
    <Part type='1'>
    </Part>
    <Part type='2'>
    </Part>
    <Part type='3'>
    </Part>
    <Part type='4'>
    </Part>
    </Address>
    </FirstHldr>.........."
    On the oracle blogs it was suggested that this can be achived by using XML function in the expression operator.
    But while using them,OWB is not recongnising these XML function.
    Regards,
    PHD

  • How to use groupby function in OBIEE ANSWERS ???

    Hi ,
    I need to find TOP 1000 client names on each product and I need to group the data by product. I am unable to group the data in Answers , I dont have access to the repository.
    I used the Top function but unable to group the data. Please help me...

    Why didn't using TOP work for you? What kind of results did you get?
    I can also suggest using custom ColumnCount with RSUM () in it, applying filter RSUM()<=1000, and sorting by product amount DESC
    and definitely your column order should be something like this - product group, client, product_amt, rowcount (you can actually remove this once you create filter for it)

  • How to use CAST function in obiee 11g in rpd

    Hai,
    I am trying to use the cast fucntion in rpd in bmm layer for a new logical column that I have created and is giving me error compile message.
    Can any one please help me out or find out what is wrong in the function I am using.
    The expression I am trying to use is
    ( CAST ( "Chase Card Acquisition"."Fact Deposit"."Base Earn" as decimal(18,0) ) + "Chase Card Acquisition"."Fact Deposit"."Tot Bonus Earn" )

    Decimal is not a supported type in the logical layer. See:
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10540/sqlref.htm#BIEMG559
    for supported types.
    If you are casting as Int then do not specify the precision ('cast x as int' NOT 'cast x as int(y,z)'). Regards,
    Robert

  • Unable to use string function in REST query

    I am querying for duplication of column name in the web using REST query. My query is as per below:
    http://siteCollection/sites/Project1/_api/Web/Fields?$select=InternalName&$filter=toupper(InternalName) eq 'TITLE'.
    The reference I got from MSDN site. But whenever I am running the same query in the REST Client I am getting following error:
    The function operator 'toupper' is not supported or its usage is invalid.
    What am I missing in my query? Or this is not a way for doing the case insensitive query then which way is preferable?

    toupper is
    not supported. Below is the list of
    supported functions
    On the other hand if you use ListData.svc endpoint
    you can use toupper to
    perform a similar query.

  • Unable to use XML functions

    Hi,
    We have a requirement where we want to read the XML data from the CLOB column of a table. In OWB we are using the SYS_XMLGEN function for this. But when I use this in the expression it gives me error that 'SYS_XMLGEN' must be declared.
    I am able to use this in the select query and the query is working fine.
    Anyone has any idea of how we can use the XML functions in OWB.
    Thanks!!

    user10911550 wrote:
    Hi,
    We have a requirement where we want to read the XML data from the CLOB column of a table. In OWB we are using the SYS_XMLGEN function for this. But when I use this in the expression it gives me error that 'SYS_XMLGEN' must be declared.
    I am able to use this in the select query and the query is working fine.
    Anyone has any idea of how we can use the XML functions in OWB.
    Thanks!!see if any of these helps:
    http://blogs.oracle.com/warehousebuilder/2007/05/designing_an_xml_view_in_owb.html
    http://download.oracle.com/docs/cd/B28359_01/owb.111/b31278/ref_sql_transforms.htm#i138579
    http://blogs.oracle.com/warehousebuilder/2007/09/leveraging_xdb.html

  • Unable to use 3D functions in Photoshop CC

    I know my system meets the specs... This is the system info below... Any help would be awesome!  Thanks
    Adobe Photoshop Version: 14.2.1 (14.2.1 20140207.r.570 2014/02/07:23:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 4
    Processor speed: 3193 MHz
    Built-in memory: 8141 MB
    Free memory: 5859 MB
    Memory available to Photoshop: 7150 MB
    Memory used by Photoshop: 100 %
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=900, right=1440
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGPUs=1
    gpu[0].OGLVersion="3.0"
    gpu[0].MemoryMB=1024
    gpu[0].RectTextureSize=16384
    gpu[0].Renderer="AMD Radeon HD 6670"
    gpu[0].RendererID=26456
    gpu[0].Vendor="ATI Technologies Inc."
    gpu[0].VendorID=4098
    gpu[0].HasNPOTSupport=1
    gpu[0].DriverVersion="13.152.1.8000"
    gpu[0].Driver="aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64. dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dl l"
    gpu[0].DriverDate="20131008000000.000000-000"
    gpu[0].CompileProgramGLSL=1
    gpu[0].TestFrameBuffer=1
    gpu[0].OCLPresent=1
    gpu[0].OCLVersion="1.2 AMD-APP (1268.1)"
    gpu[0].CUDASupported=0
    gpu[0].OCLBandwidth=1.85769e+010
    gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="4.30"
    gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[214748 3647]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[32]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[16384]
    gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[16384]
    gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[29]
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    License Type: Perpetual
    Serial number: 91198700731897176156
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\
    Temporary file path: C:\Users\Jaeden\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 465.7G, 214.2G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Plug-ins\

    If should work.  If I read  this correctly your last driver is a year old.  Visit ATI site and download latest.

  • How to use rank function in obiee rpd using evalute..

    i created a logical column:
    EVALUATE('RANK() OVER (PARTITION BY %1,%2)' AS DOUBLE PRECISION , Composites.Composites_Fact.MEMBER_LOCKED_BASE_RETURN, Composites.Composites_Fact.COMP_ID)
    please provide some solution

    There is a known bug with EVALUATE when returning numbers. When I has the same problem Oracle Metalink has adviced to use CAST on the end result of the EVALUATE and return it as a FLOAT datatype.
    CAST(EVALUATE('my_function(%1)', logical_table.ROWID) AS FLOAT)

  • Repository Object Browser - unable to use Download functions

    We want to use the options
    - Download Folder Contents in one zipfile
    - Recursively Download Folder Structure Contents
    in the Repository Object Browser (version 9.0.4.7) of Designer.
    Clicking on these options gives the following error:
    Not Found
    The requested URL /rob/oracle.des.rob.standardServices.Download was not found on this server.
    Oracle-HTTP-Server/1.3.28 Server at JSTD-OWCDD01.ad.minjus.nl Port 7777
    How can we solve this problem?

    If you are trying to use change control within a Designer Repository that does NOT have version control enabled, then you may be better off by creating new application folders for each new release. I do this by judicious use of naming and a hierarchical structure e.g.
    Project_Name (Folder) - This is a container to hold all versions of the application
    Project namev1.0 (Application System)
    Project namev1.1 (Application System)
    Project namev1.2 (Application System)
    Project namev1.3 (Application System)
    I create a new version by exporting and importing the previous version.

  • ISight camera indicator light is always on, unable to use camera function

    I noticed today when I turned my imac on that my iSight camera indicator light is on and will not go away with reboot. I do not see any other programs running. I attempted to use the camera in iMovie but the screen stays blank. Any ideas?

    http://support.apple.com/kb/HT2090
    G5 DP 1.8 w/Mac OSX10.5.6 PowerBook 1.67 GHz w/Mac OSX10.4.11 iBookSE 366MHz OSX10.3.9  External iSight

  • Using Trunc Function in OBIEE RPD to TRIM DATE

    Below is my requirment.How can i achieve this in BMM layer.
    CASE WHEN TRUNC(REPORTDATE) <= TRUNC(SYSDATE-2) THEN 1 ELSE 0 END

    Try this
    case when cast(REPORTDATE as date)<=cast((current_date-2) as date) then 1 else 0 end
    let me know updates
    Thanks
    http://cool-bi.com
    Edited by: Srini VEERAVALLI on May 22, 2013 9:29 AM

  • Persistent "Photosmart disconnected!" message. I'm Unable to use AIO functions

    I have seen posts with similar problems but not exactly like mine. Please help.  Three days ago, I installed a C7280 Photosmart which I bought about a 18months ago. I have connected it wired to my linksys WRT54GS router. I have Windows XP. The installation was fine. The printer was recognised on the netwotk and I was able to initially print from the two desktops connected to the network(wired) after software installation.  I can no longer print nor scan. The HP solution center constantly says "Printer disconnected". At one time,yesterday, for about a minute it did show the printer connected and then it disappeared. Right now on the printer it shows that it is connected  to the network but i cannot scan from the printer. The PCs also show the printer as ready but I cannot print nor scan. Based on some threads that i read, I have uninstalled and installed the software about 7 times. I have also powered off the router and the PCs and then rebooted as someone else recommended. Still no joy!  Would appreciate anyone's help for a perm fix to this annoying problem which clearly HP should know about and should have had an accessible fix to it by now,. I can confirm that I have the full software installed and drivers are up to date. Thanks.

    I am sorry to hear about the troubles you are having with the app. We try to make the app as compatible with all devices as possible. The full list of devices the mobile remote is compatible with is https://www22.verizon.com/OnDemand/unprotected/AboutFlexView.aspx   . You may find there may be devices that do work with it that re not on the list, but these are all verified working devices with the app. Since yours doesn't appear to be on the list, we can not gaurantee it will work. Submitting all the feedback has gotten word back to Verizon about the troubles you are having. You can also submit this to the Verizon Idea Exchange. Please search on the idea exchange and cast your vote. There may be another member who made the same suggestion. If not, please add a new idea so your fellow community members can comment and vote on your suggestion. http://forums.verizon.com/t5/Verizon-Idea-Exchange/ct-p/ideaexchange  . The Verizon Idea Exchange is there for you to submit your ideas and suggestions to Verizon so that we can consider them as we innovate our products and services.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Unable to use valueChanged(TreeSelectionEvent evt) function

    Hi
    I have an SQLJ file with a method as follows:
    /**************A.sqlj*******************
    public class A
    JTree t;
    DefaultMutableTreeNode
    public A()
    t=nn();
    B b = new B();
    b.addTree(t,top); // Call method in a Java file
    JTree nn()
    t=new JTree(top);
    return t;
    ******************End of A.sqlj****************/
    I have a Java file from which I am accessing the above method
    as:
    //B.java
    public class B
    JTree k;
    public void addTree(JTree t,DefaultMutableTreeNode dmt)
    t=new JTree(dmt);
    call overloaded constructor of B to create tree
    My Problem is that I am Unable to use the function valueChanged(TreeSelectionEvent evt){        } since the returning JTree type t is confined to those functions & constructors that I am calling.

    Hi Saurabh,
    Can you explain your scenario in detail with tcode and function module and all.
    Regards,
    kamalapriya

Maybe you are looking for

  • Connecting to a Database from a LiveCycle form

    Good morning everyone, I've been working at understanding how to connect to a database via my livecycle form and up to here, i can easilly enough connect to an ACCESS DB. I created an ODBC, a simple 1 table MS Access DB and a simple form that connect

  • Compatibility between Oracle 6 and with new versions of Internet Explorer

    Hi, my client has a big Forms application. Currently, the application's users need to have installed older versions of Netscape in order to be able to load and see the Form´s applet. We developed a J2EE application for the client and this client has

  • RandomAccessFile and BufferedImage

    Is it possible to put lots of BufferedImage inside a File Using RandomAccessFile? If yes, how can i do this? How will be the file, and how to read the file? thanks... This is urgent! Please!

  • Microsoft word

    Hi everyone, I've been asking to create a document word using ABAP programming. I am using the interface I_OI_DOCUMENT_PROXY. The question is how can I insert a "new page" in the document word ? Thanks a lot. Regards.

  • Required Fields based on field value

    I am using Acrobat 9.1 Std. This is what I am trying to accomplish I have four text fields that I want to make required based on the selection of a radio button group. I have two radio buttons on the form w/ the same name w/ the button value set to Y