‎2006 Dec 04 10:31 PM
hi i developed a report that outputs tracking details for the packages sent via UPS..
in the output the report contains fields such as Tracking Number, Tracking Status, Dispatched Time etc..when a user clicks a tracking number a UPS web page shud be opened showing tracking details..can anyone tell how can i do it..the prob here is user is not allowed to enter tracking number again in the UPS site...whatever the number is clicked it shud directly be placed in the UPS url showing the details..is there any FM for this...
regards
‎2006 Dec 06 4:46 AM
Hi if you have the URL name then please give the url name in the following Function module.
HR_URL_CALL_BROWSER
BR,
Ravi
‎2006 Dec 05 1:17 AM
Hi,
Try this code...
data: url type string.*Lets say your url is http://ups.com. YOu should know what is the tracking number field form of website. Lets say its 'tracking_number'.
Construct your url with Tracking number as follows:
concatenate c_url 'http://ups.com?tracking_number=' v_selecte_tracking number into c_url. *Note: your url should look like http://ups.com?tracking_number=20344. Here 20344 would be the tracking number.
call function 'CALL_BROWSER'
exporting
url = c_url "
window_name = ' '
new_window = ' '
exceptions
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
others = 6.
Let me know if you have any question..
Raja T
Message was edited by:
Raja T
‎2006 Dec 05 7:39 PM
‎2006 Dec 06 4:21 AM
Hi,
Let me explain you in detail..
<b>Step1:</b> YOu should able to capture the 'Tracking Number".
<b>Step2:</b> Once you have the selected tracking number in hand, you need to call the UPS Site & pass this Tracking number. For that follow the below code..
data: url type string.*Lets say your url is http://ups.com. YOu should know what is the tracking number field form of website. Lets say its 'tracking_number'.
Construct your url with Tracking number as follows:
concatenate c_url 'http://ups.com?tracking_number=' v_selecte_tracking number into c_url.
*Note: your url should look like <b>http://ups.com?tracking_number=20344</b>. Here 20344 would be the tracking number.
call function 'CALL_BROWSER'
exporting
url = c_url "
window_name = ' '
new_window = ' '
exceptions
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
others = 6.Hope this will help you. If you are not clear, let me know where you are not clear.
<b>Note:</b> Reward each helpful answer.
Raja T
‎2006 Dec 06 4:46 AM
Hi if you have the URL name then please give the url name in the following Function module.
HR_URL_CALL_BROWSER
BR,
Ravi