OBPM4 file path to FTP server

Hi Friends,
I have a requirement.
For the payment in F110, the output file should be moved to the FTP server.
For that, i need to provide the FTP path to the OBPM4 tcode.
My doubt is if we try to connect to FTP server, we need to provide the login detail right. If that is the case, how can i procced with this scenario.
Thanks & Regards,
Prabu

Hi Santhosh,
Thanks for your reply. I know that we can provide the path in the place of file name. That is inside SAP. so, we can proceed with that.
For me, i need to move it to FTP server.
I know that once we move it to Application server, we can trigger one z program which will pick up the file from Applicaiton server and place it in FTP server.
But my question is, do we really required this z program to move the file?.
Thanks & Regards,
Prabu

Similar Messages

  • File reading in FTP server

    Hai,
    I want to read the files present in FTP server without downloading.
    Using (org.apache.commons.net.ftp.*); this package I can view the files and directories present in particular host and can even download.
    But I want to read the files in directories without downloading them for displaying the file contents in my JApplet.
    How can I achieve this?
    Waiting for reply...
    Dhurai

    DHURAI wrote:
    How I have to specify the path (user name,password) for reading?If you are using the Apache Commons FTP package, as you said, then you don't specify a path. And the path you don't specify wouldn't contain a user name and password because you use those when you make the connection to the server. All of this is covered in the documentation.

  • Help Fetching files from an FTP server into a DBase or local folder

    Hello Gurus!
    I need help to automate or design/write an app capable of (replace a manual process) reading log files in an ftp server folder, this log files are called CDR (Call Detail Record) and named as follow cdr.txt.20020221010000 meaning that this log file was created on 2002/02/21 at 01:00:00.
    This CDR log files are generated every hour by a Lucent telephone switch using a software/program called EXS ExchangePlus in ASCII format (fixed length delaminated, Char data type). EXS ExchangePlus writes a record in this CDR/log files after the call is completed, i.e. Calling_Number, Called_Number, Date_connect (yyyymmdd), Time_connect (hhmmss), Charged_time (hhmmss, duration of the call), and so on.
    The manual process I am using now is:
    1. Log in the ftp server into the folder where the CDRs log files are, located the latest generated CDRs log files and downloaded them into a local folder/directory. Normally I download the CDR for full day or 24 CDRs log files.
    1a. Optionally sometimes I used a program called VEdit compiled/gather all 24 CDRs into a single file.
    2. Once I have downloaded the CDRs I want to process (normally I process a full day 24 CDRs) I imported then into a Data Base temp table, where then I do the conversion of data types (i.e. Dates and times fields from char type -> to ->Date type) and calculations for billing purposes.
    So if somebody can help with this, I would really appreciated ideas or any kind of information on how to automated this process.
    I�m familiar with Java2 platform (using JDeveloper ) so if somebody has done something like this before using java, this would very helpful. Or Maybe using Visual Basic 6.0 would help too.
    Thanks Gurus, and I look forward to hear from you soon!
    Alf Pathros!

    Thanks for the idea, even though an example would help me more.
    I already found the FTPClient class.
    I also would like to knwo if there is a away Ican append/merged various files CDRs into a single/one to then dump/import it into the database

  • Polling of the current file from multiple files in the FTP Server

    Hello Experts
    I am working on a file to file scenario.We have to poll the file from the FTP server which may contain multiple files with different creation dates.The requirement is to poll only the file created in the current date.Could anyone throw some light on this.
    Thanks & Regards
    Sabyasachi

    Hi Sabyasachi,
        You can archive the files that you do not need into another folder manually for the first time.
    Later you can schedule the file adapter to poll the folder only once in a day (Poll INterval = 86400 secs)
    Do not forget to set the option to archive/delete the file that are already processed.
    Regards,
    Ravi Kanth Talagana

  • Posting an Excel file to a FTP Server

    Hi,
    I have a requirement, where I have to convert the contents of an internal table to an excel file, along with header details and put that file to a FTP Server.
    I am able to create an excel file in FTP server, using function module FTP_R3_TO_SERVER and transfer contents of my internal table. But the contents of my internal table are getting copied to one column. How do I get the contents in different columns?
    Also how do I get the header details?

    Hi,
    you can simply create a comma-separated text file on your SAP application server, line by line, each column separated by a semicolon (;). That file can later easily be opened with Excel. Afther the file has been created you can send it to the remote FTP server.
    HTH!

  • Sender File Adapter - remote FTP server program execution

    Hi all,
    I have a scenario
    X12 -> XI -> File
    where sender File adapter is used. The input file is X12 txt document which needs to be converted into X12 xml format. I have created astylus studio XSLT mapping which uses Convertor to convert this txt file to X12 XML.
    I don't know how to configure sender file adpater to run this mapping on the source file before picking it up. have created a windows batch file on the FTP server which runs tis XSLT mapping on the txt file and replaces it with X12 format xml. This batch file uses command line parameters of stylus studio to run XSLT mapping on input txt file and generates an xml.
    I am not sure how to run this mapping on the input file before processing starts in PI file adapater.
    I tried running command line parameters of Sender file adapter but that didn't worked.
    Please help.
    Thanks
    -Kulwant

    Hi, Kulwant:
    Looks like you would like to execute your mapping program before file adapter pick it up.
    Right ? for one interface, it seems out of the XI scope, however if this is your requirement, you can separate into two interfaces:
    The first interface is file to file scenario, it is used to execute your mapping program:
    The file sender just pick up the txt file, send to integration engine.
    Your Message Mapping program need to specify your XSLT mapping, after the mapping, the message is XML format,
    then you will use file receiver to send it to certain directory.
    Now the XML format file is your input of your second interface.
    Regards.
    Liang

  • How to archive files in another ftp server?

    Hi,gurus:
       My scenario is file to file and my sender adapter is ftp adapter.
       Now I want to archive the send file in another ftp server,how can I  implement it?
       There is a parameter "Archive files on FTP server" when I choose the processing mode "archive".What's  it's use?Thanks in advance.

    Hi,Santhosh:
      Thanks for your reply.
      I have checked your blog before,and it is very useful for me.
      I still have a problem about command line.
      In an sap note,I found the principle of the execution of the command line is like below code:
    import java.util.*;
    import java.io.*;
    public class test {
    public static void main(String args[]) {
    try {
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("C:/data/test.bat <param1> <param2>");
    } catch (Exception e) {
    e.printStackTrace();
    But you know this method has restriction.If my bat file has many commands,it only execute a part of commands(sometimes 8,sometimes 9 ).
    My bat file is like below:
    echo open 192.168.67.149 >c:
    data
    copyResult.txt
    echo <username> >>c:
    data
    copyResult.txt
    echo <password> >>c:
    data
    copyResult.txt
    echo cd /receive>>c:
    data
    copyResult.txt
    echo get %2>>c:
    data
    copyResult.txt
    echo cd /ok>>c:
    data
    copyResult.txt
    echo put %2>>c:
    data
    copyResult.txt
    echo cd /archive>>c:
    data
    copyResult.txt
    echo delete send.txt>>c:
    data
    copyResult.txt
    echo quit >>c:
    data
    copyResult.txt
    ftp -s:c:
    data
    copyResult.txt
    del %2
    I wanna merge all the "echo" in one command,so it may execute successfully,but I don't know the method.Any ideas?

  • Regarding receiver FILE adapter,  REMOTE FTP server

    Hi All,
    The scenario was to get XML file from a local FTP server and to place that XML file in REMOTE FTP server, which we dont have any control over that REMOTE FTP,
    While executing the scenario it is successfully picked the file and processed and it was success in SXMB_MONI, but when we see the Communication Chaneel of the receiver adapter it is generating the following error..
    Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect
    clarifications needed ASAP
    regards,
    Kishore.

    Hi,
    Verify the Host details of the Remote FTP.
    Try to ping the Remote host as below
    Goto > start>Run --->type cmd and give the command as below
    c:\>ping <host details or IP address> press enter and see if you get the successful communication response.
    If its not it indicates that the connection is not setup.
    Ask you FTP administrators to look into connectivity issue for it.
    Thanks
    Swarup

  • File Archive in FTP Server

    I'm using odiscpget to extract file from remote FTP server and i have a requirement to archive the file after successful extraction into archive directory in the same server.
    Do i have an utility to perform a file move in remote server from ODI?
    Thanks in Advance

    odiscpput will look for a file in local directory to move to remote server isn't it?Yes .. it is.
    If you want to do file operation on the remote server only then you need to write your own code for it.

  • Convert file path in application server as link

    How can we convert file path in application server as link to send email.
    Thanks
    Suresh

    Your app server folders have a mappable location on your network, e.g,
    server\path\filename.  Use an HTML anchor tag and build the link with code.  You'd be better off storing files on a file server (write to a mapped location from the app server) and link to there (same process).

  • Need Help to locate a file on a FTP server using MediaLocator class

    Hi Friends,
    This is Venkat. Iam currently working on a Multimedia J2EE web project. Iam working on a requirement to
    show Thumbnail view for uploaded media. For this i have downloaded a standalone code from the following site.
    http://www.exactfutures.com/index02.htm.
    This code converts frames of a media files to jpg images which i can use them to show as Thumbnails.
    The code takes file name which is present in project folder as parameter. But in my web project iam using a FTP server to store my media files.
    The above code uses Java Media Framework along with another API Fobs4JMF. The media file name is passed to MediaLocator class constructor which is located in the project folder. Iam talking about a standalone application here.
    But my project is a J2EE web application.
    Now my problem is that, how can i refer a file which is located on a external FTP server and pass it to MediaLocator or some other class.
    Say the ftp file URL is mms://wm.testuser.net/12365741/testvideo.wmv
    Guys hope you are clear abt my problem. Please help me ASAP.
    Below is the part of code
         * Constructor
         public vid2jpg(String path) {
              MediaLocator ml;
              String args = path;
              if ((ml = new MediaLocator(args)) == null) {
                   System.out.println("Cannot build media locator from: " + args);
              if (!open(ml)) {
                   System.out.println("Failed to open media source");
         * Given a MediaLocator, create a processor and start
         private boolean open(MediaLocator ml) {
              System.out.println("Create processor for: " + ml);
              try {
                   p = Manager.createProcessor(ml);
              } catch (Exception e) {
                   System.out.println("Failed to create a processor from the given media source: " + e);
                   return false;
              p.addControllerListener(this);
              // Put the Processor into configured state.
              p.configure();
              if (!waitForState(p.Configured)) {
                   System.out.println("Failed to configure the processor.");
                   return false;
              // Get the raw output from the Processor.
              p.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW));
    Thanks in Advance for your time.
    Venkat
    Edited by: VenkataGuru on Jul 23, 2008 5:30 PM

    Hi Mani,
    Below is code that ran successfully on a cRIO-9002.  It looks much the same as yours, please double-check the formatting of your string controls.  If things still do not work, let's look at the cRIO more closely.
    Message Edited by Pie56694 on 06-30-2008 09:45 AM
    Attachments:
    FTPDELE3.jpg ‏28 KB
    FTPDELE.jpg ‏24 KB
    FTPDELE2.jpg ‏18 KB

  • ALSB 3.0:  Unable to retrieve files from Novell FTP Server

    I have written several ALSB proxy services that retrieve data from Unix FTP servers. This works great and I haven't experienced any major issues. However, I now have to write a service that monitors a directory on a Novell FTP server. The same exact code works great pointed against a unix ftp server, but when pointed against the Novell FTP server, the proxy service never finds any files to process even though I have manually connected to that ftp server using the same id/password and have been able to see the files.
    All the proxy is supposed to do is poll for files and copy them to the ALSB server for processing. Very very simplistic and works great against a Unix ftp server.
    I turned on the transport debug option and this is all that shows:
    &lt;Ftp Client created and connected successfully for '+my_server+:21 for user:+myuserid+&gt;
    &lt;+FileWorkPartitioningAgent.execute()&gt;
    &lt;Returning 0 tasks.&gt;
    &lt;-FileWorkPartitioningAgent.execute()&gt;
    We ran a packet trace on the server and we see the following commands being executed:
    User myuserid
    mypassword
    SYST
    TYPE i
    PASV
    list .
    TYPE i
    PASV
    list .
    quit
    The files are in the "landing" directory for the user, so I am certain that it isn't a pathing issue. I'm just running out of ideas.
    Some questions I have are:
    1. has anyone experienced/resolved this issue before?
    2. is there any way to do custom configuration of the ftp client (disable the PASV aka passive mode, enable debugging, etc) used by the FTP transport?
    3. Could the FTP Transport not like the format of the list results from the Novell FTP server?
    If anyone has any thoughts, I'd love to hear them.
    Thanks!

    Hi Iccarus
    I realise its been quite a while since you wrote this thread but, in my desperation, I hoped you might have made some progress on this. I too am having almost identical issues:
    1. Can get/put files via ALSB ftp from/to unix or microsoft ftp server
    2. Can put files via ALSB ftp to the problem ftp server (not sure of its flavour atm)
    3. Can get/put files from the command line from/to the problem ftp server
    4. Cant get files via ALSB ftp from the problem server
    The commands which were executed at the problem server are very similar to those you found:
    successful login
    ls
    ls
    quit
    Any insights would be greatly appreciated

  • Transfer Excel file to external FTP server via PGP

    Hi SDN!
    I have build an scheduled report to generated an Excel-file from an internal table and saved it in the database. Now my task is to upload it to an external FTP Server of a partner company. The File contains sensible data and shall be encrypted via PGP.
    How can i upload to an external FTP server and before that, encrypt the file with PGP? I appreciate any help and look forward to reward some great posts.
    Thanks for your help!
    Edited by: Steffen Wieprecht on Aug 7, 2008 1:00 PM

    I found a solution myself, maybe someone is interrested:
    I installed a WS FTP Professional on a Server.
    Onto this server I wrote the files that have to be ftp-uploaded into one specific folder.
    A Perl Script in the scheduled tasks of the machine checks if a new file is in the folder and starts the upload.
    In WS FTP the site upload is defined with all PGP Keys so they are store secure.
    This solution can be used by any programming language that is able to write files in the upload folder.
    Best Regards,
    Steffen

  • How to schedule Adapter to Pickup File on external FTP Server

    Any solution is very much appreciated for the following Problem.
    My Scenarios are  File to XI to FIle
    My problem is XI is picking up file on FTP Server while file is being written by Webservice ( This Webservice can not write .tmp file or movie file from one directory to another. So these options are ruled out )
    These are proposed steps:
    1. Job Scheduler creates Dummy File on XI File System
    2. XI Picks up File on XI File System and Invokes External Webservice and receives Response that a File "MadFile" has been written to external FTP Server.
    3. After XI receives response from webservice, XI should get "MadFile" from FTP Server
    How Can I implement step 3 above.
    ( Please do not suggest executing scripts as the the application where webservice running do not want to write it )

    ST,
    At times one has to take a stand and using a BPM like this is actually complicating things. Using the script option is the best solution!
    Menahwile, even BPM solution doesn't make sense to me as like you correctly told, your Second Receive Step can poll over the file and pick up the temporary file! Even if you can handle this using Adapter Scheduling, you would need Correlation and I am pretty sure that as you are using a dummy file, this also cannot be achieved!
    Would suggest that another option would be to ask the webservice to send a call directly to XI after writing the file. The moment XI receives the Webservice request,  XI can invoke a java proxy to collect the file ( polling using File adapter is not going to help ) and then pass this file to the integration engien and so on.
    Even my solution is not a very good one, but, if nothing works out, it is something atleast. But, I would ask you to push for the tmp folder plus script.
    Regards
    Bhavesh

  • How to validate a Particular Directory or file path in Presentation server.

    Hi SAP gurus,
    I am having a requirement where I want to download a file into the Presentation server.
    The file path to download will be provided in a parameter.
    What I want to do is to throw a message to the user if He/She provides a wrong Directory or File path.
    For example :
    Say the user is providing the file download path as " E:\test.txt", but there is no "E" drive or such directory in the presentation. So in this case I should be able to check the wrong Directory provided by the user and throw some message to the user saying there is no such Directory present. Please give a proper directory or similar messages.
    I have found a FM: PFL_CHECK_DIRECTORY but i am not able to use it properly.
    So do you have any FM or any method and its explanation to fulfill my requirement .

    Do it this way:
    tables:
      spfli.
    parameters:
      p_file type rlgrap-filename          " File name
                       obligatory.
    Data:
      t_final_data like table of spfli.
    at selection-screen on value-request for p_file.
    call function 'F4_FILENAME'
       exporting
         program_name        = syst-cprog
         dynpro_number       = syst-dynnr
         field_name          = ' '
       importing
         file_name           = p_file.
    at selection-screen.
      data:
        lw_file  type string.              " File Path
      lw_file = p_file.
    select * from spfli into table t_final_data.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
         filename                        = lw_file
       tables
         data_tab                        = t_final_data.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      if sy-subrc <> 0.
        message 'File not found' type 'E'.
      endif.
    With luck,
    Pritam.

Maybe you are looking for

  • How do i open an e-mail attachment from WINDOWS

    heres my question Someone approached me in church today,they know i have a Macbook They recieved an e-mail with an attachment from someone else they went to open the attachment,Right away Microsoft Office opened and told them their TRIAL had expired.

  • Is Maverick affecting why I can't open any of my protected excel files?

    I have various protected excel files which until yesterday (11/12/2013) I could ope. Today I can't. First I thought because I was typing it incorrectly so I tried other excel files that have different passwords and the result. was the same "The passw

  • Help Disappeared

    I dragged Full Text Search and it disappeared. Now I cannot see Table of Contents, Dynamic links and so on. Is it possible to restore them and get rid of dockablity? Thank you

  • Editing the jar file

    this could be a silly/simple question. But I would like to know how can I edit the files inside adf-faces-impl.jar eg: I would like to change the calendar icon to a different one. thanks san

  • Eligibility date and ordering

    I am seven days away from my upgrade eligibility.  Are there are stores, retailers that would let me order the iphone 5 now and get my upgrade price?  I've already called Verizon and was given some run-around about them not be "allowed" however a tri