Ansicht
Dokumentation
BAPI_TRIP_GET_FORM - Travel Expense Form as Internal Table/Display Form
TXBHW - Original Tax Base Amount in Local Currency General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
The EmployeeTrip.GetExpenseForm method is used to obtain the trip costs standard form as an ASCII table.
The report RPRTEF00 form (Trip costs standard form) is created and returned as an ASCII table.
Selection of trips takes place via the personnel number
(EmployeeNumber) and the trip number
(TripNumber.
Using the parameter SET_PRINT_FLAG, the indicators of the selected trips, if they have already gone through accounting, can be set to 'trip printed'.
After the method has been successfully performed, the selected trips (their trip costs forms) can be
found in table Tripform as ASCII tables. In this table, the relevant keys for the employee trips are specified in the initial position.
After the method has been performed, the status of the method call can be found in the return parameter RETURN.
Usage as function module:
This function module is used to return the trip costs
form (report RPRTEF00) as an internal table. You can also have the trip costs form output directly on the screen (interactively), if the parameter DISPLAY_FORM is set to 'X'.
All other parameters correspond with those of the method call.
Example
Notes
Further information
Parameters
DISPLAY_FORMDOCK_TREE_CONTROL
EMPLOYEENUMBER
GET_TRIP_FROM_MEMORY
PERIODNUMBER
RETURN
SET_PRINT_FLAG
TRIPFORM
TRIPNUMBER
Exceptions
Function Group
HRTRBAL Application Log Documentation CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1795 Date: 20240523 Time: 153549 sap01-206 ( 36 ms )