Ansicht
Dokumentation

BAPI_FLBOOKING_CANCEL - Cancel Flight Booking

BAPI_FLBOOKING_CANCEL - Cancel Flight Booking

TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to cancel a flight booking.

Example

Notes

This method is only used in the flight data model for demonstration and training purposes. It is not intended for production use. Unlike the BAPI concept, we cannot guarantee its stability.

Authorization object S_FLBOOK with activity 02 (change) is checked.

The parameters AirlineID and BookingNumber identify an individual flight booking.

If the values of this parameter are unknown, use the relevant GetList method to determine them.

You can use this method for bookings (flight bookings with the status Booked) and for reservations (flight bookings with the status Reserved). It cannot be used for flight bookings that include flights in the past. This causes an error method and an error appears in the Return parameter.

Use the TestRun parameter to define whether you want the method to run in simulation mode. If you choose simulation mode, the changes to the object instance are only simulated, and no data is written to the database.

Return Codes

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information

For more information, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> BAPI Programming Guide.





Parameters

AIRLINEID
BOOKINGNUMBER
RETURN
TEST_RUN

Exceptions

Function Group

SAPBC_BAPI_SBOOK

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2452 Date: 20240523 Time: 113927     sap01-206 ( 47 ms )