Data Binding Fail

Hi
   all i wana be featching data in combo box but i
   have still face a proble how can do it
   thanks

Hi Mohd,
Herewith an example of data entry into a combo box. Not sure where the problem is you are facing, but here's an example:
    Dim oForm As SAPbouiCOM.Form
    Dim oCombo As SAPbouiCOM.ComboBox
    Dim oRecord As SAPbobsCOM.Recordset
    Try
        oForm = oApplication.Forms.ActiveForm
        oForm.DataSources.UserDataSources.Add("u_Name", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 50)
        oCombo = oForm.Items.Item("c_Combo").Specific()
        oCombo.DataBind.SetBound(True, "", "u_Name")
        oRecord = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
        oRecord.DoQuery("SELECT CardCode, CardName FROM OCRD")
        oRecord.MoveFirst()
        While Not oRecord.EoF
            oCombo.ValidValues.Add(oRecord.Fields.Item(0).Value, oRecord.Fields.Item(1).Value)
            oRecord.MoveNext()
        End While
        System.Runtime.InteropServices.Marshal.ReleaseComObject(oRecord)
    Catch ex As Exception
        oApplication.MessageBox("Error: " & ex.Message")
    End Try
Hope it helps,
Adele

Similar Messages

  • Data binding fails

    Hi
    In my app I am calling an R3 function using the code:
    myClass mc = new myClass();
    wdContext.nodeXXX.bind(mc);
    mc.execute();
    wdContext.nodeOutput().invalidate();
    It worked perfactly for a long time.
    Suddenly the context remains empty after the function returns from R3.
    When I debug the java class, I can see it fetched the data from R3.
    Is it possible that binding fails to work? can it be the result of R3 updating structutres?
    Thank you fop your assistance
    regards
    yuval peery

    Hi all
    Thank you for your replies.
    In the meantime I manged to solve the problem  by  invetigating my node's bindings.
    It appears that the node was bound to the structure class rather than to the model node .
    Once bound to the model node, everything was fixed.
    regards
    yuval

  • Report data binding error with date values

    I have CF7.02 with a Microsoft Visual FoxPro 9.0 SP1 Database
    that I connect to using ODBC (FoxPro Driver 6.01.8630.01). I send
    my sql results to a CF Report Builder 7.02 PDF report and it works
    fine. If I dump the date values before I change them, they look
    like the following: {ts '2004-12-20 00:00:00'} . However I have
    tried a number of ways of manipulating the date before sending it
    to the report, but I continue to get errors. I don't care what
    format they go to the report in, since the report reformats them
    anyway. I checked to make sure that none of the dates were null.
    For example <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) /> yields values in the
    {ts '2004-12-20 00:00:00'} format when I dump the query results to
    screen. Where:
    ldCFPrcInputDate = 12/20/2004
    CreateODBCDateTime(ldCFPrcInputDate) = {ts '2004-12-20
    00:00:00'}
    ReportQuery.PrcInputDate[lcCurRow] = {ts '2004-12-20
    00:00:00'}
    I get the error:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    coldfusion.runtime.OleDateTime -> Date
    Not using the CreateODBCDate function for example <cfset
    ReportQuery.PrcInputDate[lcCurRow] = #ldCFPrcInputDate# /> I
    get:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    java.lang.String -> Date
    Here are some of my failed attempts:
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    #ldCFPrcInputDate# />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    DateFormat(CreateODBCDate(#ldCFPrcInputDate#),'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm-dd-yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    Trim(createODBCDateTime(ldtmpdate)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate({05-07-2006}) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('{05-07-2006}') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(05/07/2006) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('05/07/2006')/>
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(parseDateTime('05/07/2006')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime(05/07/2006)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime('#ldCFPrcInputDate#')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05-07-2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05/07/2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '05/07/2006'
    />
    I also did some googling without success. Any help is
    appreciated.

    You may want to make sure that the column is not included in
    the query variable list in your report cfr file.
    The newest version of the Report Builder, which may be
    installed on the server, no longer tolerates vars appearing in that
    list of they are not in the query itselft.

  • User Report data bind variable problems

    Hello,
    I am trying to build a simple report in SQLDeveloper, using a DATE bind variable. But it fails with the error message:
    Inconsistent datatype, expected DATE got NUMBER
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(:TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Running this query in SQLDeveloper worksheet executes properly after a dialog box pops up and I enter: current_date - 1
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = trunc(&TARGET_DATE)
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    I've searched but no clear solutions present themselves. If you have one it would be most appreciated.
    Thanks

    You'll have to convert the input to date yourself:
    SELECT * FROM FLOW_COMP_REC_SUMMARY_RU
    where create_date = TO_DATE(:TARGET_DATE, 'DD/MM/YYYY')
    and type = 'D'
    ORDER BY MESSAGE_FLOW_ID
    Have fun,
    K.

  • Data Binding in ADF UIX example trouble

    Two related questions:
    From the help example 3. Data Binding in ADF UIX example trouble in JDeveloper on UIX. If this worked I was going to run a small java class that captures the login and passes it as a messagebox with a Welcome login name on the first page, but I can't get past the example and path problems.
    From the example..."
    package yourpackage;
    import java.util.Date;
    public class CurrentDateBean
    public CurrentDateBean() { }
    public String getTime()
    return (new Date()).toString();
    Now, we want to change the page so it uses getTime(). We need to do three things: Tell UIX to data bind the text attribute. Add a <dataScope> to the page to provide data to the content. Write a small "data provider" in Java that can access the bean. First, we'll data bind "text": <text xmlns="http://xmlns.oracle.com/uix/ui"
    text="${uix.data.currentDate.time}"/>The example has one small change. The value is changed to ${uix.data.currentDate.time}, which is an expression that defines the data. This is shorthand for "get the time property from currentDate." If you tried running this example, you'd see nothing. That iss because we haven't given currentDate to the page, so the databinding failed, and the "text" is left to null. We do this by adding <dataScope> to the page: <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    Q#1?? Trying to follow the demo. The method class and method name do not seem to match the names in the above class from the demo. Am I missing a point here, please help.
    <data name="currentDate">
    <method class="yourpackage.DataDemo" method="getCurrentDate"/>
    </data>
    </provider>
    <contents>
    <text text="${uix.data.currentDate.time}"/>
    </contents>
    </dataScope>
    Q#2?? When I try and apply the demo class to my home.uix XML file with
    "<?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- start Add DataProviders (<data> elements) here -->
    <data name="currentDate">
    <method class="us.mn.state.dot.apptrack.security.CurrentDateBean" method="getTime()"/>
    </data>
    <!-- end Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <text text="${uix.data.currentDate.time}"/>
    <document>
    <metaContainer>"
    I get the following, and I don't know how to make the UIX XML accept the correct path, please help:
    �file:/C:/JDeveloper905p/jdev/mywork/ProjTrack/AppTrack/ViewController/public_html/home.uix: Parsing error, line 12, column 97: Could not find class us.mn.state.dot.apptrack.security.CurrentDateBean

    for question 1 the name of the class CurrentDateBean
    actually has nothing to do with the el expression
    uix.data.currentDate.time. The currentDate part of the
    el expression is coming from the method data provider part
    of your page:
    <data name="currentDate">
    <method class="yourpackage.DataDemo"
    method="getCurrentDate"/>
    </data>
    so if you changed the name of the data provider to "foo":
    <data name="foo">
    <method class="yourpackage.DataDemo"
    method="getCurrentDate"/>
    </data>
    your el would look like this:
    uix.data.foo.time
    by the way the uix.data part tells UIX to look for
    a <data> element define in the <provider> section of
    your dataScope.
    For question #2, do you have the java file
    us.mn.state.dot.apptrack.security.CurrentDateBean on
    your classpath and is it compiled? You will get that
    warning if it is not on your classpath.
    Also you are incorrectly interpreting the example. What
    you are doing is trying to reference the actual bean
    object and its getTime() method. What you want to do
    is write a method data provider that returns your
    CurrentDataBean. so uix.data.currentDate would return
    a CurrentDateBean instance object. the .time part of the
    el expression would tell UIX to look for a method named
    getTime() and use that value.
    let me know if you have any more questions.

  • Where are the data-binding frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail miserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Where are the Oracle Data Binding Frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail misserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Data retrieval failed for the subreport

    Hi All,
    I m getting this error whn i try to bind a sub report within a report,
    Data retrieval failed for the subreport, 'Subreport2', located at: E:\Anil\Sample.rdlc. Please check the log files for more information.
    Thanks,
    Anil Kumar Dhiman

    Hi Anil,
    This is a know issue which you can see in the link:https://connect.microsoft.com/SQLServer/feedback/details/648560/subreport-with-shared-dataset-throws-error
    This issue occurs only on Business Integrated Development Studio (BIDS) and use a shared dataset in subreport. And it is fixed in SQL Server Reporting Services 2012. So you can avoid this issue by changing the shared dataset to embedded dataset or deploy the
    shared dataset to Report Server and view report on Report Manage.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Bind() fails with errno set to EAGAIN

    howdy,
    Occasionally bind() fails and set errno to EAGAIN (=EWOULDBLOCK). We are using nonblocking io on our sockets and getting EWOULDBLOCK is nothing exceptional to the socket functions except with bind(): I have read as much as possible documentation I could get hold of but nowhere is mentioned, that this can happen at all for bind().
    I would like to know what would be a good error-handling in this case (just retrying as with EINTR did not help).
    Has anyone also had this ? What did you do against it ?
    thanks in advance
    Enrico

    Hi There,
    In my search for the past reported problem for non-blocking io on
    socket occurs when the client uses recv() to read the data from the TCP
    connection. Although, this was reported for an older OS 2.5. Can you use read() inplace of recv()?
    What is your operating system version? If possible post a small program
    that demonstrates the problem.
    ...jagruti
    Developers Technical Support
    Sun Microsystems, http://www.sun.com/developers/support

  • Java.io.IOException: SysCall : bind() failed

    Hello -
    I am the support engineer for an OEM Itronix of a rugged handheld device with PXA25x (ARM4VI) processor that is running WM 5.0. Potential customer in Ireland has sent me the following log reporting that the main problem is probably the java.io.IOException: Syscall : bind() failed. I have attached the actual log file below.
    My question is: 1. how can I best debug this issue? I doubt that anything is using port 45000? Unless customer unknowing is loading something before hand that would be using this port? I ran a netstat program on the ports of my device and by default there is nothing in our handheld that uses anything remotely close to port 45000.
    2. I'm not certain as to what version of Creme they are using - I suspect it must be Creme 2.7a as they claim they have run this on another WM 5.0 device and sent me logs showing that it did not have a java.io.IOException: Syscall : bind() failed exception - only our handheld failed with this exception evidently?
    Note that I don't have the MI System to attempt to recreate this, nor do I have any prior experience with SAP MI (although that may change real fast). I do have DB2e and Creme and have used both in the past.
    Can anyone give me some suggestions and help on how to help debug this on our device?
    Thanks Neal Davis
    Sorry about the long log - but maybe it will help show big picture:
    [20060101 14:49:24:000] I [MI/API/Logging           ] ***** LOG / TRACE SWITCHED ON
    [20060101 14:49:24:000] I [MI/API/Logging           ] ***** Mobile Engine version: MI 25 SP 18 Patch 00 Build 200607272043
    [20060101 14:49:24:000] I [MI/API/Logging           ] ***** Current timezone: PST
    [20060101 14:49:37:121] E [MI/API/Services          ] MultiObjectFileStorage: Error in data read access to mapping file /MI/data/LastSuccessfulSync/datreg.obj - Generating initial mapping (root cause: /MI/data/LastSuccessfulSync/datreg.obj [java.io.FileNotFoundException])
    [20060101 14:49:49:050] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.ApplicationManager.registerInboundProcessors()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    [20060101 14:49:51:039] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.ApplicationManager.registerInboundProcessors()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    [20060101 14:49:53:824] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    [20060101 14:51:53:152] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.mi.systemnews.NewsImpl.create()
         at com.sap.ip.mi.systemnews.StartListener.userLoggedOn()
         at com.sap.ip.me.core.UserManagerImpl.fireLogon()
         at com.sap.ip.me.core.UserManagerImpl.logOnUser()
         at com.sap.ip.me.core.UserManagerImpl.logOnUser()
         at com.sap.ip.me.apps.jsp.LoginServlet.doHandleEvent()
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost()
         at javax.servlet.http.HttpServlet.service()
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()
         at javax.servlet.http.HttpServlet.service()
         at org.apache.tomcat.core.ServletWrapper.doService()
         at org.apache.tomcat.core.Handler.service()
         at org.apache.tomcat.core.ServletWrapper.service()
         at org.apache.tomcat.core.ContextManager.internalService()
         at org.apache.tomcat.core.ContextManager.service()
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()
         at org.apache.tomcat.service.TcpWorkerThread.runIt()
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
         at java.lang.Thread.run()
    [20060101 15:00:39:734] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.ccms.remotetracing.RemoteTracingInboundProcessor.registerItself()
         at com.sap.ip.me.ccms.remotetracing.RemoteTracingListener.actionPerformed()
         at com.sap.ip.me.sync.SyncEventRegistryImpl.fireSyncEventNotifierMethod()
         at com.sap.ip.me.sync.SyncManagerImpl.raiseSyncEvent()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend()
         at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run()
         at java.lang.Thread.run()
    [20060101 15:00:47:332] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/0.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.sync.LogSenderInboundProcessor.registerItself()
         at com.sap.ip.me.sync.LogSender.sendLogToBackend()
         at com.sap.ip.me.sync.LogSender.actionPerformed()
         at com.sap.ip.me.sync.SyncEventRegistryImpl.fireSyncEventNotifierMethod()
         at com.sap.ip.me.sync.SyncManagerImpl.raiseSyncEvent()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend()
         at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run()
         at java.lang.Thread.run()
    [20060101 15:00:58:958] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/1.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.ccms.configinfo.ConfigInfoCheckerInboundProcessor.registerItself()
         at com.sap.ip.me.ccms.configinfo.ConfigInfoListener.actionPerformed()
         at com.sap.ip.me.sync.SyncEventRegistryImpl.fireSyncEventNotifierMethod()
         at com.sap.ip.me.sync.SyncManagerImpl.raiseSyncEvent()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend()
         at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run()
         at java.lang.Thread.run()
    [20060101 15:01:11:889] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/1.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.ccms.configinfo.ConfigInfoCollectorInboundProcessor.registerItself()
         at com.sap.ip.me.ccms.configinfo.ConfigInfoCollector.createConfigInfoContainer()
         at com.sap.ip.me.ccms.configinfo.ConfigInfoCheckerInboundProcessor.process()
         at com.sap.ip.me.sync.SyncManagerImpl.processSingleContainer()
         at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers()
         at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle()
         at com.sap.ip.me.sync.SyncManagerImpl.syncForUser()
         at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend()
         at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend()
         at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run()
         at java.lang.Thread.run()
    [20060101 15:07:01:133] I [MI/API/Logging           ] ***** LOG / TRACE SWITCHED ON
    [20060101 15:07:01:133] I [MI/API/Logging           ] ***** Mobile Engine version: MI 25 SP 18 Patch 00 Build 200607272043
    [20060101 15:07:01:133] I [MI/API/Logging           ] ***** Current timezone: GMT
    [20060101 15:07:12:071] E [AppLog/MI/API/Services   ] java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
    java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectInputStream.readObject()
         at java.io.ObjectInputStream.defaultReadObject()
         at java.io.ObjectInputStream.inputObject()
         at java.io.ObjectInputStream.readObject()
         at java.io.ObjectInputStream.readObject()
         at com.sap.ip.me.api.services.IOUtils.readSerializedObjectFromFile()
         at com.sap.ip.me.api.services.IOUtils.readHashtableFromDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.<init>()
         at java.lang.Class.newInstance()
         at com.sap.ip.me.api.conf.Configuration.createInstanceForType()
         at com.sap.ip.me.api.conf.Configuration.getSingletonInstanceForType()
         at com.sap.ip.me.api.sync.InboundProcessorRegistry.<clinit>()
         at com.sap.ip.me.smartsync.core.SmartSyncRuntimeManager.initializeSmartSyncFramework()
         at com.sap.ip.me.core.FrameworkInitializer.initSmartSync()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    Martyn Lewis (This is different) ??????????????????????????????
    [20060101 15:07:59:692] E [MI/ComServer             ] Exception while running communication server:
    java.io.IOException: SysCall : bind() failed
         at java.net.PlainSocketImpl.bind()
         at java.net.ServerSocket.<init>()
         at java.net.ServerSocket.<init>()
         at com.sap.ip.me.core.CommunicationServer.run()
         at java.lang.Thread.run()
    [20060101 15:08:04:639] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/1.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.ApplicationManager.registerInboundProcessors()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    [20060101 15:08:07:836] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/1.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.ApplicationManager.registerInboundProcessors()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()
    [20060101 15:08:10:780] E [AppLog/MI/API/Services   ] Problems while saving /MI/sync/inboundProcessors/1.value
    java.io.NotSerializableException: com.sap.ip.me.api.services.MEResourceBundle
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at java.io.ObjectOutputStream.defaultWriteObject()
         at java.io.ObjectOutputStream.outputObject()
         at java.io.ObjectOutputStream.writeObject()
         at com.sap.ip.me.api.services.IOUtils.serializeObjectToFile()
         at com.sap.ip.me.api.services.IOUtils.saveHashtableToDirectory()
         at com.sap.ip.me.sync.InboundProcessorRegistryImpl.register()
         at com.sap.ip.me.core.FrameworkInitializer.initializeFramework()
         at com.sap.ip.me.core.FrameworkInitializer.main()
         at com.sap.ip.me.core.Startup.main()

    Thanks Jo for your input - I have investedigated and still not certain of what is really going on and if this applies or not.
    I did get a screen shot back from the customer and here is what it looks like (had to type out as I don't see a way to post and image to this forum):
    Internet Explorer
    Screen Shot
    SAP
    Synchronization Log
    -Synchroniztion started
    -Connection set up (without proxy) to: http://
    headsap001s:50000/meSync/servlet/meSync?
    ~sysid=mob&
    -Successfully connected with server.
    -Processing of inbound data began.
    -Synchronisation problems: Transport-layer (http) sync
    exception raised (root cause: Exception while
    synchronizing (java.net.SocketException: Remote
    Connection Closed: Remote connection closed))
    One suspicious thing I noticed about the screen shot above is Syncronization or Syncronizing is always spelled with a "z" except in one case above is spelled with an "s" - the UK spelling method? I check the screen shot several times and this is not a typo on my part it is how it is in the actual screen shot - almost if someone changed the log file being reported to the screen?
    Can someone comment on the error, has this been seen by anyone else and was there a solution?
    Also how difficult is it to hook up the entire solution so that I can recreate at my desk? I have DB2e and Java Creme (3.28). I need SAP MI I guess and probably need to set up sometime of server so I can replicate the whole process of installation and synchronization. What is the minimum I can do to replicate this and can I get a SAP MI system as a demo to put this whole puzzle together?
    Thanks so much for any input anyone can provide on above.
    Neal Davis

  • MVC - Performance of data binding

    Hi Gurus out there
    I have a concern regarding performance of (dynamic) data binding if I have a lot of <i>textEdit</i> fields containing huge amount of data on a view page.
    <u>Scenario</u>:
    The view page contains buttons <b>[Add textEdit field]</b> and<b> [Save all entries]</b>. If you click the button <b>[Add textEdit field]</b> then a (new) <i>textEdit</i> will be generated and the model remembers the total number of <i>textEdit</i> fields that have been generated.
    DATA: textedit_count TYPE i,
          o_textedit     TYPE REF TO cl_htmlb_textedit,
          tabix(6)       TYPE c,
          binding_code   TYPE string,
          binding_str    TYPE string.
    textedit_count = o_model->get_section_count( ).
    DO textedit_count TIMES.
    * Create a unique ID for a textEdit field:
      tabix = sy-index.
      CONDESE tabix NO-GAPS.
    * String for the data binding of internal table model->data_stream_tab:
      CONCATENATE '//model/data_stream_tab['
                  tabix
                  '].data_string'   
             INTO binding_str.
    * Dynamic data binding:
      CREATE OBJECT o_textedit.
      CONCATENATE 'myTextEditID' tabix
             INTO o_textedit->id.
      o_textedit->width  = 650.
      o_textedit->height = 225.
      o_textedit->_text = binding_str.
      binding_code = o_textedit->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
    <htmlb:label for = "<%= o_textedit->id %>"
                text = "<%= o_textedit->id %>"
              design = "EMPHASIZED" />
    <%-- Binding of the attribute (internal table) '//model/data_stream_tab<i>.data_stream' --%>
      <%= binding_code %>
    ENDDO.
    Obviously the <u>whole</u> contents of the <i>textEdit</i> fields in the coding above are <u>always</u> "moved" from the web browser to the server and vice versa when the button <b>[Add textEdit field]</b> is hit every time even though the content of some <i>textEdit</i> fields haven't changed.
    Does anyone have a good solution/optimization for this problem? Any suggestion, comment and/or answer will be very appreciated.
    Thanks
    HW

    Place this code above any textedit elements you have in your page:
    <script type="text/javascript">
    var myFields = new Array();
    </script>
    Then place this code after every textedit elements, this code will get run when the page is loaded in the browser, right after your element. You are saving the ID and the default value of your element to an array. For every further element, increase the array counter by 1!
    <script type="text/javascript">
    myFields[0] = new Object();
    myFields[0]["id"] = 'myTextEdit1';
    myFields[0]["default_value"] = document.getElementById(myFields[0]["id"]).value;
    </script>
    Finally, include this function in your page (does not have to be at the bottom, I just put it here chronologically):
    <script type="text/javascript">
    function compareFields() {
      for (var i = 0; i < myFields.length; ++i) {
        if(myFields<i>["default_value"] == document.getElementById(myFields<i>["id"]).value) {
        // nothing has changed, set to ignore-value (any highly unlikely value, like ")?.("
        document.getElementById(myFields<i>["id"]).value = ')?.(';
        // check against this value in your setter method
        // if this is set, then do not user submitted value to update your model attribute value
        // maybe do some output for debug purposes
        // alert(document.getElementById(myFields<i>["id"]).value);
    }</script>
    Now add this attribute to your submit button:
    onClientClick = "javascript:compareFields();"
    This should do, test it out and let me know.
    Max

  • Submit Button error - Data Connection failing

    I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
    The operation completed successfully.
    The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
    On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
    http://servername instead of the alias
    http://intranet - this had solved the problem in other forms, but not this one.
    Looking closely at the rules on my submit button, the following actions occur:
    1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
    The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
    To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
    The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
    gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
    I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
    I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
    In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
    InfoPath cannot submit the form
    An error occurred while the form was being submitted
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file is in use by another application or user.
    As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
    I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
    Thanks,
    Ben

    bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
    http://intranet instead of the servername e.g.
    http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
    between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
    What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
    aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
    http://intranet.
    Ben

  • Report data binding error

    I have created a banded report split into departments. Each
    recore has a value associated with it. The report runs fine if I
    dont try to sub-total each departments vale, but if I add a
    calculated field to the banding, I get the following error:
    Report data binding error Error evaluating expression :
    textField_2 Source text : calc.Department_Total.
    Variable calc.Department_Total is undefined.
    The calculated field is simply the sum of the values, with an
    initial value of 0 and set to reset when the group changes on the
    department. I am using the same data type for the calc field as it
    automatically gave for the original Value field (Big Decimal)
    Any ideas?
    Dave H

    Does anyone have any ideas about this, Its getting a bit
    critical now. Has anyone else been able to do sums that calculate
    on group changes?? The sum total works for the report, jusyt not
    the bands. I desparate here, pulling my hair out.
    Regards
    Dave H

  • Unable to find information on WS data binding error on WLS 9.2.03 startup

    Frustratingly, when I Google for "WS data binding error" I get 'old' links to BEA forum issues which may help but these are nowhere to be seen on the read-only copies now on Oracle forums here :- http://forums.oracle.com/forums/category.jspa?categoryID=202.
    The link I'm looking for is:-
    forums.bea.com/thread.jspa?threadID=600017135
    Is there anywhere I can get access to this information or should I just post new items on the new WLS forum?
    Many thanks.
    p.s. the errors I am trying to research are as follows:-
    <WS data binding error>could not find schema type '{http://xmlns.oracle.com/apps/otm}Transmission
    <WS data binding error>Ignoring element declaration {http://xmlns.oracle.com/apps/otm}Transmission because there is no entry for its type in the JAXRPC mapping file.

    Check this..
    http://docs.oracle.com/cd/E10291_01/doc.1013/e10538/weblogic.htm
    you can ignore those warnings
    The following data type binding warnings and errors are displayed during deployment and start of Decision Service (Business Rules) Applications. These errors and warnings can be ignored.
    <WS data binding error>could not find schema type '{http://www.w3.org/2001/XMLSchema}NCName
    <WS data binding error>could not find schema type
    '{http://websphere.ibm.com/webservices/}SOAPElement
    java.lang.IllegalStateException
    at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalElementNode.
    getSchemaProperty(AnonymousTypeFinder.java:253)

  • External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. ThisWorkBookDataModel

    Hi All,
    I have been trying to fix this for days now. I have tried solutions in many articles but to no avail. So while the error message is something you may have seen may times, I just can't find a solution in my case.
    This is the error:
    And in text just in case the image isn't viewable:
    "External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: ThisWorkBookDataModel."
    What is worse is I have checked the ULS (SharePoint Trace Logs), the Event Viewer Logs and the OWA Logs and I cannot find a specific error that would help pin point the problem.
    Excel Workbook
    So what am I doing? I have an Excel 2013 workbook and I create an "SQL Server" connection to the AdventureWorksDW database, add a pivot table and a pivot chart, test in in Excel and all works fine.
    I save the Excel workbook to SharePoint 2013 and then select "Data" then "Refresh All Connections" and then I get the error in the picture above.
    Even more puzzling is I have another Excel workbook that also has pivot tables and pivot charts in the AdventureWorksDW2012Multidimensional cube database in "SQL Analysis Services" and this works fine. Hmmm.
    My Environment
    My environment is Windows 2008 R2 Server, SharePoint 2013 with the April Service Pack1 and a separate server with OWA2013 SP1. It has an SQL Server 2008 R2 database which has been upgraded to SQL Server 2012.
    Data Model Settings
    In Excel Services this is set to my server name which is "server-name". As I do not have instances all I can enter is the server name. As this works everywhere else including the workbook outside of SharePoint I do not think this is the problem.
    But I could be wrong.
    Unattended Account
    I have set this up for the PowerPivot Services App and Excel Services App.
    ODC Connections in Excel
    I have tried all 3 authentication modes, Windows, Secure Store ID and "None" which is the unattended account. I have not tried the other connection types, should I?
    Not in WOPI
    I am not in WOPI mode.
    AD Accounts
    I have added permissions in the SharePoint Services and SQL Server, and as they work in Excel outside of SharePoint, I do not think it is a permissions issue. I could be wrong of course, but the problem is in one of SharePoint, OWA, AD,
    SQL Server, Excel, and Windows Server.
    Isolate the Error
    Below is a list of errors I think are relevant but they do not tell me much. The SharePoint logs are not really giving me an error that tells me what to do and where to do it, or even why it cannot refresh, (perhaps not noticeable by the untrained eye).
    Problem with SQL Server Not Analysis Services
    So my cube database in analysis services works fine in SharePoint/OWA but not the databases in sql server. This is my best clue but I have no idea what it means. Why would it work with an Analysis Services connection but not an "SQL Server" connection?
    It Works Outside of SharePoint
    If I run the excel worksheet outside of SharePoint all works fine. When inside OWA this is where the refresh error occurs.
    Errors from Event Viewer on SharePoint Server using ULS Viewer
    "Failed to create an external connection or execute a query. Provider message: There are no servers available or actively being initialized., ConnectionName: , Workbook:"
    "Refresh failed for 'ThisWorkbookDataModel' in the workbook 'http://server...'. [Session: 1.V22.26itT0lx8piNFeqtuGVhN214.5.en-US5.en-US36.98c0e158-9113-46e9-850e-edda81d9ed1c1.A1.N User: 0#.w|ad\testuser1]"
    And an error in the ULS under the "Data Model" category:
    "--> Check Deployment Mode (server-name): Fail (Expected: SharePoint, Actual: Multidimensional)."
    This last error, as it turned out, defined the problem concisely, although I was yet to work out what it meant in some detail.

    I finally solved this myself (or should I say with the help of several key articles).
    The refresh did not work because the database was not in "SharePoint Mode". Yes, SQL Server has modes, 3 of them in fact.
    If you installed SharePoint to the default SQL instance which would be called <servername> then you cannot use this default instance for Excel 2013 workbooks in OWA 2013 because the refresh only works if the database is in SharePoint mode.
    So what are these 3 modes? The Deployment Mode property in the msmdsrv.ini file has them as:
    0 = Multidimensional mode (the default whenever you install SQL Server normally)
    1 = PowerPivot for SharePoint mode
    2 = Tabular mode mode
    How do you know what mode you are in? That's easy, open SQL Studio Manager and connect to all your SQL database engine instances (ignore Analysis Services or SSRS as they are not database engines). If you only have the default instance then that is almost
    definately in Multidimensional mode which is the default and what SharePoint installs its databases to.
    You must have an instance called <servername>\POWERPIVOT. This instance is the "sharepoint mode" needed, and the default instance name when you install an SQL instance in this mode.
    If you don't see <servername>\POWERPIVOT in SQL server then you are not in "sharepoint mode". It is more accurate to say, you do not have an instance that is in sharepoint mode. This is because you cannot simply switch modes on an SQL server.
    You have to install a new instance in the required mode, thats the only way.
    That's easy enough. Load up the SQL Server setup CD and run setup. Install a brand new instance and select "SQL Server PowerPivot for SharePoint" when you get there in the wizard.
    Now you will have the default instance that stores all the SharePoint databases and that is in mode 0, and a new instance called <servername>\POWERPIVOT that is in mode 1. The "<servername>\POWERPIVOT" instance connection is what you
    will use for Excel 2013 when rendering in OWA 2013.
    You also need to ensure OWA 2013 is not in WOPI mode for Excel worksheets. See the last link below for more information about WOPI.
    Next you should go to the Excel Service App in CA and click Data Model Settings and add the <servername>\POWERPIVOT instance.
    Then you have to either turn off the firewall on the SQL server machine, or create an inbound rule on the Windows firewall to open the TCP port for the <servername>\POWERPIVOT instance:
    1. Start Task Manager and then click Services to get the PID of the MSOLAP$InstanceName.
    2. Run netstat –ao –p TCP from the command line to view the TCP port information for that PID.
    Finally, you can now create Excel 2013 workbooks that run in OWA without refresh errors, as long as you are connecting to the <servername>\POWERPIVOT instance. Hooray.
    REFERENCES
    Look for the string "There are no servers available or actively being initialized" in this article:
    http://blogs.msdn.com/b/analysisservices/archive/2012/08/02/verifying-the-excel-services-configuration-for-powerpivot-in-sharepoint-2013.aspx
    Determine the server mode:
    http://msdn.microsoft.com/en-au/library/gg471594(v=sql.110).aspx
    Install the SharePoint PowerPivot instance (aka SharePoint mode)
    http://msdn.microsoft.com/en-au/library/eec38696-5e26-46fa-bc83-aa776f470ce8(v=sql.110)
    Open the port for the new SQL instance:
    http://msdn.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Turn Off WOPI for Excel OWA
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx

Maybe you are looking for