RPRTEF02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Summarized form 2 (RPRTEF02) lists all trips that have been accounted in the specified accounting period...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RPRTEF02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PRF2 - Summarized Form 2
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.
Selection Text: SPKZL = D .
Selection Text: BEART = D .
Selection Text: WR_ONLY = Weekly Reports Only
Selection Text: WR_INCL = All Trip Types
Selection Text: WR_EXCL = Business Trips Only
Selection Text: TESTLAUF = Test Print
Selection Text: SW_ANTRG = Print Travel Request
Selection Text: SA_ONLY = Separation Allowances Only
Selection Text: PTZUO = Employee Grouping: Travel
Selection Text: PERKOMPL = Print Period Again?
Selection Text: FIRMA = Paid Receipts
Title: Summarized Form 2 for Travel Expenses Accounting
Text Symbol: T05 = are included.
Text Symbol: T04 = lump sum taxable amount
Text Symbol: T01 = In the total reimbursement amount
Text Symbol: S27 = Meals
Text Symbol: S26 = Curr.
Text Symbol: S25 = Indiv.recpts
Text Symbol: S24 = in
Text Symbol: S23 = Expense categories
Text Symbol: S22 = Totals
Text Symbol: S21 = Individ rect totals
Text Symbol: S20 = Reimbursem.
Text Symbol: S19 = Mls/kms
Text Symbol: S18 = Addit.amt.
Text Symbol: S17 = Advance
Text Symbol: S13 = Week
Text Symbol: S12 = Paym.amount
Text Symbol: S11 = Receipts
Text Symbol: S10 = TravCsts
Text Symbol: S09 = Accomm.
Text Symbol: S08 = Recpt
Text Symbol: S07 = Meals
Text Symbol: S06 = Recpt
Text Symbol: VAL = Allowed entry values:
Text Symbol: Y05 = Print Business Trips/Weekly Reports/Separation Allowances
Text Symbol: Y04 = Print Business Trips/Weekly Reports
Text Symbol: Y03 = Print Parameters
INCLUDE RPRSTR00.
INCLUDE RPRACCTT.
No SAP DATABASE tables are accessed within this REPORT code!
PTRV_F4_HELP_EXPENSE_TYPES CALL FUNCTION 'PTRV_F4_HELP_EXPENSE_TYPES' EXPORTING trip_provision_variant = sel_morei IMPORTING selected_expense_type = spkzl-low.
PTRV_F4_HELP_EXPENSE_TYPES CALL FUNCTION 'PTRV_F4_HELP_EXPENSE_TYPES' EXPORTING trip_provision_variant = sel_morei IMPORTING selected_expense_type = spkzl-high.
RP_OPTIONS_INTO_STRING CALL FUNCTION 'RP_OPTIONS_INTO_STRING' EXPORTING max_chosen_number = 15 delimiter_sign = '/' text_title = text_title_tmp text_left = text_left_tmp text_right = text_right_tmp status = 'ORDER' text_object = '' dyn_pushbutton_text1 = '' dyn_pushbutton_text2 = '' dyn_pushbutton_text3 = '' IMPORTING return_code = retcd TABLES text_symbol_relation_tab = sel_tab CHANGING string_value =
EXCEPTIONS table_string_inconsistency = 01 unknown_status = 02.
TRIPS_LIST_PERIO_HEAD CALL FUNCTION 'TRIPS_LIST_PERIO_HEAD' EXPORTING employeenumber = ptrv_pernr old_versions = 'X' IMPORTING no_trips = no_trips TABLES perio = t_perio head = t_head EXCEPTIONS table_perio_read_error = 1 table_head_read_error = 2 tables_inconsistent = 3 OTHERS = 99.
CHECK_AUTH_AUTHP CALL FUNCTION 'CHECK_AUTH_AUTHP' EXPORTING datum = sy-datum pernr = ptrv_pernr is_head = wa_head "MAWK000377 is_perio = t_perio "MAWK000377 EXCEPTIONS no_authorisation = 1 "WKUK042958 no_infotype = 2. "WKUK042958
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 RPRTEF02 or its description.