Fonction SAP BAPI_TRIP_SET_ON_HOLD - Set Trip Status to "On Hold"

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 BAPITRVXXX-TRIPNO N 10 Trip Number of Employee Trip

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Value (Instead of Exceptions)
STATUS_NEW ANTRG C 1

Functionality
Using the method EmployeeTrip.SetOnHold, you can set anindividual employee trip to status "Request waiting for documents" or"Trip waiting for documents", if you have the necessary authorizationto do so.
The status is set according to whether it is a question of a travelrequest or a trip.
As parameter, the complete qualifying key of the employee trip to beapproved only must be specified, which is made up of theEmployeeNumber and the TripNumber.
The return parameter Return can be determined from the status ofthe method call after the method has been performed.

Description
Personnel number