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

MP56TF90 SAP ABAP INCLUDE - Selektionen der logischen Datenbank PTRVP







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


INCLUDES used within this REPORT MP56TF90

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:

FITV_RD_CHECK_INPUT CALL FUNCTION 'FITV_RD_CHECK_INPUT' EXPORTING ort01 = ptp02-zort1 act_head = ptp02 act_perio = ptp42 "XCIKATDZ02 TABLES ziel = ziel EXCEPTIONS no_adress_first_dest = 1 no_adress_further_dest = 2 adress_incomplete_firt_dest = 3 adress_incomplete_further_dest = 4 * OTHERS = 5. "XCI_LCAT_3

HRTRV_DETECT_N_HOURS_PER_DAY CALL FUNCTION 'HRTRV_DETECT_N_HOURS_PER_DAY' EXPORTING is_head = wa_head EXCEPTIONS trip_locked = 1 trip_status_locked = 2 OTHERS = 3.

HRCA_DC_ACTIVE_CHECK CALL FUNCTION 'HRCA_DC_ACTIVE_CHECK' EXPORTING i_bukrs = act_bukrs IMPORTING e_cac_active = obligo_active TABLES * return_table = return_table. "FIXK026248

PTRV_TRIP_CHAIN_UPDATE CALL FUNCTION 'PTRV_TRIP_CHAIN_UPDATE' EXPORTING wa_head = wa_head wa_perio = wa_perio i_simulation = true IMPORTING wa_head_changed = wa_head TABLES ziel = ziel * Begin of PMO, note 1482909 dest_nr_pd_nr_ov = lt_dest_nr_pd_nr_ov konti = konti kostr = kostr kostz = kostz.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p52 * DIAGNOSE_OBJECT = ' ' text_question = text-p53 text_button_1 = text_b_1 text_button_2 = text-p54 display_cancel_button = 'X' iv_quickinfo_button_1 = text-p55 iv_quickinfo_button_2 = text-p56 IMPORTING answer = answer.

FITV_RD_CHECK_INPUT CALL FUNCTION 'FITV_RD_CHECK_INPUT' EXPORTING ort01 = wa_head-zort1 act_head = wa_head "XCIGEMKZ01 act_perio = wa_perio "XCIKATDZ02 TABLES ziel = ziel EXCEPTIONS no_adress_first_dest = 1 no_adress_further_dest = 2 adress_incomplete_firt_dest = 3 adress_incomplete_further_dest = 4 * OTHERS = 5. "XCI_LCAT_3

PTRV_TRIP_CHAIN_UPDATE CALL FUNCTION 'PTRV_TRIP_CHAIN_UPDATE' EXPORTING wa_head = wa_head wa_perio = wa_perio IMPORTING wa_head_changed = wa_head trip_not_compl_transf = trip_not_compl_transf changed_act_trip = changed_act_trip changed_diff_trips = changed_diff_trips TABLES * XCI_LCAT_1 begin * ziel = ziel.

FITV_CALC_NO_OV_AND_NO_PD CALL FUNCTION 'FITV_CALC_NO_OV_AND_NO_PD' EXPORTING it_destinations = lt_ziel_temp it_deductions = lt_abzug_temp is_head = wa_head is_perio = wa_perio iv_country = t001_land1 IMPORTING et_dest_no_pd_no_ov = lt_dest_nr_pd_nr_ov_temp EXCEPTIONS error_occurred = 1 OTHERS = 2.

PTRV_TRIP_CHAIN_UPDATE CALL FUNCTION 'PTRV_TRIP_CHAIN_UPDATE' EXPORTING wa_head = wa_head wa_perio = wa_perio TABLES * XCI_LCAT_1 begin * ziel = ziel.

TRG_CHANGE_KZREA CALL FUNCTION 'TRG_CHANGE_KZREA' EXPORTING p_head = wa_head p_perio = wa_perio land = ps_land TABLES destinations = ziel deductions = abzug.

FITV_CALC_NO_OV_AND_NO_PD * CALL FUNCTION 'FITV_CALC_NO_OV_AND_NO_PD' * EXPORTING * it_destinations = lt_ziel_temp * it_deductions = lt_abzug_temp * is_head = wa_head * is_perio = wa_perio * iv_country = t001_land1 * IMPORTING * et_dest_no_pd_no_ov = lt_dest_nr_pd_nr_ov_temp * EXCEPTIONS * error_occurred = 1 * OTHERS = 2.

PTRV_TRIP_CHAIN_UPDATE * CALL FUNCTION 'PTRV_TRIP_CHAIN_UPDATE' * EXPORTING * wa_head = wa_head * wa_perio = wa_perio * TABLES ** XCI_LCAT_1 begin ** ziel = ziel.

HRTRV_DETECT_N_DAYS_PER_MONTH CALL FUNCTION 'HRTRV_DETECT_N_DAYS_PER_MONTH' EXPORTING current_trip = wa_head "#EC ENHOK n_days = ' 4' change_settled_trips = 'X' payroll_area = wa_perio-abkr2 payroll_period = wa_perio-abrp2 payroll_year = wa_perio-abrj2 IMPORTING more_than_n_days = more_than_n_days trip_split_necessary = trip_split_necessary TABLES trips_per_month = trips_per_month EXCEPTIONS no_trip_dates = 1 no_payroll_period = 2 OTHERS = 3.

PTRV_GET_USERPREFS CALL FUNCTION 'PTRV_GET_USERPREFS' "XBHK034951 IMPORTING "XBHK034951 f4_keepmax = f4_keepmax. "XBHK034951

PTRV_EXTRACT_PERSONAL_HELP CALL FUNCTION 'PTRV_EXTRACT_PERSONAL_HELP' "XBHK034951 EXPORTING "XBHK034951 * trip_header = wa_head "XBHK034951 * trip_period = wa_perio "XBHK034951 trip_header = wa_head_ptrv "#EC ENHOK "XBHK034951 "QIZK012918 trip_period = wa_perio_ptrv "#EC ENHOK "XBHK034951 "QIZK012918 f4_keepmax = f4_keepmax "XBHK034951 f4_location = f4_location "WKUK000481 TABLES "XBHK034951 beleg = beleg "XBHK034951 exbel = exbel "XBHK034951 ziel = ziel "XBHK034951 kmver = kmver "XBHK034951 konti = konti "XBHK034951 . "XBHK034951

TG_CHECK_STATUS_RELEVANT_TG CALL FUNCTION 'TG_CHECK_STATUS_RELEVANT_TG' IMPORTING P_RUECKBUCHUNG = rueckbuchung CHANGING P_PERIO = abordnung_wa_perio EXCEPTIONS no_posting_back = 1.

TG_UPDATE_STATUS_RELEVANT_TG CALL FUNCTION 'TG_UPDATE_STATUS_RELEVANT_TG' EXPORTING P_HEAD = abordnung_wa_head IMPORTING P_RETURN = h_return P_PDVRS = h_pdvrs CHANGING P_PERIO = abordnung_wa_perio.

TG_PERIOD_CHANGE_STATUS CALL FUNCTION 'TG_PERIOD_CHANGE_STATUS' EXPORTING employeenumber = abordnung_wa_perio-pernr tripnumber = abordnung_wa_perio-reinr periodnumber = abordnung_wa_perio-perio new_headerversion = abordnung_wa_head-hdvrs printed_new = '1' approved_new = '3' account_new = '1' IMPORTING return = h_return current_period_version = h_pdvrs.

FITV_SET_STANDING_APPROVAL





CALL FUNCTION 'FITV_SET_STANDING_APPROVAL' EXPORTING iv_pernr = wa_head-pernr iv_date = wa_head-datb1 iv_morei = wa_head-morei iv_trip_act_type = wa_head-kztkt * it_ziel_from_web = IMPORTING ev_standing_appr = wa_perio-perm_trip_appr TABLES it_ziel = ziel EXCEPTIONS error_occurred = 1 OTHERS = 2.

PTRM_WEB_BARCODE_CHECK CALL FUNCTION 'PTRM_WEB_BARCODE_CHECK' EXPORTING i_employeenumber = wa_perio-pernr i_tripnumber = wa_perio-reinr i_document_type = lv_default_doctype i_barcode_id = lv_barcode EXCEPTIONS error_occurred = 1 OTHERS = 2.

PTRM_WEB_BARCODE_SAVE CALL FUNCTION 'PTRM_WEB_BARCODE_SAVE' EXPORTING i_employeenumber = wa_perio-pernr i_tripnumber = wa_perio-reinr EXCEPTIONS error_occurred = 1 OTHERS = 2.

TG_CHANGE_STATUS_PERIODS * CALL FUNCTION 'TG_CHANGE_STATUS_PERIODS' * EXPORTING * employeenumber = wa_head-pernr * trip_dat_begin = wa_head-datv1 * trip_uhr_begin = wa_head-uhrv1 * trip_dat_end = wa_head-datb1 * trip_uhr_end = wa_head-uhrb1 * EXCEPTIONS * error_upd_parallel_perio = 1.

TG_CHANGE_STATUS_PERIODS * CALL FUNCTION 'TG_CHANGE_STATUS_PERIODS' * EXPORTING * employeenumber = wa_head-pernr * trip_dat_begin = wa_head_old_framedata-datv1 * trip_uhr_begin = wa_head_old_framedata-uhrv1 * trip_dat_end = wa_head_old_framedata-datb1 * trip_uhr_end = wa_head_old_framedata-uhrb1 * EXCEPTIONS * error_upd_parallel_perio = 1.

TRG_CHANGE_ENTGELT_UNTERK * CALL FUNCTION 'TRG_CHANGE_ENTGELT_UNTERK' * EXPORTING * p_head = wa_head * p_perio = wa_perio * TABLES * beleg = beleg * exbel = exbel * destinations = ziel * EXCEPTIONS * data_read_error = 1 * OTHERS = 2.

TRG_CHANGE_KZREA * CALL FUNCTION 'TRG_CHANGE_KZREA' * EXPORTING * p_head = wa_head * p_perio = wa_perio * land = ps_land * TABLES * destinations = ziel * deductions = abzug.

PTRM_VERSION_TABLE_UPDATE CALL FUNCTION 'PTRM_VERSION_TABLE_UPDATE' EXPORTING is_head = wa_head is_perio = wa_perio iv_trip_component = 'E' is_status = ls_status is_varia_r = ls_varia_r IMPORTING es_version = ls_version et_return = lt_return ev_html_form = l_html_form ev_pdf_form = l_pdf_form.

PTRM_VERSION_ARCHIVE_SAVE CALL FUNCTION 'PTRM_VERSION_ARCHIVE_SAVE' IN UPDATE TASK EXPORTING is_version = ls_version i_trip_data_source = 'VER' i_pdf_form = l_pdf_form i_html_form = l_html_form.

PTRM_VERSION_ARCHIVE_SAVE_2 CALL FUNCTION 'PTRM_VERSION_ARCHIVE_SAVE_2' EXPORTING is_version = ls_version i_trip_data_source = 'SHB' i_pdf_form = l_pdf_form i_html_form = l_html_form.

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

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p0001-pernr infty = '0003' begda = low_date endda = high_date bypass_buffer = abap_true "GLW note 1825805 IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0003 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

FITP_READ_FEATURE_TRVPA CALL FUNCTION 'FITP_READ_FEATURE_TRVPA' "#EC EXISTS EXPORTING pernr = p0001-pernr date = wa_head-datv1 IMPORTING l_g = trvpa_l_g EXCEPTIONS error = 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 = wa_head-pernr infty = '0283' begda = trip_endda IMPORTING subrc = subrc TABLES infty_tab = p0283 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

FITP_REQUEST_TABLES_READ CALL FUNCTION 'FITP_REQUEST_TABLES_READ' EXPORTING pernr = p_head-pernr reinr = p_head-reinr plan_request = 'R' IMPORTING wa_req_head = lwa_req_head_r.

FITP_REQUEST_TABLES_READ CALL FUNCTION 'FITP_REQUEST_TABLES_READ' EXPORTING pernr = p_head-pernr reinr = p_head-reinr plan_request = 'P' IMPORTING wa_req_head = lwa_req_head_p.

GLO_DEFAULT_EXCHANGE_DATE CALL FUNCTION 'GLO_DEFAULT_EXCHANGE_DATE' EXPORTING iv_trip_schema = t706s iv_trip_head = head iv_waers = wa_perio-waers TABLES it_vsch = vsch CHANGING ch_exchange_date = exchange_date.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p0001_bukrs_old language = sy-langu IMPORTING country = p0001_land1 EXCEPTIONS not_found = 1 OTHERS = 2.




HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p0001_bukrs_old language = sy-langu IMPORTING country = p0001_land1 EXCEPTIONS not_found = 1 OTHERS = 2.



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