Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Reg: Getting URL Parameters to Create URL for PDF Open

$
0
0

Dear All,

 

I have an application, where user can get the List of Complaints, and can view if any attachments has uploaded ( A button have provided for user in Web Dynpro ABAP screen).

 

To create the URL, I have done with below coding to get the URL parameters(Protocol, Host & Port).

 

              CALL METHOD cl_http_server=>get_location

                 EXPORTING

                   server           = cl_wdr_task=>server

                 IMPORTING

                   host             = lv_host

                   port              = lv_port

                   out_protocol = lv_protocol.


CONCATENATE

                   lv_protocol '://' lv_host ':' lv_port '/sap/bc/webdynpro/sap/'

                   guid '.' ls_files-dappl

*   'act_srch_rpt.jpg'

                  INTO url.




Here the problem is, for production system we have 5 servers and based on the server load the server allocation will be happens. And all the servers are connect to same SID in the ECC.


But when we access the Public URL the PDF view is not working, Kindly suggest how can achieve this.


Thanking you in advance.

 

Regards,

Yohan Kanna


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>