cancel
Showing results for 
Search instead for 
Did you mean: 

Processing an empty file with file adapter

Former Member
0 Kudos

Hi,

We have a scenario where we are merging multiple files via a BPM. One of the files that we read is a delta file, which at times can be blank/empty. The multiple receive steps in the BPM are in one fork and the end condition is set up so that all the messages are received prior to the transformation step.

When we attempt to read an empty file by activating the adapter, the adapter monitor reads that the message was processed successfully. But, no message is created in XI. Is this correct? If yes, is there any way we can create a message for an empty file w/o using a module to change the contents of the file?

Any suggestions or help is greatly appreciated.

Thanks in advance.

Best Regards,

Duke

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Duke,

One suggestion:

You can construct a message with some fields and use exists() function in mapping.

try this link:

http://help.sap.com/saphelp_nw04/helpdata/en/db/83f7b88528424c9113b15d5e0fb516/content.htm

Regards

Priyanka

Answers (0)