Excel to Forms Interface

I am trying to extract data from an Excel spreadsheet using the DDE.excel functionality, to manipulate through forms to be stored against the Oracle database.
Whereas this works very well in a client-server environment, I am experiencing issues with (static) path definition (of the excel.exe, and the xls) when trying to implement through a web browser. I am using forms 6i against an Oracle 8i database. Does anyone know a way around setting the path or using different functionality. Any advice would be appreciated.

Out of all the forums on the entire site, you chose to post this in the Member Feedback section?
Perhaps you didn't notice the BOLD note at the top stating technical questions wouldn't be answered?

Similar Messages

  • Upload data from excel to forms 9.0.4 using webutil 1.0.5

    Hi,
    can anybody provide me the code how to upload the data from excel to forms 9.0.4 using ole2 fuction. From forms to excel it is working fine.
    Regards

    Hello,
    Instead of selecting one key figure in data view, please select all key figures of the planning book and then try all the steps which you have carried out.
    please revert after you carry out this.
    Regards,
    Prafulla

  • How to upload data from excel to form using webutil

    Hi,
    In the sample provided by Oracle
    http://www.oracle.com/technology/products/forms/htdocs/webutil/howto_ole.html
    Note 247606.1 How to Copy Records From a Form Into Excel
    It shown the methods of how to copy data from form to excel but is there any sample to provide the step on how to read the cell from excel into Form in 10g.

    declare
    args client_ole2.list_type;
    application client_ole2.obj_type;
    vworkbooks client_ole2.obj_type;
    vdoc     client_ole2.obj_type;
    vworksheet     client_ole2.obj_type;
    vrange               client_ole2.obj_type;
    begin
    -- create app object
    application := client_ole2.create_obj('Excel.Application');
    client_OLE2.SET_PROPERTY(application, 'Visible','True');
    -- get workbooks object
    vworkbooks := client_ole2.get_obj_property(application, 'Workbooks');
    -- and open a file
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 'c:\tp_ae.xls');
    vdoc :=client_ole2.INVOKE_OBJ(vworkbooks,'Open',args);
    client_ole2.destroy_arglist(args);
    -- get a worksheet object
    -- for this to work you need to know the sheet name or its index
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 1); <-- name or index
    vworksheet := client_ole2.get_obj_property(vdoc,'Worksheets',args);          
    client_ole2.destroy_arglist(args);
    -- get a range object which in this case is just a cell
    -- for this to work you need to know the cell coordinates
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 'B6');          
    vrange := client_ole2.get_obj_property(vworksheet,'Range',args);
    client_ole2.destroy_arglist(args);
    -- and here you get the value
    message(client_ole2.get_char_property(vrange,'Value'));
    -- release objects          
    client_ole2.release_obj(vrange);
    client_ole2.release_obj(vworksheet);
    client_ole2.release_obj(vdoc);
    client_ole2.release_obj(vworkbooks);
    client_ole2.release_obj(application);
    end;

  • Creating a Purchase Order Smart Form (Form Interface)

    After reading up on all the posts about making a PO smart form I know this:
    - An SAP script "medruck" is the current output
    - A smartform exists for PO's named "/SMB40/MMPO_L" or "/SMB40/MMPO_A"
    - You need to install an update to get those smartforms if you are using ECC 6.0
    So my dilemma is that the SAP administrator is on vacation for a week, so I can't install the update to our system.  I'm trying to just create it from scratch using the medruck SAP script as a reference, but I am a little confused.
    Basically all I need to know is what form interface parameters do I pass in?  Meaning how do I find out what structures and tables are imported into the function module when print preview is called from t-code ME22N?  Can you please provide proper syntax for form interface solution or instructions on how to determine imported variables into the smartform?

    Hi
    If the smartform purchase order is not available in your system
    means you can download the form IDES and you can upload the form in ur ecc 6.0 system.we faced a similar kind of problem in our system and we did as i said.
    Once you uploaded the things you can easily view the form interface and rest of the things related to smartforms.
    Thanks and Regards
    Arun Joseph

  • Form interface import parameter cannot be used in smartform

    Hi,
    When I try to use the standard parameter HEADER in a routine in a smartform, I get the error: "HEADER" expected, not "...".
    I have put the HEADER definition in the Input parameters of the routine and I have tried other form interface import parameters and I do not get any error with those. So I cannot see why HEADER woudl be any differnt?
    Any suggestions? Thanks.

    Hi,
    Thanks for your reply.
    There's a smartform with this definition in the Import tab of the Form Interface:
    HEADER     TYPE     BAPIBUS2000110_HEADER_DIS
    I've created a Program Lines routine. In the Input Parameters under the General Attributes tab, I entered HEADER. This is so I can reference the table in the code. However if I do a syntax check, I get the error described "HEADER" expected, not "...".
    Hope this clarifies the problem.

  • PDF Form interfaces for invoice

    Hi experts,
    I`m implementing company forms (e.g. invoices) in PDF Forms. But I have found, that there are 2 form interfaces predefined for invoices
    IS_U_BILL_IF
    and
    IS_U_BILL_PDF2_IF
    Why there are 2 interfaces for invoice? I cannot find any references of use cases, when to use first or second one.
    Thank you
    Vlado

    As noted there has to be a special folder level script installed on each user's system. This script can be written to access individual properties of the identity object or only a specific property. One can also create a function to access the identity object or even create new properties.

  • SMARTFORMS - Change an import parameter in form interface

    Hello everyone,
    I don't know if it's possible, but I put some program lines in my smartform to clear some fields if the last page is not reached. The problem is that these fields are from a table that's stated as an import parameter in form interface, which means that data is taken from the program, right?
    Am I able to clear these fields anyway? If so, which way?
    In my code I'm comparing the systems fields sfsy-page and sfsy-formpages, if they're different I clear the fields, otherwise I don't, actually I did it because the conditions don't get the result as I wish. If I check "only after the end of main window" the whole table doesn't appear in my form and I don't want that.
    PS: I didn't set this condition on table, I set it in the text.
    Any ideas?
    Thanks in Advance.

    Hi,
    You can do one thing.....create an internal table in the smartform itself....transport those values in this table and display the fields using this table only.
    Now if the last page is reached u can use the main table (that is imported from the program). This way the original data is not cleared.
    I hope it helps.
    Regards,
    Shraddha

  • Error in the  import tab of form interface with parameter name

    Hi Experts,
                    in the import tab of form interface i have define the following..
              Parameter Name               type assignment                  Associated Type
             t_vbrk                                    type                                         vbrk
    and then in a loop i am using this as follows...
    t_vbrl into fs_vbrk
    after executing check i am getting the error 'T_VBRK" is neither specified under "TABLES" nor defined as an internal table.'
    plz help me out with this.....
    why this error is occuring?
    thnks n reagrds,
    Ashmita

    Hi,
    U cannot loop the import tab i think....Give tat one in tables statement and execute..
    t_vbrk type vbrk in Tables tab...
    I think it will solve ur issue..

  • Error in form interface

    Hi,
    I had an error in form interface.I declared as,
    IN_VOICE      TYPE            VBRK-VBELN  for parameter.
    error: "VBRK-VBELN" is not a pre-defined type or a type from a type group.

    Hi dilip,
    Declare in the Import tab in the global definitions:
      t_vbrk type y_ty_vbrk.
      t_vbrp type y_ty_vbrp.
    Create the table types for these two parameters (t_ vbrk and t_vbrp) in se11.
    In the driver program declare:
      fs_vbrk LIKE LINE OF t_vbrk,         
      fs_vbrp LIKE LINE OF t_vbrp.        
    Regards,
    Sravanthi

  • BarCode Scanning - PO Receipts in Forms Interface

    Hi Everyone,
    Need a clarification on whether the following scenario is available as standard functionality in a Forms Interface (NOT using MSCA Devices)
    The supplier has shipped the entire quantity of the item ordered in say, 10 Boxes.
    I shall be scanning the Item Number, Quantity, PO number from the boxes, one by one.
    In the PO Receipts form, while scanning the second box, I need the quantity to be added to the already scanned quantity available in the field.
    I am assuming this is a standard feature available when scanning with MSCA devices.Kindly correct me if i am mistaken.
    regards,
    Karthi Sankar!

    I think you have covered it all.
    Just add PO_VENDORS and PO_VENDOR_SITES views to get the supplier and site name/codes.
    Thanks,
    PS.

  • Difference between Form Interface and Global definitions in Smartforms.

    Hi guys!
    I'm learning about Smartforms.
    I would like to know which is the difference between Form Interface from the Global Settings and Global Definitions from Global settings as well, because in both of them I have to declare tables, structures, variables, etc. Could you please explain to me when should I use them?
    Thanks!
    Gaby

    Two ways to use Smart Form:
    1.     by using Application Program
    2.     By coding in Smart form itself.
    Now, if the 1st method is used then same interface can be used  for multiple requirements. For eg two different programs Z1 and Z2, may use same interface. Hence a lot of efforts are reduced.
    On the other side in 2nd method, multiple forms have to be created to fulfill different requirements.
    Now, Global Definiton is something that is irrespective of which Program is being used, the form nodes can use the Global definition in all cases.
    Also all tables etc must be declared in the Global setting.
    Regards,
    Sana

  • DDE - From EXCEL to FORMS

    Hi!, I have used (DDE PACKAGE) to get data from EXCEL SHEETS into ORACLE FORMS, and it worked properly , my question is if there is a way or idea (Other than using TIMERS) to have a link between the - Very frequently changed EXCEL cells - and ORACLE FORMS that would keep intouch with the most recent updated EXCEL cells.
    Please note that I could solve the problem using timers but that was against the overall performance.
    Thanks,
    Firas AlKhatib

    Hi Firas AlKhatib
    Pls Can U send me the form which transfers data from excel into forms?
    I'll be gratefull to u...
    Prashanth Deshmukh

  • How do you execute macros in excel using forms--urgent

    i want to execute a macro which is in excel from forms. i am using the dde built in. how ever when given the command
    dde.execute ( conv_id,'[module1.macro1()]', 1000 );
    i get an oracle error. and the macro does not get executed.
    how ever when the same was tried for word it worked.
    can any one help me in this regards
    thanks in advance
    sethuraman.r

    A db procedure as an autonomous transaction may be
    sufficient for your needs.No. An autonomous transaction will run in its own transaction, but never in an asynchronous way.
    Francois

  • Re: Adobe forms - interface type

    Hi...
        When Iam creating the interface ... it is asking  Description and
                                               interface type as         ABAPDictionary- Based interface
                                                                                XML Scheme- Based Interface
                                                                             Smartforms-Compatible interface...    Have to select one option.. In some Examples I didnt see this interface type Option... what is the use  of this interface type...
    Thanks & Regards,
    Abaper..

    hello again,
    i tried to list all the things u need to know to create your interface:
    1.      Open the required interface in the Repository Browser of the ABAP Workbench.
    2.      The Interface tab is displayed. Under Form Interface, double-click the Import node
    3.      You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
    You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
    4.      XML schema-based interface
    ○     The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
    ABAP-based or Smart-Forms-compatible interface
    ○     To insert a new line, choose Insert Line (This graphic is explained in the accompanying text). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
    5.      When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
    Note: You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
    6.      To display the exceptions used by the generated function module, double-click Exceptions.
    7.      Activate the interface.
    Note: At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
    However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
    Hope this helps
    Cheers

  • Import from excel to form

    Hi All,
    I'm importing data from excel to forms.
    I'm Importing the data from the first worksheet.
    For this I'm using the code
    OLE2_DEC.V_EXCEL_WORKSHEETS := CLIENT_OLE2.GET_OBJ_PROPERTY (OLE2_DEC.V_EXCEL_WORKBOOK, 'Worksheets');
    V_LIST := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG (V_LIST, *1*);
    Here the Number '1' in the above line specifies that the data from the first worksheet is to be imported(that is left most worksheet in the excel).
    Now I have more than one worksheet(in the same Excel sheet) from where the data is to be imported.
    Due to the above code Everytime I want to import data from work sheet other than the first, I'm making the worksheet to be imported to be the first sheet(left most).
    So, to avoid this Can I loop something So that I will get all the data from all the work sheets in the Excel avoiding Manuall adjustment of the worksheets.

    So, to avoid this Can I loop somethingDid you try it? Maybe something like
    OLE2_DEC.V_EXCEL_WORKSHEETS := CLIENT_OLE2.GET_OBJ_PROPERTY (OLE2_DEC.V_EXCEL_WORKBOOK, 'Worksheets');
    FOR i IN 1..MAXNUM LOOP
      V_LIST := CLIENT_OLE2.CREATE_ARGLIST;
      CLIENT_OLE2.ADD_ARG (V_LIST, i);
    END LOOP;

Maybe you are looking for