Excel input

Hi,
I am writing in reference to Tim Dexter's articles regarding using Excel as a datasource (here: http://blogs.oracle.com/xmlpublisher/2007/03/14 and here: http://blogs.oracle.com/xmlpublisher/2007/03/13).
Is there any recommention you could make as for how to call a java class from a macro?
Secondly, I am curious to know how the 'xlsdata' servlet is deployed on the server.
Thanks in advance!

if your file is a text file and you are reading it from a client you can use the oracle forms TEXT_IO package.

Similar Messages

  • To open a BPC excel input schedule through a Business Process Flow

    Hi,
    I have a Business Process Flow that has to open an excel input schedule.
    In the define actions tab of a Process step, I have chosen the BPC for excel interface and open template option.
    I browsed the necessary template to be opened.I have also provided the required inputs for member selection.
    Now when I open the Business Process Flow and Select this Process step, it opens only the BPC for excel interface and not the excel input schedule template.
    Can anyone expalin the reason that caused this problem and also a solution to fix this issue ?
    PS :I am trying to open this Business Process Flow using BPC Web and my BPC for excel is not open yet.
    Thanks in Advance

    Hello Aparna,
    Please select Application name in BPF.
    Please check for Application name in which you are opening the template.
    Thanks,
    Satish

  • EPMExecuteAPI error in excel input form

    Hello expert,
    I'd like to add an EPMExecuteAPI link in an Excel input form, but I get an error in the cell :
    #Error - Unexpected Error. Check your parameters.
    Here is the formula I set in the cell :
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog";"View status")
    I also try
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog()";"View status")
    According to the online PDF help this function is compatible with EPMExecuteAPI.
    I also find this string :
    Application.Run "EPMExecuteAPI", "DataManagerRunPackage", "", "Import", "Packages", ""
    Is it supposed to be used in a VBA macro and called from a button ? (right clic on the button and affect macro)
    My goal is to provide few functionalities through links or buttons in the sheet.
    Thanks for your help.
    G.
    No ideas ?
    Thanks
    Edited by: Société T-Systems on Feb 8, 2012 11:31 AM

    Hi all,
    I did not already solved my issue.
    As I say functions with no parameters works fine, like
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog";"View packages Status")
    or
    =EPMExecuteAPI("SaveAndRefreshWorksheetData";"Save")
    but this particular one don't work :
    =EPMExecuteAPI("DataManagerRunPackage";"Run Allocation";"BS_Allocation,Financial Process,Public")
    I believe that the function is understood by excel since the cell displayed content is "Run Allocation", there is no #error message in the cell.
    When I double click in the cell like for other working function, I just go editing the function string (with another function the action is performed)
    So help is still welcome on this post
    Regards

  • BPC for Excel Input Schedules

    Hi
    With Input Schedules in BPC for Excel, is there an easy way to see which cells get uploaded ?, for example, if I open a report written by another person, how can I easily see which cells get upload when MNU_ESUBMIT_REFRESH runs ?.
    Thanks in advance for your help.
    Kind Regards
    Gavin

    HI,
       There is no specific way (something like a menu command). You can define a specific colors or format for the cells(or some formulas which change the format of the cell), but this is related to the input schedule design.
    Best regards,
    Mihaela

  • Excel Input to BODI

    Many times when we take excel as an input to BODI the value changes to decimal, however, if the convert the excel to text file, it works fine and I dont see the values as decimal. Is this a bug with BODI. Is there a convenient way to avoid this so that I could import excel directly?

    Saurabh,
    You could possibly have the step timing in the spreadsheet as well?
    This would be a classic case where you could use state machines (or producer / consumer - events if user input is critical), search for this architecture and examples on ni.com. Also for timing purposes, search for functional global timer or try modify this example https://decibel.ni.com/content/docs/DOC-6523 to add 'time has expired' (as in the elapsed time express vi) functionality similar to this code.
    You could have states such as:
    Initialise: Initialise your front panel controls/graphs etc. Read the spreadsheet file. Ensure that comms exist between the software and the controller etc.
    Set Temperature: Set the first value, start a timer (depending on what you set)
    Check Status: Check the controller failure status etc. Check if the user has pressed stop button. Check if the timer set in the previous state has expired?
    On error stop the timer and take the necessary steps to correct, report to the user
    If user pressed the stop button, close all references, reset hardware etc and quit application.
    If the timer has expired, obtain the next value and go to Set Temperature.
    Hope this helps.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • SQL Loader Excel input file in different order than table

    Hi,
    Have an instance where I have an Excel spreadsheet we've used for a while got a field added to it. This field has been added as the fourth field. On my Oracle table, I added a column and its listed last. So of course when I import, the fields are out of order. Does any one know what can be done to fix this? I'm a newby at this, and couldn't find the answer already listed, so any help is appreciated.
    Thanks,
    Vic

    Hello Victoria.
    Please provide actual or sample statements and the full text of errors along with error code to help the forum members help you better. In this case, the DDL for the table, a couple lines of the data and the control file being used would be extremely helpful. Please enclose in { code } with no spaces so that the spacing is retained in the postas in  this   exampleThanks,
    Luke

  • Show Parenth description on Excel input report

    Hi experts, i build a drag and drop input report to show 2 dimension (Entity and Account) x 1 dimension (time). Well i need to show before to the columns of identity (i show description of the basmembers) parenth assigned to each member of entity. its something like this:
                                                                                    TIME
    COLUMN 1                 COLUMN 2              COLUMN 3
    Parenth of Entity           ENTITY                 ACCOUNT
    I try to used the EVPRO (APPSET, MEMBER ENTITY, "PARENTH1") but show "NODATA" when exists data in the column PARENTH1 for this member.
    What fuction i have to used for show that?
    regards

    Hi,
    In your EVPRO function, the first parameter should be the application. It will show you the parent ID. If you want description of the parent, then you can type
    EVDES(EVPRO (APPLICATION, MEMBER ENTITY, "PARENTH1"))
    Hope this helps.

  • How do i change datatype to text from number from an excel input file

    I have a simple 2 column excel spreadsheet with 29k rows.
    The 1st column does contain numbers, but are really text and not to be treated as number, so i selected format cells/text and then saved the file as an excel .xls file.
    However whenever i use this data source in crystal, the 1st column/field is always datatype number, and i do not see the text type fields, even if i create a formula totext(datafield)
    .How, or what can i do to the original data source to see both columns as text in crystal ? i have tried saving as .csv.
    i have crystal 12.3.0.601 sp3

    Hi John,
    In Excel if first value i.e. first record value is a number (even though you format as text) it will consider as number.  So, try to make your first record in excel as text field.
    Example :
    123-- takes as number
    '123-- try this --start with a single quote and followed by number.
    or
    A123--This will make this filed as text.
    Thanks,
    Sastry

  • Search whole table (imported from an excel file) for those matching substring (this is an input from user) in project siena

    Im trying to search my entire table (data is imported using an excel file - containing 2 cols, description and image url) for those that match the substring entered by the user into an inputText within project siena. I have 2 screens within the project,
    the first screen shows all the data in a gallery, the second screen will allow the user to search for those that match the word he/she has enter. The entered word is only a sub string, and I want to search all rows which match that sub string.. Help would
    be appreciated as im a newbie to making windows apps!!

    Lest say you have 'Gallery1' in screen1 and 'Gallery2' in screen2. your Excel input table is called 'table1' and your input text box is called 'inputText1'.
    If you have bound 'table1' to your 'Gallery1', then you can accomplish what you are trying to do by using this rule on Items property of Gallery2: "Filter(Gallery1!AllItems, InputText1!Text in Description)"
    The above formula will filter out rows that have description containing the input text.

  • Launch specific BPC Excel Report/Input Schedule or BPF from Infoview

    Hi all,
    We would like to launch either a specific BPC for Excel report and/or input schedule, or link to a specific BPF from BOBJ Infoview (probably a Webi report).
    Therefore is it possible to provide a url to Webi to do this?
    This is BPC NW 7.5
    Many thanks,
    Andy

    Hi you all,
    we are dealing with the same problem in our project. Our customer is implementing BPC and wants the Excel input schedules to be launched from the same place where their current BI (BO) reports are stored. That's InfoView, or actually soon BI Launchpad 4.0.
    Is it anyhow possible to launch a normal BPC Excel input schedule directly from InfoView/BI Launchpad? I tested a bit with OsCLD function with a published Input schedule, and using the link OsCLD returns as Launchpad hyperlink, it's possible to open the .xls file in Launchpad browser window. Of course, none of the BPC's own structures or functions are there so it's just a plain excel sheet, not an really input schedule... so I guess BPC for Excel must be running when opening them and that pretty much is the same as using them directly from the Excel UI. But it's not the solution the customer wants to use.
    Their reason for using Launchpad is that they control user access to their current reporting with the InfoView folder structure and want to use the existing authorization this way for BPC planning too.
    Any suggestions?
    BR,
    Andy

  • Upload data from Excel to internal table without using Screen

    Hi,
    My reqirment is to read the excel input data and then upload it to internal table for further proceeing but without using selection input screen. I mean can I mention the fixed file name and the path in the function module iself for the input file.

    1.First create one internal table as u have created ur EXCEL file.
    e.g: if ur EXCEL file contains 3 fields col1 col2 and col3.
           data: begin of wa,
                     col1(10),
                     col2(10),
                     col3(10),
                   end of wa,
                   itab like standard table of wa.
    data: filename type string 'C:\FOLDER\DATA.XLS'
    If u dont want to use the screen, then pass the file name directly to the GUI_UPLOAD FM.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = filename
       FILETYPE                      = '.XLS'
      tables
        data_tab                      = itab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    This will serve ur puspose.
    loop at itab into wa.
    write: / wa-col1,wa-col2,wa-col3.
    endloop.
    Thanks & Regards
    Santhosh

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • How to create Links in a cell  to other Excel docs Cell  in Planning layout

    Hi All,
    I have a requirement to replace an existing forecasting process using normal Excel with BPS with Excel in place. One difficulty I came across is that the existing Excel input template has cells with links to many other excel files so users does not to open all other Excel documents and copy and paste the figures in.
    I am stuck on replicate this function in BPS as I cannot create links to to other  Excel directly in a cell in BPS Excel layout. My initial idea is to create a Macro to copy the data across but in deeper thought this might not be the best solution as the number of excel link can be a lot and the name and location of these files might change quite frequently and I cannot hard code it in the macro..
    Any ideas?
    Thanks.

    Hi Marc,
    The reason to use BPS is once the data is in the layout, we need to run the data in a  true forecast / simulation model (i.e. compare actuals, copy data between differnt planning versions, Foreign Exchange rate planning , allocation, revaluation, etc...) on a different hierarchy level.
    The problem is the starting point data is scattered in lots of other Excel file from local drives from different users. I guess this is the same reason why the csv file upload technique exist, (i.e. to load data to the layout )but in my case the data location needed to be very dynamic and comes from large / different source of data.
    I have now developed a solution to reference data from cells in different Excel sheet to the layout. Once set up, it should be able to save users significant amount of time to bring the base data into the layout, especially if their data is source from many ither Excel files.
    Regards,
    Danny

  • Ole2 object can not kill excel.exe process

    Hi every body
    I have a code that I have to generate lots of excel file from ole2 object. I have a loop and I generate excel file in it. my problem is that after each step that one excel file created and quit from that, excel.exe process will remain in memory(you can see it in task manager) and all of excel.exe process will kill after end of the program. I want that I have one excel.exe process in my memory for each step of my loop. this is my code :
    REPORT  Ztest.
    INCLUDE ole2incl .
    DATA: gs_excel TYPE ole2_object ,
    gs_wbooklist TYPE ole2_object ,
    gs_application TYPE ole2_object ,
    gs_wbook TYPE ole2_object ,
    gs_activesheet TYPE ole2_object ,
    shapes TYPE ole2_object,
    gs_sheets TYPE ole2_object .
    DATA : file_in TYPE string,
            count TYPE n LENGTH 2.
    DO 20 TIMES.
    CLEAR : file_in.
             count = count + 1.
             CONCATENATE 'D:\PP\' count  '.xls' INTO file_in.
      CREATE OBJECT gs_excel 'EXCEL.APPLICATION'.
             SET PROPERTY OF gs_excel 'Visible' = 0 .
             GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooklist .
             GET PROPERTY OF gs_wbooklist 'Application' = gs_application .
             SET PROPERTY OF gs_application 'SheetsInNewWorkbook' = 1 .
             CALL METHOD OF gs_wbooklist 'Add' = gs_wbook .
             GET PROPERTY OF gs_application 'ActiveSheet' = gs_activesheet .
             SET PROPERTY OF gs_activesheet 'Name' = 'Sheet1' .
      CALL METHOD OF gs_activesheet 'SaveAs'
             EXPORTING #1 = file_in #2 = 1.    
             CALL METHOD OF gs_wbooklist 'Close'.
             CALL METHOD OF gs_application 'Close'.
             CALL METHOD OF gs_activesheet 'Close'.
             CALL METHOD OF gs_excel 'Quit'.
             CALL METHOD OF gs_application 'Quit'.
             FREE OBJECT :gs_application , gs_wbooklist ,gs_excel, gs_wbooklist ,
                     gs_activesheet , gs_wbook.
    ENDDO.
    thanks alot.

    Why are you programmatically opening an Excel sheet in C# instead of using the DataFlow task with an Excel input?
    Since your task is programmatically starting Excel via "new Microsoft.Office.Interop.Excel.Application();", it is your responsibility to stop it.
    Please see "Quit":
    http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel._application.quit(v=office.15).aspx

  • How Can I Kill Excel.exe Process After finish my Execution of SSIS Package in Sqlserver2008r2

    Hi !,
          am new for c# and SSIS Package Creation , I am Trying to Read Excel file, and load the value into Sqlserver using SSIS package . My Problem is , After Execution of SSIS package Still Running EXCEL.exe Process in my server. i need to
    kill that process . I post my Code Exactly where am release my excel file object , please guide me where am going to wrong?
    Server Configuration
    OS:windows7
    SqlServer :2008r2
    Framework:3.5
    please give me some suggestion to correct my error .
    Here is My Code:
                Microsoft.Office.Interop.Excel.Application xlApp;
                Microsoft.Office.Interop.Excel.Workbook xlWorkBook;
                Microsoft.Office.Interop.Excel.Worksheet xlWorkSheet;
                var missing = System.Reflection.Missing.Value;
                xlApp = new Microsoft.Office.Interop.Excel.Application();
                xlWorkBook = xlApp.Workbooks.Open(filename, false, true, missing, missing, missing, true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, '\t', false, false, 0, false, true, 0);
                xlWorkSheet = (Microsoft.Office.Interop.Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);
                Microsoft.Office.Interop.Excel.Range xlRange = xlWorkSheet.UsedRange;
                Array myValues = (Array)xlRange.Cells.Value2;
    int vertical = myValues.GetLength(0);
                int horizontal = myValues.GetLength(1);
                System.Data.DataTable dt = new System.Data.DataTable();
                bool isNameRead = false;
                // get header information
                for (int i = 1; i <= horizontal; i++)
                    string cellValue1 = "";
                    object cellObj = myValues.GetValue(1, i);
                    if (cellObj != null)
                        cellValue1 = myValues.GetValue(1, i).ToString();
                        if (cellValue1 == "Name")
                            if (!isNameRead)
                                dt.Columns.Add(new DataColumn(cellValue1));
                                isNameRead = true;
                            else
                                dt.Columns.Add(new DataColumn(cellValue1 + 1));
                                isNameRead = false;
                        else
                            dt.Columns.Add(new DataColumn(cellValue1));
                // Get the row information
                for (int a = 2; a <= vertical; a++)
                    //string cellrowvalue = "";
                    string isemt = "";
                    object[] poop = new object[horizontal];
                    for (int b = 1; b <= horizontal; b++)
                        isemt =(string) myValues.GetValue(a, b);
                        if (isemt != null)
                            poop[b - 1] = myValues.GetValue(a, b);
                    DataRow row = dt.NewRow();
                    row.ItemArray = poop;
                    dt.Rows.Add(row);
    xlWorkBook.Close(true, missing, missing);
                xlApp.Quit();
                releaseObject(xlWorkSheet);
                releaseObject(xlWorkBook);
                releaseObject(xlApp);
                return dt;
    releaseObject
    private void releaseObject(object obj)
                try
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
                    obj = null;
                catch (Exception ex)
                    obj = null;
                    MessageBox.Show("Unable to release the Object " + ex.ToString());
                finally
                    GC.Collect();
                    GC.WaitForPendingFinalizers();
                    GC.Collect();
                    GC.WaitForPendingFinalizers();
    Thanks
    Parthasarathi Purushothaman

    Why are you programmatically opening an Excel sheet in C# instead of using the DataFlow task with an Excel input?
    Since your task is programmatically starting Excel via "new Microsoft.Office.Interop.Excel.Application();", it is your responsibility to stop it.
    Please see "Quit":
    http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel._application.quit(v=office.15).aspx

Maybe you are looking for