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

Calling Web application - html call via ABAP

Former Member
0 Likes
1,187

Hello,

Question

I want to do the following from an ABAP report/object or function module:

- Call an external web application X with paratemers Z and Y.

Is this possible and if so can someone just shortly explain how (you dont have to give details if its alot.)

Background

There is a web application that can generate some business intelligent report.

Instead of users actually login into that system and manually typing in the the query parameters Z and Y they want a button in a SAP transaction that will automatically launch this web application X and pass the parameters Z and Y from SAP transaction they are in.

This will make this process automatic instead of them doing:

1. Go to url of web application

2. Login with username/ pasword

3. Write query parameters Z and Y they see on SAP transaction

4. View result.

PS0

I read some threads regarding calling java webservices so it seems there should be some kind of way of achieving this but couldnt figure out how from those threads.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
862

Use function module CALL_BROWSER and then pass the url and then use html code to connect to sap and then pass the code to the z program and use the connection parameter open and close to send the values and also use submit to get the parameters with GET/ SET properties.

Hello,

Question

I want to do the following from an ABAP report/object or function module:

- Call an external web application X with paratemers Z and Y.

Is this possible and if so can someone just shortly explain how (you dont have to give details if its alot.)

Background

There is a web application that can generate some business intelligent report.

Instead of users actually login into that system and manually typing in the the query parameters Z and Y they want a button in a SAP transaction that will automatically launch this web application X and pass the parameters Z and Y from SAP transaction they are in.

This will make this process automatic instead of them doing:

1. Go to url of web application

2. Login with username/ pasword

3. Write query parameters Z and Y they see on SAP transaction

4. View result.

PS0

I read some threads regarding calling java webservices so it seems there should be some kind of way of achieving this but couldnt figure out how from those threads.

2 REPLIES 2
Read only

Former Member
0 Likes
862

Hi,

You can call web services from your program.

Following link is an example where SMS webservice is used.

Read only

Former Member
0 Likes
863

Use function module CALL_BROWSER and then pass the url and then use html code to connect to sap and then pass the code to the z program and use the connection parameter open and close to send the values and also use submit to get the parameters with GET/ SET properties.