Ansicht
Dokumentation
BC402_FMDD_GET_FREE_SEATS - Calculates Number of Free Seats
Fill RESBD Structure from EBP Component Structure Vendor Master (General Section)This documentation is copyright by SAP AG.
Functionality
Calculates the number of free seats on a flight. The system subtracts the number of occupied seats from the maximum number of seats. It gets this maximum number from the technical data belonging to the specified airplane type.
Prior to this calculation, the system checks for the exceptional situations "no seats on airplane" and "overbooked flight" and raises the appropriate exceptions where necessary.
Example
Notes
This function module can only used in training courses.
Further information
BC402 Function Modules Unit (Creating and Calling Function Modules)
Parameters
EP_SEATSFREEIP_PLANETYPE
IP_SEATSOCC
Exceptions
DB_FAILURENO_SEATS
OVERLOAD
Function Group
BC402_FMDD_FLIGHTCL_GUI_FRONTEND_SERVICES - Frontend Services ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1433 Date: 20240523 Time: 162421 sap01-206 ( 23 ms )