cancel
Showing results for 
Search instead for 
Did you mean: 

Error in processing empty files

Former Member
0 Kudos

We have a requirement where in we the source system sends an empty file (xml,csv,txt) and XI shud process this file and send it to the target systems.

It is a file 2 file scenario we are using.

I have checked the option in the file adapter which says "process empty files"

I see the Error message displayed in the Abap stack “Unable to read payload from the message object”

Can some one point me how to process this empty file.

Thanks,

Nandini

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

These three options are available for handling empty files in XI SP 19 and PI SP 10 and above.

Select the option :Do Not Create Message"

Former Member
0 Kudos

Hi krishna,

Refer the link given below this will be helpfuill for u

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Regards

Naveen

former_member335553
Active Contributor
0 Kudos

Hi

Possibly only from SP 19 in XI and SP 10 in PI.

you have that control. refer this thread

Former Member
0 Kudos

hello nandini,

There is option in file adapter to ignore the empty file have u checked it. which SP you are using?

regards

ramesh p