New methods for business object
The business object EmployeeTrip (employee trip) has been
enhanced to include several new methods as of 4.0A. All in all,
there are now 19 methods available, 16 implemented as BAPI Methods
(Business Application Programming Interface).
There are now the following methods:
GetStatus Determination of the status of a trip
GetList List of an employee's trips
GetExpenseForm Standard form for trip costs accounting
GetExpenseForm_HTML Standard form for trip costs accounting
CreateFromDataWeekly Create weekly report (PR04)
GetDetailsWeekly Detail tables of weekly report
GetOptionsWeekly Create local workspace for ReportCreate
Approve Approve trip
ExistenceCheck Check existence of object
CollectMileage Determination of legs of employee's trip
SetOnHold Set trip status to "hold"
Delete Delete trip
GetOptions Import personal data and trip costs tables
CreateFromData Create EmployeeTrip with CallTransaction
GetDetails Detail tables of a trip (Receipt entry)
Cancel Cancel trip
Display Display object (not a BAPI method)
ChangeInteractive Change trip (not a BAPI method)
DisplayExpenseForm Display trip form (not a BAPI method)
The above methods make the usage of an external program for trip
costs recording, for instance via Microsoft Excel, and the usage of
methods within SAP R/3 Workflow possible.
For more information, see the business object EmployeeTrip
(BUS2089) or the function modules in the function group HRTR.