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

MP56TI10 SAP ABAP INCLUDE - Input Routines Dynpro 1000 Trip Costs







MP56TI10 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 MP56TI10 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 MP56TI10. "Basic submit
SUBMIT MP56TI10 AND RETURN. "Return to original report after report execution complete
SUBMIT MP56TI10 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Input Routines Dynpro 1000 Trip Costs


INCLUDES used within this REPORT MP56TI10

No INCLUDES are used within this REPORT code!


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:

HR_READ_INFOTYPE_AUTHC_DISABLE * CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * pernr = ptrv_pernr * infty = '0017' ** begda = sy-datum "VJMKK111574 ** endda = sy-datum "VJMKK111574 * begda = it_sel_date "VJMKK111574 * endda = it_sel_date "VJMKK111574 * * IMPORTING * subrc = subrc_inftyp * TABLES * infty_tab = p0017 * EXCEPTIONS * infty_not_found = 1 * OTHERS = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ptrv_pernr infty = '0017' begda = sy-datum endda = sy-datum IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0017 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ptrv_pernr infty = '0017' begda = it_sel_date endda = it_sel_date IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0017 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

TRIPS_LIST_PERIO_HEAD CALL FUNCTION 'TRIPS_LIST_PERIO_HEAD' EXPORTING employeenumber = ptrv_pernr old_versions = space 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 = 4.

CHECK_AUTH_AUTHP CALL FUNCTION 'CHECK_AUTH_AUTHP' EXPORTING datum = sy-datum pernr = ptrv_pernr is_head = t_head "MAWK000377 is_perio = t_perio "MAWK000377 EXCEPTIONS OTHERS = 1.

TRIPS_LIST_PERIO_HEAD CALL FUNCTION 'TRIPS_LIST_PERIO_HEAD' EXPORTING employeenumber = ptrv_pernr old_versions = ' ' 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.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = accessibility_mode EXCEPTIONS its_not_available = 1.

GET_ACCESSIBILITY_MODE * CALL FUNCTION 'GET_ACCESSIBILITY_MODE' * IMPORTING * accessibility = access_bool "type ABAP_BOOL * EXCEPTIONS * its_not_available = 1.

PTRV_ACCESS_SHORT_FORM * CALL FUNCTION 'PTRV_ACCESS_SHORT_FORM' * EXPORTING * employeenumber = ptrv_pernr * tripnumber = selected_trips-reinr ** PERIODNUMBER = * get_trip_from_memory = ' ' * EXCEPTIONS * trip_not_found = 1 * OTHERS = 2.

FITV_RD_EXPORT_TRIPDATA CALL FUNCTION 'FITV_RD_EXPORT_TRIPDATA' EXPORTING wa_ptp02 = rd_ptp02 wa_perio = t_perio "QIZK012372 bearb_stat = 'C'.

CHECK_AUTH_AUTHF CALL FUNCTION 'CHECK_AUTH_AUTHF' EXPORTING datum = sy-datum authf = authf pernr = t_perio-pernr reinr = t_perio-reinr is_head = t_head "MAWK000377 is_perio = t_perio "MAWK000377 EXCEPTIONS OTHERS = 1.

CHECK_AUTH_AUTHS CALL FUNCTION 'CHECK_AUTH_AUTHS' EXPORTING datum = sy-datum authf = authf auths = auths pernr = t_perio-pernr reinr = t_perio-reinr is_head = t_head "MAWK000377 is_perio = t_perio "MAWK000377 EXCEPTIONS OTHERS = 1.

TRV_COMMIT_WORK CALL FUNCTION 'TRV_COMMIT_WORK' EXCEPTIONS edi_dequeue_error = 1 OTHERS = 2.

PTRV_EDIT_USERPREFS CALL FUNCTION 'PTRV_EDIT_USERPREFS' EXPORTING dynnr = '1210'.

SHOW_ALV_WITH_ALL_TRIPS CALL FUNCTION 'SHOW_ALV_WITH_ALL_TRIPS' EXPORTING iv_pernr = ptp00-pernr iv_morei = morei iv_name = p0001-ename iv_pubsec_germany = pubsec_germany iv_pubsec_austria = pubsec_austria.

TG_GET_MASSNAHME





CALL FUNCTION 'TG_GET_MASSNAHME' EXPORTING fcode = 'MOD' pernr = tg_select_id-pernr morei = tg_select_id-morei IMPORTING trip_number = tg_select_id-reinr EXCEPTIONS no_tg_existing = 1 "not in PAI no_tg_kzrea = 2 "not in PAI change_pernr = 3 cancel_tg_auswahl = 4 create_new_tg = 5.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = display fieldname = fieldname tabname = tabname IMPORTING select_value = value TABLES valuetab = value_tab "Daten aus T706T fields = field_tab ##fm_olded . "Felder in F4-Popup



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