How to call exe programs

hi all,
just wanted to know how to call exe (like system calculater etc)from my form.i am using forms6i.
thanks
shakeel

You can look up HOST in the online help in the builder. For CLIENT_HOST, look at WebUtil, which you can find by going to the Forms page on OTN: http://www.oracle.com/technology/products/forms/index.html
Regards,
Robin Zimmermann.

Similar Messages

  • How to call one program from another program

    Hai,
      How to call one program through another program.
    Example.
       I have two programs 1.ZPROG1 2. ZPROG2.
    When i execute ZPROG1 at that time it should call ZPROG2.

    Hi ,
    u can use submit statement to call a program .
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    regards,
    Santosh thorat

  • How to call  java program from ABAP

    Hi Experts,
         My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
      Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
    DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
    parameter TYPE string VALUE 'D:java MyFirstProgram'.
    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
    application = command
    parameter = parameter
    OPERATION = 'OPEN'
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    bad_parameter = 3
    file_not_found = 4
    path_not_found = 5
    file_extension_unknown = 6
    error_execute_failed = 7
    OTHERS = 8.
    Thanks.

    This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
    Implement an RFC server in 7.0:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Implement an RFC server in 7.1 or higher:
    http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm

  • How to call driver program internal table in a form

    how to call driver program internal table in a form? Given below is my code
    TABLES: VBRK,VBAK,ADRC,KNA1,VBRP,VBAP,J_1IMOCOMP.
    DATA: BEGIN OF IT_CUST_ADD OCCURS 0,
    STREET LIKE ADRC-STREET,
    NAME LIKE ADRC-NAME1,
    POST_CODE LIKE ADRC-PSTCD1,
    CITY LIKE ADRC-CITY1,
    CUST_TIN LIKE KNA1-STCD1,
    END OF IT_CUST_ADD.
    DATA: BEGIN OF IT_IN_DA OCCURS 0,
    VBELN LIKE VBRK-VBELN,
    FKDAT LIKE VBRK-FKDAT,
    END OF IT_IN_DA.
    now suppose these are my internal table. what should i write in FORM INTERFACE (associated type)

    Hi Sashi, this will solve ur problem.
    Check the below link.
    REG:PEFORM IN SCRIPT
    kindly reward if found helpful.
    cheers,
    Hema.

  • How to call java program by HTML page

    Hi guys,
    I'm new java programer and want to build an HTML page to access to ORACLE database on NT server by JDBC, Can anyone give me a sample?
    I already know how to access database by JDBC, but I don't know how to call java program by HTML page.
    If you have small sample,pls send to me. [email protected], thanks in advance
    Jian

    This code goes with the tutorial from this web page
    http://java.sun.com/docs/books/tutorial/jdbc/basics/applet.html
    good luck.
    * This is a demonstration JDBC applet.
    * It displays some simple standard output from the Coffee database.
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.util.Vector;
    import java.sql.*;
    public class OutputApplet extends Applet implements Runnable {
    private Thread worker;
    private Vector queryResults;
    private String message = "Initializing";
    public synchronized void start() {
         // Every time "start" is called we create a worker thread to
         // re-evaluate the database query.
         if (worker == null) {     
         message = "Connecting to database";
    worker = new Thread(this);
         worker.start();
    * The "run" method is called from the worker thread. Notice that
    * because this method is doing potentially slow databases accesses
    * we avoid making it a synchronized method.
    public void run() {
         String url = "jdbc:mySubprotocol:myDataSource";
         String query = "select COF_NAME, PRICE from COFFEES";
         try {
         Class.forName("myDriver.ClassName");
         } catch(Exception ex) {
         setError("Can't find Database driver class: " + ex);
         return;
         try {
         Vector results = new Vector();
         Connection con = DriverManager.getConnection(url,
                                  "myLogin", "myPassword");
         Statement stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery(query);
         while (rs.next()) {
              String s = rs.getString("COF_NAME");
              float f = rs.getFloat("PRICE");
              String text = s + " " + f;
              results.addElement(text);
         stmt.close();
         con.close();
         setResults(results);
         } catch(SQLException ex) {
         setError("SQLException: " + ex);
    * The "paint" method is called by AWT when it wants us to
    * display our current state on the screen.
    public synchronized void paint(Graphics g) {
         // If there are no results available, display the current message.
         if (queryResults == null) {
         g.drawString(message, 5, 50);
         return;
         // Display the results.
         g.drawString("Prices of coffee per pound: ", 5, 10);
         int y = 30;
         java.util.Enumeration enum = queryResults.elements();
         while (enum.hasMoreElements()) {
         String text = (String)enum.nextElement();
         g.drawString(text, 5, y);
         y = y + 15;
    * This private method is used to record an error message for
    * later display.
    private synchronized void setError(String mess) {
         queryResults = null;     
         message = mess;     
         worker = null;
         // And ask AWT to repaint this applet.
         repaint();
    * This private method is used to record the results of a query, for
    * later display.
    private synchronized void setResults(Vector results) {
         queryResults = results;
         worker = null;
         // And ask AWT to repaint this applet.
         repaint();

  • How to call external programs?

    I have seen people call external programs through LabVIEW and was curious what functions you could use to do this.
    I'm pretty sure its using one of the ActiveX functions  or maybe 'open application reference .vi'.
    Can anyone tell me (or show me) a quick example of how to open an external program (ie excel,  notepad, etc) programatically
    Cory K
    Solved!
    Go to Solution.

    Cory K wrote:
    Where did they get this:
    Kudos for going from "I don't know to start" to "Let's stump Ben" with only the second post to this thread.
    I either copy it from an example or try to browse to it.
    NOTE:
    If you plan to work with MS ActiveX objects, I found it very helpful to do a custom install of Office and make sure the help files for VBA are loaded. These will at the least give you an idea of what the methods are and what parameters go with each.
    Ben
    Message Edited by Ben on 12-31-2008 11:09 AM
    Message Edited by Ben on 12-31-2008 11:13 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Browse.PNG ‏24 KB

  • How to call 'C' programs from stored procedures?

    Hi
    Did anybody tried to call 'C' programs
    from oracle stored procedures?
    If anybody knows, can you please send
    how to configure the listener.ora and
    tnsnames.ora. If its possible post all the
    information from the begining with examples.
    thanks....

    Oracle JDBC did not support return a result set, if you are using Oracle 9i, you can use pipeline function, then using the TABLE() function the get the row.
    Good Luck.
    Welcome to http://www.anysql.net/en/

  • How to call other program in java

    how do i write code to call a program, software in window envirenment?
    such as opening Microsoft Excel files using Microsoft excel?
    plz help

    public static void main(String[] args)
             try
                     Runtime.getRuntime().exec("Book1.xls");
             catch (IOException ed)
    }i tried, but it not working , plz help

  • How do call c++program in oracle

    how do I call c++ program in oracle?
    how do I store results which c++ program produce to oracle database?(eg:results could be some pictures,variable)

    If you are using Oracle9i release, there is the new OCCI (Oracle C++ Call Interface). You can use the 'Oracle Call Interface' forum to post your additional questions.
    Regards,
    Geoff
    how do I call c++ program in oracle?
    how do I store results which c++ program produce to oracle database?(eg:results could be some pictures,variable)

  • How to call report program from WebDynpro Application

    HI
    How call  report program in WDA.
    1. To extract the xml files and store the data in to data base table, program name is "zprogram_application".
          When run the se38 it's working fine and save the data in database.
    2. When i click "SUBMIT" button the web dynpro application automatically run the Report program "zprogram_application" and save the data into data base table. This is my requirement please give me suggestions.
    3. I want run the report program in web dynpro application.
    Thank you
    V.VENKATESH

    From within the WDA Event handler you can call the program using SUBMIT ... AND RETURN.  You might have to be careful with what the program does.  It must run as though it is in the background.  There is no connection to the client machine - so no SAPGUI calls.  You might also consider the addition VIA JOB job NUMBER n...  to the SUBMIT command.  That will allow you to start the submitted program as a background job.  Your WDA can then continue processing as the submitted job runs in parallel.

  • Help .. I need to call Exe program from java & run it quickly

    Hi...
    I have an Exe program ..
    when it run in windows ( called by windows ) it takes 300 M.S
    but when we called it in java It takes 3000 M.S .. Why..
    where is the problem ..
    ... Help please
    Thank u..

    What are you doing with the input and output streams of the spawned process?

  • How to call a program from FM which acts as popup?

    Hi,
    I need to call a program from FM and once the program is called it needs to be opened as a popup. Maybe we need to assign size when we call from FM or do we need to give size in the program it self?
    I know i can either use the Submit command or Call Transaction command. But that it self will open a full screen which i dont want. It needs to be of a smaller size.
    Any help will be appreciated.
    Thanks

    Hi,
    Try this,
    REPORT ZEX_POPUPSCREEN .
    *&  POPUP SCREEN
    * Table Declaration
    TABLES VBAK.
    * Start of Selection
    START-OF-SELECTION.
      SELECT * FROM VBAK.
        WRITE / VBAK-VBELN HOTSPOT ON.
      ENDSELECT.
    * Display the screen
    AT LINE-SELECTION.
      WINDOW STARTING AT 10 10
             ENDING   AT 40 25.
      WRITE:/ 'VBAK-VBELN, VBAK-KUNNR'.
    Regards,
    Nikhil.

  • Urgent: How to use ORA_FFI to call exe program from Report 6i

    We follow report help to use ORA_FFI but it does not work. Kindly help to advise sample code for using it.
    Steven

    u can solve this problem with lexical parameter.
    create a user parameter and use it as lexcical parameter.
    create a ur on form with form builder instead of report default parameter form and run reprport with parameters.
    here is an exmple that i used.
    if :Month is not null and :year is not null and :sjnl_no is not null then
    declare
    plist paramlist;
    begin
    plist := get_parameter_list ('list_1');
    if not id_null(plist) then
    destroy_parameter_list (plist);
    end if;
    plist := create_parameter_list ('list_1');
    add_parameter (plist, 'P_where', text_parameter,'and (doc_no='||:SJNL_NO||')and to_char(doc_date,''MON-YYYY'')='''||:MONTH||'-'||:Year||'''');
    add_parameter (plist, 'DESTYPE', text_parameter,:des_type);
         run_product(REPORTS,'sale_journal', SYNCHRONOUS, RUNTIME, FILESYSTEM, plist);
    exit_form;
    end;
    else
              Message ('Select Moth, Year and Document No. first.');
    end if;
    Qadeer

  • How to call exe file as a link in oracle portal

    I have an executable file (.exe) that I would like to call as a link from portal. I've uploaded the file and can click it and the executable runs. However, I'd now like to be able to pass a URL as a parameter to the executable file and still have the executable run. Any ideas on how I can accomplish this?

    No.
    However I might try writing a PHP page and use shell_exec inside to pull it off.
    http://www.chipmunkninja.com/Program-Execution-in-PHP%3A-exec-m@
    You could link or redirect from the portal to the php page and even have the php send you back to the portal.

  • How to call C++ Program in Abap

    Hi Friends,
      How can i call a C/C++ Program or a Function in an Abap Program.or an Abap Module or Bapi in a C/C++ Program.
    Regards,
    Gowtham Kuchipudi.

    Let's talk about ABAP -> C/C++
    You already have C functions being called in ABAP ! It is the C functions from the SAP Kernel.
    There are several approaches to your problem :
    - one could be to simply execute the program from the Shell (Unix or the Windows command)
    - antoher would be add the function to the SAP Kernel (which is a bit of a job since you have to recompile the Kernel)
    Regarding C/C++ -> ABAP, I am sure there are a lot of examples around like for the other languages (VB, Java, ...).
    Hope it helps.
    Cheers,
    Message was edited by: Guillaume Garcia

Maybe you are looking for

  • Can I use a USB wireless adapter with my iMac G4 Flat Panel (it has no Airport card).

    I have just salvaged an iMac G4 15-inch Flat Panel from the skip and now have it running Mac OS X Tiger 10,4. It has a 700mhz cpu, 80Gb hard drive and 512mb of Ram. No airport card is fitted so I was wondering if a USB wireless adapter could be used

  • Cannot drop a tablespace

    Hi, A datafile of my database has been deleted from the OS and cannot be recovered. The related tablespace exits in the database. I want to drop this tablespace, but oracle does not allow me to do so. I dont have the backup of the datafile. Can somet

  • IWeb 08 How to display Wallpaper available for Download

    Hello there, I have a photography website www.jussano.com and I would like to make some Wallpapers available on my website, but instead of just displaying the picture, I would like to create a button that would start the download automatically. Does

  • It’s compatible OWB 9.0.4.10 with W2003 and Oracle 10.2.0.1?

    I have to migrate a DWH on Server 1 (OWB 9.0.4.10, Oracle Workflow 2.6.2, Windows 2000, Oracle 9.2.0.6) to Server 2 1 (OWB 9.0.4.10, Oracle Workflow 2.6.3, Windows 2003, Oracle 10.2.0.1) It’s posible to use OWB 9.0.4.10 with W2003 and Oracle 10.2.0.1

  • Error synchronizing

    I GET AN ERROR CODE: 0X80040FB3 WHEN SYNCHRONIZING THE CONTACTS. WHAT DOES IT MEAN AND WHAT SHOULD I DO? TONY