Start of Content Area

Background documentation Parameter Documentation  Locate the document in its SAP Library structure

Parameters Relating to Tables/Structures

FU BAPI_FLBOOKING_CREATEFROMDATA BOOKING_DATA

Short text

Booking data

Description

This parameter contains the important booking data.

The airline ID (AIRLINEID field), the flight number (CONNECTID field), and the flight date (FLIGHTDATE field) identify the flight that you want to book.

The fields AIRLINEID, CONNECTID, FLIGHTDATE, CUSTOMERID, and either COUNTER or AGENCYNUM are mandatory.

The system checks validity of the values for the following fields:

If an invalid value is transferred, an error message is created in the Return parameter.

Use the Helpvalues.GetList method to display the permitted help values for the relevant field. See the documentation about the Helpvalues.GetList method.

Note that a flight can be booked at a travel agency or at an airline counter directly. This means that exactly one of the fields COUNTER or AGENCYNUM must be filled. If both fields are filled, the method cannot be processed correctly and an error message is returned in the Return parameter.

If no value is entered for CLASS, the flight class Economy Class is chosen automatically.

The method uses the date of birth of the passenger (PASSBIRTH field) to automatically check whether the passenger is entitled to a price reduction. If the PASSBIRTH field is empty, the adult ticket price is calculated automatically.

The following prerequisites apply for a booking:

 

Return Parameters

FU BAPI_FLBOOKING_CREATEFROMDATA RETURN

Short text

Return messages

Description

This table contains the return messages from the method call.

Value range

Messages for authorization
Type ID number message
E BC_IBF 002 authorization missing

Messages for value checks
Type ID number message
E BC_IBF 010 Date &1 is invalid
E BC_IBF 055 Flight &1 does not exist
E BC_IBF 057 Flight date &1 is in the past
E BC_IBF 150 Customer with number &1 is unknown
E BC_IBF 151 Travel agency with number &1 is unknown
E BC_IBF 103 &1 counter with number &2 is unknown
E BC_IBF 104 Travel agency and counter transferred
E BC_IBF 105 Unable to transfer travel agency and counter
E BC_IBF 106 Date of birth &1 is in the future
E BC_IBF 107 Flight class can be Y, C, or F only

Additional messages
Type ID number message
S BAPI 000 &1 &2 &3 was created External reference: &4 reference: &4
E BAPI 001 Unable to create instance of object type &1 External reference: &4
I BC_IBF 008 Method was executed in test run mode
W BC_IBF 015 Error during currency conversion
E BC_IBF 006 Technical error during processing

 

Parameters that Implements Key Fields

FU BAPI_FLIGHT_GETDETAIL AIRLINEID

Short text

Airline code

Description

This parameter implements the key field of the business object with the same name.

See the documentation for the key field for more information about this parameter.