Skip to Content
0

Open URL in ECC system

May 10, 2017 at 07:24 AM

129

avatar image

Hi everyone,

There is an online ticket booking website. You enter the details of the flight, it will show all the available flights for the particular input. ECC system doesn't want to directly interact with that.

The requirement is this. An end user will enter the details of his flight in the ECC system. Details like Employee name, age, department, cost centre etc. SAP PI sends that information to the ticket booking website. The website will process the input and shows the second page, the available flights page.

This page should be open for the end user. After that the usage of PI is over and the end user will book the ticket.

Is this feasible? The second page of the ticket booking website is an html page and it cannot be opened from ECC system but only in a browser. The client doesn't want the data to be passed back to ECC system in JSON or XML.

Can PI somehow pass the URL of the second page of the ticker booking website so that ECC system can see the page by just clicking on the URL?

Assume we are using makemytrip. In the first page, I will enter details like, date , flight originating place and the flight destination. On clicking the submit button, in the second page, I can see the available flight options. This is what should be displayed in the ECC system. The input fields, they will pass to PI.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Muniyappan Marasamy May 12, 2017 at 12:33 PM
0

You could ask the target webservice team to pass the url( based on the input) to PI. it is the task of target webservice team to pass the url. PI will just pass what the target provides to ECC.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member May 15, 2017 at 01:44 PM
0

You might run into session issues if you send the query through PI and then want the user to access the second page. If your travel portal has a Web API, the best approach would probably be to use PI to communicate with that API and render the output to something that the user can work with. Subsequently, you could call the API again to book the flight the user is selecting.

By the way, you can open HTML pages from SAPGUI. Check the "HTML Control" examples in transaction DWDM.

Share
10 |10000 characters needed characters left characters exceeded