Show TOC

Function documentationExecuting a Process Integration Scenario Locate this document in the navigation structure

 

This section contains information on how to do the following:

  • Execute the process integration scenario

  • Check the booking data in the airline system

  • Check and analyze the messages processed by the Integration Server

Features

Executing the Flight Booking with Connecting Flight

Perform the following actions in the SAP system of the travel agency:

  1. In the user menu, choose   Process Integration   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. We recommend that you select this flight date.

    Note Note

    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. (Prereqiusite is that both flights are available for the selected date and that they are not booked out.) 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.

    End of the note.
  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.

      Note Note

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

      End of the note.

      Note Note

      Read the notes on the booking status below.

      End of the note.
    • 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.

Notes on the Booking Status

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 process 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.

Checking the Booking Status

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   Process Integration   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.

  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

Checking the Flight Bookings in the Airline System

To check that the process 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   Process Integration   Demo Examples   Airline: Display Flight Data  .

  2. In the Functions frame, select the Display Booking Data radio button.

  3. Select 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 FLDATE for 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.

    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).

Monitoring Messages

You use the monitoring transaction to display the messages that were processed by the Integration Server during execution of the process integration scenario. You can use the payload of the message to check directly what business data was exchanged during execution of the process integration scenario.

See Monitoring Messages.