Executing the Integration Scenario
This section contains information on how to do the following:
· Execute the integration scenario
· Check the booking data in the airline system
· Check and analyze the messages processed by the Integration Server
Perform the following actions in the SAP system of the travel agency:
...
1. In the user menu, choose SAP Exchange Infrastructure ® Demo Examples ® Travel Agency: Execute Demo Examples.
2. Log on to the Business Server Pages (BSP) application, if necessary. Use your user and password for the travel agency system.
Note that the BSP application is only available in English and is always displayed in English, regardless of the logon language.
3. On the initial screen of the BSP application, choose Book Flight and Connecting Flight.
4. Choose Start.
5. Select the flight combination for which you want to make a booking.
To keep the example simple, only a few flight combinations are available.
The SAP standard configuration ensures that all flights are available on the first of each month. Therefore, the default setting for the flight date is the first day of next month. SAP recommends that you select this flight date.

Use the flight combinations displayed in the dialog to generate the following results: If you use Lufthansa 0400 and American Airlines 0017, it is possible to book both legs of the trip and the overall booking is successful (assuming that both flights are available on the selected date and are not full). If you use Lufthansa 0400 and American Airlines 9999, or Lufthansa 9999 and American Airlines 0017, it is only possible to book one leg of the trip in both cases. This means that the overall booking is not successful and the legs of the trip that have been booked are canceled. If you use Lufthansa 9999 and American Airlines 9999 , it is not possible to book either leg of the trip and the overall booking is therefore not successful.
6. Select a flight class.
Use the radio buttons. There are three available flight classes: economy, business, and first class.
7. Enter the passenger data.
8. Choose Create Booking Order.
9. The system displays the following information in a dialog:
¡ Booking order information
The system displays the booking order number (Order Number), the flight class (Flight Class), the date of the booking order (Order Date), and the booking status (Order Status). The system generates the booking order number automatically for each new booking order.

Make a note of the booking number, in case you want to check the booking status again later.

Read the notes on the booking status below.
¡ Passenger information
¡ Flight information
¡ The booking number (Booking Number) is a number assigned by the airline when a booking is successful. This field is filled if booking is successful, otherwise it remains empty.
10. Once you have sent the booking order, the system usually displays a yellow traffic light as the booking status. To update the information and check whether a response has been sent in the meantime, choose Refresh.
The system expresses the booking status with a traffic light symbol and a text.
· For flight bookings, the booking status has the following meaning:
¡ Both legs of the trip were booked successfully (green light)
¡ One or both legs of the trip could not be booked (red light)
¡ The flight booking order was sent but a response has not yet been received (yellow light).
· For the XI demo example, the booking status has the following meaning:
¡ A green or red light means that the integration scenario was successful, since both communication steps were completed successfully.
¡ If the system still displays a yellow light after a considerable length of time, then an error may have occurred in the communication. For more information, use monitoring to analyze the communication.
You can also check the status of a booking order at a later point in time.
Perform the following actions in the SAP system of the travel agency:
...
1. In the user menu, choose SAP Exchange Infrastructure ® Demo Examples ® Travel Agency: Execute Demo Examples.
2. Logon to the Business Server Pages (BSP) application, if necessary. Use your user and password for the travel agency system.
3. On the initial screen of the BSP application, choose Query Booking Status.
4. Enter the booking order number in the Order Number field.
5. Choose Query Status.
The system displays the following information about the flight booking:
¡ Booking date, flight class, and booking status
For example, Order Status displays whether the booking was executed successfully.
¡ Data on the passenger for whom the flight booking was requested
¡ Data on the flight for which the flight booking was requested
To check that the integration scenario has been executed correctly, check the booking data in the corresponding airline system.
Perform the following actions in the SAP system of the respective airline:
...
1. In the user menu, choose SAP Exchange Infrastructure ® Demo Examples ® Airline: Display Flight Data.
2. In the Functions frame, choose Display Booking Data.
3.
Choose
Execute (
).
4. Enter the selection criteria for displaying the booking data on the Data Browser screen.
The following fields are suitable for selection criteria: the field CARRID for the airline ID (for example, LH for Lufthansa and AA for American Airlines), the field CONNID for the flight number (for example, 0400), the field FLDATEfor the flight date (for example, 01.07.2004), the field ORDER_DATE for the booking date. SAP recommends that you enter today’s date for the booking date.
5. The system displays a table containing detailed information about all flight bookings. This includes the following:
¡ Data on the flight for which the flight booking was requested
¡ Data on the passenger for whom the flight booking was requested
¡ Booking data (booking number, booking date)
¡ If the booking of one leg of a trip was successful, there should be a corresponding entry. However, this leg was then canceled (field CANCELLED = X).
You use the monitoring transaction to display the messages that were processed by the Integration Server during execution of the integration scenario. Use the payload of the message to check directly what business data was exchanged during execution of the integration scenario.
See Monitoring Messages.