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

MP56TI20 SAP ABAP INCLUDE - Include LRHPJF01







MP56TI20 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 MP56TI20 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 MP56TI20. "Basic submit
SUBMIT MP56TI20 AND RETURN. "Return to original report after report execution complete
SUBMIT MP56TI20 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 MP56TI20

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:

MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = lt_mesg.

MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE'.

GET_MASTER_COST_ASSIGNMENT * CALL FUNCTION 'GET_MASTER_COST_ASSIGNMENT' * EXPORTING * EMPLOYEENUMBER = PTP00-PERNR * BEGIN_DATE = PTP02-DATV1 * END_DATE = PTP02-DATB1 * BUDAT = COBL_CHECK_BUDAT * messages_as_warning = messages_as_warning ** CALLED_IN_PBO = * TABLES * KONTI = KONTI * KOSTR_STAMM = KOSTR_STAMM ** INFOTYP0001 = ** INFOTYP0017 = ** INFOTYP0027 = * COBL_MESSAGES = BAPIRET2 * EXCEPTIONS * OTHERS = 0.

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

TRIPS_LIST_PERIO_HEAD * CALL FUNCTION 'TRIPS_LIST_PERIO_HEAD' * EXPORTING * EMPLOYEENUMBER = PTP02-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.

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

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p0001_bukrs_old language = sy-langu IMPORTING * COMP_NAME = * CITY = country = p0001_land1 * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = * ADDRESS = * TABLES * APPENDIX = EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "XNB_ITS"WTLK555513 * EXPORTING "XNB_ITS"WTLK555513 * DEFAULTOPTION = 'Y' "XNB_ITS"WTLK555513 * DIAGNOSETEXT1 = TEXT-SC0 "XNB_ITS"WTLK555513 * DIAGNOSETEXT2 = PTP02-ZLAND "XNB_ITS"WTLK555513 * DIAGNOSETEXT3 = TEXT-SC9 "XNB_ITS"WTLK555513 * TEXTLINE1 = TEXT-SC6 "XNB_ITS"WTLK555513 * textline2 = "WTLK555513 * TITEL = TEXT-SC8 "XNB_ITS"WTLK555513 * START_COLUMN = 39 "XNB_ITS"WTLK555513 * START_ROW = 7 "XNB_ITS"WTLK555513 * CANCEL_DISPLAY = ' ' "XNB_ITS"WTLK555513 * IMPORTING "XNB_ITS"WTLK555513 * ANSWER = ANSWER "XNB_ITS"WTLK555513 * . "XNB_ITS"WTLK555513

POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "XNB_ITS"WTLK555513 * EXPORTING "XNB_ITS"WTLK555513 * DEFAULTOPTION = 'Y' "XNB_ITS"WTLK555513 * DIAGNOSETEXT1 = TEXT-SC0 "XNB_ITS"WTLK555513 * DIAGNOSETEXT2 = PTP02-ZLAND "XNB_ITS"WTLK555513 * DIAGNOSETEXT3 = TEXT-SD1 "XNB_ITS"WTLK555513 * TEXTLINE1 = TEXT-SC6 "XNB_ITS"WTLK555513 * textline2 = "WTLK555513 * TITEL = TEXT-SC8 "XNB_ITS"WTLK555513 * START_COLUMN = 39 "XNB_ITS"WTLK555513 * START_ROW = 7 "XNB_ITS"WTLK555513 * CANCEL_DISPLAY = ' ' "XNB_ITS"WTLK555513 * IMPORTING "XNB_ITS"WTLK555513 * ANSWER = ANSWER "XNB_ITS"WTLK555513 * . "XNB_ITS"WTLK555513

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.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-038 diagnosetext1 = 'Sie möchten Ihre Fahrtkosten pauschal'(f10) diagnosetext2 = 'erstattet bekommen, haben aber auch'(f11) diagnosetext3 = 'einen Fahrtkostenbeleg erfaßt.'(f12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING titel = text-040 diagnosetext1 = 'Sie möchten die Verpflegung pauschal'(v10) diagnosetext2 = 'erstattet bekommen,haben aber auch'(v11) diagnosetext3 = 'einen Verpflegungsbeleg erfaßt.'(v12)

HRCA_CJPN_INTERN_TO_EXTERN_CNV





CALL FUNCTION 'HRCA_CJPN_INTERN_TO_EXTERN_CNV' EXPORTING edit_imp = ' ' * int_num = psref-posnr "AKAK011844 int_num = ptrv_psref-posnr "AKAK011844 IMPORTING ext_num = cobl-ps_posid EXCEPTIONS OTHERS = 0.

HRCA_CJPN_EXTERN_TO_INTERN_CNV CALL FUNCTION 'HRCA_CJPN_EXTERN_TO_INTERN_CNV' EXPORTING ext_num = cobl-ps_posid IMPORTING * int_num = psref-posnr "AKAK011844 int_num = ptrv_psref-posnr "AKAK011844 EXCEPTIONS not_found = 1 OTHERS = 2.

PTRV_FSSC_APPL_SRC_SAPMP56T CALL FUNCTION 'PTRV_FSSC_APPL_SRC_SAPMP56T'.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "VJMKI4PSTEST EXPORTING "VJMKI4PSTEST defaultoption = 'N' "VJMKI4PSTEST diagnosetext1 = text-p20 "VJMKI4PSTEST diagnosetext2 = text-p18 "VJMKI4PSTEST * Abzüge werden jetzt nicht mehr automatisch gelöscht * diagnosetext3 = text-p16 "VJMKI4PSTEST "XCIK006069 textline1 = text-p17 "VJMKI4PSTEST titel = ' ' "VJMKI4PSTEST IMPORTING "VJMKI4PSTEST answer = flag ##fm_olded . "VJMKI4PSTEST

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "WKU_VJMKI4PSTEST EXPORTING "WKU_VJMKI4PSTEST defaultoption = 'N' "WKU_VJMKI4PSTEST diagnosetext1 = text-p23 "WKU_VJMKI4PSTEST diagnosetext2 = text-p24 "WKU_VJMKI4PSTEST diagnosetext3 = text-p16 "WKU_VJMKI4PSTEST textline1 = text-p17 "WKU_VJMKI4PSTEST titel = ' ' "WKU_VJMKI4PSTEST IMPORTING "WKU_VJMKI4PSTEST answer = flag. "WKU_VJMKI4PSTEST

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = text-p19 diagnosetext2 = text-p15 diagnosetext3 = text-p16 textline1 = text-p17 titel = ' ' IMPORTING answer = flag.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = text-p22 diagnosetext2 = text-p21 diagnosetext3 = text-p16 textline1 = text-p17 titel = ' ' IMPORTING answer = flag.

PTRA_UTIL_CHECK_MULTIPLE_TRIPS CALL FUNCTION 'PTRA_UTIL_CHECK_MULTIPLE_TRIPS' EXPORTING is_head = ptp02 iv_message_send = abap_true * it_head = t_head[] "MAW Save as draft it_head = lt_head_cmt "MAW Save as draft * IMPORTING * EV_ERROR_OCCURRED = lv_error_occured .



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