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

MP56TF30_PS_DE SAP ABAP INCLUDE - Include MP56TF30_PS_DE







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


Text pool values


Title: Include MP56TF30_PS_DE


INCLUDES used within this REPORT MP56TF30_PS_DE

INCLUDE MP56TDAT_SIM.
INCLUDE MP56TDAT_SIM.
INCLUDE MP56TF30_PS_DE_LOCAL_DATA.


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:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = P_PTK03-BLDAT FOREIGN_AMOUNT = P_PTK03-BETRG FOREIGN_CURRENCY = P_PTK03-WAERS LOCAL_CURRENCY = P_PTK03-PAYCURR RATE = P_PTK03-KURSB TYPE_OF_RATE = T706D-KURST IMPORTING EXCHANGE_RATE = W_KURSB LOCAL_AMOUNT = H_BEL_BETRG EXCEPTIONS NO_RATE_FOUND = 04 OVERFLOW = 08.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = P_PTK03-BLDAT FOREIGN_AMOUNT = H_BEL_BETRG FOREIGN_CURRENCY = P_PTK03-PAYCURR LOCAL_CURRENCY = T706U-WAERS RATE = 0 TYPE_OF_RATE = T706D-KURST IMPORTING EXCHANGE_RATE = W_KURSB LOCAL_AMOUNT = ONE_DAY_BETRG EXCEPTIONS NO_RATE_FOUND = 04 OVERFLOW = 08.

TRG_IMPORT_DATA_ABSENCE CALL FUNCTION 'TRG_IMPORT_DATA_ABSENCE' EXPORTING GVR_VERGL = gvr_vergl GVR_HEAD = gvr_head IMPORTING overlap_error = ueberlap_fehler reduc_ergru = ptp42-reduc_ergru daten_input = daten_input TABLES destinations = ziel overlap_absence = ueberlap_abwesenheiten overlap_parallel_trips = ueberlap_parallel_reisen.

TRG_IMPORT_DATA_ABSENCE CALL FUNCTION 'TRG_IMPORT_DATA_ABSENCE' IMPORTING OVERLAP_ERROR = ueberlap_fehler REDUC_ERGRU = ptp42-reduc_ergru "SLALNK072522 DATEN_INPUT = daten_input "XCIN904080 TABLES DESTINATIONS = ziel OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_OVERLAP_INFO call function 'TRG_OVERLAP_INFO' EXPORTING save = ' ' approve = ' ' morei = wa_head-morei TABLES OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_IMPORT_DATA_DAILY_RETURN CALL FUNCTION 'TRG_IMPORT_DATA_DAILY_RETURN' IMPORTING * VERPA_DYNP = ptp42-verpa "XCIN888234 VERPA_DYNP = h_dummy_verpa "XCIN888234 UEBKZ_DYNP = ptp42-uebkz DOPP_ANZAHL = ptp42-TR_DOPP_ANZAHL * XCI1343640 begin ABF_ANK_ZU_HAUSE = ptp42-TR_NR_FROM_HOME * XCI1343640 end EINF_ANZAHL = ptp42-TR_EINF_ANZAHL ENTFERNUNG = ptp42-TR_ENTFERNUNG KZPMF = ptp68-KZPMF PKWKL = ptp68-PKWKL AZMIT = ptp68-AZMIT * FUNC = func_trg_tr. "XCIN904080

TRG_CALENDAR_DAILY_RETURN CALL FUNCTION 'TRG_CALENDAR_DAILY_RETURN' EXPORTING P_HEAD = p_head P_PERIO = ptp42 CALENDAR_MEALS = calendar_meals CALENDAR_OVERNIGHTS = calendar_overnights UPDATE_MEALS = update_meals UPDATE_OVERNIGHTS = update_overnights IMPORTING NR_OF_MEALS = h_nr_of_meals NR_OF_OVERNIGHTS = h_nr_of_overnights TABLES DESTINATIONS = ziel.

TRG_IMPORT_DATA_ABSENCE CALL FUNCTION 'TRG_IMPORT_DATA_ABSENCE' EXPORTING GVR_VERGL = gvr_vergl GVR_HEAD = gvr_head IMPORTING overlap_error = ueberlap_fehler reduc_ergru = ptp42-reduc_ergru daten_input = daten_input TABLES destinations = ziel overlap_absence = ueberlap_abwesenheiten overlap_parallel_trips = ueberlap_parallel_reisen.

TRG_IMPORT_DATA_ABSENCE CALL FUNCTION 'TRG_IMPORT_DATA_ABSENCE' IMPORTING OVERLAP_ERROR = ueberlap_fehler * REDUC_ERGRU = wa_perio-reduc_ergru "SLALNK069502 REDUC_ERGRU = ptp42-reduc_ergru "SLALNK069502 DATEN_INPUT = daten_input "XCIN904080 TABLES DESTINATIONS = ziel OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_OVERLAP_INFO call function 'TRG_OVERLAP_INFO' EXPORTING save = ' ' approve = ' ' morei = ptp02-morei TABLES OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_IMPORT_DATA_ABSENCE CALL FUNCTION 'TRG_IMPORT_DATA_ABSENCE' IMPORTING OVERLAP_ERROR = ueberlap_fehler * REDUC_ERGRU = wa_perio-reduc_ergru "SLALNK069502 REDUC_ERGRU = ptp42-reduc_ergru "SLALNK069502 DATEN_INPUT = daten_input "XCIN904080 TABLES DESTINATIONS = ziel OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_OVERLAP_INFO call function 'TRG_OVERLAP_INFO' EXPORTING save = ' ' approve = ' ' morei = ptp02-morei TABLES OVERLAP_ABSENCE = ueberlap_abwesenheiten OVERLAP_PARALLEL_TRIPS = ueberlap_parallel_reisen.

TRG_IMPORT_DATA_ABWH_WOHN CALL FUNCTION 'TRG_IMPORT_DATA_ABWH_WOHN' IMPORTING verpa = ptp42-verpa uebkz = ptp42-uebkz delete_deduc = delete_deduc "XCI888234 DATEN_INPUT = daten_input "XCIN904080 TABLES DESTINATIONS = ziel.

TRG_IMPORT_DATA_HEIMFAHRT CALL FUNCTION 'TRG_IMPORT_DATA_HEIMFAHRT' IMPORTING BEIH_MAX = beih_max VGFA = VGLR_HEIMFAHRT BHFNR = h_bhfnr delete = h_delete DATEN_INPUT = daten_input "XCIN904080 TABLES BEIHILFE = g_beihilfe BEIH_TAG = t_beih_tag BEIH_INTERVALL = t_beih_intervall BEIH_WEG = t_beih_weg * BEIH_BEL = t_beih_bel. "XCIN718885

TRG_IMPORT_DATA_EIGENANTEIL CALL FUNCTION 'TRG_IMPORT_DATA_EIGENANTEIL' IMPORTING VU_EA_DOPP_ANZ = PTP42-VU_EA_DOPP_ANZ VU_EA_EINF_ANZ = PTP42-VU_EA_EINF_ANZ VU_EA_ENTFERN = PTP42-VU_EA_ENTFERN VU_EA_KM_SATZ = PTP42-VU_EA_KM_SATZ VU_GESAMTBETRAG = summe_vor_umzug NU_EA_DOPP_ANZ = PTP42-NU_EA_DOPP_ANZ NU_EA_EINF_ANZ = PTP42-NU_EA_EINF_ANZ NU_EA_ENTFERN = PTP42-NU_EA_ENTFERN NU_EA_KM_SATZ = PTP42-NU_EA_KM_SATZ NU_GESAMTBETRAG = summe_nach_umzug CREATE_RECEIPT = create_receipt_eigenant DELETE_RECEIPT = delete_receipt_eigenant.

TRG_EXPORT_DATA_ABSENCE CALL FUNCTION 'TRG_EXPORT_DATA_ABSENCE' EXPORTING EMPLOYEENUMBER = p_head-pernr P_HEAD = p_head P_PERIO = ptp42 ADAPT_PARALLEL_TRIPS = 'X' ENDE_TRENNUNGSREISEGELD = p_head-endrg DISPLAY_MODUS = display_modus TG_ANL = tg_anl "SLALNK070095 LAND = ps_land "XCIKLTRGDE TABLES DESTINATIONS = ziel BEIH_TAG_ABWH = t_beih_tag_abwh "XCIN718885 p_beleg = beleg "SVTK1635119 p_exbel = exbel "SVTK1635119 EXCEPTIONS TABLE_PERIO_READ_ERROR = 1 OTHERS = 2.

TRG_DAILY_RETURN_NR_OF_LUMPSUM CALL FUNCTION 'TRG_DAILY_RETURN_NR_OF_LUMPSUM' EXPORTING VERPA = ptp42-verpa UEBKZ = ptp42-uebkz IMPORTING NR_OF_MEALS = anz_verpfl_zuschuss NR_OF_OVERNIGHTS = anz_unterk_pausch TABLES DESTINATIONS = ziel.

TRG_EXPORT_DATA_DAILY_RETURN CALL FUNCTION 'TRG_EXPORT_DATA_DAILY_RETURN' EXPORTING P_HEAD = p_head P_PERIO = wa_perio NR_OF_MEALS = anz_verpfl_zuschuss NR_OF_OVERNIGHTS = anz_unterk_pausch DOPP_ANZAHL = ptp42-tr_dopp_anzahl * XCI1343640 begin ABF_ANK_ZU_HAUSE = ptp42-TR_NR_FROM_HOME * XCI1343640 end EINF_ANZAHL = ptp42-tr_einf_anzahl ENTFERNUNG = ptp42-tr_entfernung KZPMF = ptp68-kzpmf PKWKL = PTP68-PKWKL AZMIT = PTP68-AZMIT * DISPLAY_MODUS = display_modus. "SLALNK070095

TRG_EXPORT_DATA_ABWH_WOHN





CALL FUNCTION 'TRG_EXPORT_DATA_ABWH_WOHN' EXPORTING verpa = ptp42-verpa uebkz = ptp42-uebkz p_head = p_head "XCI1714756 p_perio = ptp42 "XCI1714756 display_modus = display_modus "XCI1714756 tg_anl = tg_anl "XCI1714756 TABLES DESTINATIONS = ziel.

TRG_EXPORT_DATA_ABSENCE CALL FUNCTION 'TRG_EXPORT_DATA_ABSENCE' EXPORTING EMPLOYEENUMBER = p_head-pernr P_HEAD = p_head P_PERIO = ptp42 ADAPT_PARALLEL_TRIPS = 'X' ENDE_TRENNUNGSREISEGELD = p_head-endrg DISPLAY_MODUS = display_modus TG_ANL = tg_anl "SLALNK070095 LAND = ps_land "XCIKLTRGDE TABLES DESTINATIONS = ziel BEIH_TAG_ABWH = t_beih_tag_abwh "XCIN718885 p_beleg = beleg "SVTK1635119 p_exbel = exbel "SVTK1635119 EXCEPTIONS TABLE_PERIO_READ_ERROR = 1 OTHERS = 2.

TRG_EXPORT_DATA_ABSENCE CALL FUNCTION 'TRG_EXPORT_DATA_ABSENCE' EXPORTING EMPLOYEENUMBER = p_head-pernr P_HEAD = p_head P_PERIO = ptp42 ADAPT_PARALLEL_TRIPS = 'X' ENDE_TRENNUNGSREISEGELD = p_head-endrg DISPLAY_MODUS = display_modus TG_ANL = tg_anl "SLALNK070095 LAND = ps_land "XCIKLTRGDE ABW_ZUHAUSE = g_abw_zuhause TABLES DESTINATIONS = ziel BEIH_TAG_ABWH = t_beih_tag_abwh "XCIN718885 p_beleg = beleg "SVTK1635119 p_exbel = exbel "SVTK1635119 EXCEPTIONS TABLE_PERIO_READ_ERROR = 1 OTHERS = 2.

TRG_EXPORT_DATA_ABSENCE CALL FUNCTION 'TRG_EXPORT_DATA_ABSENCE' EXPORTING EMPLOYEENUMBER = p_head-pernr P_HEAD = p_head P_PERIO = ptp42 ADAPT_PARALLEL_TRIPS = 'X' ENDE_TRENNUNGSREISEGELD = p_head-endrg DISPLAY_MODUS = display_modus TG_ANL = tg_anl "SLALNK070095 LAND = ps_land "XCIKLTRGDE TABLES DESTINATIONS = ziel BEIH_TAG_ABWH = t_beih_tag_abwh "XCIN718885 p_beleg = beleg "SVTK1635119 p_exbel = exbel "SVTK1635119 EXCEPTIONS TABLE_PERIO_READ_ERROR = 1 OTHERS = 2.

TRG_EXPORT_DATA_HEIMFAHRT CALL FUNCTION 'TRG_EXPORT_DATA_HEIMFAHRT' EXPORTING BEIH_MAX = beih_max PDVRS_CHANGE = beih_pdvrs_change abw_zuhause = g_abw_zuhause "ZFJN1731527 TABLES BEIHILFE = g_beihilfe BEIH_TAG = t_beih_tag BEIH_INTERVALL = t_beih_intervall BEIH_WEG = t_beih_weg BEIH_BEL = t_beih_bel BEIH_TAG_HISTORY = g_beih_tag IT_BELEG = it_beleg IT_KMVER = it_kmver.

TRG_EXPORT_DATA_EIGENANTEIL CALL FUNCTION 'TRG_EXPORT_DATA_EIGENANTEIL' EXPORTING receipt_created = receipt_eigenant_created VU_EA_DOPP_ANZ = PTP42-VU_EA_DOPP_ANZ VU_EA_EINF_ANZ = PTP42-VU_EA_EINF_ANZ VU_EA_ENTFERN = PTP42-VU_EA_ENTFERN VU_EA_KM_SATZ = PTP42-VU_EA_KM_SATZ NU_EA_DOPP_ANZ = PTP42-NU_EA_DOPP_ANZ NU_EA_EINF_ANZ = PTP42-NU_EA_EINF_ANZ NU_EA_ENTFERN = PTP42-NU_EA_ENTFERN NU_EA_KM_SATZ = PTP42-NU_EA_KM_SATZ DEFAULT_KM_SATZ = default_km_satz.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = beleg-BLDAT FOREIGN_AMOUNT = beleg-BETRG FOREIGN_CURRENCY = beleg-WAERS LOCAL_CURRENCY = beleg-PAYCURR RATE = beleg-KURSB TYPE_OF_RATE = T706D-KURST IMPORTING EXCHANGE_RATE = W_KURSB LOCAL_AMOUNT = l_rec_amount EXCEPTIONS NO_RATE_FOUND = 04 OVERFLOW = 08.



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