Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Accessing/Executing URL without bringing up a browser

Former Member
0 Likes
897

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

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
786

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

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
787

Hi Ram I beleave this[ HTML Viewer documentation |http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCCIHTML/BCCIHTML.pdf]shouldhelp you.

Read only

Former Member
0 Likes
786

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.

Read only

0 Likes
786

I got this issue resolved using METHOD cl_http_client=>create_by_url.

Thanks

Ram