File Adapter Source Directory

I have set up a File Adapter comms channel that should be picking up a file from the XI SAP system directory path F:\usr\sap\temp.
I place a file in that directory and can see it via SAP transx AL11.
However my comms channel is not picking up the file so my process does not start.  I had previously been using a FTP File Adapter and that was working fine. So I know my other configuration is correct.  I now needed to testing something use just the plain File Adapter.
The RunTime Cache has been refreshed and I can see my CC via SXI_CACHE.
Here is what I have entered into the File Sender Adapter
Transport Protocol : File
Message Protocol : File
Adapter Engine : Integration Server
Source directory : F:\usr\sap\temp
File Name         : MYFILE.XML
Processing Options :
QAS : EO
Poll Interval 60s
Processing Mode : Delete
Processing Seq : By Name
File Type : Binary
Adapter Status : ACTIVE

Hi
check the following things
first select ur message protocol as "NFS". save the changes and activate the channel.
if still not work go to the communication channel monitoring using the path
runtime work bench->compnent monitoring->dispaly->adapter ebngine->communication channel monitoring--->enter ur channel name and click on use filer button.
and check whether the channel is started or stopped.
if stopped start the channel and the try.
if u still face the problem please reply me back.
Thanks
Rinku

Similar Messages

  • Error in sender file adapter: source directory does not exist

    Hi,
    The PI system is 7.11
    I've created sender file adapter with following details:
    Transport Protocol : File System
    Source directory: /interfaces/In
    I checked in AL11 that this path really exists and it does. (I can even see the .txt file that should be processed.)
    But still i get in Communication Channel Monitoring the following error:
    "Configured Source directory "/interfaces/In" does not exist.
    (i also tried to give the source directory as "interfaces/In" and as "//interfaces/In" but still the same error.
    Any suggestions as to what is wrong?
    kr
    Robert

    Actually, Need to use forward slash (/) to separate directory names in accordance with the Java specification.
    But wanted to try if that works..
    Also check directory name , path again as this is case sensitive...
    --Divyesh

  • NFS Sender File Adapter Source Directory

    Hello everybody,
    I have the next problem cause company politics I can't put some files that I need in the XI Server, so I sould take them from another server directory, and cause compañy politics too I can't use FTP so I need to use NFS, but I've been reading some threads about it and some of them says I can't do it and some of them says that I can do it and even give come paths, now the file system is in a Unix Server, how can I do this????? should I put the server an path direclty in de cc or should I map the directory and how do I do this, any help would be appreciated, thanks in advance.
    Regards,
    Julio

    Hello Julio,
    If your lacation is as follows:
    server01\path1\path2
    Then put *
    server01\path1\path2* as your source directory.
    Important
    For Linux ensure that the <sid>adm user can access the specific location.
    For Windows ensure that the sapservice<sid> user can access the specific location.  (Will probably have to be on the domain to achieve this).
    Regards,
    Yaghya

  • Reg:File adapter archive Directory

    Dear team,
    Our requirement is to read a csv file from a directory and archive the file in archive folder specified in the file adapter.
    If any exception is caught,then we need to read the archieve file from archive directory rename the archive file with source file name and place it in source directory.
    On the receive activity we are able to get the source file name and source file directory.
    <receive name="Receive1" createInstance="yes"
    variable="Receive1_Read_InputVariable" partnerLink="fileRead"
    portType="ns1:Read_ptt" operation="Read">
    <bpelx:property name="jca.file.FileName" variable="srcFileName"/>
    <bpelx:property name="jca.file.Directory" variable="srcDrFolder"/>
    How to get the archive file name and archive file directory from the receive activity so that we can store in local variables.
    Pls do help.
    Thanks

    Hi,
    Another way you can accomplish your scenario. Instead of deleting or archiving in beginning just move the file from inbound to archive location after business flow completion.
    In case of error, the file will remain at original position as moving operation is at the end.
    First read the file using read operation, then at the end create a file adapter with sync read operation. Change the entries in .jca generated with below sample.
    Sample jca file.
    <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
    <!-- Below properties are dummy except Type , it will be changed in runtime -->
    <property name="SourcePhysicalDirectory"
    value="srcdir"/>
    <property name="SourceFileName" value="abc.txt"/>
    <property name="TargetPhysicalDirectory"
    value="targetdir"/>
    <property name="TargetFileName" value="abc.txt"/>
    <property name="Type" value="MOVE"/>
    </interaction-spec>
    Then,in you bpel flow at the invoke for sync read add these two properties.
    <bpelx:inputProperty name="jca.file.SourceFileName"
    variable="varInputFileName"/>
    <bpelx:inputProperty name="jca.file.TargetFileName"
    variable="varArchiveFileName"/>
    <bpelx:inputProperty name="jca.file.SourceDirectory"
    variable="varInputDirectory"/>
    <bpelx:inputProperty name="jca.file.TargetDirectory"
    variable="varArchiveDirectory"/>
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Durga

  • Date and Time in Sender File Adapter Target Directory

    Hi there,
    is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
    For filename you can use "add time stamp" option, but and for target directory?
    Thanks and regards,
    Henrique.

    > <i>Do you have further information on how to perform
    > this with shell commands?</i>
    > >> You need to write a shell script. This script will
    > add the date/time stamp into the folder in the target
    > system. This shell script is executed from the File
    > adapter. So once the file is written into the target
    > directory, then it will rename the directory.
    Hi there, Moorthy
    We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
    In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
    Is there a way of passing %var1% and %var2% as parameters for the shell script?
    Thanks a lot,
    Henrique.

  • File Adapter: Target directory does not exist

    Hi All,
    Using RFC to File Scenario.
    While processing in File adapter, i get following error for the target directory.
    Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Target directory '
    *********************\Out' does not exist and cannot be created.
    Although I am able to use the same target directory on my local machine.

    I think FTP user didnt have suffiecinet otherrization to create directory in FTP, check once again Directory format entered is correct.
    if you have phycial access to FTP then create one folder and enter the same in File channel and push one message and let us know the result.
    Regards,
    Raj

  • Changing File Adapter target directory - container bounce required?

    I edited USPSshipment.wsdl in the FulfillmentESB project to reflect my desired target directory (/home/oracle/usps_ship instead of C:\temp) and then re-registered the project with ESB.
    The registration completed normally, and I verified that the edited USPSshipment.wsdl file exists in the deploy and content directories in the ESB home. Also, checking the WSDL file from the ESB console showed the new value.
    However, until I bounced the OC4J_soa container, order submissions continued to use the C:\Temp target. After I bounced the container, the next order submission went to the desired /home/oracle/usps_ship.
    What is the expected cacheing behavior here? Is there a programmatic way to clear the cache after an ESB deploy. It is too restrictive if I have to bounce the whole container serving ESB and BPEL (perhaps many processes and ESB adapters) just to make a change in one particular project.
    Thanks.

    Using the SOA Demo, FulfillementESB project ~
    Example: Immediate reflection of change w/o further action
    If I change the Shipment router filter criteria (Fulfillment_Shipment.esbsvc) to cut at say $750 instead of $500, then re-register FulfillmentESB with OrderBookingIS, JDeveloper reports:
    Registration of Services Successful
    Fulfillment Shipment Updates
    The next submitted order follows the new criteria (e.g. a $600 order goes out USPS).
    Example: Change not reflected in runtime, until OC4J container restarted
    If I change the target physical directory of the USPS Shipment file adapter (USPSShipment.wsdl), then re-register FulfillmentESB with OrderBookingIS, JDeveloper reports:
    Registration of Services Successful
    However, the next submitted orders continue to be written to the previous target physical directory. Checking the value of the re-deployed USPSShipment.wsdl at the ESB host filesystem and through the ESB console shows the updated value, but the old copy is being actually used to process the message.
    Restarting the OC4J container, causes the updated USPSShipment.wsdl to be referenced for messages submitted thereafter.
    -Todd
    Message was edited by:
    tbeets

  • Error: File adapter dynamic directory not safe with subdirectories

    Hi,
    I'm using variable substitution to determine the destination directory for my RFC->File scenario
    In my RFC I have a tag called <PATH> that contains the full target path. If that path doesn't have subdirectories the variable substitution works perfect, for example:
    <PATH>directory1</PATH>
    Then in File adapter I have %var1% with the value of PATH and it works.
    But if I want to add subdirectories on the path, for example <PATH>directory1/subd2/subd5</PATH> the solution doesn't work.
    That's the error that I get:
    Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Security violation encountered during variable substitution: Content of variable var1 is not safe: directory1/subd2/subd5
    How can I access to that directory?

    Hi Marshal,
    From help.sap:
    To disable the check the adapter performs for the element data, set the Disable Security Checks indicator.
    Otherwise, the adapter checks whether the element data contains characters that could lead to security risks in the file system environment. The check includes the characters u201C/u201C, u201C\u201C, and u201C..u201C.
    Carlos

  • Exception handling in File adapter when directory structure is incorrect

    hi,
    How can exception handling part be done in File adapter in cases where directory structure is incorrect, or directory
    we are referring to is not present.
    thanks
    Yatan

    If you are polling then there will be error message in log files.But i dont think we can do exception handling in such cases.
    Cheers

  • XI3.0 - file adapter create directory

    Hi,
    Is there anyway in 3.0 to prevent a receiver file adapter from creating a directory if it does not already exist.  There was a parameter in the J2SE adapter but I do not know if or how this has been implemented in 3.0.
    Regards
    Ian

    Ian,
    SPS 17 introduces a new configuration setting for the receiver file adapter: "Create Target Directory" which does exactly what you want.
    See http://help.sap.com/saphelp_nw04/helpdata/en/57/a21f407b402402e10000000a1550b0/frameset.htm
    Regards,
    Koen

  • Rename file in source directory

    Hi all,
    I have a scenario where we leave the flatfile in the sourcedirectory after we transported it via XI to the target. To make sure I do not send the same file twice I want to rename it right after the transport. So far I do not really know how.
    Can someone help me?
    Thanks
    Cornelius

    HI,
    As mentioned by other reply, first option is you can Archive the files in the different folder.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Second option is Executing a Shell Script from the Sender File Adapter using OS Command option.
    You can archive with DateTimestamp..
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • Additional Files in Sender File Adapter

    Hi
    I have to collect 2 files (IN.txt, IS.txt) and attach 2 files as an attachment to mail.
    So I opted Additional Files in Sender File Adapter
    Source Directory = D:\usr\sap\pitest\LoadTest\Output\Invoice
    File Name = IN.TXT
    Additional Files
    File List <IS.TXT>
    <IS.TXT>.namePart               ".TXT"=".TXT"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    But I am able to Pick only one file (IN.TXT) from the Source Directory.
    IS.TXT file is not at all picking.
    Please give me your suggestion.

    I reply just want to close this issue.
    if file Name = Item.TXT and additional file name is ItemText.csv then configuration as following.
    File List <Item.TXT>
    <IS.TXT>.namePart               ".TXT"="Text.csv"
    <IS.TXT>.optional                  NO
    <IS.TXT>.type                       TXT
    for namePart parameter, we should give the str which need to be replaced. for your example, we could give as <IS.TXT>.namePart               "IS.TXT"="IN.TXT"
    replace all the file name.

  • I want to Pick the Single file from The source Directory

    Hi,
       My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names  are  SENDER_(TIMESTAP).XML .. but the problem is... When ever  Files  are available in the Source Directory  Immediately  XI was picking  all the files at a time.. But I want to   to Pick a single file at a time..
    for Making  this what we have to do..   After Processing the first file then only my Sender adapter should pick the next file...  (even though Multiple files are available in my Source Directory)
    Regards
    Jain

    Hi,
    the other option was use Adapter specific attributes in the Sender Communication channel..
    or
    while droping the files ask them to drop using time stamp in another directory  and an external validation is required .. and after validation push single file to Source directory using batch file..
    i.e use a batch file using run time operating system or make that batch file to run at OS level ..
    where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
    regards,
    Kishore

  • Move files from source to destination directory

    I would like to copy files from source directory to destination directory, which have a creation date lower than p_date. p_date is a entered value of a forms field.
    source:
    c:\tmp\my_b.pdf 10.10.06 04:21
    c:\tmp\my_c.pdf 10.10.06 04:20
    c:\tmp\my_d.pdf 09.10.06 01:35
    c:\tmp\my_e.pdf 05.10.06 02:13
    c:\tmp\my_f.pdf 01.10.06 00:20
    User enter the value: 09.10.06 09:35
    destination should be:
    f:\tmp\my_d.pdf 09.10.06 01:35
    f:\tmp\my_e.pdf 05.10.06 02:13
    f:\tmp\my_f.pdf 01.10.06 00:20
    win_api_utility.move_file move all files from source to destination, but only I need a part of them. I have installed Forms 6i and Windows 2000. Does anybody have an idea?
    Best regards,
    tom

    Hi Tom,
    In a Forms 10g environment you would probably use a Java component. On a c/s environment I would issue a host command. Although the windows 'copy' statement has no 'date' flag, the windows 'xcopy' statement has. Type 'help xcopy' in a command/dos box for the syntax/flags for the 'xcopy' statement.
    Hope this helps,
    Matthieu de Graaf

  • Directory specification for File Adapter

    Hello,
    I would like to ask if it is possible to determine a directory where message is saved for file adapter based on message content.
    E.g. I have general directory (GD) under which I would like to save a messages in directories with are called based on vendor number what is part of a message.
    So a message would be saved in
    ...\GD\vendor number\file name.
    In case that vendor number directory is not created yet I need to create it.
    I know that in file adapter a directory name is constant and file name can differ based on settings.
    This behaviour is in Business Connector enabled through possibility to write an "user-exit" in Java for directory determination.
    Is something similar possible in XI ?
    We are currently running on XI 3.0 with external adapter engine version 2.0 but to use internal adapter engine is no problem for me.
    Thank you for your advice.
    Marian Morzol

    Hi Marian,
    You can do this with content based routing in the interface determination, but then you have to create a new interface/channel for every extra directory.
    Cheers,
    Frank

Maybe you are looking for

  • For many of us there is an error when launching iTunes 9 - try this first.

    If you are among the many that has the error about a dll file not found, you might want to look at this thread and try the reccomended fix (installing an update to directX). http://discussions.apple.com/message.jspa?messageID=10400226#10400226 But BE

  • Sorting Music within a Playlist

    I am having a strange problem crop up that just started happenning recently. I am using the latest version of Apple TV system software along with the latest version of iTunes. When I create a playlist in iTunes I always sort it by track # by clicking

  • Macbook pro md 103 graphics pixellated freeze

    I bought a macbook pro md 103 and had problems with mac freezing up when ever i watch a video on youtube or attend a skype video call. Now the system has shut down and wont start. i get a pixellated screen with apple logo and the spinning wheel. I tr

  • Outlook keeps opening links in Internet Explorer, regardless of Firefox being the default browser

    I have Firefox 4.0.1 running on a Windows 7, 64-bit computer. I have Internet Explorer 9.0.8112.16421 installed as well. I use Outlook here at work and have Outlook version 14.0.5128.5000 installed, which is part of Microsoft Office Home and Business

  • Skype 5.5 for Android: Easier to Use = More Time to Chat

    Skype 5.5 for Android: Easier to Use = More Time to Chat Today we'redelighted to announce Skype 5.5 for Android. In this release, we put extra focus on improvements that will make the app even easier to use, so you can spend more time chatting and sh