IDOC to File Port on Windows Server from Unix SAP System

Hi All:
I want to use an IDOC to create a text file on a Windows server. The SAP system runs on Unix. I have no problem creating the text file on the same Unix server running the SAP instance but I can not figure out how to write the file to a share or UNC path on a Windows server. I tried to create a logical file path using transaction FILE and then create a logical port in WE21. The IDOC failed because it is still looking on the Unix server to write the file. Any ideas from the community would be greatly appreciated.

Hmmm, there are probably lots of ways to skin this cat.
To make the process asynchronous you probably want to be along the lines of either updating a table or placing a file on the Windows machine, and then having a database process or Windows program to watch for the file or database table entry and triggering your bat file when it appears.

Similar Messages

  • How to ftp to windows server from unix server

    Hi Gurus,
    Can anybody please guide me how to ftp the files to windows server from unix server. I can do the file transfer via unix by using the shell scripts, where as for windows how can we do that.
    Please advice.
    Regards
    Nagendra

    Hi.
    It's possible many solution.
    1. Setup Ftp server on Windows and use general scripts.
    http://support.microsoft.com/kb/323384
    2. Create general share folder on windows and use smbclient from samba.
    3. Create general share folder on windows and mount this folder to Linux.
    Reagrds.

  • Problem in reading the excel file path in WINDOWs machine from UNIX environ

    Hello friends,
    My requirement is to read each row of the excel sheet and sent that row to the database. I have implemented it by using jxl and apache poi framework. locally in my WINDOWS machine it is working fine..
    But when i deploy the code in UNIX machine. My application runs on a Unix server , trying to read the excel file in WINDOWS environment. I am not able to retrieve the file path. for ex : C:\Documents and Settings\sabbanik\My Documents\KARUNAKAR\excel.xls
    I am getting error in this line
    workbook = Workbook.getWorkbook(filepath)
    Error message : input file not found.
    Thanks in advance..

    You said: I am getting error in this line workbook = Workbook.getWorkbook(filepath) >
    Based on this, I will assume you are trying to use OLE to access information about the Excel file. As mentioned by Andreas, your code will be executing on the server (Unix) and since Excel isn't on the server (and cannot be) an error will result. OLE can only be used in Windows environments (client or server). To access client side OLE calls and content, you need a java bean and Excel installed on the client machine. Oracle provides WebUtil as an option to writing your own Java Bean. To use this, you will need to be running Forms 10.1.2 or newer. Details can be found here along with a demo:
    http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.htm

  • Transfering data from oracle table to a file on a windows server

    Hi
    I have an oracle DB version 11.2 running on oracle enterprize linux 5.9. I would much appreciate an suggestions on how to transfer data from the oracle DB to a flat file on a windows server.
    What i have done so far is to use utl_file to create a csv file on the oracle server and am now attempting to transfer this file. I was going to use scp or rcp but am unable to get this to work(was looking at filezilla). Another option i can use is ftp as i have a unix script which i can run to do this. All this is done through an oracle package which is run hourly through dbms_scheduler. I have been using sp_host_command to run unix commands directly from pl/sql so can use this to run a unix script for last resort if i cant find an easier way to automate this.
    Any suggestions or options would be much appreciated.
    Cheers
    Gary

    Well, using DBMS_SCHEDULER you can run o/s commands so you could use that to do your FTP or whatever to move the file.
    Alternatively, you could write your own FTP package using the built in UTL_TCP package, or you can get hold of one of the freebie packages people have made available to do the same e.g.
    ORACLE-BASE - FTP From PL/SQL in Oracle in Oracle

  • How can I connect to a windows server from a mac book pro

    How can I connect to a windows server from a mac book pre?

    I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
    I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
    Any help is greatly appeciated.

  • Oracle 11g on Unix server needs to write files (.csv) on Windows server

    Hi,
    Currently we are using Oracle 10g which is installed on a Unix server and on the same server there is a directory under which some files are being exported/downloaded by the db.
    We are having DEDICATED DB INSTANCE on the SHARED server, and not a DEDICATED SERVER.
    Now we need to migrate from Oracle 10g to 11g, but due to some complaince issue, we have been asked to create those directories on some other server. We have identified a Windows server and can create directories.
    Now I request any expert to pls suggest/guide me that how can the db (on Unix server) export/write files on another Windows server?
    I read in a thread that the server (where files should be exported) should be MOUNTED on the server where db is physically installed.
    Pls help me here.....
    Edited by: 950010 on Jul 31, 2012 7:00 AM

    950010 wrote:
    As I wrote in my question that due to compliance issue we have been asked to create the directory (that is currently on the same unix server on which our db is physically installed) in any other server (no matter unix or windows).And if that remote server is not available? Or if network connectivity to the remote server fails? Or if there is severe network congestion between the Oracle server and remote server? What then?
    How is the process on the local server suppose to deal with errors when it attempts to create a CSV file on the remote server? Or deal with network bottlenecks that results in severe performance degradation when trying to create a CSV file? Or if there lacks freespace for creating the CSV file?
    What about security? How is the local Oracle server to authenticate itself with the remote server? How is the remote server to protect that directory share against unauthorised access?
    How is this remote server going to provide access to authorised s/w to these CSV files?
    Who (local or remote processes) is going to manage this directory share and ensure old CSV files are deleted and that there is sufficient freespace for new CSV files?
    There are a LOT of questions that need to be asked... BEFORE deciding on HOW technically to do it. As the technical decision will be based on the functional requirements and how to best meet these.
    Technically - there is Samba, NFS, FTP, SFTP, SCP, RDIST and a number of other methods that can be used. But without asking the above questions and getting proper business answers, selecting a specific technical method is very much premature.
    You are asking the wrong questions, and in the wrong forum. You need to determine the business requirements first.

  • Need Information for transporting a file as IDOC through File Port!!!

    Hi,
    All configurations are present in the system to transfer a file as IDOC using File Port.
    Now we are creating a custom program to transfer the same. Now i have all the data in an internal table which has to be send to Non SAP system. So can i know the process how to send the same.
    I have a SAP Directory where i need to place the system. I also have all ports required.
    So please let me know how to code the same ASAP.
    Thanks and Regards,
    sagar..

    You may want to try using the IDOC Test tool WE19 in order to test out your ports and partner profiles.
    Also sending from SAP to XI / PI you might be better configuring RFC Destination / SM59.
    See this Wiki for more info...
    http://wiki.sdn.sap.com/wiki/display/XI/ALE+Configuration

  • Scripting file copy to windows server

    Hi all,
    We need the ability to copy files from the Mac G5's running 10.4.x to a windows based server (2003) across our LAN. Looked at scripting Terminal but it does not seem to support apple script the way I would like - ie copy /file to //server.
    The reason we need to do the copy like this is to prevent resource forks and the .ds_store from coping as well, more of a unix copy. These hidden files are really messing up the system we are coping to (SQL DB).
    Any suggestions?
    Thanks in advance
    Bill

    I don't know enough about Visual Basic to feel
    competant to run a script to do this. I disagree with
    the statement that there is "nothing to fix" however.
    These dot files litter our Windows server and even
    with Blue Harvest running I am constantly having to
    use the Server Management Console to close these dot
    files so that our real files can be moved, copied, or
    deleted because when the server sees these as open it
    sees the real file as open even when it isn't.
    I had the option of FSM (File Services for Macintosh)
    with the server, but we have thousands of files that
    would have to revert back to 31 character filenames.
    Rather than do that, I chose to stick with the SMB
    protocol. It's a right pain getting it to work and
    then we have the dot files on top of it. It wouldn't
    be an issue with a Mac server, but I don't have one.
    So, in my view Apple still has not fixed this.
    I'm glad I asked the question though, because I made
    the assumption that Tiger fixed this. Since it hasn't
    I have yet another reason to stay in Panther.
    And what happens with the files that still need resource forks? They're are still a Mac applications out there that make use of metadata. How are you going to selectively decide which metadata to preserve? Have ever had to help a user whose files suddenly turned into "unix executable" files after copying them to a server? You'll quickly realize that there are instances when metadata must be preserved.

  • I've just moved from PC to Mac, with my PC i and using Vmware Player I used to work on 2 Virtual M/C both on 2 external drives, one Windows Server 2000 as operating system and the sec. WindowsXP, is their a way to open these m/c on my mac

    I've just moved from PC to Mac, with my PC i and using Vmware Player I used to work on 2 Virtual M/C both on 2 external drives, one Windows Server 2000 as operating system and the sec. WindowsXP, is their a way to open these m/c on my mac

    I am so glad to hear about your success. As you are new to the Mac environment, I will be glad to help you more.
    You said: "I can't change the setup yet but i have access". I don't understand what you mean about changing the setup! Please let me know more about that.
    I also recommend to use Boot Camp, which allows you to install windows on a partition of your internal hard drive. This has many benefits. First, you can restart your computer and start up in windows. This makes your Mac device a complete windows machine and you gain the most from your hardware when working in Windows. Second, if a problem occures to your Mac OS X, you can restart your machine in Windows and prevent your data from getting lost. Third, you can import the Windows installed on the boot camp partition in to the Mac OS X using VMWare Fusion and work with it as a virtual machine. In this situation, VMWare enables you to work directly with your Windows in the boot camp partition. So it does not create a file package for the virtual machine in OS X.
    Regarding the data safety and reliablity, I strongly recommend using Time Machine. You can also set it up to back up your virtual machines or not. This is possible to set up in the Virtual Machine Preferences Page in VMWare Fusion, or in the Time Machine preferences page in the System Preferences app of OS X.
    Please don't hesitate to ask any other question. I will be glad to help you.

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • How to install unlimited strength policy files with 2003 windows server

    Hi all,
    I am working on encryption AES 256 bit key encryption.
    128 is default encryption key.But for use 256 bit encryption key need to add unlimited strength policy file with jdk.
    That is working fine on windows xp.
    Now problem
    But when i run on client machine with operating system windows 2003 server standard.
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.
    Restarted the computer after update files but on windows server 2003 256 bit key encryption not working.
    Giving following exception
    java.security.InvalidKeyException: Illegal key size or default parameters
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
    Please suggest me how to run encryption on windows server 2003..
    Thanks
    Anu

    anu1106 wrote:
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.Why? Why not just install the unlimited strength files in the normal way according to the installation instructions given in the distribution file?

  • How to run a java program in windows 2003 server from unix server.

    Hi ,
    I want to run a java program in windows 2003 server from unix machine ..
    will RMI helps me to obtain this.
    Please tell me the procedure to do this.
    Thanks in advance,

    rmi,web services,corba,web 2.0,xml,xls,dtd,rss,ruby on rails,https,soap,tags,blog,podcast,google

  • Connecting to Windows SQL server from Unix Oracle Server

    How can I connect to Windows MS SQL server from Unix Oracle Server? What installation or package will I need?

    Two options:
    1) Do a search on "Oracle Transparent Gateways" and/or "Heterogenous Services". These are products that are designed solely to connect to other databases from Oracle.
    2) Use a type-4 JDBC driver for SQL Server, installed and running in the JVM of your Oracle server. I'm assuming your Oracle database is sufficiently recent to be java-enabled here.
    Justin

  • Sending IDoc from Non-SAP system to XI

    Dear all,
       We have a non sap system which needs to send IDoc to XI, Please could you answer my following four questions
    1. What should be the values for the following fields in the IDoc control record
    e.g. RCVPRN = <logical system name of XI>
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPRT
    RCVPOR
    2. How does XI decide which port(idx1) to be used when it receives an idoc
    3. The third party system is a non sap one, so it does not have a client no, so I would assume, I need to use another SAP system as a meta data provider, in that case, how would i tell XI to use that port when it receives IDocs from the non-SAP system ?
    4. In what step does XI use the logical system name of the Business system(in SLD)?
    Thanks in advance
    cheers
    danus
    Edited by: Chidambaram Danus on Jan 25, 2008 2:21 PM

    Hi
    there is bit wrong interpretation of the statement
    If the sender system is a non-SAP system, the sender service is identified from the logical system name of the sender port.
    If the sender system is nonSAP it indicates taht the data is coming to XI from non sap systems such as file, database, webservice etc. to XI and from XI it will pass to sap as IDOC inbound.
    For this you need to create the logical system in SAP (receiver) and pass on that value to IDOC header.
    You could maintain it in the Business service used for Sender system (nonSAP). here it will be available in the tabs ---> History.
    note : IDOC is the concept of data container in SAP, you will not be able to have the IDOCs in non sap systems...
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 25, 2008 2:54 PM

  • Query a List of Open WMI connections on a server from a remote system

    We are monitoring a specific windows service on a server using Sitescope remote monitoring. The sitescope system uses a WMI method to Check if the service on a specific server is up or not. Initially it works like a charm but over time the WMI connections from
    sitescope time out and we have been told that Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    I am looking for a way to list open WMI connections to a specific service and/or server from a remote system and a way to kill those connections via a scheduled PowerShell (or batch/perl) script. I was able to list specific classes by -list parameter
    of the Get-WmiObject cmdlet
    but am unable to determine which class will give me the information that I require and the method to kill those connections.

    Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    1. It's not clear what "not closing the WMI connection it opens gracefully" means. WMI is a management technology that uses DCOM to connect to remote computers. (Is it really a question about DCOM?)
    2. It's not clear what specifically "open connections pile up" means and what problem(s) it causes.
    3. This is really a support question for that software's developer, not a question about WMI.
    -- Bill Stewart [Bill_Stewart]

Maybe you are looking for

  • Cannot reinstall Tiger : installer stuck (cannot make disk bootable)

    Good afternoon experts, I am writing to you here as I have a problem with the Tiger installer which suddendly stops when trying to install on a prepartioned disk. First, some background information : I have a 20' iMac Intel machine which I bought on

  • Problem with Provider

    Hi iam a newbee to this Forum and have some problems with the JCA API. I try to do somting linke this : Signature sign = Signature.getInstance("SHA256WithRSA", "SUN"); the Compiler notfie some problem Exception in thread "main" java.security.NoSuchAl

  • Setup macbook pro from g4 cube

    Trying to set up a new macbook pro using firewire connection to a g4 cube, but macbook pro doesn't seem to recognize the g4 cube harddrive or system. is the g4 simply too old to be recognized? (btw, i can get the g4 cube icon to appear when i connect

  • My Safari displays text in certains spots on a web page as mixed characters

    My Safari displays text in certains spots on a web page as mixed characters. Is there a fix for this or does anyone have an idea what may be going on? I have looked at my fonts and everything seems to be working just fine. I can't quite figure out wh

  • 2.0 help

    sorry for the double post