Configuring a Connection to the GetThere Online Booking System
This procedure illustrates how to configure a connection to the GetThere
online booking system.
For more information, see Third-Party Travel Planning.
You have received the following connection data from GetThere
:
The URL of the online booking system
The URL for accessing the Web services
Domain, group, user name, password
Make your own copy of the enhancement implementation PTRM_EXTTP_ENHSPOT_GETTHERE_V2
in the enhancement spot PTRM_EXTERNAL_TP_ENHSPOT
.
You can use the BAdI Builder (transaction SE18) to do this.
This enhancement implementation is an example implementation of the Business Add-In BAdI: Define Exit for Third-Party Travel Planning
(PTRM_EXTERNAL_TP_BADI_DEF
). For more information about this BAdI, see Customizing for Travel Planning
under .
In the class interface of your copy of the enhancement implementation, go to the Attributes
tab page and enter the following constants with the type STRING:
Attribute URL with the initial value <the URL of the online booking system>
Attribute SITE with the initial value <domain>
Attribute SUBSITE with the initial value <group>
For the initial values, refer to the connection data, which you received from GetThere
.
If you use Travel Management in SAP NetWeaver Portal, you can use Single Sign-On (SSO). To configure SSO between SAP NetWeaver Portal and the GetThere
online booking system, you need to provide the public certificate (SAPLogonTicketKeypair-cert.pse
) of your SAP NetWeaver Portal to the GetThere
online booking system.
You can download this file from SAP Enterprise Portal Keystore.
Create an RFC destination using the type HTTP Connection to External Server
for accessing the Web services of GetThere
(transaction SM59).
On the Technical Settings
tab page, enter the URL for accessing the Web services of GetThere
, which you received from GetThere
.
Example
If the URL is https://aaa.bbbbb.cccc.com/dddd
, then enter aaa.bbbbb.cccc.com for the target host and /dddd as the prefix of the path.
Create a logical port for the following proxies (which currently call the Web services of GetThere
at runtime):
CO_GT_TRAVEL_ITINERARY_READ
CO_GT_TRAVEL_ITIN_LOCATOR_READ
CO_TPSESSION_CREATE_PORT_TYPE
CO_TPSESSION_CLOSE_PORT_TYPE
CO_GT_TRAVEL_ITIN_PURCHASE
CO_GT_TRAVEL_ITINERARY_CANCEL
CO_GT_PROFILE_UPLOAD_PORT_TYPE
Specify as the calling parameter the RFC destination you created in the previous step.
You can use the program RFTP_LP_EDIT to create the logical port.
Define a sales office for GetThere
in Customizing for Travel Planning
under .
Refer to the connection data you received from GetThere
. For the sales office, enter the group provided by GetThere
, and for the name, enter the domain provided by GetThere
.
Define the logon data for GetThere
in Customizing for Travel Planning
under .
Refer to the connection data you received from GetThere
. For the GDS identification, enter the user provided by GetThere
, and for the user ID, enter the domain provided by GetThere
. For the corporate ID, enter the password provided by GetThere
.
Assign the logon data to the sales office. You can do this in Customizing for Travel Planning
under . Refer to the connection data you received from GetThere
. For the sales office, enter the group provided by GetThere
, and for the GDS identification, enter the user name provided by GetThere
.
Define a grouping for accessing the Web services of GetThere
in Customizing for Travel Planning
under .
Assign the access parameters to the grouping for accessing the Web services of GetThere
. To do this, call up the view Access Parameters per Group ID - Sales Office Determination
(TA20OFFICE_FIND
) in table view maintenance (transaction SM30).
For the sales office, assign the group provided by GetThere
.
Assign to the Web services of GetThere
the logical port you created in a previous step. You can do this in Customizing for Travel Planning
under .
Assign the desired travel service categories to the grouping for accessing the Web services of GetThere
. You can do this in Customizing for Travel Planning
under .
You are able to establish a connection to the GetThere
third-party online booking system.