Webi refresh from Excel

Hi All,
I have created a universe based on an Excel file with columns as Material Number, Order Qty, Status and am reading this data from a Webi report. The data seems to be showing correctly the first time I create this new Webi and read data.
If I now go back and change any data in underlying Excel file, the Webi refuses to show the new entries and will still be showing the old entries. I have purged the webi report but still no joy.
Could anyone tell me why it is failing to read the changes? Is there anything that needs to be done on the IDT itself to get the data refreshed?
Thanks

Hi,
Did you do refresh structure in Data Foundation layer and republish to repository?.
If the above steps are done already then go to WebI>> Data tab >> select the same universe and excel >> remap the objects and refresh the reports. This should work.
Thanks,
Jothi

Similar Messages

  • Generating webi report from excel sheet.

    Hi to all.
    can I generate the web intelligence report by excel sheets in info view,if yes how can I generate them or any alternative solution exist to this..
    please reply
    thanks in advance

    Hi Rajat,
    Starting from BOXI R3.0 version, Rich client is used for accessing WebI reports other than Infoview. i.e. Similar to Desk top intelligence, it can be installed in any local machine and using it we can access WebI reports.
    If you don't have Rich client then install it in your pc, then start creating WebI reports from excel using Rich client.
    Navigation: Open rich client -> select local source(browse to your doucment i.e excel sheet) -> select required tab in excel(for the report) -> ok
    Cheers,
    Suresh Aluri.
    Edited by: Suresh Babu Aluri on Feb 1, 2010 9:52 PM

  • Problem in accessing Web Service from Excel

    Hi All,
    I have faced a new problem when calling WS from Excel.
    I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields
    such as
    medPlace -- String
    publictn - String
    amount - long
    This WS is working fine when I am testing from WS Nevigator.
    Now I have imported the WS in Excel and now the data types are like
    medPlace -- String
    publictn - String
    amount - double
    My requirement is to send the multiple row of the Excel to the WS at a time( I mean as a List). So when I have executed it first time I got error like “deserialisation error”. But I got an article (SAP Web Services and Microsoft Office: How to Create Simple Composite Applications ) by Marcus Schiffer and that problem is resolved.
    But Now I am getting the error like ......Client:Type conversion failure for element eXLSTRUCT0 HRESULT=0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.
    eXLSTRUCT0 - This is my structure name in input.
    Can you please help me to solve this issue.
    Thanks in advance
    Chandan

    "vikceo" <[email protected]> wrote in
    message
    news:gm1pl9$s5h$[email protected]..
    > hie
    >
    > here is the code:
    >
    > <mx:HTTPService id="headCountService"
    > resultFormat="e4x"
    > fault="headCountService_fault(event);"
    > result="headCountService_result(event);"
    >
    > url="
    http://localhost:8988/HeadCount-HeadCountService-context-root/headcountwsso
    > aphttpport"/>
    >
    >
    > private function
    headCountService_fault(evt:FaultEvent):void {
    > var title:String = evt.type + " (" + evt.fault.faultCode
    + ")";
    > var text:String = evt.fault.faultString;
    > alert = Alert.show(text, title);
    > }
    >
    > private function
    headCountService_result(evt:ResultEvent):void {
    > var statListAll:XMLList = new XMLList(evt.result.stat);
    > }
    >
    > I am calling the service in the main mxml file as
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > showFlexChrome="false"
    > layout="vertical"
    > preinitialize="headCountService.send();">
    >
    > And error is coming from the method
    headCountService_fault
    Is it possible that your web service is receiving something
    with an ill
    formed tag. I'd second bitwyse's suggestion.

  • Web Services from Excel

    Hi,
    i want to use Excel (office 2003) with the web services toolkit from Microsoft (2.01) to call Web services from SAP (ABAP 7.0).
    In the 6.40 version of ABAP i was able to call a web service also with some complex data types (internal tables) from excel. Finally the trick was to avoid empty input complex types.
    Now trying this with the new version seems impossible. The system always respond "deserialisation failed". Tracking the problem shows a nice SOAP request in the SAP system, however, somehow the "deserialisation" error occurs here.
    Is there any hint on how to deal with this kind of error ?
    Thanks for any advice.
    Marcus

    Hi,
    first here is the soap request from the SAP trace in SICF: ( a response is not visible due to the deserialisation error)
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    - <SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    - <SOAP-ENV:Body>
    - <SOAPSDK4:ZBpcontactCreatefromdata xmlns:SOAPSDK4="urn:sap-com:document:sap:soap:functions:mc-style">
    - <SOAPSDK4:Businesspartner SOAPSDK3:arrayType="SOAPSDK4:VbkaVbpa2kom[3]" SOAPSDK3:offset="[0]" SOAPSDK2:type="SOAPSDK3:Array">
    - <item>
      <Refobjecttype SOAPSDK2:nil="true" />
      <Refobjectkey SOAPSDK2:nil="true" />
      <DocNumber>1</DocNumber>
      <ItmNumber>1</ItmNumber>
      <CountParvw>1</CountParvw>
      <PartnRole>AG</PartnRole>
      <PartnRoleOld>AG</PartnRoleOld>
      <PartnId>0000002000</PartnId>
      <PartnIdOld>0000002000</PartnIdOld>
      <AddrNo SOAPSDK2:nil="true" />
      <PersNo SOAPSDK2:nil="true" />
      <Addrtype SOAPSDK2:nil="true" />
      <AddrOrigin SOAPSDK2:nil="true" />
      <UnloadPt SOAPSDK2:nil="true" />
      <CalendarUpdate SOAPSDK2:nil="true" />
      <AddrLink SOAPSDK2:nil="true" />
      </item>
    - <item>
      <Refobjecttype SOAPSDK2:nil="true" />
      <Refobjectkey SOAPSDK2:nil="true" />
      <DocNumber>1</DocNumber>
      <ItmNumber>1</ItmNumber>
      <CountParvw>1</CountParvw>
      <PartnRole>AP</PartnRole>
      <PartnRoleOld>AP</PartnRoleOld>
      <PartnId>0000000005</PartnId>
      <PartnIdOld>0000000005</PartnIdOld>
      <AddrNo SOAPSDK2:nil="true" />
      <PersNo SOAPSDK2:nil="true" />
      <Addrtype SOAPSDK2:nil="true" />
      <AddrOrigin SOAPSDK2:nil="true" />
      <UnloadPt SOAPSDK2:nil="true" />
      <CalendarUpdate SOAPSDK2:nil="true" />
      <AddrLink SOAPSDK2:nil="true" />
      </item>
    - <item>
      <Refobjecttype SOAPSDK2:nil="true" />
      <Refobjectkey SOAPSDK2:nil="true" />
      <DocNumber>1</DocNumber>
      <ItmNumber>1</ItmNumber>
      <CountParvw>1</CountParvw>
      <PartnRole>ZM</PartnRole>
      <PartnRoleOld>ZM</PartnRoleOld>
      <PartnId>0000001708</PartnId>
      <PartnIdOld>0000001708</PartnIdOld>
      <AddrNo SOAPSDK2:nil="true" />
      <PersNo SOAPSDK2:nil="true" />
      <Addrtype SOAPSDK2:nil="true" />
      <AddrOrigin SOAPSDK2:nil="true" />
      <UnloadPt SOAPSDK2:nil="true" />
      <CalendarUpdate SOAPSDK2:nil="true" />
      <AddrLink SOAPSDK2:nil="true" />
      </item>
      </SOAPSDK4:Businesspartner>
    - <SOAPSDK4:Generaldata SOAPSDK3:arrayType="SOAPSDK4:Bus1037VbkakomCr[1]" SOAPSDK3:offset="[0]" SOAPSDK2:type="SOAPSDK3:Array">
    - <item>
      <Refobjecttype SOAPSDK2:nil="true" />
      <Refobjectkey SOAPSDK2:nil="true" />
      <DocNumber>1</DocNumber>
      <Refdoctype SOAPSDK2:nil="true" />
      <Refreltype SOAPSDK2:nil="true" />
      <ActivityType>0001</ActivityType>
      <Salesorg>1000</Salesorg>
      <DistrChan>10</DistrChan>
      <Division>00</Division>
      <SalesOff>1000</SalesOff>
      <SalesGrp>100</SalesGrp>
      <FromDate>11/7/2006</FromDate>
      <ToDate>11/7/2006</ToDate>
      <FromTime>12:00:00 AM</FromTime>
      <ToTime>12:00:00 AM</ToTime>
      <Reason>003</Reason>
      <Result>005</Result>
      <ResultExplanation>005</ResultExplanation>
      <State>1</State>
      <FollowUpType SOAPSDK2:nil="true" />
      <FollowUpDate>12:00:00 AM</FollowUpDate>
      <ActivityComment>Das ist ein  Test</ActivityComment>
      <Descrpt01 SOAPSDK2:nil="true" />
      <Descrpt02 SOAPSDK2:nil="true" />
      <Descrpt03 SOAPSDK2:nil="true" />
      <Descrpt04 SOAPSDK2:nil="true" />
      <Descrpt05 SOAPSDK2:nil="true" />
      <Descrpt06 SOAPSDK2:nil="true" />
      <Descrpt07 SOAPSDK2:nil="true" />
      <Descrpt08 SOAPSDK2:nil="true" />
      <Descrpt09 SOAPSDK2:nil="true" />
      <Descrpt10 SOAPSDK2:nil="true" />
      <TxtKonse SOAPSDK2:nil="true" />
      <Direction SOAPSDK2:nil="true" />
      <PartnRole>AG</PartnRole>
      <PartnId>0000002000</PartnId>
      <ContactRole>AP</ContactRole>
      <Contact>0000000005</Contact>
      <Langu SOAPSDK2:nil="true" />
      <LanguIso SOAPSDK2:nil="true" />
      </item>
      </SOAPSDK4:Generaldata>
      <SOAPSDK4:Return SOAPSDK2:nil="true" SOAPSDK3:arrayType="SOAPSDK4:Bapiret2[0]" SOAPSDK3:offset="[0]" SOAPSDK2:type="SOAPSDK3:Array" />
    - <SOAPSDK4:Sender>
      <LogSystem SOAPSDK2:nil="true" />
      </SOAPSDK4:Sender>
      <SOAPSDK4:Testrun SOAPSDK2:nil="true" />
      </SOAPSDK4:ZBpcontactCreatefromdata>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    here is the VB coding in Excel:
    The call of the WS is done in standard generated classes from the WS plugin in Excel:
    Call contractWS.wsm_ZBpcontactCreatefromdata
    Dim contractWS As New clsws_zcreatecontact2Servic
    Dim ar_Businesspartner() As New struct_VbkaVbpa2kom
    Dim ar_Generaldata(0) As New struct_Bus1037VbkakomCr
    Dim ar_Return() As Variant
    Dim obj_Sender As New struct_Sender
    Dim str_Testrun As String
    With ar_Generaldata(0)
    .DocNumber = "1"
    .ActivityType = "0001"
    .Salesorg = "1000"
    .DistrChan = "10"
    .Division = "00"
    .SalesOff = "1000"
    .SalesGrp = "100"
    .ActivityComment = Range("C9").Text
    .FromDate = Format(Range("C8").Text, "yyyy-mm-dd")
    .ToDate = Format(Range("C8").Text, "yyyy-mm-dd")
    .FromTime = "00:00:00"
    .ToTime = "00:00:00"
    .Reason = "003"
    .Result = "005"
    .ResultExplanation = "005"
    .State = "1"
    .PartnRole = "AG"
    .PartnId = "0000002000"
    .ContactRole = "AP"
    .Contact = "0000000005"
    End With
    ReDim ar_Businesspartner(2)
    With ar_Businesspartner(0)
    .DocNumber = "1"
    .ItmNumber = "1"
    .CountParvw = "1"
    .PartnRole = "AG"
    .PartnRoleOld = "AG"
    .PartnId = "0000002000"
    .PartnIdOld = "0000002000"
    End With
    With ar_Businesspartner(1)
    .DocNumber = "1"
    .ItmNumber = "1"
    .CountParvw = "1"
    .PartnRole = "AP"
    .PartnRoleOld = "AP"
    .PartnId = "0000000005"
    .PartnIdOld = "0000000005"
    End With
       With ar_Businesspartner(2)
    .DocNumber = "1"
    .ItmNumber = "1"
    .CountParvw = "1"
    .PartnRole = "ZM"
    .PartnRoleOld = "ZM"
    Dim id As String
    id = Range("C7").Value
    .PartnId = id
    .PartnIdOld = id
    End With
    Call contractWS.wsm_ZBpcontactCreatefromdata( _
    ar_Businesspartner, _
    ar_Generaldata, _
    ar_Return, _
    obj_Sender, _
    str_Testrun _
    Message was edited by: Marcus Schiffer
    Message was edited by: Marcus Schiffer

  • Calling WebAS Java from Excel Macro

    Hi,
    somebody told me there were a way to call WebAS Java from an Excel Macro and make a login into SAP using a real existing user (not a technical user). Does anybody know where to find documentation about this or how to get this accomplished?
    Thanks, Oliver Plohmann

    Hi,
    Have a look at
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office09062001.asp
    Eddy

  • How to generate web page from Excel spread sheet?

    I have a spreadsheet containing a long string of HTML text.  It can be viewied below and each line needs to be one web page.  I also have the same file in a flat text file.
    Header 1
    Header 2
    Header 3
    <h3 style="text-align:center;">Minutes of the Annual Meetings of the Brethren: 1778 - 1917</h3>
    <p style="text-align: center;"><a href="images/books/001/220.png" title="Page 220 — Minutes of the Annual Meetings of the Brethren" rel="rokbox[600 905](demo)"><img src="images/books/001/220.png" border="0" alt="Page 220 — Minutes of the Annual Meetings of the Brethren [Click for larger image]" title="Page 220 — Minutes of the Annual Meetings of the Brethren [Click for larger image]" width="500" height="754" /></a><span style="text-align: center; display: block; margin-top: 6px;">Page 220</span></p>
    <p style="display:none;"> </p>
    <h3 style="text-align:center;">Minutes of the Annual Meetings of the Brethren: 1778 - 1917</h3>
    <p style="text-align: center;"><a href="images/books/001/221.png" title="Page 221 — Minutes of the Annual Meetings of the Brethren" rel="rokbox[600 905](demo)"><img src="images/books/001/221.png" border="0" alt="Page 221 — Minutes of the Annual Meetings of the Brethren [Click for larger image]" title="Page 221 — Minutes of the Annual Meetings of the Brethren [Click for larger image]" width="500" height="754" /></a><span style="text-align: center; display: block; margin-top: 6px;">Page 221</span></p>
    <p style="display:none;"> </p>
    I need Dreamweaver CS4 to take this spreadsheet and generate a series of web pages.  The head section will be the same for all the generated HTML files.  A sample page can be viewed here.
    If I can locate a script that will do this then I can take an extension for a Joomla web site and pass along the series of page to it.  The Joomla extension will then create my articles for me.
    Cordially,
    Wayne

    Thanks for the thought, but that generates one large page with each row an item on the page.  What I need is for DW to take each row and create a page of that row.  Even then, in Excel you have to insert rows before my first row of data.  Into thos rows you paste the head information doctype, metadata, the closing head, etc., etc.  Then you have to add a row at the end closing the body and html statements.
    I'll have to try this with something else.  For something so simple you'd figure there was a script to do it.
    Cordially,
    Wayne

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'
    was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Import data from excel/csv file in web dynpro

    Hi All,
    I need to populate a WD table by first importing a excel/CSV file thru web dynpro screen and then reading thru the file.Am using FileUpload element from NW04s.
    How can I read/import data from excel / csv file in web dynpro table context?
    Any help is appreciated.
    Thanks a lot
    Aakash

    Hi,
    Here are the basic steps needed to read data from excel spreadsheet using the Java Excel API(jExcel API).
    jExcel API can read a spreadsheet from a file stored on the local file system or from some input stream, ideally the following should be the steps while reading:
    Create a workbook from a file on the local file system, as illustrated in the following code fragment:
              import java.io.File;
              import java.util.Date;
              import jxl.*;
             Workbook workbook = Workbook.getWorkbook(new File("test.xls"));
    On getting access to the worksheet, once can use the following code piece to access  individual sheets. These are zero indexed - the first sheet being 0, the  second sheet being 1, and so on. (You can also use the API to retrieve a sheet by name).
              Sheet sheet = workbook.getSheet(0);
    After getting the sheet, you can retrieve the cell's contents as a string by using the convenience method getContents(). In the example code below, A1 is a text cell, B2 is numerical value and C2 is a date. The contents of these cells may be accessed as follows
    Cell a1 = sheet.getCell(0,0);
    Cell b2 = sheet.getCell(1,1);
    Cell c2 = sheet.getCell(2,1);
    String a1 = a1.getContents();
    String b2 = b2.getContents();
    String c2 = c2.getContents();
    // perform operations on strings
    However in case we need to access the cell's contents as the exact data type ie. as a numerical value or as a date, then the retrieved Cell must be cast to the correct type and the appropriate methods called. The code piece given below illustrates how JExcelApi may be used to retrieve a genuine java double and java.util.Date object from an Excel spreadsheet. For completeness the label is also cast to it's correct type. The code snippet also illustrates how to verify that cell is of the expected type - this can be useful when performing validations on the spreadsheet for presence of correct datatypes in the spreadsheet.
      String a1 = null;
      Double b2 = 0;
      Date c2 = null;
                        Cell a1 = sheet.getCell(0,0);
                        Cell b2 = sheet.getCell(1,1);
                        Cell c2 = sheet.getCell(2,1);
                        if (a1.getType() == CellType.LABEL)
                           LabelCell lc = (LabelCell) a1;
                           stringa1 = lc.getString();
                         if (b2.getType() == CellType.NUMBER)
                           NumberCell nc = (NumberCell) b2;
                           numberb2 = nc.getValue();
                          if (c2.getType() == CellType.DATE)
                            DateCell dc = (DateCell) c2;
                            datec2 = dc.getDate();
                           // operate on dates and doubles
    It is recommended to, use the close()  method (as in the code piece below)   when you are done with processing all the cells.This frees up any allocated memory used when reading spreadsheets and is particularly important when reading large spreadsheets.              
              // Finished - close the workbook and free up memory
              workbook.close();
    The API class files are availble in the 'jxl.jar', which is available for download.
    Regards
    Raghu

  • Problem while refreshing the cube from excel

    I am trying to refresh the excel file(Cube from excel). 
    But i can able to refresh the same cube in server. But users facing this problem.
    The following error coming 
    I was working fine till yesterday. 
    Please suggest me... 
    Sudhan

    Hi Madhu,
    According to your description, you can refresh the cube. But the users from a domain can't do this and get the above error. Right?
    In this scenario, since you are the only user which can refresh the cube and the other user can't, it might be permission issue. Please re-grant the cube permission (Read/Write) for the domain users. See:
    Grant cube or model permissions (Analysis Services).
    If the issue persists, please re-install the ASOLEDB10 from Feature Pack, please refer to links below:
    multidimensional connection 10.0 box not opening for Excel 2010
    Problems connecting Excel to SSAS 2008 (Analysis Services OLE DB Provider issues)
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Saving webi document from BOXI 3.0 in excel with special character

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

  • Web Form Import From Excel Error

    Hi all,
    I've an issue regarding the import from Excel function in HFM (9.3.1) web forms.
    First of all I export in Excel a form, I input data in yellow cells and then I save the file (I don't change the file extencion that remains xls).
    Finally I try to import the modified form by using Import from Excel function.
    Once the system finish to load shows me a windows saying that "The data have been saved to the DB" (or something similar) but when I open the web form there are no data.
    I've checked carefully the POV and it's the same and I'm using an administrative user.
    What can I try to do to fix this issue?? Am i doing something wrong?
    Thanks in advance
    Giacomo

    We submitted a bug report about this in May, 2009.
    Bug.7381401--- DATA'S NOT GETTING UPDATED AFTER IMPORT WDEF FROM EXCEL 2007.
    After updating from 9.3.1 to 9.3.3, the issue has been resolved. I would assume the bug detail is unpublished, which is unfortunate as this info would pop up in a search of the Oracle Support KB and help out others with the same issue.

  • Problem when exporting Query from Web template to Excel Sheet.

    Hello,
    Im encoutering a problem when im trying to export query output from web template to excel sheet.
    A popup windown appears when excel sheet opens which reads.."problem cameup in the following areas during  load : Cell Value".The report layout appears to be fine but the totals shows unwanted values starting with * followed by number.
    Any valuable inputs, what could be the problem. where can i rectify the same.
    Regards
    Ellora

    Hello A K,
    Thanks for ur time and response but the option u mentioned did not serve my purpose.
    The problem seems to be only with pirticular cells.As mentioned earlier the layout appears properly..all the values are seen..but the end result..totals are disturbed.
    eg: If the report shows in template the total value :20,668,554...when exported the values is shown as **668553.88000000600000.
    So what could be the problem ? any template setting ? global setting to look at ?
    Regards
    Ellora

  • Pasting data from Excel sheet to Table in web dynpro View

    Hii All,
    Is it possible to copy data ( some rows) from Excel sheet and paste in table in a view?
    I tried doing this, but only first element is getting pasted..
    Does anybody know how to do this?
    Is there any way to perform similar thing?
    Pls help.
    regards,
    Amey

    Hi,
    Copy paste may work if you have that many rows in your table(not sure).
    One thing you can do is upload the excel and then populate the context of the node bound to the table by fetching data from the excel
    For this you can make use of JXL or APACHE POI.
    Regards
    Ayyapparaj

  • HP ePrint from excel add-in: Error while getting driver name for printer

    Trying to use add-in for ePrint from excel/word I get, "error while getting driver name for printer \\...HP DesignJet 800PS 42 by HP," with an option to select "OK" and that same message repeats with each printer in our network, and then it doesn't allow me to print using the add-in. However, I can print normally to HP Go Web, open up Print and Share,  then print it from there. This happens with excel and word. I have Office Suite 2007.

    Hello modameister,
    Sorry you are having issues with this printer and the ePrint add-on.  There are a couple of questions I would like you to answer please.
    1.  What operating system are you using? (XP,VISTA,7,MAC OS X)
    2.  What and how much data are you trying to print?
    3.  Have you tried to copy and paste the data into a different application or tried using the snip it tool?
    4.  Are you receiving any .dll errors (mscms.dll)
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

Maybe you are looking for