cancel
Showing results for 
Search instead for 
Did you mean: 

Get .pdf file from url

robert_lippmann
Explorer
0 Kudos

Hi,

Here is my scenario, if do it manually:

I access a document management system via an url. Part of the url is customer number and invoice number. The DMS shows the requested invoice in the screen as pdf.

Now I am really wondering if this is possilbe with XI ? SAP creates the url, XI calls the DMS and a pdf available to be sent further on ?

Robert

Accepted Solutions (0)

Answers (4)

Answers (4)

robert_lippmann
Explorer
0 Kudos

Hi,

Thanks for the answers so far.

So it should be possible to read and get the data with the http adapter?

How would I create a file from this string ?

Robert

henrique_pinto
Active Contributor
0 Kudos

If you mean download a file from a URL, no, you can't do that with http adapter.

Regards,

Henrique.

Former Member
0 Kudos

Hi !

Maybe you can make a BPM scenario, that is triggered by a RFC/BAPI call from R3 sending the customer number, etc and all the info to create the URL, then download the PDF via SOAP or HTTP adapter and leave it in a temporary folder in the file system.

Then create another scenario, that monitors that folder and makes whatever you need with that PDF, for example, use the mail adapter to send it by mail.

Hope it helps!

Matias.

VijayKonam
Active Contributor
0 Kudos

Basicaly what you have to do id, you need to go to the URL and get the file, store it in a place where XI can take it from there. This could be in any language like microsfot technologies or Java. After that it is a plain file sending scenario.

Hope it helps,

Vijay

henrique_pinto
Active Contributor
0 Kudos

Two things:

1. If you need to get file from a url, then you'll have to develop a sender java proxy.

2. also, if you need to extract info from pdf (not binary file2file), you'll have to use some kind of pdf api, either in Java proxy, custom module (in sender comm channel) or Java mapping.

Regards,

Henrique.