MP56TFPR 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 MP56TFPR 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PTRV_GET_EXPENSE_TYPE_TEXT CALL FUNCTION 'PTRV_GET_EXPENSE_TYPE_TEXT' EXPORTING trip_provision_variant = morei expense_type = beleg_tmp-spkzl IMPORTING expense_type_text = beleg_tmp-sptxt EXCEPTIONS no_text_found = 1 OTHERS = 2.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = list_width EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.
PTRV_WRITE_TRIP_HEADER CALL FUNCTION 'PTRV_WRITE_TRIP_HEADER' EXPORTING personnel_number = ptp00-pernr employee_name = ename company_code = p0001-bukrs personnel_area = p0001-werks cost_center = p0001-kostl controlling_area = p0001-kokrs trip_number = reinr trip_from = ptp02-datv1 trip_to = ptp02-datb1 time_from = ptp02-uhrv1 time_to = ptp02-uhrb1 reason_for_trip = ptp02-kunde city = ptp02-zort1 country = ptp02-zland region = ptp02-hrgio right_margin = list_width EXCEPTIONS OTHERS = 1.
SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING layout = ' '.
FITRV_PRINT_TABLE_CONTROL_DATA CALL FUNCTION 'FITRV_PRINT_TABLE_CONTROL_DATA' EXPORTING table_control = tc callback_program = pgm callback_top_of_list = 'PRINT_TRIP_HEADER' get_curr_quan_fields_from_ddic = ddic_fields optimize_column_width = optimize window_title = title TABLES print_data = ptab EXCEPTIONS column_information_missing = 1 printing_not_possible = 2 OTHERS = 3.
RH_GET_DATE_DAYNAME CALL FUNCTION 'RH_GET_DATE_DAYNAME' "MAWK004322 EXPORTING "MAWK004322 langu = sy-langu "MAWK004322 date = abzug-abdat "MAWK004322 IMPORTING "MAWK004322 daytxt = abzug_tmp-daytxt "MAWK004322 EXCEPTIONS "MAWK004322 no_langu = 1 "MAWK004322 no_date = 2 "MAWK004322 no_daytxt_for_langu = 3 "MAWK004322 invalid_date = 4 "MAWK004322 OTHERS = 5. "MAWK004322
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.