cancel
Showing results for 
Search instead for 
Did you mean: 

How read the PDF and XML files after Unzipping the folder

former_member201264
Active Contributor
0 Kudos

Hi Gurus,

I have a zipped folder and i this two types of files .XML and .PDF files.

I am able to unzip the folder and reading the .XML files, unable to read the PDF files.

I want to send this PDF file to the target as it is.

Please help me.

Regards

Sreeni

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

PayloadSwapbean should resolve your request.

Do you need to mail the PDF file as attachment?

If that is tha case, then refer the below guide on File to Mail with attachment

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5...

Divyesh

former_member854360
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Sreeni,

Try using iText library and create a custom adapter module to read the PDF file.

Regards,

Aravind

former_member463616
Contributor
0 Kudos

Hi,

>>>I am able to unzip the folder and reading the .XML files, unable to read the PDF files.

Please see the below link:

[Read_the_PDF_Files|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2089] [original link is broken] [original link is broken] [original link is broken];

Regards,

P.Rajesh

former_member201264
Active Contributor
0 Kudos

Hi Rajesh / All,

Actually I need to send the PDF as it is to the taregt as an attachment.

Any suggestion for this...

Regards

Sreeni

former_member854360
Active Contributor
0 Kudos

Hi rajesh,

using SAP standard module PayloadSwapBean you can create attachment from main payload

http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm