cancel
Showing results for 
Search instead for 
Did you mean: 

Error while processing files only with header line

Former Member
0 Kudos

hello,

while processing files only with one Header line (SFTP Adatapter -> Java Mapping -> Message Mapping -> Idoc) the idoc adapter is throwing
following error message:

Split mapping created no messages, cannot proceed. Review your mapping setup: splitting to 0 messages is not allowed.

any ideas? i think we have to configure the SFTP Receiver Adapter but the file isnt empty because of the Header line. is there any way without creating own module? thanks

Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

you mean, when file has only header, it is giving above error.

is it required that header and item both must present in input file?

may be in the receiver determination, in condition, you can check the first item(index 0) is present.then you can call the interface mapping, if not you can ignore it.

you have the option using enhanced receiver determination also. you can use java or message mapping to determine the condition.

if possible please check with sender system, to create the files with header and item.

Former Member
0 Kudos

thanks alot! i will try to use Receiver Determination.

Former Member
0 Kudos

thanks again! i solved the Problem with Receiver Interface Determination.

via x-path condition i check if field contains header data like 'Date' and not '20150610'. if its not a valid data it only run through dummy Interface.

Answers (0)