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

RPR_TRIP_HEADER_DATA SAP ABAP Report - General Trip Data/Trip Totals







RPR_TRIP_HEADER_DATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to evaluate trip framework data and trip totals (total amount for trip, reimbursement amount, advances, etc...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 RPR_TRIP_HEADER_DATA 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_TRIP_HEADER_DATA. "Basic submit
SUBMIT RPR_TRIP_HEADER_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT RPR_TRIP_HEADER_DATA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: OPTIMIZE = Optimize
Selection Text: RB_ALV = Old list format
Selection Text: RB_GRID = New list format
Selection Text: VARIANT = D Layout
Title: General Trip Data/Trip Totals
Text Symbol: A10 = List format
Text Symbol: A20 = Runtime


INCLUDES used within this REPORT RPR_TRIP_HEADER_DATA

INCLUDE RPR_TRIP_DATA_TOP.


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:

CA_USER_EXISTS CALL FUNCTION 'CA_USER_EXISTS' EXPORTING i_user = sy-uname EXCEPTIONS user_missing = 1 OTHERS = 2.

CA_CHECK_DATE CALL FUNCTION 'CA_CHECK_DATE' EXPORTING i_applk = 'EA-TRV' i_orgunit = '' i_user = sy-uname i_program = sy-cprog EXCEPTIONS no_authority_prog = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_buffer_active = xfield "........YEKL9CK016665

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_buffer_active = xfield "........YEKL9CK016665

CA_CHECK_DATE CALL FUNCTION 'CA_CHECK_DATE' EXPORTING i_applk = 'EA-TRV' i_orgunit = ls_pa0001-bukrs i_user = sy-uname i_program = sy-cprog * i_from_date = ls_head-datv1 * i_to_date = ls_head-datb1 i_from_date = ls_head-pdatv "GLWK002181 i_to_date = ls_head-pdatb EXCEPTIONS no_authority_date = 1.

CA_CHECK_DATE * CALL FUNCTION 'CA_CHECK_DATE' * EXPORTING * i_applk = 'EA-TRV' * i_orgunit = compcode_to_use * i_user = sy-uname * i_program = sy-cprog * i_from_date = begdate_to_use * i_to_date = enddate_to_use * EXCEPTIONS * no_authority_date = 1.



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_TRIP_HEADER_DATA or its description.