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
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: 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
INCLUDE RPR_TRIP_DATA_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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_TRIP_HEADER_DATA - General Trip Data/Trip Totals RPR_TRIP_HEADER_DATA - General Trip Data/Trip Totals RPR_TRIP_ENQUEUE_DEQUEUE - RPRTRIPENQUEUEDEQUEUE RPR_TRIP_DATA_TOP - Include LRHVGI01 RPR_TRIP_DATA_FORM_ROUTINES - Include LTRTPF01 RPR_TRIP_DATA_BLOCK_LIST - General Trip Data/Totals/Receipts/Cost Assignment