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

MP56TF01 SAP ABAP INCLUDE - Subroutines: Fast Entry Trip Costs







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


Text pool values


Title: Subroutines: Fast Entry Trip Costs


INCLUDES used within this REPORT MP56TF01

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:

CHECK_AUTH_AUTHF * CALL FUNCTION 'CHECK_AUTH_AUTHF' "WKUK001855 "WKUK002262 * EXPORTING "WKUK001855 "WKUK002262 * datum = sy-datum "WKUK001855 "WKUK002262 * authf = authf "WKUK001855 "WKUK002262 * pernr = t_perio-pernr "WKUK001855 "WKUK002262 * reinr = t_perio-reinr "WKUK001855 "WKUK002262 * EXCEPTIONS "WKUK001855 "WKUK002262 * OTHERS = 1. "WKUK001855 "WKUK002262

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = p_t500p-molga begda = sy-datum IMPORTING waers = p_ptp42-waers EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p_pernr infty = '0001' begda = p_dat_von endda = p_dat_bis IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0001 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 tclas = 'A' pernr = p_pernr infty = '0017' begda = p_dat_von endda = p_dat_bis 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 tclas = 'A' pernr = p_pernr infty = '0008' begda = p_dat_von endda = p_dat_bis IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0008 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_GETEMPLOYEEDATA_FROMUSER * CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' "WTLK034612 * EXPORTING "WTLK034612 * USERNAME = SY-UNAME "WTLK034612 * IMPORTING "WTLK034612 * EMPLOYEENUMBER = PTP00-PERNR "WTLK034612 * EXCEPTIONS "WTLK034612 * USER_NOT_FOUND = 1 "WTLK034612 * COUNTRYGROUPING_NOT_FOUND = 2 "WTLK034612

* OTHERS = 3. "WTLK034612

BAPI_USR01DOHR_GETEMPLOYEE CALL FUNCTION 'BAPI_USR01DOHR_GETEMPLOYEE' EXPORTING id = sy-uname IMPORTING employeenumber = ptp00-pernr.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = ptp00-pernr infty = '0001' begda = sy-datum * endda = high_date "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0001 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 * tclas = 'A' * pernr = ptp00-pernr
* infty = '0002' * begda = sy-datum * endda = high_date
* IMPORTING * subrc = subrc_inftyp * TABLES * infty_tab = p0002 * 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 tclas = 'A' pernr = ptp00-pernr infty = '0008' begda = sy-datum * endda = high_date "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0008 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 tclas = 'A' pernr = ptp00-pernr infty = '0017' begda = sy-datum * endda = high_date "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING subrc = subrc_inftyp TABLES infty_tab = p0017 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

BAPI_USR01DOHR_GETEMPLOYEE





CALL FUNCTION 'BAPI_USR01DOHR_GETEMPLOYEE' "WKUK037928 EXPORTING "WKUK037928 id = sy-uname "WKUK037928 IMPORTING "WKUK037928 employeenumber = ptp00-pernr. "WKUK037928

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

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'N' objectvalue = kobild-reinr text_before = text-sv4 text_after = text-sv7 titel = text-sv6 IMPORTING answer = flag ##fm_olded.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-k05 txt1 = text-k02 txt2 = text-k03 txt3 = text-k04 * TXT4 = ' ' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'"XNB_ITSWTLK004776 * EXPORTING "XNB_ITSWTLK004776 * DIAGNOSETEXT1 = T100-TEXT "XNB_ITSWTLK004776 * TEXTLINE1 = TEXT-SB8 "XNB_ITSWTLK004776 * TITEL = TEXT-SB9 "XNB_ITSWTLK004776 * IMPORTING "XNB_ITSWTLK004776 * ANSWER = ANSWER1. "XNB_ITSWTLK004776



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