cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer various files "generically"

Former Member
0 Kudos

I have various files (with differents formats) and I need to transfer this files from Windows to Unix once the day.

I don't need to transform this files, I need to transfer only. How can I do it "generically" ?

What the better way to do this?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Evandro,

You can do this by using a file to file scenario where you need to take care of these.

1. No content conversion is used in both the sender and receiver file adapters.

2. Use the adapter specific message attribute for file name on so that the source and the target file name remains the same.

3. No mapping is needed except you need to maintain the interfaces and the configuration scenario with the relevant receiver determination.

4. In the interface determination you mention the inbound message interface and no mapping is mentioned.

5. In the source directory you can say *.txt(or which ever is the extension irrespective of the format).

This will work like just transferring the file from one location to another.

Cheers

JK

PS: Award points if this helps you.

Former Member
0 Kudos

Can I entry a list of files?

I will process much sub-directories. I was thinking in entry a list of files in "fine name scheme" or the root, or to do a loop calling the Sender, sending the file name, but I dont know how to do this.

There are much files, and I didnt want to configure the XI for each file.

thanks

Former Member
0 Kudos

Hi,

It can read sub directories provided the path is correct, it reads wild card charecters too like you can give, *Orders.txt and read all orders file,

Can u manipulate this with wild card as i said, i mean is there a similarity with the file names that you are sending,

So when a particular file comes to that directory it will be send to the xi pipeline to be processed.

It would be great if you can elaborate a bit.

Best wishes,

Anirban.

Former Member
0 Kudos

Hi Evandro,

If you are on SP15 or above you can choose the 'Advanced selection for source file' and then you can mention the various subdirectories, and also the filename mask with the exclusion mask also....

More specific syntax and all are available in http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Cheers

JK

Former Member
0 Kudos

I still have SAP XI SP13.

"Advanced selection for source file" is for "File System" or is for "FTP" too? I can install SP15!

Former Member
0 Kudos

Hi Evandro,

Its available for both file system and FTP....If you can upgrade your system to SP15 then you can make use of these advanced options.

Cheers

JK

Former Member
0 Kudos

I will install the SP15.

Thak for your response

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Just adding , Can you dump the files from windows to a common folder path? if yes then you can ftp and poll that particular folder receive the file in sap xi and send to target with same structure (one to one direct mapping).

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

Part 1 and part 2.

Regards,

Anirban.