Skip to Content
author's profile photo Former Member
Former Member

File Adapter configuration

Hi,

I am tring a File adapter. I want to take data from File & upload it in SAP 4.7. Integration Builder related configuration are done. I goto Adapter Engine & added new file adapter, in Configuration what shud I mention against XMB.SenderBusinessSystem, XMB.User,XMB.Password, file.sourceDir(e.g c:/xi or c:/xi/)?

I guess the presentation server from where I have to pick up the file is to registered with XI as 3rd Party system. I have defined 3rd party software, component. The 3rd party system is defined in Technical Landscape & XI landscape. Stopped & started SLD server from SLD administration. Now when I click Start button Inbound File adapter it gives me following error message,

<i>***** Tue Feb 24 17:21:34 IST 2004 *****

17:21:34 (4023): File adapter initialized successfully

17:33:12 (4007): File adapter started

17:33:12 (4057): ERROR: Invalid source directory "c:/xi" specified

17:33:12 (4077): Retry mode - wait 20000 sec, 0 msec interval before retry

17:33:58 (4063): File adapter polling sequence interrupted</i>

Can you help me to solve this problem?

thanks,

Bhush

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2004 at 12:54 PM

    Hi!

    XMB.TargetURL=http://<IntegrationServer>:<port>/sap/xi/engine?type=entry (do not take the J2EE port, default: 50000, as indicated in the documentation but the ICM port, default: 8080)

    XMB.User=XIAPPLUSER

    XMB.Password=<pass>

    XMB.SenderBusinessSystem=com_<xxx>_<xxx> (business system configured in SLD)

    file.sourceDir=/usr/sap/XI0Con/java/tech_adapter/Data/file_inbound (or C:\xi on Windows e.g., path where file adapter polls for new files)

    Regards, Tanja

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      2)Does the File Adapter & the file to be uploaded should be on the same m/c?

      No. Because you can use the UNC name or use FTP.

      3)Can I define Third party system & use File adapter from another m/c?

      This questions is not clear to me.

      4)If I want the file to be uploaded only once, (no polling) how shall I achieve it?.

      The file adapter works standard in a way that a file will only be processed once.

      The file adapter keeps track of the size/modification date of the file. If a file with the same name/size/modif. date appears then XI will not process it again.

      There are several options you can use to deal with the input file after it is processed.

      I use:

      file.processingMode=archiveWithTimestamp

      file.archiveDir=c:/XI_Testfiles/Archive.

      If you configure this than the fileadapter will move the file from the input directory to the archive directory and adds a timestamp to the name.

      This will be done after it is processed and send from the Fileadapter to XI .

      If you (by accident) put the same file again in the input directory the fileadapter will refuse to process it again.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.