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.

Similar Messages

  • Synchronous file adapter sender side configuration in sap pi

    Hi Experts
    synchronous file adapter sender side configuration in sap pi
    can you explain any one tell me step by step procedure?
    Regards
    Sagar

    Hi,
    You can use RequestResponseBean in the sender file adapter module .
    RequestResponseBean (SAP Library - SAP Exchange Infrastructure)
    Request/Response Bean for IDOC_AAE adapter
    Instead of IDOC_AAE adapter you can use FILE adapter.
    Regards,

  • File Adapter , Processing Sequence

    Hi All,
       Can you please help me to understand these?
    1. When i configure a Sender File Adapter with file pattern *.txt, Does it handle the files one after another? Or does it span multiple threads and processes multiple files in parallel?
    2. If i select processing sequence as DATE, does it consider the time stamp also?
    3. If a 100 mb file with name BIG.txt created at 1.00 AM,
        and a 0.1 mb file with name small  created at 1.10 on the sender system. If 100MB file needs 30 min to get processed,
    Then can i assume the second file get processed only after big file completely processed and reached the destination?
    Regards
    Ganges Leaves

    Ganges,
    During any polling interval, XI will pick all files matching your Criteria and process them parallely.
    Even if the big file is being processed, the next file will be picked up by the adapter if it is available during the next polling interval.
    All interfaces are  executed independent of the other.
    All this is if u choose the mode as    <b>Best Effort</b>.
    Regards,
    bhavesh

  • 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

  • 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

  • File adapter processing in FTP mode

    Hello SDN,
    I need some info on File adapter working in FTP mode.
    What happens when we point to a remote file location that runs on FTP server?
    FTP in standard does not support a remote read operation at all. So the only possible logic that strikes me is issue a FTP get command over the file and get the file locally, read it. Does it happen this way? Or SAP has customised FTP to enable the read operation from a remote location directly?
    Regards,
    Jai Shankar

    Hi Jai,
    I am sure you must have gone through this File/FTP help file earlier also. If you read the Procedure section of it, I think it will give you a clear idea what exactly happening there:
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    Regards,
    Subahsha

  • 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

  • File Adapter-Processing Parameters

    can one tell me the difference between and when to use the following processing parameters
    poll interval(secs)
    poll interval(msecs)
    Retry Interval(Secs)
    Advanced Mode & Msecs to wait before modification

    Hi,
    from help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    <b>Poll Interval (secs)</b>
    Number of seconds that the adapter must wait if no files are found for processing.
    <b>Poll Interval (msecs)</b>
    Additional waiting time in milliseconds.
    If Poll Interval (secs) is set to null, processing times will be short and close to real time.
    If Poll Interval (secs) and Poll Interval (msecs) are set to null, the adapter is only called once.
    <b>Retry Interval (secs)</b>
    Specify the number of seconds that the adapter is to wait before a file processed with errors is processed again.
    If the value is set to null, then the adapter is canceled if an error occurs, even if a value greater than null is specified for Poll Interval (secs).
    Regards,
    michal

  • 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

  • What is the role of Schema in File Adapter

    I am configuring File Adapter during the configuration step - 6 two options are there Schema is Opaque & Schema file url, what is the difference between these two and why it is needed? If It is required then what are the elements should be present at schema?

    +"If native format translation is not required (for example, a JPG or GIF image is being processed), then select the Native format translation is not required check box. The file is passed through in base-64 encoding.+
    +XSD files are required for translation. If you want to define a new schema or convert an existing data type definition (DTD) or COBOL Copybook, then select Define Schema for Native Format. This starts the Native Format Builder wizard. This wizard guides you through the creation of a native schema file from file formats such as comma-separated value (CSV), fixed-length, DTD, and COBOL Copybook. After the native schema file is created, the Messages page is displayed, with the Schema File URL and Schema Element fields filled in. For more information, see Creating Native Schema Files with the Native Format Builder Wizard."+
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10231/adptr_file.htm
    Native Data Translation
    maybe that explains it a bit

  • Receiver File Adapter - Empty document found error

    Hi,
    I have a slight issue that I do not understand.
    For example, I have a file that is 256 bytes in size and definitely has some content. However, when the file adapter processes the file it says in the log "Empty document found" - but I can see the file has content.
    Any ideas ? I am using using XI 3.0 SP19.
    Cheers
    Colin.

    hi colin,
    i will agree with u,
    may be the XI can not understand your test data,
    can u tell me the language of test data.
    In file adapter go to encoding select TEXT and  UTF-8.
    may be this will works.
    regards
    sandeep.

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

  • Sender File Adapter Wildcard

    Is it possible to get PI to traverse an unknown file system searching for files to drag in through the file adapter FTP ?
    I know the file adapter can be configured for multiple sorce directories, but can it be configured to search any directory with a file structure.
    I have tried a * in the directory setting like this - /apps/inbound/*/
    - The idea being anydirectory under inbound should be checked but this reads the * as a literal
    I have tried changing the filename to be */TargetFile
    - This work as far as PI finds the file, but must pass the actual filename to another function and only passes TargetFile and so the adapter complains it cannot find it again...
    Note.
    Configuring multiple directories will work but i dont want to reconfigure each time a new directory is created in this structure, And the structure will change regularly and I would prefer not to script it in unix. I am using FTP as a transfer protocol ....

    Richard,
    You said NO to all the features that XI provides. I think writing your own adapter or enahncing the existing adapter is the only choice remaining..!! After all we need to change somethings to make things work as they are. Otherwise, custom development is the only solution.
    VJ

  • Sending multiple files using file adapter

    The scenario I am implementing requires multiple files of different names to be picked up by my adapter. I dont want to create different file adapters for each file. I tried using the "Additonal Files" option in the sender file adapter in my configuration, but am not able to do the same. Any idea as to how the configuration for multiple files for same adapter isto be done?

    Hi bhavesh
    Fundamental of adapter configuration is you have to give valid xml structure to XI, so you will define your configuration according to your requirement.
    for .xml you have file as a message protocol while for .csv you have file content conversion as a message protocol.
    So you have to define adpater configuration for sender side for one type of structure.
    So you need a different communication channel for different extentions.
    for diffrent strcutures,having same extention, you can execute this.
    Please make me clear that what is your scenario?
    why you need to pick all files under a directory with a same communication channel?
    Regards
    Piyush

  • File adapter - Unexpected exception running file2xmbprocessor

    Hallo,
    I've a fileadapter running and a couple of time the adapter is running fine.
    After a while I get the following exception:
    <i>Unexpected exception running file2xmbprocessor
    java.util.NoSuchElementException
    at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1024)
    at java.util.TreeMap$KeyIterator.next(TreeMap.java:1051)
    at com.sap.aii.messaging.adapter.File2XMBProcessor.processFileAccess(ModuleFile2XMB.java:1383)
    at com.sap.aii.messaging.adapter.File2XMBProcessor.run(ModuleFile2XMB.java:872)
    at java.lang.Thread.run(Thread.java:534)
    File adapter processing stopped</i>
    I have no idea whats wrong.
    Any idea
    Thanks harald

    Hi Prasad,
    sorry - but I can't understand what you mean.
    The file-adapter I'm talking about runs on a fileserver. This adapter read the files and send them to the XI-System where a java-mapping is running.
    Therefore I can't believe that the problem is the mapping.
    The way I see it is that the error must be in a part of the file-read-process because the exception says
    <b><u>[fileprocessor]</u> Error: Unexpected exception running file2xmbprocessor
    java.util.NoSuchElementException
    at java.util.TreeMap$EntryIterator.nextEntry </b>
    Could you please explain what you mean.
    Thanks and best regards
    Harald

Maybe you are looking for

  • My iphone 3g does not work after updating the software through itunes

    Some days ago I made a security copy of my iPhone 3G at iTunes. Today when I conected my iPhone to iTunes I had a message saying I had to update the software of my phone. I accepted and after around 30 minutes of update I got another message saying t

  • Error sending to idvd

    I created several slideshows in iphoto 5.0.4 and when i clicked 'send to idvd' i got an error message 'the export movie file could not be created.' what's going on? i now also get this message with slideshows that i was able to send to idvd in the pa

  • Printing Word Documents on HP Deskjet 5150

    I have a G4 flat panel iMac connected to a HP deskjet 5150 printer. When I try to print Word documents, it will only print a single page of multipage documents. If I want multiple copies of a single page document, it will only print one copy. All oth

  • Function, BAPI to get the children form a Network Activity in a Project (PS)

    Hi everyone, I have a Project in TCode CJ20N with PEPs, Networks and all the components that It has. I'm doing a program which input "Network Activity" and the result have to be all the children for this Network Activity (Material Components) includi

  • Perchè non mi funziona il parallasse?

    la funzione parallasse nel sistema home e nella pagina iniziale non c'è ( non ho nessun effetto 3d ) come posso metterlo?