cancel
Showing results for 
Search instead for 
Did you mean: 

error not displayed while giving empty file

Former Member
0 Kudos

hi

in a file 2 file scenario, if i am giving empty file without any records, xi is picking up the file while i could not get the emptyfile in target also.even i could not trace the message in moni or runtimeworkbench since the message is not at all displayed in message list.why it is happening like that

regards

raghu

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

U have the following options in file receiver communication channel for empty file handling

Select Handling of Empty Messages:

○ Write Empty File

An empty file (length 0 bytes) is put in the target directory.

○ Ignore

+No file is put in the target directory.

http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm

Regards,

Prateek

Answers (1)

Answers (1)

Former Member
0 Kudos

prateek,thanks for the answer but i cant understand why it could not be traced in moni or runtime workbench

Former Member
0 Kudos

Rahju,

in the FIle Sender adapter, there is a parameter - Empty File Handling:

- Do not create message (you have set probably this)

- Process empty files (would create empty message)

- skip empty file (no message, no processing, no saving into archive)

Change you parameter settings to process empty files.

Peter

Former Member
0 Kudos

Hi,

If the empty fiel handling parameter is not used then the adapters will not consider the empty files and sequencially there will not be any entry in RWB for it.

There will be entry in RWB only if the file get processed.

thanks

Swarup