Copying file between non SAP and SAP server in background

Hi,
I have written a program to copy files from a non SAP server to our SAP server which works when running in the foreground.
When I try to run this program in the background, I get the following error ...
Control Framework: Fatal error - GUI cannot be reached
Can anyone tell me how to do this in the background.
Thanks.

Hello,
seems that you use some customer controls in your program. These controls are bound to a dynpro - and that doesn't work in background.
You could try to avoid this and just do the copy without using controls.
Regards Wolfgang

Similar Messages

  • Difference between exec. target and executing server in background jobs

    Dear experts,
    Please let me know
    Difference between exec. target and executing server in background jobs

    Dear Joe,
    Sorry for this
    I am closing this threaf now

  • Open Data Set Error while trying to read file from non SAP server

    Hi all,
    is it possible to read data from non-SAP application Sever?
    I'm using OPEN DATASET p_filin FOR INPUT IN LEGACY TEXT MODE CODE PAGE '1504',
    Where p_filin is other Windows server.Our applicition server is under Unix.Is it a problem?
    I make test to read file from SAP application server and it was ok.So how to call other server?
    Thanks!

    Hi,
    Yes it is possible to read data from a non SAP server through the statement OPEN DATASET.
    The important thing to check is that the SAP Server got enough access to the non SAP server so it can perform a reading/writing process depending on your needs.
    You should contact your network administrator and BASIS to help you check the permissions. This can be pretty tricky, specially if the servers are in different domains.
    Regards,
    Gilberto Li

  • Download file into non-sap server

    Hi all,
    My requirement is to  my program should be able to download the file into Mapped drive , which is Non-sap server .
    is it posible ?
    Thanks,
    Rani

    Have you tried it?  I assume that your talking about something other than desktop target?  If so, construct yourself a small test program, containing open dataset for output in text mode and check the return code.

  • Communication between non SAP and SAP

    HI,
    do you have some information about communication between non SAP and ERP (WebAs) SAP System ?
    I would like to receive an xml file or xml IDoc from a Java Plattform (non SAP) into our SAP ERP System as an own defined IDoc.
    remember: we don´t have a converter like XI.
    What about using a proxy (do you have some information/blog how to use that) ?
    What about using a webservice (do you have some information/blog how to use that) ?
    What about storing the xml on the application server (do you have some information/blog how to use that) ?
    How to transform xml to IDoc ?
    other methods ?
    Thanks for your help.
    Gordon

    Here is a link to connecting MS SQL Server with SAP using Open Hub connection.
    http://msdn.microsoft.com/en-us/library/dd299430(SQL.100).aspx
    This might give you some insight into connecting with Non SAP Systems.
    I have used the information from this link to export data from SAP to MS SQL Server.
    Good Luck.
    MP.

  • Problem transferring file to non-sap system from R/3

    Hi,
    I used one Z function module to transfer file to non-SAP system as follows.
    CALL FUNCTION 'Z_INTERFACE_OUT_1'
           EXPORTING
                INTID           = V_INTID
                EXTRACT_DATASET = P_V_FILENAME.
      IF SY-SUBRC = 0.
        WRITE: / P_V_FILENAME, 'file has transferred successfully'.
      ELSE.
        WRITE: / P_V_FILENAME, 'file transfer has failed.'.
      ENDIF.
    I am getting message 'file has transferred successfully'. But it is not found on destination system.Can anyone please tell me the reason.
    Thanks,
    Venkatesh.

    Hi,
    You can use transaction code SNOTE to see whether a particuler OSS note is implemented or not.
    First navigate to GOTO> Download SAP Note and import the OSS note to your system.
    Then navigate to GOTO > SAP Note Browser and check the status of the OSS note, it will show whether it is implemented in your system or not.
    Also in the OSS note, there is release specific information. You can check whether that OSS note is applicable to your release or not.
    Regards,
    Gaurav

  • Copying files between Iphone and PC over 3G-connection?

    Hi,
    Is there any application for copying files between PC and Iphone using a 3G or Edge connection? I'm using Jaadu VNC client on my Iphone but it has no functions for file transfers (as far as I know).
    Thanks for any hints!

    No. I don't believe that would be allowed with the SDK. You could always email them to yourself.

  • I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    I had formatted external HDD as Mac OS Extended(journaled) earlier, but now i want to format the same as ExFAT so that i can copy files between PC and MAC. But it is giving 'Can't unmount' error while i try to run Erase

    Use the PC to reformat the drive.

  • Leopard / Bootcamp / Vista / Copy Files Between Mac OS X and Windows

    On the apple page it says I can copy files from mac to windows?
    "Copy Files Between Mac OS X and Windows
    Copy, open, modify, or delete files in Mac OS X that you saved to your Windows partition. Leopard understands the Windows FAT32 disk format."
    I tried installing Vista in bootcamp, but it says I cannot install in FAT32? So i format it to NTFS.
    So here's my question, Can i still copy files between mac and pc, if I format into NTFS or am using vista?
    Thanks

    I am quite a simple soul really and very easily pleased.
    All I seek is a partition of some sort that I can save all my created work to - whether in XP Pro or OS X 10.5. But it has to be a large partition - probably a single partition on a large drive.
    It would be sweeter still for Spotlight to do what it does (and it does on a FAT partition) and sweeter still for Time Machine to be very user friendly and do what it presently does not do and include created files into the TM.
    Now that really would be very pleasant. Very pleasant indeed.

  • Copy Files Between Two Unix Computers

    Hi,
    I am trying to write a piece of code that will copy bunch of files from one Unix computer on to another Unix computer. On windows it seems to be pretty straight but on Unix I am trying to understand best way of copying the files. I don't have much expertise in Unix.
    Is using FTP the only option for Unix?
    I am not able to create a FILE object by referring to a file on some other Unix box? I tried new File("//unixbox2/temp/123.txt");
    Please let me know the different ways to copy files between Unix computers.
    Thanks
    Gautham

    This's a simple example of how you can send a file form one computer to another
    import java.io.*;
    import java.net.*;
    public class Prf extends Thread {
         public void run() { //Read form file and writer to socket
              try {
                   Thread.sleep(100);//sleep(100) while server is getting ready to accept connection
                   System.out.println("Connecting...");
                   Socket soc = new Socket("localhost",4070);
                   OutputStream outS = soc.getOutputStream();
                   FileInputStream fis = new FileInputStream("input.dat");
                   int i = 0;
                   byte[] b = new byte[1000000]; //1MB buffer
                   for(;;) {
                        i = fis.read(b); //read from file (i - number of read bytes)
                        if (i != -1) {// checking for end of data
                             outS.write(b,0,i); //write portion (0..i) of bytes to socket
                        } else {
                             break;
                   fis.close();
                   outS.close();
                   soc.close();
              } catch (IOException e) {
                   System.out.println(e.getMessage());
              } catch (InterruptedException e) {
                   System.out.println(e.getMessage());
         public static void main(String[] args) {//Read from socket and write to file
              Prf prf = new Prf();
              try {
                   ServerSocket sSoc = new ServerSocket(4070);
                   prf.start(); //start writer
                   Socket soc = sSoc.accept();
                   System.out.println("Connection's accepted");
                   InputStream inS = soc.getInputStream();
                   FileOutputStream fos = new FileOutputStream("output.dat");
                   int i = 0;
                   byte [] b = new byte[1000000]; //buffer
                   while (true) {
                        i = inS.read(b);//read from socket (i - number of read bytes)
                        if (i != -1) { //check for end of date
                             fos.write(b,0,i); //write portion (0..i) of bytes to file
                        } else {
                             break;
                   fos.close();
                   inS.close();
                   soc.close();
                   sSoc.close();
              } catch (IOException e) {
                   System.out.println(e.getMessage());
    }

  • Difference between Integration Engine and Integration server.

    can any 1 explained in detail about difference between Integration Engine and Integration server.
    thanks in advance

    Integration Server and Integration Engine are used synonymous with each other. But there is a sublte difference if you actually look into the XI architecture images provded by SAP.
    The Integration Server contains,
    1. Adapter Engine
    2. Business Process Engine
    3. Integration Engine.
    So, taking this into picture I guess Integartion server is a collection of these 3 while integration engine is one of the runtime components of XI. All messages are processed in the Integration Engine.
    regards
    Bhavesh

  • Connection between SMD Agent and SMD server via SAProuter

    In our scenario, we have to setup the connection between SMD agent and SMD server(solution manager server) via saprouter. But during the installation of SMD agent, we can only specify the hostname of the managing system, we have no place to add saprouter string(/H/..../H/). I I am not sure if we could connect the agent and server via saprouter, if so how to do it?
    Hope someone can give us your precious advices on this issue.
    Karl

    Perfect; and thanks for your response. I found this help page for developers to implement P4 support over SAP router: http://help.sap.com/saphelp_nw73/helpdata/en/48/2992d7ad8758d7e10000000a421937/content.htm
    But in the SM Diagnostics Setup options I can set up only a direct HTTP adresses and have no options to set up connections over a sap router to P4 ports directly. I can at the moment only solve my problems with NAT or firewall rules.
    And also the diagnostic agent setup has no options to config a proxy or sap router. I found yesterday a blog on sdn side with screenshots of the setup with all available connection opetions to SLD... sry I can not post this link today.
    This is an official statment of SAP from the current version of SMD guide; it is also possible but why not from the beginning???:
    In some network conficurations, the Diagnostics agent has to connect to the Managing system though a SAP router.
    This feature will be fully supported in Solution Manager 7 Ehp2 (7.02).
    In order to enable this feature in Ehp1, please contact the Diagnostics Agent support team to get information on how to
    setup the agent and on which patch level you can perform the installation.
    This thread were a long time not answared; proxy and routing connections are mostly stepmotherly handled by SAP; this is also a problem by set up of automatic RFC generations in SMSY; why there are in the setup assitents no options to set up the router string.
    I have absolutly no comprehension for this in year 2011. All this technics are good known and long time tested.
    In this case the f**k has provoked an answare to this thread and this is what I expected; but sorry for my style You are right I could also writh why the heck
    FAQ:
    SMD root side on SDN: http://service.sap.com/diagnostics
    SM FAQ: http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4e49dbea-0c01-0010-91bd-f0b61388c9ae
    SM Setup Home: http://wiki.sdn.sap.com/wiki/display/SMSETUP/Home
    SM Diagnostic Troubleshooting Guide: https://websmp201.sap-ag.de/~sapdownload/002007974700000409092009E/DiagAgent_TroubleShooting.pdf
    SMD Candidate Setup: http://wiki.sdn.sap.com/wiki/display/SMSETUP/Diagnostics+Agents

  • Lost connection between ovm-manager and ovm-server (ovm 3.1)

    Hi,
    I have a manager as a VM on my laptop and a physical server as an ovm-server. Everything is fine when i boot the server but after some time, the manager stop to show the information from the server. in the ovs-agent log file the following messages are repeated regulary
    [2013-08-29 13:06:19 6160] DEBUG (notification:289) Trying to connect to manager.
    [2013-08-29 13:06:20 6160] DEBUG (notification:291) Connected to manager.
    [2013-08-29 13:06:20 6160] ERROR (notification:316) No manager Core API server object for 10:60:4b:88:bc:24:10:60:4b:88:bc:25:fe:ff:ff:ff.
    [2013-08-29 13:06:34 6171] ERROR (notification:64) Unable to send notification: (111, 'Connection refused')
    I did not reboot neither the server nor the manager. No IP change. Rebooting the manager has no effect.
    The only way to restore communication is to restart the ovs-agent on the server, but this restart disable the network card. I must be physical on the server to restart the network.
    any help will be very helpful
    best regards
    Jean-Marc

    Hi,
    The are many steps to verify:
    Verify with your firewall on the Oracle VM Manager system (service iptables stop).
    Verify with a ping between OVM Manager and OVM Server using the IP Address and using the hostname for each one (from OVM Manager : ping ovm-server ; and from OVM Server: ping ovm-manager).
    I hope this can help you
    Best Regards

  • Back To My Mac: why can't I copy files between Macs?

    I use Back To My Mac to connect between a Mac Book Pro and Mac Pro. These two machines have the same home directory name, but different passwords. My home network is on an Apple Airport Extreme.
    A recent, persistent bug is causing havoc when I try to copy files between computers. Here is what happens:
    1. I connect to the Mac Pro remotely from the MBP, using my Apple ID credentials.
    2. Using a finder window on my Mac Book Pro, I try to copy a file TO the Mac Pro desktop that I'm certain doesn't already exist there. A "Preparing to copy" window appears.
    3. After a few moments, a window appears: "Finder wants to make changes. Type your password to allow this." Again, I've already entered my Apple ID to connect to the Mac Pro. This window requires my Mac Book Pro sign-in in order to continue.
    4. The next message is 'A newer item named “FileName.pdf” already exists in this location. Do you want to replace it with the older one you’re moving?'
    Here are the results of my options from this dialog:
    >>If I choose 'Keep Both Files':
    -- A progress window appears (saying something like "copying 0 of 108 kb", but without any progress bar movement). I click the X button to stop the transfer, the progress window changes to "stopping" status, but remains on the screen for several minutes. My Mac Pro is unresponsive/unreachable via BTMM during this time.
    -- After several minutes, the file transfer progress window disappears and my Mac Pro becomes available again via BTMM. There are now several THOUSAND numbered copies of the original. Each is 0 kb in size.
    >>If I choose 'Replace':
    -- A progress window appears, quickly followed by this message: 'The operation can’t be completed because an item with the name “” already exists.' The message appears exactly as written, without the filename between the quotes.
    -- A file with the same name as the one I tried to copy over is now on the Mac Pro desktop, but it is 0 kb in size.
    I'm lost -- not sure if this is a permissions issue, a problem w/ BTMM, or something else. Any input, advice, questions, etc. are very welcome.
    Thanks

    I'm having the exact same issue, did you find a solution. It's annoying!

  • Permissions problem copying files between two Macs

    I've run into a strange problem when trying to copy files between two networked Macs. Some background facts: We have two Macs at home each with three accounts. Two of the accounts are regular user accounts (my wife's and mine, call them "K" and "B" for short) and the third is an administrator account (we'll call it "A"). I have a .Mac account, which I use to sync between the two Macs. The other accounts do not. The user accounts B & K were initially set up on the second Mac via the Migration Assistant, copying over files and settings. The administrator account was not.
    The problem I've run into is that if I am logged in as either user B or K on the local Mac, connect to the remote Mac as the corresponding user, and try to copy files into a folder owned by that same user on the remote Mac, I get a series of three dialog boxes with error messages:
    1) "You may need to enter the name and password for an administrator on this computer to change the item named ..." (stop/continue)
    2) "The item ... contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?" (stop/continue)
    3) "The operation cannot be completed because you do not have sufficient privileges for some of the items."
    If I go all the way through this hitting continue / OK on each, what shows up on the remote computer at the end is an empty file with the name and filetype of the local file that I was trying to copy, but of zero length.
    This only happens when I'm copying from (local.B -> remote.B) or (local.K -> remote.K). It does not happen if I try any of the other pairwise combinations (assuming that I've authenticated properly): (local.B -> remote.K or remote.A), (local.K -> remote.B or remote.A), (local.A -> remote.B, remote.K or remote.A). It happens regardless of which Mac is local and which is remote.
    I'm a little baffled. I've tried to search for this on Apple Discussions and other forums, but either haven't been using the right keywords or am coming up blank.
    Anyone have any suggestions?
    Thanks,
    Bob

    borbye is correct that this will remedy the problem but there is a way to do it and have your account work. after changing the user UID and group UID to 501 you will have to restart. then when you log on your home folder will still be your default but you will not have any access. Since you are still an admin you can change that. right click on the home folder and select get info click arrow for sharing and permissions. Your old UID account will show up as _unknown delete this user and add your user to it giving yourself read and write privilege. click on the cog on the bottom and select apply to enclosed items. A warning box will appear stating that this process cannot be undone do you wish to proceed? click yes and a status bar will come up. once the bar is gone the process is complete. since you didn't have access to your home folder you cannot save your settings, this is a good thing since your account will not look remotely the same as yours most likely. all you have to do now is logout and then back in. Your account will look as it did before the change with all the access settings and so forth as before the change... minus some permissions due to the overwrite. It's a minor repair to the permissions to some shares considering you will be able to now move files to and these shares without the permissions alert that only creates a 4kb file instead of the real thing. Takes 5 minutes at most. Have fun.

Maybe you are looking for

  • XHTML Terminology (Learning)

    Would it be a good idea to learn and memorize XHTML terminology before learning CSS for layout in Dreamweaver? My problem is I don't know where to put "divs" and classes etc. and I rely on the design mode to get things done. Is there a resource that

  • Using Paypal on iWeb?

    Hi, I've been reading about how to create a single button for my products through paypal. It's going to be a real pain because I have a lot of products and they are all different prices. Does Paypal have a cart system where you don't have to itemize

  • Duel audio tracks playing on safari

    It is just happened recently that I am having problems to play youtube video link on my website.  For some reasons, a second audio will be played when I pause the video, and it cannot be stopped until I leave that page.  Does anyone know how to fix i

  • Question about conky variable ${acpiacadapter}

    Hello. It's possible to do some flow control based on the ${acpiacadapter} state? I mean, when the laptop is plugged to the AC do this, when is not do that. This is what I tried so far: ${if_match ${acpiacadapter} == "off-line"} foo ${else} bar ${end

  • Windows 7 Partition

    how to disk partiton in windows 7 on the Macbook Air? Macbook Air has two partitons ,one is windows 7 ,another is Mac OS,now. i want to multiple partition  in Windows 7?pls telll me what's next one i do?