Hi, I have a requirement of processing EDI Files and map it to an IDOC. I have used B2B add on in splitting this file into several messages and translating EDI ANSI X12 to XML. Scenarios are:
1) PI will pickup the EDI file from Trading Partner and send it to EDI Separator for splitting
2) EDI Separator will receive the splitted message then translate to XML then send to R/3 as an IDOC
Issue here is in splitting the EDI file into several messages. I'm encountering an error in the splitting part because of spaces/blanks in between ISAs. Sample data below.
Sample data (spaces highlighted in yellow):
I tried removing the said spaces/blanks and can successfully split the file already. Now given that the trading partner (sender of EDI file) will not do remove this in their side, how can I remove this in spaces/blanks in PI?
Please help. Thank you.