Sapevt and file adapter using ftp

Hi;
Using the file adapter, I ftp a file to our SAP R/3 system called T01 (=SID).
Target directory
//T01/010/OCS/TC/IN
File name scheme:
wka.dat
I specify in "Run Operating System Command After Message Processing"
sapevt WKA -t name=T01 nr=01
WKA is the event I defined (SM62) into our T01 R/3 system.
It seems not to work. Any help? Did I miss something?
Where do I need to search for logging (ABAP or J2EE stack)?
Wilbert

Hi Wilbert,
Please check these...
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
FTP ReceiverChannel and OS commands help
Hope these help!
cheers,
Prashanth
P.S Please mark helpful answers

Similar Messages

  • Error in Rcvr File Adapter using FTP ?

    Hi @,
    I am getting the follwoing error while trying to put file in the folder thru Rcvr File Adapter using FTP and it is giving me following error :
    java.io.FileNotFoundException :(Permission Denied )
    I have verified the permissions on the folder and it is having write permissions.
    Please suggest Its urgent.
    REgards

    hi amit,
    can you
    1. check whether the access to FTP is Authenticated, if so provide the username and password
    2. try giving different file name at the receiver end
    3. try normal ftp commands to access the folder
    regards
    Ramesh P

  • Performance Problem with File Adapter using FTP Conection

    Hi All,
    I have a pool of 19 interfaces that send data from R/3 using RFC Adpater, and these interfaces generate 30 TXT files in a target Server. I'm using File Adapters as Receiver Comunication Channel. It's generating a serious perfomance problem. In File Adpater I'm using FTP Conection with Permanently Conection, Somebody knows if PERMANENTLY CONECTION is the cause of performances problem ?
    These interfaces will run once a day with total of 600 messages.
    We still using a Test Server with few messages.

    Hi Regis,
        We also faced teh same porblem. Whats happening is that when the FTP session is initiated by the file adapter, then its getting done from teh XI server. Hence the memory of the server is also eaten up. Why dont you give a try by using 'per file transfer'.
        If this folder to which you are connecting is within your XI server network then you can mount(or map) that drive to the XI server and use it with a NFS protocol of the file adapter and thereby increasing the performance.
    Cheers
    JK

  • Problem in Receiver side File Adapter using FTPS mode

    Hello,
    Here I am facing some problem in receiver side while using FTPS mode in the channel configuration.
    The error message which i could see in the audit log is,
    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: java.lang.NullPointerException
    Can anyone help me out in solving this issue ASAP?
    I am using Per file transfer mode ni the reciever channel.
    Thanks in advance,
    Yours
    Soorya

    HI Surya,
    First check wether server started or not and then check you are connecting to FTP server by
    go to run -> cmd and write ping and ipaddress which is used and see whether u r getting reponse from teh FTP server.
    Try to login to the ftp server which you have mentioned in CC using the user name and pwd, to chk whether you have the permissions to login to the server.
    Also the check whether the folder you are trying to access is having permission for delete/read/write.
    Restart the FTP server and try it again.
    Regards
    Sridhar Goli

  • File adapter causes FTP process stop result 0 byte file.

    Has anyone ever heard that FTP adapter can cause FTP process to stop and end up with 0 byte file transferred?
    We use the normal ftp script to ftp file from external file server place file in XI inbound folder so that file adapter can pick them up from that folder.
    We have encounter a few 0 byte FTPed file in our system. One suspecting is the network between XI server and file server might get some interruption. With out just blaming on the network. We would like to know if there is any possibility that it is also causes by our file adapter? Says, it try to read the file that is not yet complete transferring make FTP give up transferring??
    We would like to know if FTP process is transferring the file over and file adapter try to read, what will happen? Will it read file with incomplete content and ftp still go on? Or will it stop reading and return back error as the file could not be open? Or it will force FTP process to let go the file??
    Best rgds,
    Thida

    Hi,
    ><i>We would like to know if there is any possibility that it is also causes by our file adapter? Says, it try to read the file that is not yet complete transferring make FTP give up transferring??</i>
    have not seen the file adapter causing any such problems. So, it looks like a network issue.
    ><i>We would like to know if FTP process is transferring the file over and file adapter try to read, what will happen? Will it read file with incomplete content and ftp still go on? Or will it stop reading and return back error as the file could not be open? Or it will force FTP process to let go the file??</i>
    Am not exactly sure, but when a file is being created and the file adapter tries to read such a file, the file would be READ and WRITE Locked and so File adapter should not be able to read such a file until the creation of the file is complete.
    Also, take a look at the note :  <b>821267</b> , question 31 for how file adapter processes empty file.
    Regards,
    Bhavesh

  • No suitable sender agreement found - File / Adapter, Sender FTP

    Hi SDN Friends,
    Is my first time in PI with FTP / FILE ( really I'm newbie in PI - but 2 years in ABAP ).
    I have configurated my communication channel with and FILE/ADAPTER on a Sender FTP...
    I have Tried with 2 FTP, one in my PC, and one Public... but in both cases, it's doesn't works... monitoring my communication channel, I get the No suitable sender agreement found ERROR....
    I thought... may be PI has not access to the FTP's servers, so run in SAP PI server, an ABAP program trx se38, program: RSFTP002 and with this, I could connect to the FTP...  it works perfectly.
    so I don't understand... what I'm doing bad?
    Any Help?
    regards every body!

    u r welcome...2 yrs back i am newbie
    when ever we make changes after an error, sometimes XI will not take the changes in cache automatically; uses old one. solution for this is complete Cache refresh.
    welcome to Integration World have fun....

  • JCBC Adapter and File adapter not processing messages

    Hi
    I noticed that messages are being delivered to Adapter engine and the same are visible in Runtime Workbench with status "to be delivered". But, JDBC Adapter and File Adapter not processing these messages.
    Any idea where I can find the problem?
    I was able to re-deliver successfully via the JDBC Adapter using the MessagingSystem GUI using XISUPER user.
    Regards
    Chandu

    Hi,
    1.Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Regards
    Agasthuri Doss

  • I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is do

    I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is doing the same could not install. Even after I registered my copy. The last time I used this program it showed up under tools and worked great. any suggestions on whats going on and how I can get around this?.by ralphd3g

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check.

  • Application View Deigner GUI and File Adapter

    I am currently experiencing a problem with the Application View Designer GUI
    tool. When I tried to edit an user-defined application view or the
    associated Connection Factory for the File Adapter using the GUI tool, I got
    an "Unsupported Adapter Type" error message -Adapter BEA_FS_ADAPTER doe not
    support GUI-based configuration - please see attachment "error1.jpg" for the
    screen capture. This Event associated with this application view is
    currently functioning properly. It just seems that I am no longer able to
    make any change to the current configuration (I had successfully made the
    similar edits before without any problems).
    When the above problem occurred, I then tried to create a new application
    view based on the File Adapter, I got and "UnsupportedAdapterException"
    error-please see attachement "error2.jpg" for the screen capture.
    Has anyone encountered the similar errors before? Insight or thoughts?
    Perhaps it was due to corruption of certain files or database? Any
    information will be greatly appreciated!
    Thanks, Qianqian
    [error2.jpg]
    [error1.jpg]

    Hi,
    1.Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Regards
    Agasthuri Doss

  • Need help with a simple process with FTP Adapter and File Adapter

    I am trying out a simple BPEL process that gets a file in opaque mode from a FTP server using a FTP adapter and writes it to the local file system using a File Adapter. However, the file written is always empty (zero bytes). I then tried out the FTPDebatching sample using the same FTP server JNDI name and this work fine surprisingly. I also verified by looking at the FTP server logs that my process actually does hit the FTP server and seems to list the files based on the filtering condition - but it does not issue any GET or RETR commands to actually get the files. I am suspecting that the problem could be in the Receive, Assign or Invoke activities, but I am not able identify what it is.
    I can provide additional info such as the contents of my bpel and wsdl files if needed.
    Would appreciate if someone can help me with this at the earliest.
    Thanks
    Jay

    persiandude wrote:
    Topic: Need help with if, else, and which statements and loops.
    How would I display 60 < temp. <= 85 in java
    System.out.println("60 < temp. <= 85 in java");
    another question is how do I ask a question like want to try again (y/n) after a output and asking that everytime I type in yes after a output and terminate when saying No.Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    [http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806].

  • Duplicate File issue using FTP adapter - BizTalk 2010

    Hi We encountered an Issue of picking Duplicate files in BizTalk 2010 from the FTP Location. Need your assistance on this.
    Mainframe sends multiple files a 0 KB file to FTP and BizTalk picks during a particular service window using FTP Adapter. 
    Receive Location has a pipeline component which decodes the MF file(EBCDICRow format). 
    Send Port transmits the file which is decoded in the Receive location. There is no mapping or orchestration involved. 
    When 2 files are placed in FTP Location. BizTalk Transmits the files successfully
    No suspended messages in BizTalk but we see below error in event log. we tried reproduce the issue but no luck. 
    Host Instance running FTP Location is Clustered  
     There was a failure executing the receive pipeline: "XXXX.XX.Pipelines.Receive_XXX_TransactionsMC_passthru, XXX.XX.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2d1f476d5c2f97d"
    Source: "EbcdicRowDeCode" Receive Port: "XXX.XX.MCSTransactionsMC" URI: "ftp://XXXXXXXX:21/'XXXX'/MCSDT.DEFKOP.R001.D*.T*" Reason: Unable to cast object of type 'Microsoft.BizTalk.Streaming.BasicStreamWrapper' to type 'XXX.BizTalk.Pipeline.Components.Streams.V3.VirtualStream
    MF Puts below Files at FTP Location
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    BizTalk Picks ( at specified Service window) and Transmits as 
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T009000
    PSNOX.MCSDT.DEFKOP.R001.D150406.T002100
    Regards
    -Sri

    Hi Sri,
    There could be two reason for such a behavior:
    1) Using Non-Clustered Hosts: It is always recommended to use the clustered host for FTP adapter. Because FTP don't allow
    any locking mechanism on the files so in case of non-clustered with multiple host instances you might receive same file multiple times through different host instances.
    2) If the original document is still being written to the FTP server by the host application, the FTP adapter cannot
    delete the document and will retrieve another copy of the document at the next polling interval that is configured for the receive location. This behavior causes document duplication to occur. 
    Workaround could be:
    Configure the host application to write to a temporary folder on the same hard disk as the public FTP folder and to periodically move the contents of the temporary folder
    to the FTP folder. The temporary folder should be on the same hard disk as the public FTP folder to make sure that the move operation is atomic. An atomic operation is an operation that is functionally indivisible. If you write data to the public FTP folder
    by using the BizTalk Server FTP adapter, you can do this by specifying a Temporary Folder property in the FTP Transport Properties dialog box when you configure a send port. If you specify a Temporary Folder property, make sure that this folder is on the same
    physical disk as the public FTP folder.
    Configure the FTP receive location to operate within a service window when the host application is not writing data to the FTP server. You can specify the service window
    when you configure the receive location properties.
    Refer: Known Issues with the FTP
    Adapter
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • FTP and "File-in-use"

    Dear all,
    We have a scenario in which a file is written to the SAP application server which should be picked up by XI using the FTP adapter. The polling interval of the adapter is set to 60 seconds.
    We running into a strange problem: it may occur that the program on the SAP application server is still busy writing the dataset to the server, however the file already exists (as soon as the OPEN DATASET statement is passed the file is created on the application server but with no content yet). If just at this time the interval of 60 seconds is passed the FTP-adapter picks up the empty file, does no processing because the file is empty, but still archives the file to an archive directory.
    Obviously the OPEN DATASET does not put an exclusive lock to the file? Does anyone know a solution to this?
    Kind regards,
    John.

    Hi,
    use .tmp extension to the file untill it completes writing the data, then change it to original extension.
    for eg: if it is a .txt file then use .tmp untill the file is written and then change it to .txt this is not a big logic at SAP, just renaming the file after completing the write.
    Regards,
    Karan.

  • How to use the option "Use FTP Proxy" within file adapter for FTP-Proxy

    Hello there,
    I'm currently dealing with a problem regarding PI 7.40 file adapter and our proxy server. We have installed our pi system within our LAN behind two DMZ's. So we need to use the ftp-proxy function. But when I try to send a file useing this communication channel I'll geht the following error:
    If have asked my system colleagues and they told me to use the ftp-proxy string as used in filezilla:
    Is there anyway to use this type of ftp-proxy string within the pi configuration:

    Hi Harrish,
    I have already found this note but I also found the note
    1803398  - File Adapter - FTP Proxy type USER@HOST:PORT support
    But as I alread tried the solution I think it's not working
    regards
    Christian

  • Dynamic file name using FTP adapter

    I was trying the dynamic filename scenario taking help from Michal's blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2664. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    If I check the 'adapter specific properties' in both sender and receiver file adapter,then in output I am getting the output filename as same as input filename without using the UDF.
    When I used the UDF in mapping,it had absolutely no effect. I am not clear what is the use of the UDF. please let me know where to use the UDF and how to use it.
    Thanks
    Smith

    1. In the mapping program that you are using populate the filename coming from the source into the target in any of the fileds.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time.You can get dynamic filename in UDF in msg mapping....just in ID in comm channel select adapter specific attributes -> filename.....then whatever dynamic name you will create in UDF will be the target filename.....
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the <b>required classes of the mapping API by using a mapping runtime constant.</b>
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.

  • How to read the whole text file lines using FTP adapter

    Hi all,
    How to read the whole text file lines when error occured middle of the text file reading.
    after it is not reading the remaining lines . how to read the whole text file using FTP adapter
    pls can you help me

    Yes there is you need to use the uniqueMessageSeparator property. Have a look at the following link for its implementation.
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CIACDAAC
    cheers
    James

Maybe you are looking for

  • Asha 501- can't take call using earphone

    while i'm listening to the music, I can't take the call using the earphone microphone button. Instead I need to manually swipe the screen down and answere the call. Also, I can't switch the radio stations or audio tracks with the button on the earpho

  • Normal behaviour of Library?

    Hi! After some time of hesitation, i decided to give iPhoto a try. Not being sure if i would definitely use it -and not wanting to duplicate all the files- i created the library keeping my pics in the original location (folders that i use to access v

  • Serious problems with simultaneous Infinity and La...

    I'm now on my third order for the one instalation. The first two were cancelled by BT because of problems their end (though not before i waited in for a half day for the instalation engineer who never called to say he wasn't coming). As a result of B

  • Is 800 MHz G4 enough for iDVD disk image?

    The specs for iDVD 5 say 733 MHz G4 minimum. I have an iBook without SuperDrive, but would like to create a DVD and save as a disk image to transfer to a Mac that does. Is an original 800 MHz G4 iBook capable of doing that or am I cutting it too clos

  • Different stereo handling on different tracks

    I have a number of mono sound clips in a project with a lot of mono audio tracks which are behaving kind of strangely. When I drop them into the top 7 tracks they play from only either the left or the right channel (I thought they alternated, but not