SAP Reports / Programs | Financial Accounting | Travel Management | Travel Expenses(FI-TV-COS) SAP FI

RPR_TRAVEL_STATS_FORM_ROUTINES SAP ABAP INCLUDE - Form Routines for RPR_TRAVEL Reports







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RPR_TRAVEL_STATS_FORM_ROUTINES. "Basic submit
SUBMIT RPR_TRAVEL_STATS_FORM_ROUTINES AND RETURN. "Return to original report after report execution complete
SUBMIT RPR_TRAVEL_STATS_FORM_ROUTINES VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Routines for RPR_TRAVEL Reports


INCLUDES used within this REPORT RPR_TRAVEL_STATS_FORM_ROUTINES

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPR_TRAVEL_STATS_FORM_ROUTINES or its description.