Hello @Dmytro Honcharuk, Thanks for reaching out on this forum,
Updated 7/14/2023: From Original Poster: Resolution: @Dmytro Honchar
Was able to resolve it by adding ‘enableMultiLineRow: true’ in the mapping data flow code.
The solution for this will be adding “ " enableMultiLineRow:true,", ” into the dataflow json code, on source properties inside scriptLines. In this case string is interpreted as expected
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I have reposted your solution in case you'd like to "Accept " the answer.
Please try considering some of the below suggestions!
- Check the encoding of the special characters in the TEXT fields. Make sure that the encoding is supported by the SAP CDC connector. You may need to convert the encoding of the special characters before ingesting the data.
- Try using a different data type for the TEXT fields in SAP. For example, you could use a VARCHAR field instead of a TEXT field. This may help avoid issues with special characters.
- Consider using a pre-processing step to clean up the data before ingesting it into Azure. For example, you could use a script to replace the newline character with a different character that is supported by the SAP CDC connector.
You may also let us know if you need further help in this matter and we are more than happy to help further!