Skip to Content
0

SAP PI/PO File Receiver cannot read some files but after change only 1 digit then they can be read

Mar 13 at 05:04 AM

34

avatar image
Former Member

Dear Expert,

We have implemented asynchronous interface FTP File-to-RFC on SAP PO 7.5. We found that there are 2 files that cannot be read from FTP (Not goto Error folder or Archive folder also there is no log on monitoring and Netweaver), the other files are being process as normal.

But if we change filename only 1 digit from any character in filename for example we change from Sales_UB11_20180308110209.xml to Sales_UB11_20180308100209.xml then this system can read the file.

In Communication Channel, we have try to configure "*" to the filename but it does not solve the problem.

Does anyone experience this kind of problem?

Thanks.

error-1.png (12.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Anupam Ghosh Mar 13 at 05:13 AM
1

Hi Wiparat,

The issue is not that by changing filename communication channel is able to process the file.

The reason it is getting processed is the fact that in operating system level the file is getting saved again when you rename the file.

This time it is getting saved in ansi/utf-8 format which is causing the channel to recognize the file format.

Just request the sender of the file to post ANSI/UTF-8 format of file and avoid other formats. That will resolve the issue.

Regards

Anupam

Show 2 Share
10 |10000 characters needed characters left characters exceeded

This could be the case. You can confirm by opening the file in a hex editor to ensure that the correct byte-order-mark is there for the encoding specified in the xml e.g EF BB BF for utf-8.

0

But it seems to me that file adapter doesn't even try to read the file. When you rename the file - nothing changes to file's original data, changes are made to FAT only. Or am I wrong?

I would check first for proper file access rights and for duplicate file names (file with such name has already been processed recently).

Regards, Evgeniy.

0
Vivek Jain Mar 13 at 06:16 AM
0

Hi Wiparat,

Apart from Anupam's suggestion , please check the authorization of your user. Are you using the same user 10011000 , as shown in screenshot , in your communication channel. As we can see , permission of these 2 files are only rw , so probably if you are using some other user these files cannot be polled by PI Channel. In case you are using some other user in your channel , try configuring user '10011000' in your channel.

Regards,

Vivek Jain

Share
10 |10000 characters needed characters left characters exceeded