Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Process empty file in Text (FCC) to Text (FCC) file scenario using G

Interface has to pick text files from the source system and deliver on target system as text file. If the source text file is empty (zero Bytes), interface has to delivery an empty text file on target system.

To accomplish this , we have developed an interface in PI system using graphical mapping and to process and delivery the empty files used empty file handling options on both communication channels. We have used Graphical mapping to transform the source file.

Interface is working fine if the source file is not empty. But in case of empty file, interface failed with an error message 'Parsing an empty source. Root element expected!' . We tried with all the available option on graphical mapping editor to fix the issue. But none of the options are worked.

Could you please let me know how to fix this issue.

Not what you were looking for? View more on this topic or Ask a question