Geetting eeror while implementing writeback in 11.1.1.5

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.**
but it updating the records in DB.
one more is issue cant update the null column value record.
eg: i had COL A, COL B, COL C but my COL C is NULL while trying to update the COL C it is not updating with only update statement.
if i include INsert statement also it is creating duplicate record with COL C new value...

Hi,
Please refer this threads.
Re: OBIEE writeback
Re: Does Writeback Truly Work in OBIEE 11.1.1.3.0 or 11.1.1.5.0 ?
Error:Unable to read the Writeback template
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 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!
Award points it is useful.
Thanks,
satya
Edited by: satya R on Apr 25, 2012 1:42 AM

Similar Messages

  • Logical systems while implementing charm in solution manager

    Hello Everybody,
    I just wanted to know how many logical systems we need while implementing charm in solution manager 7.0. I have 3 clients in development , 3 clients in Quality and 1 client in production.
    Thank you,
    vikram.

    Hi Vikram,
    Yes, i1n ChaRM we always work with logical systems, I mean clients.
    The standard is:
    DEV -> QAS -> PRD
    However, you can also use:
    - Minimum
    DEV -> PRD
    - Target groups
    DEV -> QAS -> PRD
             - > TST
    DEV -> QA1 -> QA2 -> PRD
    DEV -> QA1 -> PR1
             -> QA2 -> PR2
    There are a lot of combination possible.
    BR
    Fernando

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • A problem while implementing a file to file senario

    hi all :
         There is some problem while implement a file to file senario. the file couldn't be sent or recieved.
          and as I try to check Check the Sender File Adapter Status  via
         Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring ,
         It is found that Adapter Engine has error status with red light.  Is it why the file couldn't be sent?
        Could you please tell me how to make Adapter Engine  available?
        Thank you very much!!!

    Hi Sony
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for EC1.SystemHome.cnbjw3501 found
    No access to get JPR configuration
    Along with what experts suggested
    What is the type of Business system is this. Standalone Java?
    JPR can have problem if you have a business system thats not ABAP/Java type if this system is not having a SAP TS in landscape then create Java type.
    Thanks
    Gaurav

  • Error while implemention ORDER_SAVE in CRM 2007

    Hi,
    At present we are experiencing an error while implementing badi ORDER_SAVE for sending CRM (2007)sales order data to PI (7.1) through ABAP proxy. In the BadI implementation we have created the Proxy Object through class (generated while defining the Proxy object in PI) and pass the SO details through the method available.
    Error ' Administration header not Found' while saving the CRM sales Order.
    Please let me know is any changes done in CRM 2007 for BadI implementation. Also suggest the best way to go forward to resolve this problem.
    Thanks & Regards
    Deb

    U can do it.. But what i suggest is.. create a Z Function Module that will trigger in background in seperate task by passing the GUID.
    In this Z FM write all your code related to the Proxy...

  • Problem while implementing  OSS note 1077403

    Hi,
    I am trying to implement a OSS note ( 1077403) using SNOTE transaction. When I download the note, the status of this note is u201CCan be implementedu201D. It creates few standard programs which are utility programs related to Unicode conversion. While  implementing this note, I am facing the issue "Objects can only be created in SAP package" and some of the objects in the note are not created. The note status becomes u2018Incompletely Implementedu2019.
    Can you please suggest what could be the issue?

    HI,
    For more efficence  direct link to note Note 1077403 - Cluster table check using SDBI_CLUSTER_CHECK
    Have you a basis release version >= 6.20 ?
    you can use transaction SNOTE to implement the version for Basis Release 6.20 and higher.
    Rgds
    Edited by: stéphane mouraux on Mar 1, 2010 6:31 PM

  • Dump "GETWA_NOT_ASSIGNED" while implementing Remodeling

    Hello Everyone,
    i am trying to add an infoobject 0calweek with constant value using remodeling. while implementing this scenario i encountered with a short dump "GETWA_NOT_ASSIGNED" could anybody suggest any fix to this issue.
    Thanks and Regards,
    Ajay.D

    thanks

  • Memory management while implementing JNI interfaces.

    The assumption here is that java code calls a C function from a
    shared library in Linux.
    How should memory management be done in the native code called
    from Java using a JNI interface?
    What role does the Garbage Collector play in handling memory that
    was allocated in the native C code?
    If I allocate memory using malloc() in the C program, should I
    explicitly free it? Will the GC take care of it?
    Does anyone have an idea of how memory management be done while
    implementing a JNI interface?
    Thanks,
    Nisahnt

    NishantMungse wrote:
    The assumption here is that java code calls a C function from a
    shared library in Linux.
    How should memory management be done in the native code called
    from Java using a JNI interface?
    C: Alloc something giving a pointer
    C: Return pointer to Java as a long.
    C: As needed methods take a long parameter and cast to correct pointer.
    C: Provide a destroy() method that takes a long, casts to correct pointer and deallocates correctly.
    Java: class keeps long
    Java: As needed JNI methods are passed long
    Java: Provide a destroy() method which passes long to C destroy() method if long is not zero. After call set long to zero.
    Java: Optional: Add a finalizer. It calls destroy()
    Last step is optional if your programming environment is strict AND the usage of the class has a restricted scope.
    The above assumes that you are going to use the memory in a 'normal' way. For instance there allocations are relatively small, and exist for short amounts of time. If that isn't true then you might need to tune the usage in much the same way that you might if you had a Java class that consumed a large amount of memory.
    What role does the Garbage Collector play in handling memory that
    was allocated in the native C code?
    It doesn't.
    At some point it can interfere with the heap though.
    If I allocate memory using malloc() in the C program, should I
    explicitly free it? Will the GC take care of it?
    You must explicitly free it.
    Does anyone have an idea of how memory management be done while
    implementing a JNI interface?See above.

  • Objects locked in different tasks while implementing the oss note

    Hi frnds,
    I am facing a problem while implementing the oss note and it shows the message that the objects are locked at different tasks.
    Can anybody give the solution.
    Sur

    Hi Suresh,
                  Locked in different tasks means there were some repairs carried out for the objects and the transport request is not yet released. Some possible solutions are
    1. Ask the owner of the original transport to release the transport. The the object will be unlockedand you can make modifications to it.
    2. Ask the user of the above said task to add another task for you in the transport request.
    3. See if you can delete the object from that transport and include all the changes in a separate transport of your own and transport. (Please check if any dependencies are there with the other objects in the transport).
    Regards
    Barada

  • Issue while implementing OSS note

    Hi Experts,
    While Implementing the note 100690 in sap , I am facing the following issue.
    The traffic signal light is red and the message text shows as follows:
    Object REPS ZKOGLMNG doesn't exist, create it
    Object REPS ZKOMENGE doesn't exist, create it
    Object REPS ZKORWEM2 doesn't exist, create it
    Object REPS ZKORWEM3 doesn't exist, create it
    Object REPS ZKORWEM4 doesn't exist, create it
    Could you guys help me out in resolving this issue ASAP .
    Thanks in Advance
    Regards
    Sandy

    Hi Juan ,
    Thanks for the mail,
    I had a small doubt over here,
    can I follow this procedure:
    1). I will ask my ABAP team to create those mentioned objects manually.
    2). Then I will implement the SNOTE , so that the corrections will  be inserted into those objects.
    I do understand your point earlier that to manually apply the corrections (In this case both step1 & 2 will be done by ABAPer's).
    Please let me know if above procedure works .
    Thanks&Regards
    Sandeep

  • RE:StoredProcedure while Implementing in the clientside

    Hi all,
    In my AddOn i have created some stored procedures.While implementing the addOn in the client side, while creating a company i want to execute these stored procedures in the newly created database.How should i achieve this....
    Thanx in ADVANCE
    MOHANA

    hi,
    1. generate a script file for the stored procedures.
    2. Code Follows
    Dim ConStr As String = "Server=ServerName;DataBase=DataBase;uid=UserName;pwd=Password;"
                    Dim Con As New SqlConnection(ConStr)
                    Dim cmd As New SqlClient.SqlCommand
                    Dim objReader As System.IO.StreamReader
                    Con.Open()
                    cmd.CommandType = CommandType.Text
                    cmd.Connection = Con
                    objReader = New System.IO.StreamReader(System.Windows.Forms.Application.StartupPath & "\ScriptFileName.sql")
                    cmd.CommandText = objReader.ReadToEnd
                    cmd.ExecuteNonQuery()
                    objReader.Close()
                    Con.Close()
                    Con = Nothing
    regards,
    varma

  • Problem while implementing OSS note(1157904)

    HI,
    I am facing a problem while implementing  OSS note 1157904.I am getting a message  "no valid correction instruction".
    I checked support pack levels .I checked source code also, it is not implemented.
    Regards,
    Pratap.

    You need to get back to SAP. Sometimes notes have incorrect information in them.

  • How to implement WriteBack feature in OBIEE 11g?

    I have implemented all steps but with no success. Can any one share what are loop holes in implementation the same?

    Hi,
    Please check the below steps and refer the below links.
    http://satyaobieesolutions.blogspot.in/2013/03/write-back.html
    http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
    http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html
    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

  • Facing problem while implementing JMS in Weblogic 8.1

    Hi all,
    I am very new to JMS.
    I am trying to implement JMS in Weblogic.
    I have cofigured the server properly but while i am executing my receiver class i am getting the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'MyJMSQueue1' Resolved [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'MyJMSQueue1' Resolved ]; remaining name 'MyJMSQueue1'
    Waiting for messages....
    and my receiver program is as follows:
    import java.util.Hashtable;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueReceiver;
    import javax.jms.QueueSession;
    import javax.jms.TextMessage;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class SampleQueueReceiver implements MessageListener
    private boolean done = false;
    private Context ctx = null;
    private QueueConnectionFactory connectionFactory = null;
    private QueueConnection connection = null;
    private QueueSession session = null;
    private QueueReceiver receiver = null;
    private Queue queue = null;
    private Hashtable ht = null;
    public void init()
    try
    ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    connectionFactory =(QueueConnectionFactory)ctx.lookup("weblogic.jms.ConnectionFactory");
    connection = connectionFactory.createQueueConnection();
    session = connection.createQueueSession(false,javax.jms.QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("MyJMSQueue1");
    receiver = session.createReceiver(queue);
    receiver.setMessageListener(this);
    connection.start();
    catch ( Exception e )
    System.out.println(e);
    public void close() throws JMSException
    try
    receiver.close();
    session.close();
    connection.close();
    catch ( Exception e )
    System.out.println(e);
    public void onMessage(Message message)
    if ( message instanceof TextMessage )
    try
    TextMessage textMessage = (TextMessage) message;
    String msg = textMessage.getText();
    System.out.println("Received message: " + msg);
    if ( msg.equals("exit") )
    synchronized (this)
    done = true;
    this.notifyAll();
    catch ( Exception e )
    System.out.println(e);
    public static void main(String[] args)
    try
    SampleQueueReceiver sqr = new SampleQueueReceiver();
    sqr.init();
    System.out.println("Waiting for messages....");
    synchronized (sqr)
    while ( !sqr.done )
    try
    sqr.wait();
    catch ( InterruptedException ie )
    sqr.close();
    catch ( Exception e )
    System.out.println(e);
    I have already configured MyJMSQueue in the server.....
    Someone please guide me...
    Thanks in Advance........
    Goutam

    Looks like configuration prob.
    Have you tried jms examples of weblogic ? you may need to re-configure your server setup, to create example server.

  • Implementing Writeback in Pivot View

    Hi All,
    I am creating a report in OBIEE 11g. i have to implement the Writeback for that report. But here my report is in Pivot view.
    in the Pivit view i dont have the option to create Template.
    Is it Possible to do the Writeback in Pivot View.
    Regards,
    Shanker

    Hi,
    The write back abilities are for Table View only. it not supporting pivot table
    obiee10g ref:
    http://docs.oracle.com/cd/E12103_01/books/AnyWebAdm/AnyWebAdm_Dashboard18.html
    obiee11g ref:
    http://docs.oracle.com/cd/E25178_01/bi.1111/e10541/answersconfigset.htm#i1018289
    hope this will help you.
    Thanks
    Deva

Maybe you are looking for