Functionality The method EmployeeTrip.GetStatus returns the status of a single trip,provided the trip exists in the SAP system for the specified key(EmployeeNumber, TripNumber). At the same time, the return structureAMOUNTS is filled. The method EmployeeTrip.GetList returns all an employee's trips to thestructure TRIPS. The trips must start between DEPARTURE_FROM andDEPARTURE_TO. If you also want to receive the amounts for the differenttrips, set the parameter CALCULATEAMOUNTS to "X". Note that this willhave effects on performance (see below). Both of the above methods have the return value RETURN, which provides amore detailed error message in case errors occur. Usage as function module:> Using the function module BAPI_TRIP_CHECK_STATUS, you can determine:
|