cancel
Showing results for 
Search instead for 
Did you mean: 

Default File name using CL_BDS_DOCUMENT_SET=>CREATE_WITH_TABLE

Former Member
0 Kudos

Hi folks,

We are using BSP application to display smartform in PDF format in a new page/window. When I try to save the PDF from the browser/window, its pops up a screen with defaults as "Desktop" and a File Name. I am not sure how system is generating the default file name. How can we change this File Name?

Thanks for help!

Best Regards,

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

it is difficult to know how with the information that you provide but read the code searching with any of these terms:

cached_response

cl_http_server=>server_cache_upload

CALL FUNCTION 'CONVERT_OTF'

cached_response->set_header_field

cached_response->server_cache_expire_rel

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

It's done while creating the Response-Caching as in below code:

cl_http_server=>server_cache_upload( url = filename   response = response ).

We can pass custom value in the variable filename.

Kind Regards,

Praveen