cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI -> File Adapter

Former Member
0 Kudos

Experts,

I am looking for a way to use SAP XI File adapter, wherein, i can just pull a file from a source directory using XI and send it to the receiver , UNALTERED .

I just want to pass file as it is to the receiver using SAP XI /

I know we can do this, BUT can somebody tell me how ? Do we have to create Inbound / Outbound interfaces here OR can we just create communication channels

( receiver and sender ) with adapter type as 'FILE' ??? If yes, HOW ??

Would appreciate your reply .

Thanks,

Ashutosh

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I got important information from everyone .. I am going to implement the design and see if it works for my Business scenario or not . All helpful answers. Thanks

Former Member
0 Kudos

Have one more question ->> I have two receivers, and one of the receiver needs some lines added to the file content, Can i still use the same design of just using the Configuration objects ???

Would appreciate your reply .

Ashutosh

Former Member
0 Kudos

Hi,

Yes use the same design...that will do.

Please reward points if it helps

Thanks

Vikranth

Former Member
0 Kudos

you can't use the same design if you want to send files to different receivers based upon some conditions,since XPath will come into picture then.

but if you want to send the exact same file to both the receivers you can use blog 4383.

in your case you can't use the blog coz want to put some extra values in file for one receiver but don't want those values in file for other receiver,coz you need to do that in message mapping,hence all IR steps should be done

Thanx

Aamir

Edited by: Aamir Suhail on Jun 4, 2008 4:26 PM

Former Member
0 Kudos

Aamir,

Can i use OS command, in case of other receiver where i want to add some lines to the file content ??? Say , OS command in File adapter, before processing the file ???

Do u have any idea ??

Would appreciate your reply .

Thanks,

Ashutosh

Former Member
0 Kudos

Hey

If you want to use OS command then you do this without XI itself:)

since no mapping is involved in your case,XI is just acting as a postoffice.if you want to write a script ,then you can do everything without XI itself.

if you still want to use XI as well as OS commands,then yes you can create other file with some extra parameters via script and give this script in receiver file adapter

Thanx

Aamir

Former Member
0 Kudos

Hi,

It is possible to use XI for only transfering files without setting up any design objects.

Follow this weblog : /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

regards,

Advait

Former Member
0 Kudos

Advait,

Thanks for the important information. BUT one more question ,I have two receivers, and for one of the receiver, i need to add some lines to the source file BUT for other receiver , no addition to file content .. Can i still follow the same design as in blog :4383, about filt-to-file scenario without using IR ??

Would appreciate your reply .

Thanks,

Ashutosh

Former Member
0 Kudos

Hey

you add extra elements to file you need to do message mapping,since blog 4383 has no message mapping,your scenario can't be done exactly as 4383

Thanx

Aamir

Former Member
0 Kudos

Hi,

Follow this blog

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository