MP56TFST 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 MP56TFST 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 Trip Statistics
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PTRV_GET_REIMBURSEMENT_AMOUNT CALL FUNCTION 'PTRV_GET_REIMBURSEMENT_AMOUNT' EXPORTING employeenumber = pernr tripnumber = reinr period = perio IMPORTING reimbursement_amount = reimbu currency = curr_out EXCEPTIONS no_entry_in_ptrv_shdr = 1 error_in_currency_conversion = 2 trip_prior_to_userprefs = 3 OTHERS = 4.
PTRV_TRAVEL_STATS_UPDATE_MODE CALL FUNCTION 'PTRV_TRAVEL_STATS_UPDATE_MODE' EXPORTING trip_provision_variant = morei IMPORTING update_mode = upd_mode.
PTRV_TRAVEL_STATS_UPD_PRESTEP CALL FUNCTION 'PTRV_TRAVEL_STATS_UPD_PRESTEP' EXPORTING personnel_number = pernr validity_date = datb1 trip_number = reinr trip_period = perio trip_schema = schem trip_provision_variant = morei update_type = update_type iv_update_ptrv_scom_data = pv_update_ptrv_scom_data "XMW_FEH_EES_EHP5e iv_settlemnt_status = wa_perio-abrec "MAW Save as draft IMPORTING update_mode = update_mode return = xreturn * XMW_FEH_EES_EHP5e begin ev_trip_total = pv_trip_total es_ret = ps_ret.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING * date = t_head-datv1 "YEKPH9K008401 date = trip_start "YEKPH9K008401 foreign_amount = itab-sum_reimbu foreign_currency = itab-currency * local_currency = t_perio-waers "YEKPH9K008401 local_currency = curr_in "YEKPH9K008401 IMPORTING local_amount = reimbu_tmp EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
HRCA_GET_TRIP_PAYMENT_HISTORY CALL FUNCTION 'HRCA_GET_TRIP_PAYMENT_HISTORY' EXPORTING im_personnel_number = im_pernr im_trip_number_tab = lt_reinr im_current_trip_version_only = space. "............YEKP1HK000143
HRCA_GET_TRIP_PAYMENT_HISTORY CALL FUNCTION 'HRCA_GET_TRIP_PAYMENT_HISTORY' EXPORTING im_personnel_number = im_pernr im_trip_number_tab = lt_reinr im_current_trip_version_only = space.
PTRV_GET_TRIP_PAYMENT_DATE CALL FUNCTION 'PTRV_GET_TRIP_PAYMENT_DATE' EXPORTING im_personnel_number = im_pernr im_trip_number = im_reinr im_trip_period = im_perio IMPORTING ex_payment_date = ex_augdt ex_partial_payment = ex_partial ex_transfered_no_payment = ex_xfernopay EXCEPTIONS failed = 1 OTHERS = 2.
PTRV_GET_USERPREFS CALL FUNCTION 'PTRV_GET_USERPREFS' IMPORTING various_fields = ls_upref.
DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = ex_date_out EXCEPTIONS plausibility_check_failed = 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.
MP56TFST - Form Routines for Trip Statistics MP56TFRT - Read Routines for Transp. Tables (Used in SAPMP56T and SAPMP56R) MP56TFRI - General Routines: Read Infotypes (Used in T & P) MP56TFPS_DE - Public Sector: Routines for Public Sector Germany MP56TFPS - Routines for Linking-up of SAPMP56T and SAPMP56P MP56TFPR - documentation and ABAP source code