cancel
Showing results for 
Search instead for 
Did you mean: 

File FTP Receiver Adapter - FTP connection + putting the file in FTP server

Former Member
0 Kudos

Hi,

I have a scenario in where the file is now in the XI server directory folder.

I need to create a file adapter that will pick up this file and push it out to the FTP server.

I know the FTP server conenction parameters and the file should be pushed out on a directory ABC on root level.

How do i configure this?

I cannot see even activity details in the communication channel monitoring even though it is green.

Please help.

I have already checked the previous queries but nothing helps.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Archana,

if you know the FTP server parameters then you have to just configure it as receiver adapter

with ftp server user credentials.

Ftp server directory path

username

and password for that ftp server.

regards

Ashwin

Former Member
0 Kudos

Hi,

I have done the configuration but somehow it does not seem to be working.

The sender agreement is configured with the sender service and the channel for picking up the file from r/3 system and I can see the procesing in the communication channel monitoring. The file is picked up and then archived.

The receiver agreement is is configured with the sender service and the receiver service, interface and communication channel to make FTP connection and it hsould place the file previously picked up.

Where am i going wrong?

Regards,

Former Member
0 Kudos

go to sxmb_moni and check the error you are getting and post the same we will be able to help you

And you mentioned that the file is picking from r/3 system? is it right?

Rajesh

Former Member
0 Kudos

Hi,

I have created the scenario as such:

From R/3 system - file send to XI system

From XI directory folder on the server - pick up the file

File is then FTP to the external server

Uptil now the interface seems to be working fine now.

However, the file picked up is in csv format and file uploaded should also be in the csv format.

Currently the file uploaded is in xml format.

How do I do this?

Please help.

Regards,

Former Member
0 Kudos

Do specify the FCC content conversion for this in the receiver File adapter

Rajesh

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Check with the configuration steps available in [this|http://help.sap.com/saphelp_nwpi71/helpdata/en/44/70ec8a20453abee10000000a155369/frameset.htm] link...may be helpful...

Thanks

Pavani

Former Member
0 Kudos

Hi,

Thanks for the link and the FCC suggestion which helped in part.

I have managed to put a csv file (as required) on the FTP server but unfortunately, it is picking only 1 field from the file from somewhere in the middle.

I have used the below record set structure:

RS_FMS_Out.addHeaderLine - value 1

RS_FMS_Out.fieldFixedLengths - value 50

RS_FMS_Out.fixedLengthTooShortHandling - value Ignore

RS_FMS_Out.endSeparator - value 'nl'

In an incoming xml payload, what field separator can I use as then I do not have to use the fieldFixedLengths?

How can I get the whole file across?

Please advice.

Regards,

Former Member
0 Kudos

use Message.FieldSeparator as comma for each element of your message

Rajesh

Former Member
0 Kudos

Hi,

It worked using comma as fieldseparator for the message.

Now the csv file uploaded on the FTP server has all the fields.

But, is there any way to get the column names as well.

Regards,

Archana

Former Member
0 Kudos

I have the correct file in corerct format with the column names on the FTP server.

Thanks for all your advice and suggestions.

Regards,

Archana

Former Member
0 Kudos

Hi,

see if you want to put your files on a FTP server, then in that FTP server there will be a folder ftproot .... so you need to create a folder inside ftproot say ABC and then you can access ABC from the reciver comm channel by specifying /ABC if it is a UNIX system or \ABC if it is a Windows system.

then activate your reciver file comm channel and run your scenario.........then in RWB in comm channel monitoring, you can see your msg audit log to see the processing of your msg.

Regards,

Rajeev Gupta

Former Member
0 Kudos

Hello ,

What exacttly you want steps for configuring the file to file scenario or

your scenario is not working at all.

If you have done your scenario and you want to test it ,check the below

1. Activation of all in IR and ID

2. Setting of poll interval in File Sender CC

3 Check the File CC is in Active state

4. Go to RWB and Check CC for status of your CC

Rajesh