cancel
Showing results for 
Search instead for 
Did you mean: 

Problem about Handling of Empty Files in File Adapter

Former Member
0 Kudos

Hello everyone,

NetWeaver 2004s --- XI

In Sender i have a File Adapter.

Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message.

I have seen following text in help document. But in adapter configuration i can not find the correspond parameter.

can you give me some tips?

Thx in advance

best regards

Yaning

SAP Help Document über File Adapter

+Handling of Empty Files

Specify how empty files (length 0 bytes) are to be handled.

○ Do Not Create Message

No XI messages are created from empty files.

The files are processed according to the selected Processing Mode.

For example, if the processing mode is Delete, empty files are deleted in the source directory.

○ Process Empty Files

XI messages are created with an empty main payload.

The files are processed according to the selected Processing Mode.

○ Skip Empty Files

No XI messages are created from empty files.

Empty files are skipped and remain in the source directory.+

Help Docu

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

it's available since Sp19 for XI 3.0

and the corresponding SPS fpr XI 7.0

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

so probably you need to install the new SP

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

when don't install SP, there are other possibilitys ?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

not in standard I'm affraid

installing the new SP will be the easiest thing

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

bhavesh_kantilal
Active Contributor
0 Kudos

Write a script and check it outside of XI is the only option apart from upgrading to SP 19 / SP 10.

Regards

Bhavesh

VijayKonam
Active Contributor
0 Kudos

Hi,

I would write a small shell script or a C program, which examines the empty files and moves only the nonempty file to the directory where XI adaptor is polling.

VJ