cancel
Showing results for 
Search instead for 
Did you mean: 

NO BATCHES FOR TRANSMISSION

Former Member
0 Kudos

We've upgraded our XI server and now when connecting to an FTP site to pick up a file we are receiving the following error...

Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION

Has anyone seen this error?

Also the file does exist and is able to be picked up by our server that wasn't upgraded.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello everyone!

I had the same issue. File adapter had error: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Failed to change directory.'

Problem was resolved when in adapter configuration I changed Target Directory from "/errors/" to full path as it is on the Linux server "/home/<username>/errors/" where <username> is name of the user you want to connect to ftp.

Sincerely yours, Yaroslav.

Former Member
0 Kudos

Even I had the same issue: "FTPEx: 550 Failed to change directory."

I appiled the same solution(full path) and it worked!

Thankyou, Yaroslav!

moorthy
Active Contributor
0 Kudos

Hi,

check the connection parameters i.e user id , password, authentication and firewalls if any from XI system

Hope this helps,

regards,

moorthy

Former Member
0 Kudos

All those are setup correctly. The interface was tested before the upgrade and worked correctly. I am doing the post upgrade testing on the same server and it doesn't work.

Anyone else have an ideas?

Former Member
0 Kudos

Emmett,

Have you gone through SAP notes 821267 question No. 13. Is this holds true for you. If it is true then the solution is given in the notes.

What it says is:

Q: I have configured a File Adapter receiver channel to upload to a Microsoft Internet Information ServerFTP server using the "Put File" mode "Use Temporary File".

When sending a large file to the receiver, I get the following error: "com.sap.aii.adapter.file.ftpFTPEx: <filename>: The process cannot access the file because it is being used by another process."

How do I solve this problem?

A: The cause of this problem is a known bug in the Microsoft IIS FTP server implementation you are using. For details, refer to:

IIS 4.0:http://support.microsoft.com/default.aspx?scid=kb;en-us;238644

There is no fix available from Microsoft. As a workaround, set the configuration parameter "Put File" to "Directly".

IIS 5.0: The problem is currently not documented by Microsoft. As a workaround, set the configuration parameter "Put File" to "Directly".

IIS6.0: http://support.microsoft.com/default.aspx?scid=kb;en-us;828086

Apply the hotfix provided by Microsoft.

---Satish

Former Member
0 Kudos

We're using a file sender channel and it's not a Microsoft Server.

Any other ideas?

former_member192798
Active Contributor
0 Kudos

Hi Emmet,

Try to login to your XI server. Open an FTP session from the XI server. You can find whether XI has access to the FTP server.

Regards.

Praveen

former_member192798
Active Contributor
0 Kudos

Hi Emmett,

Just came across this weblog:-

/thread/34024 [original link is broken]

Hope this will help you.

Regards.

Praveen

former_member206604
Active Contributor
0 Kudos

Hi,

Try setting the <b>Connect Mode</b> in the Sender file adapter as <b>Per File Transfer</b>.

Also try with <b>Data Connection</b> like Active/Passive.

Thanks,

Prakash

Former Member
0 Kudos

Praveen,

We are able to FTP from the XI box to the server.

Also, I looked at that link and I don't see how that problem is related.

Thanks.

Any one else have any ideas?

Former Member
0 Kudos

Prakash,

Thanks for the ideas, but we tried that yesterday before I posted on here. I also tried to go after the exact file file instead of using a wildcard and that didn't work. I pretty much tried all the typical changes I could make in the communication channel.

former_member192798
Active Contributor
0 Kudos

Hi,

To configure FTP Protocol in XI, please go through all the following links. They should help you do the same.

http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/44/6c9442c22d1131e10000000a1550b0/frameset.htm

Configuring the Sender File/FTP Adapter:

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Configuring the Receiver File/FTP Adapter:

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

http://www.sapgenie.com/xi/

http://help.sap.com/saphelp_nw04/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm

If content conversion is involved, You have to mention the field names in header of data type: fieldNames. Hence if the key field is not present it will throw an error in adapter monitoring, FIELD NOT FOUND.

To make note mapping cannot be performed with a flat file as XI understands only XML. Hence content conversion required.

Please go thru these links for step by step procedure to do the same:

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

Hope they are helpful for you.

Regards.

Praveen

former_member206604
Active Contributor
0 Kudos

Hi,

This kind of error is nothing to do with the communication channel in XI. I think this is completely because of FTP server and might be the FTP server is not allowing Passive mode (Any of these mode for communication).

Also in general 550 error means there is no permission. Check out the permission for the user that you are connecting.

Thanks,

Prakash

Message was edited by: Prakash Arunachalam

Former Member
0 Kudos

Well we dug through the log files and noticed something odd. The FTP command that is being sent to the server is RETR filename.1234. The .1234 is something that's being added from XI. The file exists on the server, but not with the .1234. We have put a OSS note out, but I thought I would just check again if anyone has had an issue like this. Also, in the comm channel we are using a wildcard to search for the file. From looking at the log file, it looks like XI does a LIST command to get all the files out there. Then does the RETR.

Any ideas?

former_member192798
Active Contributor
0 Kudos

Hi Emmett,

Why don't you check the communication channel and it's parameters once again. Recheck what you have given as wildcard.

Regards.

Praveen

Former Member
0 Kudos

I've rechecked multiple times. I've also tried going after the exact file name.

former_member192798
Active Contributor
0 Kudos

Hi Emmett,

I am in dark. Just let me know once you get reply for the OSS note.

I hope other issues are solved.

Regards.

Praveen

Former Member
0 Kudos

Hi Emmett,

We've encoutered the same problem recently. Do you already have the answer of the problem?

Thanks and regards,

Anung

Former Member
0 Kudos

Hi,

we are facing the same issue any idea how to resolve.

Thanks

Y.Raj