Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
PJoshi1612970521
Contributor
Contributor

thMap is sending 1 record in tSAPIDocOutput for 0 record received from input

Hi,

I have a mapping where I am converting a flatten structure using thMap to an IDoc structure. The issue is, I have a tFilterRow component in the subjob which is filtering the row on some condition, the thMap is still producing 1 row for that record and sending it to tSAPIDocOutput and it is giving error java.lang.RuntimeException:Malformed IDOC: An IDOC must contain at least one complete data record (second line) with 524 characters. Is there a way I can restrict thMap to create a default record in case no rows is received by i0695b00000SpebkAAB.png0695b00000SpeamAAB.png

Labels (3)
1 Reply
gjeremy1617088143

Hi @Priyank Joshi​ , have you check the option Emit empty payload in the advanced settings of the tHmap ?

https://help.talend.com/r/en-US/7.3/data-mapping/thmap-standard-properties

Send me love and kudos