cancel
Showing results for 
Search instead for 
Did you mean: 

Launch appication in new window.

0 Kudos

Hi,

In ITS i am trying to launch the PDF file from the click of the button. It is correctly opening the PDF file. Problme is it is opening in the same window. I need the appication to be launched in different window. Is there a way i can open a file in a different widow.

The file is not stored anywhere is getting created dynamically. I would like to open the file in seperate window.

Thank you

Best Regards

Ankush

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ankush, I am having the same issue of needing to open a PDF document in a new window using ALEWEB_DOWNLOAD. How did you ever resolve this issue for yourself?

athavanraja
Active Contributor
0 Kudos

how you are openning the file?

Regards

Raja

0 Kudos

Hi

I am using the follwoing piece of code.

CALL FUNCTION 'ALEWEB_DOWNLOAD'

EXPORTING

data_len = NUMBYTES

mime_type = 'application/pdf'

DATA_TYPE = 'CHAR'

tables

data_tab = PDF

EXCEPTIONS

ITS_NOT_AVAILABLE = 1

OTHERS = 2

.

Here PDF table contains the PDF data.

It launches the acrobat reader and opens the file in the same window.

Please correct me if i am wrong.

Thanks for your help.

Best Regards

Ankush