Skip to Content
0
Former Member
Dec 18, 2013 at 12:14 PM

Dynamic Receiver File Location based on Source EDIFACT File content without mapping in SAP PI7.1

52 Views

Hi,

I have a File to File scenario without Integration Repository object. My source is EDIFACT EDI File with same filename for both IFTMBF and DESDAV file in same source location.

So I had to check the content in the EDIFACT EDI File if text "IFTMBF" present then to Location1 and if "DESDAV" present then to Location2. Could you advice how we achieve this?

I already tried in Java Mapping but the file is failing at RD step itself with the below error as it is not allowing RAW EDI File as an input.

"Error when determining the receiver: Problem while determining receivers using interface mapping: Error while determining root tag of XML: BOM / charset detection failed Problem while determining receivers using interface mapping: Error while determining root tag of XML: BOM / charset detection failed Error while determining root tag of XML: BOM / charset detection failed Error while parsing an XML stream: 'BOM / charset detection failed'."

Appreciate your immediate response

Thanks,

Senthil.