Example of a Cancel() BAPI

The BAPI Cancel() of the business object type FlightBooking is used here as an example.

The graphic below shows the BAPI in the BAPI Explorer and the interface of the underlying function module in the Function Builder.

Important: The key fields AIRLINEID and BOOKINGNUMBER of the instance to be canceled and which must be defined as import parameters in the function module are suppressed when you view the BAPI in the BOR.