cancel
Showing results for 
Search instead for 
Did you mean: 

Open URL in ECC system

harish_babu5
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

weberpat
Contributor
0 Kudos

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.

Muniyappan
Active Contributor
0 Kudos

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.