Andy Curtis
abcurtis at gmail.com
Mon Jul 4 03:42:59 EDT 2005
Does this help? I wrote it to call the shopping cart monitor from a new GOS
item on R/3 purchasing screens. I only cut the bit to show the calling of a
browser with a URL.
data: r_http type ref to cl_gui_html_viewer,
r_parent type ref to cl_gui_container.
create object r_http exporting parent = r_parent.
* Create URL
read table t_twpurlsvr into w_twpurlsvr index 1.
read table t_twpurlpath into w_twpurlpath index 1.
concatenate 'http://'
w_twpurlsvr-web_server " erp-dev-ebp:82
'/'
w_twpurlpath-url_path " scripts/wgate
'/bbpstart/!?WI=<WI>&~language='
'EN' " sy-langu
'&~client='
sy-mandt
'&'
into lw_url.
* lw_url = text-001.
replace '<WI>' in lw_url with lw_wid1.
concatenate lw_url
'~exiturl=http://'
w_twpurlsvr-web_server
'/'
w_twpurlpath-url_path
'/'
'bbpstart!'
into lw_url.
* concatenate lw_url text-002 into lw_url.
r_http->show_url_in_browser( exporting url = lw_url ).
endif.
endif.
--
Andy Curtis
(m) 07798 603099
(t) 01737 843948
(e) abcurtis at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050704/3020bd09/attachment.htm
More information about the SAP-WUG
mailing list