Archive dir path in inbound file adapter

I run in an XI2.0 system with a central (on our XI system) inbound fileadapter.
We need to retrieve inbound interface files from a BW SEM system. I specified the fpt settings and am able to retrieve the file from the specified ftp directory.
In my file.archiveDir I specified /tmp. What happens now, is that I retrieve the file from the BW SEM system, path, file.sourceDir=/ftpbw/inbound, but that the archived files get stored on the XI system /tmp, and NOT on the BW SEM system /tmp.
Is there a way I can use the Archive directory on the BW SEM system via FTP ?

Hi Jan,
The archiveDir cannot use ftp to archive the files, and it takes the directory on the local drive where the file adapter resides.
You may try to map the BW system drive from xi system so that BW file system can be accessed directly, or you need to install the file adapter on BW machine.
In XI2.0, it is recommended to install the adapters close to the business systems (in this case BW system) other than the xi system.
Regards,
Hart

Similar Messages

  • Inbound file adapter error

    Hi,
    I have inbound file adapter and when i run the test, the XML message displays the following error
    HTTP_STATUS_CODE_NEQ_OK
    HTTP status code 401 : Unauthorized
    please do help me .
    thankx

    Hi,
    Yes, i m using standalone xi2.0 , the configuration code is as below
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://<host:port>/sap/xi/engine?type=entry
    XMB.User=XIAPPLUSER
    XMB.Password=XIPASS
    #XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderBusinessSystem=b2
    #XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceNamespace=int1
    XMB.SenderInterfaceName=FILEINBOUND
    XMB.ReceiverBusinessSystem=b1
    #XMB.ContentKind=B
    XMB.ContentKind=T
    XMB.ContentType=text/xml
    XMB.QualityOfService=EO
    ##File Adapter specific parameters (example, see docu)
    file.sourceDir=c:/temp
    file.sourceFilename=test.txt
    file.processingMode=archive
    file.archiveDir=c:/temp_archive
    file.pollInterval=0
    ##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
    #xml.fieldFixedLengths=15,25
    #xml.processFieldNames=notAvailable
    xml.fieldSeparator=~
    Please let me whether this is correct or im missing some configuration.
    thankx

  • Error in Inbound File Adapter

    Hello,
    The scenario :
    Flat File => XI => Enterprise (4.7)
    I'm getting the following error in the Adapter Engine at time of Reloading the new inbound file adapter.
    ==========
    <i>***** Tue Jul 06 11:46:54 EDT 2004 *****
    11:46:59 (4023): File adapter initialized successfully
    11:46:59 (4007): File adapter started
    11:47:03 (4050): ERROR: Unexpected exception "com.sap.aii.messaging.adapter.ftp.FTPEx: Unknown extension in database file name." occurred</i>
    ==========
    The inbound file adapter is as below ... :
    ==========
    <i>classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    mode=FILE2XMB
    XMB.TargetURL=http://host123:8001/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=Sender_System
    XMB.SenderInterfaceNamespace=http://abc.com/xi/
    XMB.SenderInterfaceName=DataFile_Out
    XMB.User=xisuper
    XMB.Password=xipass
    XMB.ReceiverBusinessSystem=ENT
    XMB.ContentType=text/plain
    XMB.ContentKind=T
    XMB.QualityOfService=EO
    file.sourceDir=
    file.sourceFilename=DATAFILE
    file.processingMode=test
    file.pollInterval=060
    ftp.host=100.200.300.400
    ftp.port=21
    ftp.user=userid
    ftp.password=passwd
    ftp.mode=Text</i>
    ==========
    Any help is greatly appreciated.
    Thanx in advance.
    Homiar.

    All,
    Problem is solved. I changed the value for the Source directory & the adapter started to poll.
    Thanx,
    Homiar.

  • XI3.0  Inbound File Adapter  Error on ModuleSLDAccessir.

    Greeting,
    I have just installed the technical Adapter for XI.3 I tried to use the Inbound File adapter, unfortunately I had two big issues:
    1- I was able to execute run_adapter.bat but nothing was reaching the XI system.
    When I checked the Log File: I found the following error:
    Oct 13, 2004 1:22:08 PM  ...aii.messaging.adapter.ModuleSLDaccess [Thread-9] Error: Initializing ModuleSLDaccessor failed with 'java.lang.NoClassDefFoundError: com/tssap/dtr/client/lib/protocol/HTTPException'
    2- Second issue: when I try to access the adapter via the browser, the HTML page are not correct ! there is no text displayed. I just got code like :  {!%5124_G_XMIT%!}
    is there other setting to do ? I followed exactly the install book !
    Thanks for your help.
    Regards.
    M. Zehana
    Any help is more than welcome.

    Check that you are using XI 3.0. You dont have to use the run_adapter.bat unless you are using the J2SE adapter ( which is 2.0 ) to communicate with an XI3.0 IS.  If you have XI3.0 the adapters are configured in the integration directory which are now called communication channels. Therefore an inbound file adapter will be called a sender communication channel.  You can create a communication channel either within a scenario or directly in the objects area for the Service ( business system etc ).
    Mark

  • Inbound file adapter error - Guarenteed delivery...

    Hi,
    I am configuring inbound file adapter and I get an error:
    "Guarenteed delivery - operation for 1 file pending"
    The adapter does not work for the files pending.
    Can anyone help?
    Oded.

    Hay guys , I am realy stuck,can anybody share his experience with me?
    Oded

  • XI 2.0 Inbound file adapter : Connection reset by peer

    I am using XI 2.0 and have an inbound file adapter. It polls every 5 minutes. But at least 1 or twice a day the file adapter stops with the following error message.
    "java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read" occurred \par
    There have been times when this runs for days or weeks without any problems.
    Has anyone else seen this issue and how do your correct it?
    Currently I have to go into the file adpaters and restart them manually. It would be nice if there was some way to automate this function. Any ideas?
    Regards,
    Jim

    With JDK 5.0 use ojdbc5.jar instead of ojdbc14.jar.

  • Inbound File Adapter Error - NullPointerException

    Hi,
    We are on XI 3.0.  We have a scenario of input file via inbound file adpater to R/3 using proxies.
    When activating the communication channel (file adapter), an error is raised in the adapter monitor.  The error states, "Error: Module Exception 'com.sap.aii.af.mp.processor.ModuleProcessorException' found, cause: java.lang.NullPointerException".
    Does anyone have any ideas on this error?
    Thanks in advance.
    Best Regards,
    Doo

    Hi,
    Can you check the communication channel - "Module" tab. A module processor has to be specified here. For the File Adapter the default value for the Module Processor should be "localejbs/CallSapAdapter" and the Type will be "Local Enterprise Bean".
    Warm regards,
    Venki.

  • Inbound File Adapter problem

    Can someone tell me why my message is not processed by XI. I use a File Adapter. The File Adapter is "active" with the following configuration.
    Adapter type = File
    transport protocal = Filesystem
    message protocol = File
    adapter engine = integration server
    Source directory = "e:/XIprocessFiles"
    File name = *.xml
    File type = text

    Edward,
    What do you exactly meant with not processed? Is the file adapter not processing/sending your xml file to the XI system? Or
    is your interface defined in XI not doing anything with the input message?
    Assuming your situation is the first one; Then you should start by checking the source file name, source directory name, contentType (you have text, this should be text/xml), ContentKind (this should be T) and PollingInterval...
    In the second situation you should then look at adapter config settings like: namespace, sender interface name, sender business name etc...
    Cheers,
    Rob

  • 'lastFieldsOptional' parameter in Inbound File adapter ?

    Hi there,
    Im getting the following error from the adapter engine when trying to process a flat file.
    At The same time the adapter recommends to use the 'lastFieldsOptional' parameter, however,this parameter cannot be found in the provided documentation. can someone tell me what's exactly the problem here? How can I specify this 'lastFieldsOptional' parameter in the IB file configuration file? I have try to put this parameter in the config file, but the results are the same.
    xml.lastFieldsOptional
    Tue Nov 02 11:14:35 CET 2004 *****
    11:14:35 (4023): File adapter initialized successfully
    11:14:35 (4007): File adapter started
    11:14:35 (4051): Process 1 file(s):
    11:14:35 : /tmp/TF20041024.txt
    11:14:35 (4052): Start processing "TXT" file "/tmp/TF20041024.txt" size 264324 in "EO mode
    11:14:35 (4058): Start converting to XML format 
    11:14:35 (4060): ERROR: Stop processing file "/tmp/TF20041024.txt" (exception "java.lang.Exception: ERROR converting document line no. 1 : java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this" in XML renderer)
    11:14:35 (4077): Retry  mode -  wait 1200 sec, 0 msec interval before retry

    HI there,
    I just found the solution, the correct syntax of this "unknown" parameter from the file adapter is:
    xml.lastFieldsOptional=YES
    After this change in the config file the adapter is able to process the file.
    Cheers,
    Rob.

  • Dinamic Directory Path in Receiver File Adapter

    Hi everyone,
    I have a question for you.
    How can I give a dinamic path to the target directory in a file to file scenario?
    The scenario is like this:
    I have to take only certain files from a source directory. The names of the files are like 'S10048796050.txt', when the four chars in the beginning (1004) are the company code.
    With this code, I have to put the file in a different target folder.
    Examples:
    file with code 1004 --> p/xrt/universe/LOGISTICA/Conciliacion
    file with code 1005 --> p/xrt/universe/SEVISUR/Conciliacion
    etc...
    The easiest solution is to create an interface for every company, but I'm trying to do it dinamically.
    I only have SP14.
    Any ideas?
    Thank you very much.
    I'll give points who can help me.

    Hi,
    Please try the follwing code in Java UDF. This will work.
    Map map= container.getTransformationParameters();
    String strFilePath ="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(keyFileName );
    if(sourceFileName.indexOf("1004") !=-1)
    strFilePath = "p/xrt/universe/LOGISTICA/Conciliacion";
    }else if(sourceFileName.indexOf("1005") !=-1)
    strFilePath = "p/xrt/universe/SEVISUR/Conciliacion";
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileDirectory");
    conf.put(keyFileName, strFilePath );
    return strFilePath ;
    PS: Check the property Adapter-Specific Message Attributes -> Use Adapter-Specific Message Attributes , File Name in Source and File Path in Target Channels respectively.
    Thanks
    Amit
    Reward points if solution helps

  • Inbound File Adapter

    The requirement to trasfer a file from one location to another location after removing some of colomns from source file using Trasform activity. Simple process contain step; File Inbound, Transform, File Outbound but problem with the file size.
    I have created File Inbound adapter partner link that polls on a directory for every 30 min for new files. We have one file , size 400 MB containing 960,000 records.
    The process is thorwing errors , outofmemory error JVM heap memory error.
    First of all, is anyone dealing with this size of data ? can Transform (XSLT) activity handle 960,000 records, each record has 10 columns.
    We are using Oracle SOA 10.1.3.3 latest patch on Windows 2003 server.
    Please advise ...

    Hi.
    bpel.xml only applies to BPEL Process Manager. If this is the case, you can configure a logical name, and set its value it in the descriptor page of your BPEL process in the BPEL Console.
    Now, when we talk about ESB, when you define a logical name, you set its value using the endpoint properties of the adapter. If you're using JDev 10.1.3.3 (or 10.1.3.1/10.1.3.2 in preview mode) you can set the endpoint property at design time in JDev. At runtime, you set the value of the logical name in the properties tab of the adapter located in the ESB console.
    Denis

  • Inbound File Adapter - Multiple End points

    Hi,
    My scenario is File-> XI -> SAP.
    While doing so I have to pass the same message to SAP multiple times with different end points. Is it possible ?
    Thanks
    Satinder

    Hi Venki,
    Good to see you
    I sometimes miss the days in RNIF and CIDX.
    I needed a clarification on this:
    Is there any special configuration required for achieving multicast transmission?
    Is there any documentation available on SDN that can provide more info on the same.
    Regards,
    Siddharth

  • 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

  • Path in File Adapter Configuration [XI 3.0]

    Hi,
    when providing a relative path in the file adapter, which subdirectory will be used as parent directory?
    Furthermore, how can I address a network file system on a unix based host. Is it similar to
    hostname\dirfoo\dirbar\... like in a Windows environment?
    Thanks,
    Chris

    Hi Chris,
    The path provided to the File adapter should be the path on the sender/receiver system. For example, if your file is written to d:/usr/sap/trans/tmp this is the detail you should be providing to the file adapter.
    Note the use of '/' instead of backslash '\' used in the windows environment.
    Hope this helps.
    Kind regards
    Colin.

  • Dynamic update to Inbound Directory for File Adapter Read

    I've seen references to others asking similar questions but never a good answer.
    I have a process that outputs files into daily dated directories. In other words, my Inbound Direct name is dynamic. I would like BPEL to be able to pick up these files but the Directory Spec for the inbound file adapter seems to be set at design time (or in the case of a Logical Directory Deployment time).
    The directory names are in YYYMMDD format. So it would be:
    importdir/YYYMMDD
    for each day.
    Is there a way I can monitor an entire subtree, or have some event that triggers the directory name to be updated (for instance, a process watches the parent directory and kicks off when a new directory is created), or any other method I can inform the FileAdapter to begin polling a different directory.
    Thanks.

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

Maybe you are looking for

  • I am trying to run windows on a MacBook Pro using bootcamp.

    Can anyone help? I am trying to run windows 7 on my MacBook Pro, 17 inch late 2011, Mac OS X Lion 10.7.5 Intel HD Graphics 3000 384 MB This what I've done I used disk utility to format a 8g flash drive in MS-DOS (FAT) format. Then I went on the micro

  • HTTP to File Scenario using URL parameters.

    Hi, I am working on a HTTP to file scenario where POST method is hirring the XI server with authentication parameters. CAD application is trying to hot our XI server using POST Method and the application does not have ability to send XML payload to X

  • How do I remove all of the photos that have been imported and start over. The photo did not import into folders by date

    When I imported the photos, I thought I had it set to import them into folders but it didn't happen. I have one file of 10000+ photos in the same folder. I would likede to start over, remove what has been imported (not delete) and start over importin

  • Mail being marked as read automatically

    I have iOS 6.1.4 on iPhone 5 and multiple mail accounts. Gmail or Exchange - mail is being marked as read automatically even if I have not touched the mail. Not sure why this is happening but it is definitely an issue. I also beta tested version 7 be

  • JFrame borders

    I am using Swing, and am trying to figure out how to change the color of the border of the frame .. it appears the default is set to gray. Any suggestions would be greatly appreciated. susan*