How to execute programs on different hosts/ severs?

HI all,
In my SAP 4.6C system, two instances are running.
I would like to execute programA on instance1 and programB on instance2.
How could this be achieved?
thanks in advance,
holger

@Srinivas:
You can execute these two programs online. See how:
- Write a RFC FM that executes an given report
- Call this FM by coding
CALL FUNCTION 'FUNCTION1'
  DESTINATION dest
- this FM again calls another RFC FM:
CALL FUNCTION 'FUNCTION2'
  STARTING NEW TASK task
taking this way, both jobs will run 'online' (in dialog process).

Similar Messages

  • Does any one know how to execute program in Jump developer desktop

    hi,
    Does any one know how to execute program in Jump developer desktop,
    actually i copied the hello world project from my eclipse workspace to jump
    developers workspace and once i run the program it asks for the main class
    and then i gave main class as my HelloWorld Class,it generates error as
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    Can any one help me to come out of this problem.....
    Thanks
    MRaj

    i solved it,
    thanks
    MRaj

  • How to execute programs by java (shell excecute)

    i need to know how to execute a prog or a system call by java and pass tp it an argument

    Hi, look at the java.lang.Runtime class.
    eg Runtime.getRuntime().exec(<command>, <arguments>);
    ;) Patrick

  • Execute program from Explicit host  (SM59)

    Hello!
    I need to send faxes from SAP (ECC 6.0 version), so I have configured a fax server (with ActiveFax server) in a PC inside of my net.
    I want to realise a connection between SAP and the fax server throught RFC (Operative system Windows NT).
    For text, In transaction sm59, I created a new RFC conection, type T and activation form explicit host.
    I want to execute, for example, calc.exe program on destination machine,  I put corresponding IP direction in destiny machine.
    The problem is that when I trying to 'conection test' it giving back an error:
               - Error when opening an RFC connection
               - Time out during allocate
               - Location: SAP gateway on host....
               - Detail: no connect of TP calc.exe from host......
               - component: Sap gateway
               - return code: 242
    Anybody knows how could I make the connection?
    I hope you can help me as soon as possible.
    Thanks!

    Thanks for answered Stefan Gerschler.
    Sorry, maybe I don't explain very good...
    RFCEXEC is use for upload/download files from/to your local PC.
    I'm trying to send a fax throught SO01 transaction, so I wan to create a RFC connection to a local machine where I've installed a fax server (ActiveFax). Then, in SCOT transaction I can set Fax node with the RFC connection created and send faxes from SAPoffice (SO01).
    Before configure the SCOT transaction I have to configure a RFC connection (SM59) between SAP and the fax sever installed. I have some problems in this step , the comunication is wrong.
    I don't use ABAP code.
    I hope you can understand and help me.
    Thanks!
    Regards from Spain,
    Carmelo Pérez.

  • How to execute program in remote server?

    In my code I am executing a program that resides on another
    server. But when I execute the program the server where the code is
    resided runs the program and sucks up CPU.
    How can I make it execute the program in the remote server? I
    don't want it to just fetch the exe and run it locally. I want it
    to execute the program IN the remote server, using ITS resources.
    The remote server is a network share, \\server2 for example.
    Any thoughts?

    You should be able to use <cfexecute...> to do this,
    you will have to
    make sure all the connections and permissions are set up.
    Just remember that by default, at least on windows systems,
    CF is
    configured to only have access and permissions to the local
    system, you
    will need to modify this if it has not been done.

  • How to execute program from any dir?

    For example javadoc.exe is in D:\jdk1.3\bin.
    And I need to execute it from current dir.

    If you are running a Javadoc from DOS or the WinNT command shell, the proper command is
    D:\JDK1.3\BIN\JAVADOC.EXE <params>
    If you want to avoid typing this each time, type the following at the command prompt:
    PATH=%PATH%;D:\JDK1.3\BIN
    The command JAVADOC.EXE will then function without specifying the directory. The proper action is normally to add the JDK to your PATH environment variable when installing it.
    In Windows 2000, you can modify your PATH variable by right-clicking My Computer and selecting the Advanced tab followed by the Environment Variables button. It is usually best to edit the PATH in the System Variables section to ensure that all users on your system receive the updated PATH variable.
    In Windows 95/98, I -think- that the appropriate action is to open your AUTOEXEC.BAT file and locate the last line that says PATH=<stuff>. Add the following to that:
    Old: PATH=C:\ADIR;C:\ANOTHER
    New: PATH=C:\ADIR;C:\ANOTHER;C:\JDK1.3\BIN
    I think this is appropriate for Win 95/98, but I'm not sure. Correct me if I'm wrong.
    Good luck!

  • How to execute modulepool program

    hi all,
    how to execute programming type M
    plz send detail informaton regarding that one

    Hi
    You cannot execute a Module pool program as you execute other ABAP programs.
    For executing a Module pool program, <b>create a z-transaction code</b> for that M-program
    & then execute the z-transaction code.
    Goto Transaction <b>SE93</b> to create a z-transaction code for that m-program.
    Then execute the Z-Transaction code.
    Kindly reward points for helpful answers!
    Best regards,
    Thangesh

  • How to execute an SQL query present in a string inside an ABAP program?

    hello,
    How to execute an SQL query present in a string inside an ABAP program

    Raut,
    You can execute Native SQl statements.
    Ex: To use a Native SQL statement, you must precede it with the EXEC SQL statement, and follow it with the ENDEXEC statement as follows:
    EXEC SQL [PERFORMING <form>].
      <Native SQL statement>
    ENDEXEC.
    There is no period after Native SQL statements. Furthermore, using inverted commas (") or an asterisk (*) at the beginning of a line in a native SQL statement does not introduce a comment as it would in normal ABAP syntax. You need to know whether table and field names are case-sensitive in your chosen database.
    In Native SQL statements, the data is transported between the database table and the ABAP program using host variables. These are declared in the ABAP program, and preceded in the Native SQL statement by a colon (:). You can use elementary structures as host variables. Exceptionally, structures in an INTO clause are treated as though all of their fields were listed individually.
    If the selection in a Native SQL SELECT statement is a table, you can pass it to ABAP line by line using the PERFORMING addition. The program calls a subroutine <form> for each line read. You can process the data further within the subroutine.
    As in Open SQL, after the ENDEXEC statement, SY-DBCNT contains the number of lines processed. In nearly all cases, SY-SUBRC contains the value 0 after the ENDEXEC statement. Cursor operations form an exception: After FETCH, SY-SUBRC is 4 if no more records could be read. This also applies when you read a result set using EXEC SQL PERFORMING.
    EXEC SQL PERFORMING loop_output.
      SELECT connid, cityfrom, cityto
      INTO   :wa
      FROM   spfli
      WHERE  carrid = :c1
    ENDEXEC.
    Pls. Mark If useful

  • How to Execute different classes using editplus

    Consider a program like this
    class abc
    public static void main(String args[])
    System.out.println("abc");
    class bbc
    public static void main(String args[])
    System.out.println("bbc");
    In this program there are two classes when i compile this code in editplus i wont get any error but if i want to execute only ABC class how to do that in editplus because in editplus we usually set the file name for JAVA execution
    But here it is different SO,how to execute different classes in a program which is saved with arbitary name in EDIT PLUS..

    Try reading an editplus FAQ or posting to an editplus forum or even searching through help in editplus.

  • How to restrict rights of executed program

    Greetings,
    I need to execute JAVA programs (student homework), where there is not guaranteed that one of the submission is some kind of trojan horse, which could potentially e.g. delete some important files on a machine, which executes the code.
    Is there any simple way how to restrict rights of executed program?
    Or how does e.g. tomcat hosting provider guarantee the security?
    Thanks in advance.
    Edited by: radone on Jun 29, 2008 10:59 PM

    Nice example describing using a policy management is here:
    [Managing Policy Files|http://exampledepot.com/egs/java.security/UsePolicy.html]
    Edited by: radone on Jun 30, 2008 1:50 AM

  • General question: How to execute a batch input using different user name?

    Hi everyone,
    I would be very grateful if someone could tell me how to execute a batch input from source code using a differente username so the batch input is executed with different permissions.
    For example, I log on with:
    Username: A
    , but I'd like to execute a batch input using the rights and permissions of user B.
    Thanks in advance and best regards.
    Ben.

    If you are calling the BDC in a program, create a job to run the program and specify the user you want each program to run under.

  • How to execute SQL through OEM GC, using different OS user?

    Hi all,
    I have a relatively simple issue, and I'm hoping there's a simple fix. This is all being done on ONE server - so on this server, I have OEM 11.1.0.1.0, the agent, and several 11.2 databases running. The OEM install is owned by the "oem" OS user, while the databases I'm connecting to are owned by a different OS user "oracle". All normal OEM GC operations are working great, just this one issue I am having.
    Through OEM, I am trying to go in and execute some simple SQL statements against a database. When I do this, I am selecting to "Override Preferred Credentials", and I'm putting in the host and database username/pwds. It all works fine, but only if I specify the OS user that owns the OEM install (oem). If I try to put in the OS user that owns the actual Oracle database install (oracle), then it is failing. It is not giving me any error messages, just a red X under "Execution Status", and when I click on it, it just says "(No results available)". Again, when I change the query so that the host credentials are the "oem" user, then it runs fine.
    I am not sure what I need to do, so that it can run the query, but use a different host login? Any thoughts/ideas?
    Thanks!!
    --Brad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    It may be that when Grid logs in using the preferred credentials you've specified that the environment is not being set properly. When you log in interactively as this other user (the owner of the Oracle RDBMS binaries) do you need to manually set environment variables such as ORACLE_HOME or PATH in order to run sqlplus ? Or are they set in the user's .profile? I am assuming that this is a Linux / UNIX system and not Windows.

  • My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    Use different email address (gmail?) just for FaceTime and Messages.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • How do I use a different browser then safari?  I have several sites safari won't connect to.

    How do I use a different browser then safari?  I have several sites safari won't connect to.

    I can connect to Bank of America's site just fine. Can you connect to the site or is it that you can't perform certain functions on the website? Do you know that there is a Bank of America App available?
    Bank of America for iPad for iPad on the iTunes App Store
    Bank of America Mobile Banking for iPad®
    If you download another web browser for the iPad, you use it just like you use Safari. Tap on the app icon to launch the browser and then use it like any other web browser.

  • How to execute external program in java?

    My question is how to execute an external program in java.
    I need to call a unix command in java.
    Thanks.

    it depends on what you are trying to do. Following are the two methods
    1. Runtime.exec() : this method allows you just to call an external program as a seperate process
    2. JNI (Native Interface) :- As of right now only C and C++ are supported by this method. This method allows you to directly call the C/C++ methods from JAVA

Maybe you are looking for