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

MP56TO3000 SAP ABAP INCLUDE - PBO Module for Screen 3000







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


Text pool values


Title: PBO Module for Screen 3000


INCLUDES used within this REPORT MP56TO3000

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:

HRCA_CHECK_JURISDICTION_ACTIVE CALL FUNCTION 'HRCA_CHECK_JURISDICTION_ACTIVE' EXPORTING * I_BUKRS = P0001_BUKRS_OLD "WKUK001280 i_bukrs = bukrs_for_tax "WKUK001280 IMPORTING e_txjcd_active = jurisdiction_active e_tax_external = tax_calculation_external EXCEPTIONS input_incomplete = 1 input_inconsistent = 2 other_error = 3 OTHERS = 4.

SUSR_USER_AUTH_FOR_OBJ_GET * CALL FUNCTION 'SUSR_USER_AUTH_FOR_OBJ_GET' * EXPORTING * USER_NAME = SY-UNAME * SEL_OBJECT = 'P_TRAVL' * TABLES * VALUES = AUTH_TAB * EXCEPTIONS * USER_NAME_NOT_EXIST = 1 * NOT_AUTHORIZED = 2 * INTERNAL_ERROR = 3 * OTHERS = 4.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "QIZK008742 EXPORTING "QIZK008742 tclas = 'A' "QIZK008742 pernr = ptrv_pernr "QIZK008742 infty = '0001' "QIZK008742 begda = sy-datum "QIZK008742 * ENDDA = HIGH_DATE "QIZK008742 "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING "QIZK008742 subrc = subrc_inftyp "QIZK008742 TABLES "QIZK008742 infty_tab = p0001 "QIZK008742 EXCEPTIONS "QIZK008742 infty_not_found = 1 "QIZK008742 OTHERS = 2. "QIZK008742

HR_READ_INFOTYPE_AUTHC_DISABLE * CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'. "QIZK008742

HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' "QIZK008742 * EXPORTING "QIZK008742 * TCLAS = 'A' "QIZK008742 * PERNR = PTRV_PERNR "QIZK008742 * INFTY = '0002' "QIZK008742 * BEGDA = SY-DATUM "QIZK008742 * ENDDA = HIGH_DATE "QIZK008742 * IMPORTING "QIZK008742 * SUBRC = SUBRC_INFTYP "QIZK008742 * TABLES "QIZK008742 * INFTY_TAB = P0002 "QIZK008742 * EXCEPTIONS "QIZK008742 * INFTY_NOT_FOUND = 1 "QIZK008742 * OTHERS = 2. "QIZK008742

HR_READ_INFOTYPE_AUTHC_DISABLE * CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'. "QIZK008742

HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' "QIZK008742 * EXPORTING "QIZK008742 * TCLAS = 'A' "QIZK008742 * PERNR = PTRV_PERNR "QIZK008742 * INFTY = '0006' "QIZK008742 * BEGDA = SY-DATUM "QIZK008742 * ENDDA = HIGH_DATE "WBGK021635 * IMPORTING "QIZK008742 * SUBRC = SUBRC_INFTYP "QIZK008742 * TABLES "QIZK008742 * INFTY_TAB = P0006 "QIZK008742 * EXCEPTIONS "QIZK008742 * INFTY_NOT_FOUND = 1 "QIZK008742 * OTHERS = 2. "QIZK008742

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "QIZK008742 EXPORTING "QIZK008742 tclas = 'A' "QIZK008742 pernr = ptrv_pernr "QIZK008742 infty = '0008' "QIZK008742 begda = sy-datum "QIZK008742 * ENDDA = HIGH_DATE "QIZK008742 "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING "QIZK008742 subrc = subrc_inftyp "QIZK008742 TABLES "QIZK008742 infty_tab = p0008 "QIZK008742 EXCEPTIONS "QIZK008742 infty_not_found = 1 "QIZK008742 OTHERS = 2. "QIZK008742

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "QIZK008742 EXPORTING "QIZK008742 tclas = 'A' "QIZK008742 pernr = ptrv_pernr "QIZK008742 infty = '0017' "QIZK008742 begda = sy-datum "QIZK008742 * ENDDA = HIGH_DATE "QIZK008742 "WBGK021635 endda = sy-datum "WBGK021635 IMPORTING "QIZK008742 subrc = subrc_inftyp "QIZK008742 TABLES "QIZK008742 infty_tab = p0017 "QIZK008742 EXCEPTIONS "QIZK008742 infty_not_found = 1 "QIZK008742 OTHERS = 2. "QIZK008742

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.

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.



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