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
Messages for value checks
Additional messages
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.