RPR_TRAVEL_STATS_FORM_ROUTINES is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RPR_TRAVEL_STATS_FORM_ROUTINES into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Form Routines for RPR_TRAVEL Reports
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PTRV_TRAVEL_STATS_AUTH_CHECK CALL FUNCTION 'PTRV_TRAVEL_STATS_AUTH_CHECK' IMPORTING OWN_PERNR_ONLY = OWN_PERNR_ONLY PERSONNEL_NUMBER = SAVE_PERNR TABLES PERNR_SO = PNPPERNR[].
PTRV_COMPRESS_SELECT_OPTIONS CALL FUNCTION 'PTRV_COMPRESS_SELECT_OPTIONS' TABLES PERNR_SO = IPERNR BUKRS_SO = PNPBUKRS KOSTL_SO = PNPKOSTL.
PTRV_GET_NAME_FOR_PERNR CALL FUNCTION 'PTRV_GET_NAME_FOR_PERNR' EXPORTING PERSONNEL_NUMBER = IHEAD-PERNR VALIDITY_DATE = IHEAD-DATB1 START_COLUMN = 12 START_ROW = 4 EXCEPTIONS NAME_NOT_FOUND = 1 OTHERS = 2.
PTRV_SELECT_DISPLAY_OBJECT CALL FUNCTION 'PTRV_SELECT_DISPLAY_OBJECT' EXPORTING PERSONNEL_NUMBER = XPERNR TRIP_NUMBER = XREINR ACTIVE_BUTTONS = SEL START_ROW = 10 START_COLUMN = 20 EXCEPTIONS NO_BUTTONS = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPR_TRAVEL_STATS_FORM_ROUTINES - Form Routines for RPR_TRAVEL Reports RPR_TRAVEL_STATS_CONSTANTS - Constant Definitions for Trip Statistics RPR_TRANSFER_TO_PTRV_COMM_ITM - Integration of Customer Tables from Note 531185 in Standard Table RPR_TRANSFER_TO_PTRV_COMM_ITM - Integration of Customer Tables from Note 531185 in Standard Table RPR_TEST_REQUEST_TOP - Top-Include Test report request RPR_TEST_REQUEST_O02 - Include RPR_TEST_REQUEST_O02