2011 Dec 21 8:14 PM
Hello Friends
I need some help with ABAP. I have written a tool in ABAP that can shut down and restart communication channels in PI. It is working as expected.
The way it works is by calling a URL (a feature supported by PI to control Communication Channels externally) by sending parameters like Communication Channel name etc.,
Since I do this in a loop stopping/starting multiple channels, it opens multiple browser tabs which is kind of annoying.
I would like to know if there is a way to access URL and execute it but not open a browser?
If you can please let me know, I would appreciate it.
Thanks
Ram
2011 Dec 21 8:24 PM
Hi Ram I beleave this[ HTML Viewer documentation |http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCCIHTML/BCCIHTML.pdf]shouldhelp you.
Hello Friends
I need some help with ABAP. I have written a tool in ABAP that can shut down and restart communication channels in PI. It is working as expected.
The way it works is by calling a URL (a feature supported by PI to control Communication Channels externally) by sending parameters like Communication Channel name etc.,
Since I do this in a loop stopping/starting multiple channels, it opens multiple browser tabs which is kind of annoying.
I would like to know if there is a way to access URL and execute it but not open a browser?
If you can please let me know, I would appreciate it.
Thanks
Ram
2011 Dec 21 8:24 PM
Hi Ram I beleave this[ HTML Viewer documentation |http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCCIHTML/BCCIHTML.pdf]shouldhelp you.
2011 Dec 21 9:15 PM
Hi Ram,
You can use function module HTTP_GET to access URLs from ABAP and pass parameters to execute the URL without opening the browser. Go to SE37 and use the "where used list" to get sample codes on how to use this function module.
You would need the RFC destinations SAPHTTP or SAPHTTPS defined in the system, as a pre-requisite.
Hope this helps.
Sajan Joseph.
2012 Mar 05 2:10 PM
I got this issue resolved using METHOD cl_http_client=>create_by_url.
Thanks
Ram
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |