Fonction SAP BAPI_TRIP_CANCEL - Cancel Trip

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIEMPL-PERNR N 8 Employee's Personnel Number
PERIODNUMBER BAPITRVXXX-PERIOD N 3 '000' X Number of Trip Period
TRIPNUMBER BAPITRIP-TRIPNO N 10 Trip Number of Employee Trip

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Structure (Instead of Exceptions)

Functionality
Using the method EmployeeTrip.Cancel, you can cancel individualemployee trips, if you have the authorization to do so.
As parameter, the complete qualifying key for the employee trip to becanceled only must be specified. The key consists of theEmployeeNumber and the TripNumber.
The status of the method call can be determined from the returnparameter Return after the method has been performed.

Description
Personnel number