cancel
Showing results for 
Search instead for 
Did you mean: 

PDF file open with application name on google chrome.

0 Kudos

I use   cl_wd_runtime_services=>attach_file_to_response to open/save a pdf output from a webdynpro application. The functionality works fine in Internet Explorer , firefox, but Popup is not opening in Google Chrome and file name showing as application name.

On other browsers its showing what ever i am passing.

Has anyone faced similar issue before. Can someone help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rohit,

   in cl_wd_runtime_services=>attach_file_to_response( ).Give parameter value of

I_MIME_TYPE = 'application/pdf'  instead of 'pdf'.

Regards,

Rajashiva.R

0 Kudos


I have use same

I_MIME_TYPE = 'application/pdf' my issue is PDF file name is coming wrong where in other browsers its showing correct one. In chrome its show me application name as file name.

ramakrishnappa
Active Contributor
0 Kudos

Hi Rohit,

Check if any popup blocker is checked in chrome browser and also, try to test the behavior in chrome browser of other systems, to find out the cause.

Regards,

Rama

0 Kudos

Hi Rama,

I have checked there is no popup blocker. When I download file on google chrome file name appear as my webdynpro component name where I am passing different file name in WD.

ramakrishnappa
Active Contributor
0 Kudos

Hi Rohit,

is it the same behavior even in other system's chrome browser?

Regards,

Rama

harsha_jalakam
Active Contributor
0 Kudos

Hi Rohit,

Please check if pop up turned off or on. Sometimes if it is turned on, pop up's don't open automatically.

Regards,

Harsha