cancel
Showing results for 
Search instead for 
Did you mean: 

File sender adapter: convert binary to xml

Former Member
0 Kudos

Hello everyone,

I am doing a File-to-RFC scenario, where I am reading a PDF-file and sending it via RFC for further processing.

My problem is that I don't know how to create an XML-container for this PDF-file to transport it through XI.

My target structure should look like this:

<binaryData>

<binaryRow>s&#65533;o&#65533;m&#65533;e&#65533;b&#65533;i&#65533;n&#65533;a&#65533;r&#65533;y&#65533;P&#65533;D&#65533;F&#65533;T&#65533;e&#65533;x&#65533;t&#65533;</binaryRow>

</binaryData>

I tried it with content conversion, but then I am always running into mapping problems. Do I need an adaper module or a java mapping for that? Any suggestions? What would be the easiest way?

I am not a good Java expert...

Bye

David

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Refer below blogs....

XI: Read data from PDF file in Sender Adapter

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

XML messages in PDF format from SAP XI

/people/sravya.talanki2/blog/2006/11/28/e-mail-xml-messages-in-pdf-format-from-sap-xi

Thanks

Swarup

agasthuri_doss
Active Contributor
0 Kudos

Hi,

A Adapter Module as shown in this blog will help you,

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

Regards

Agasthuri Doss