File adapter "Directory" parameter

Hello colleague,
While going through the documentation of file adapter the statement regarding directory of the file was not
clear -> "The directory specified must be accessible by the service user of the Adapter engine, with appropriate read/write permissions".
Where can i find the service user of adapter engine and how can i set its permissions. I want to use a directory on my local pc. But when i specify the absolute path -> //<pc name>/<location>/ the file is not picked up.
Could you pls. help.
Regards,
Gajendra.

Hi Gajendra,
If u place a file in ur local pc, then giving the absolute path in the communication channel configuration wont help.
For enabling XI to pick up a file from ur pc u should first install an FTP server in ur system.
These servers are easily available on net. Foe ex u can download the GOLDEN FTP Server and install it on ur pc.
Once this is done u need to create a folder in ur system where u will place all the files to be polled by XI. This folder needs to be added to the server with full control enabled.
Next step is while configuring the communication channel, the file protocol should be FTP. Give the IP address of ur pc here.
This will help xi in picking up files from ur local pc.
Regards
Neetu

Similar Messages

  • File Adapter Directory Path

    Hi,
    I have hot coded the directory path.
    I want to read the input directory path for fileadapter from a file(i will have a configuration file where i will set values for parameters).
    Regards
    Vishnu

    Thanks Ashish, it is helpful.
    Just one more question, I am not sure what value do I add from making physical to logical. Let's say if I have file polling read operation (not sync read), then if I configure physical path it will be hardcoded in jca wsdl file, if I configure logical it is hard coded in bpel.xml file.
    Unlike other preferences I am not able to update my logical directory in bpel.xml at run time in descripter tab. So if my input directory changes for some reason, I have to replace it (via ANT) and redeploy the process no matter what.
    Let me know if I understand it correctly.
    Vishnu,
    Please clarify which operation you are using, if you are using sync read or write, you can read your directory and file name from parameter file and pass it to adapter for reading that file. Adapter will give you content and also the name file/directory as header variable.
    If you are using polling operation, "after reading" the file adapter will provide file name and directory in header. But if you want pass the name of directory to adapter for reading the file, then I have asked similar question to Ashish.
    Regards,
    Chintan

  • Sender file adapter missingLastFields Parameter

    hi all,
    i have a wierd problem...
    i use a sender file adapter with content conversion to read the data of a file.
    all is fine until he get to a record when the last couple of fields are not in the file (and it's ok that they don't appear). i want the adapter to put no data in the last couple of fields but convert them to the XML tags.
    i am using the parameters: missingLastFields and keepIncompleteFields to keep the fields although they don't appear in the file.
    the parameters i am using are these:
    SA140.fieldNames:
    ActionCode,UpdateType,IDNumber,Filler1,RecordCode,Filler2,ExteriorColour1,Filler3,ExteriorColour2,Filler4,ExteriorColour3,Filler5,ExteriorColour4,Filler6,ExteriorColour5,Filler7,ColourArea1,Filler8,ColourArea2,Filler9,ColourArea3,Filler10,ColourArea4,Filler11,ColourArea5,Filler12,TireCode1,Filler13,TireCode2,Filler14,TireCode3,Filler15,TireCode4,Filler16,TireCode5
    SA140.fieldFixedLengths:
    2,2,10,4,3,41,5,1,5,1,5,1,5,1,5,1,2,1,2,1,2,1,2,1,2,1,6,10,6,10,6,10,6,10,6
    SA140.keyFieldValue:
    140
    SA140.missingLastFields:
    Ignore (i used the parameter "add" too and it still didn't work)
    SA140.keepIncompleteFieids
    true
    the row i am trying to read is:
    024018837002186 21140         1799    KW16    RW17    1010    9147                                         F18L19     7503 F18L19     7502 F18K27     7508
    as you see a couple of the last fields are showing in the text.
    could you please tell what am i doing wrong?
    maybe there is another parameter i missed?
    regards,
    roi grosfeld

    sorry but it still doesn't work...
    i am getting the same error:
    Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 5 according to structure 'SA140':java.lang.Exception: Consistency error: last field in structure 'SA140.' is incomplete - specify 'keepIncompleteFields' parameter accordingly to allow this
    regards,
    roi grosfeld

  • Receiver File Adapter - Directory field - home directory

    How do I populate the Directory field in the receiver file adapter if I don't know the directory.  I want to use "home directory", but I don't know what that is.  I'm sending a file to a IBM i5 OS.

    I have already asked for the path.  This is the answer I got.
    Directory listings from FTP sessions are disabled.  We use IBM i5 OS for the FTP server because it's immune to exploits aimed at Windows and Linux based servers.  Since you can only "PUT" a file, it is analogous to a bank night deposit box (lots of companies can make deposits to this same metal box on the brick wall but none of them can use it to make withdrawals).

  • File adapter configuration parameter for "hexadecimal conversion"

    (File adapter for XI 2.0)
    Does anybody know the exact File adapter configuration parameters for reading a file with hexadecimal control characters as seperators. My file has
    3 types of seperators - i.e "2F", "05" & "0D2F"
    Eg: xml.fieldSeparator= "2F"
    When I specify this the file is getting split into fields
    at all the seperators in the file. I guess I am not using the right format in my defination ?
    Dorai

    Is there any special format for reading a file containing hexadecimal control characters?
    The file to be processed has hexadecimal separators:
    Field Delimiter        : '09' or '05'
    End of record delimiter: '0A' or '25'
    End of Table delimiter : '07' or '2F'
    Initially i would like to read the file into XI as it is i.e without any split by using "xml.fieldFixedLengths= "
    However, everytime I process the file(with hexadecimal contol characters), I have noticed that my file is getting split, even when I did not specify anything for field separator(i.e when i used fixed field length).
    Thanks,
    Dorai

  • File Adapter--Processing parameter configuration

    Hi Experts,
    I need to configured the sender and reciever FTP Adapter to Archive a 37 MB text file within a FTP server.
    It is taking 20 min to archive the file.
    does this requirement requires any change in Parameter configuration(like transfer mode, channel availabilty planning( i am using daily with duration 30 min) to make it fast.
    Thank you,
    MK

    Hi Experts,
    To archive huge files using FTP adapter, i looked at the Michal weblog to zip the file :
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    please explain how and where to write the below file
    @ECHO OFF
    7za.exe a -tzip D:\file_cat\%2.zip %1
    del %1
    and also explain
    Zipping a file can also be done with jar.
    For example,
    jar cvf m.zip m.txt
    will zip m.txt into m.zip
    No need for any other software as jar is highly likely to be on the XI/PI server...
    and how to implement it in the FTP  adapter configuration.
    Thanks in Advance.

  • File adapter  - fieldSeparator parameter

    Hello everyone!
    I've configured an FTP sender adapter that picks up CSV files. The fields in the file are separated by a spaces, eg. <b>DTL  1     14800575110370 12 0000003</b>
    What do I indicate in the "fieldSeparator" parameter of the Content Conversion to indicate that the fields are separated by a 'space'?
    Warm regards,
    Glenn

    Hi,
    The Hexadesimal notation for space is '0X20' and fro TAB separator is '0X09'.
    for more details check this link.
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Regards,
    Phani
    Reward points if helpful

  • Appending data in receiver file adapter

    Hi EveryBody,
    I have an IDOC to File Scenario.I need to create a flat file in the receiver file adapter directory and want to append the data in the same file every time the IDOC is trigged.I have File Construction Mode as Append but still i am not able to append the data.It gives the following error : <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: file already exists and must not be overwritten</b>

    Hi,
    In Order to Append the files do the following. It worked in my case.
    >change the file creation mode to create and select the check box for overwriting the file
    >After selecting the check box change the file creation mode to Append.
    You should be able to append the files now. Please award points if it works.
    Regards,
    Saipriya.

  • File Adapter on shared directory

    Hi,
    I am trying to use file adapter on a mapped network drive, windows machine.
    I am getting this error:
    ORABPEL-11001
    Invalid Input Directory.
    The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "O:\BCRSignatures"
    Ensure that the following conditions are satisfied for the input directory :
    1) It exists and is a directory (not a file). and
    2) It is readable (file read permissions). and
    3) If activation parameter "DeleteFile" is set to "true" then the directory should also have granted write permissions. and
    4) If using a logical name, then ensure that the mapping from logical name<-physical directory is correctly specified in the deployment descriptor
    The location is accesible for read and write within Windows.
    The error persists even with "no delete files after processing" and "no archive processed files", options.
    Any ideeas? Sugestions?
    Regards,
    Latha

    Hi Latha,
    Can the user your running your AS access the directory? Assuming you're on windows, by default the process manager service runs as the local system account. Try running the service as a named user with sufficient privileges on the directory.
    Regards,
    Pop

  • File adapter parameter "Msecs to Wait Before Modification Check" is gone

    We are using PI 7.1 and we have the problem that the file adapter (ftp) picks up incomplete files from time to time. That causes a mapping error.
    Have a look at sap note 821267 question 3.
    https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267
    Here you can find a solution. But in reality this parameter isn't there. And if you check the current documentation
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/655453b48a4ddfe10000000a1553f7/content.htm
    you can't find this parameter too.
    Has anybody of you the same effect? Does anybody of you know the reason? And the most important question is: What is the solution for this problem. The suggested work around in this note isn't possible for us.

    Hi,
    May be this thread can give you some idea to deal with your problem.. see my reply there
    Re: Use temporary file in FTP receiver adapter
    Sorry this will not help you here..
    One solution which I think is.....
    Put file in your source directory with diff name, and write an script which will rename it to its original name.
    The logic for scrip should be something like this.
    First of all when reading the file for the very first time then check the size and wait for 10 sec and then again check the size. If both size are same then scrip should rename the file to its original name.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Mar 26, 2009 4:35 PM

  • Specifying current directory in Receiver File Adapter

    Hi Experts,
    I have been configuring a receiver file adapter to place a file onto an FTP server. As per the information provided, as soon as I login to the FTP server, I have to place the file in current logged in directory. In this case, how can I mention this in file adapter as to use the current directory path to place the file? What should I enter in 'Target Directory' in File Access Parameters?
    Thanks,
    Dhawal

    Hi Praveen,
    Since file directory parameter is mandatory, my question is what should I enter in this parameter so that the file adapter will know that the file should be placed in the root directory itself?
    Regards,
    Dhawal

  • File Adapter cannot read from Unix Directory

    Hello Everyone,
    I have created a Bpel process that should read txt files from a Unix directory, but its not doing its job.
    I have tried this process on windows and it works fine.
    I got the following error from the process log in my bpel console.
    my process compiles fine but I am getting this error: The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "/temp/test"
    Also if there is something wrong with my path, please let me know.
    Thanks in advanced,
    AJ

    Hi,
    The path /temp/test might be wrong. Suppose you have installed SOA at /home/oracle/product/soa/10.1.3.1/<> , where /home is the root folder, and if you have your test folder at /home/temp/test, give the location in file adapter as /home/temp/test.
    Let me know if you still get this error.
    Thanks
    Ramana.

  • ESB file adapter on shared directory

    Hi
    I am trying to use file adapter on a mapped network drive, windows machine.
    I am getting this error:
    ORABPEL-11001
    Invalid Input Directory.
    The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "O:\BCRSignatures"
    Ensure that the following conditions are satisfied for the input directory :
    1) It exists and is a directory (not a file). and
    2) It is readable (file read permissions). and
    3) If activation parameter "DeleteFile" is set to "true" then the directory should also have granted write permissions. and
    4) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor
    The location is accesible for read and write within Windows.
    The error persists even with "no delete files after processing" and "no archive processed files", options.
    Any ideeas? Sugestions?
    Metalink is poor on this.
    Thank you,
    Liviu

    HI BPEL Gurus,
    Everytime i m facing ORABPEL-11001 Errors . I dont know why its coming.can u someone give suggestion to this regards. i attach the logs as follows
    <2007-11-23 09:53:29,825> <INFO> <dev.collaxa.cube.activation> <File Adapter::Inbound> Recovery still not possible after 151110 attempts due to ORABPEL-11001
    Invalid Input Directory.
    The value specified for the input (Physical/Logical)Directory activation parameter has an invalid value "D:\igefi\bpelinterfaces\mfond\dev\Wrk_Imp_Swap_Price\WORKDIRS\input".
    Ensure that the following conditions are satisfied for the input directory :
    1) It exists and is a directory (not a file). and
    2) It is readable (file read permissions). and
    3) If activation parameter "DeleteFile" is set to "true" then the directory should also have granted write permissions. and
    4) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor.
    the above message i m getting in domain.log and opmn.log
    Regards
    Hameed

  • 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

  • In my integration directory adapter engine parameter was not appear forJ2EE

    In my integration directory adapter engine parameter was not appear forJ2EE engine.It appears for IDOC and HTTP Adapters.
    Please clarify ASAP..
    Thanks

    Hi Chiru,
    You mean to say that, In ur Communication channels based on J2EE Engine like File, RFC,etc u are not able to see Adapter Engine Type Parameter Value as Integration Server.
    Reimport SAP BASIS Software Component once again in to repository and restart the Application Server and check.
    Regards,
    Sudharshan

Maybe you are looking for

  • Write a PDF using FTP

    Hi people, I have got a tricky question. How can i write a PDF to a target destination using FTP? It seems easy but i have got same constraints, which are: 1 - I will get data from PDF in one string element (xstring in R/3, base64Binary in PI 7.0), t

  • Registration Crystal Reports

    I have a problem when loading mu Vb6 project containing several CR reports. The registration wizard starts for each report in my project. I have registred my registration number and can see this number (8495647041) in the wizard. How can I stop the r

  • HP Laptops? Never again!

    Finally, I can draw a conclusion for myself and for you: If you contemplate buying a HP Laptop, don't. Not unless you have a very good reason that it must be from HP. Having witnessed several generations of HP Laptops I can rightfully say that if you

  • T500 Windows 7 Synaptics Problem

    Hi, My T500 running 7 Pro 32 was working fine till today I started TV System Update and I think I installed 4 updated 3 of them were Windows 7 update module and New TV Power Manager after the restart my track point doesn't scroll well like before and

  • Unix Aliases

    In Unix there is a way to move to any directory from any other directory by saying for example "cd $MySQL", wherever you are and it takes you to your MySQL directory. 1. How can I do the same thing on Mac terminal window? 2. Can an alias like this be