SAP Reports / Programs | Cross-Application Components | Employee Self-Service(CA-ESS) SAP CA

MPZ01F04 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

BAPI_INTCONTROL_GETLIST CALL FUNCTION 'BAPI_INTCONTROL_GETLIST' "#EC DOM_EQUAL EXPORTING employeenumber = pernr timeintervallow = sy-datum timeintervalhigh = sy-datum IMPORTING return = return TABLES intcontrolkey = intcontrolkey.

BAPI_INTCONTROL_GETDETAIL CALL FUNCTION 'BAPI_INTCONTROL_GETDETAIL' EXPORTING employeenumber = pernr subtype = ' ' objectid = ' ' lockindicator = ' ' validitybegin = intcontrolkey-validbegin validityend = intcontrolkey-validend recordnumber = intcontrolkey-recordnr IMPORTING return = return licenseplateno = licenseplateno buildingnumber = buildingnumber roomnumber = roomnumber inhousetelno1 = inhousetelno1 inhousetelno2 = inhousetelno2.

BAPI_EMPLOYEE_ENQUEUE * CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' * EXPORTING * number = pernr * IMPORTING * return = return.

BAPI_INTCONTROL_CREATE * CALL FUNCTION 'BAPI_INTCONTROL_CREATE' "#EC DOM_EQUAL * EXPORTING * employeenumber = pernr * validitybegin = sy-datum * validityend = '99991231' * licenseplateno = licenseplateno * buildingnumber = buildingnumber * roomnumber = roomnumber * inhousetelno1 = inhousetelno1 * inhousetelno2 = inhousetelno2 * IMPORTING * return = return.

BAPI_EMPLOYEE_DEQUEUE * CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' * EXPORTING * number = pernr * IMPORTING * return = return.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = pernr IMPORTING return = return.

BAPI_INTCONTROL_CHANGE CALL FUNCTION 'BAPI_INTCONTROL_CHANGE' "#EC DOM_EQUAL EXPORTING employeenumber = pernr subtype = ' ' objectid = ' ' lockindicator = ' ' recordnumber = intcontrolkey-recordnr validitybegin = sy-datum validityend = '99991231' licenseplateno = licenseplateno buildingnumber = buildingnumber roomnumber = roomnumber inhousetelno1 = inhousetelno1 inhousetelno2 = inhousetelno2 IMPORTING return = return.

BAPI_INTCONTROLCREATESUCCESSOR CALL FUNCTION 'BAPI_INTCONTROLCREATESUCCESSOR' EXPORTING employeenumber = pernr validitybegin = sy-datum validityend = '99991231' licenseplateno = licenseplateno buildingnumber = buildingnumber roomnumber = roomnumber inhousetelno1 = inhousetelno1 inhousetelno2 = inhousetelno2 * NOCOMMIT = IMPORTING return = return.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = pernr IMPORTING return = return.

BAPI_EMPLCOMM_GETDETAILEDLIST CALL FUNCTION 'BAPI_EMPLCOMM_GETDETAILEDLIST' EXPORTING employeenumber = pernr subtype = '0020' timeintervallow = sy-datum timeintervalhigh = sy-datum IMPORTING return = return TABLES communication = communication.

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING number = pernr IMPORTING return = return.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING number = pernr IMPORTING return = return.

BAPI_EMPLCOMM_GETLIST CALL FUNCTION 'BAPI_EMPLCOMM_GETLIST' EXPORTING employeenumber = empnr timeintervallow = sy-datum timeintervalhigh = sy-datum IMPORTING return = return TABLES intcontrolkey = intcontrolkey.

BAPI_EMPLCOMM_GETDETAIL CALL FUNCTION 'BAPI_EMPLCOMM_GETDETAIL' EXPORTING employeenumber = empnr subtype = to_be_saved-i_subty objectid = ' ' lockindicator = ' ' validitybegin = intcontrolkey-validbegin validityend = intcontrolkey-validend recordnumber = intcontrolkey-recordnr
IMPORTING return = return.

BAPI_EMPLCOMM_CHANGE CALL FUNCTION 'BAPI_EMPLCOMM_CHANGE' EXPORTING employeenumber = empnr subtype = to_be_saved-i_subty OBJECTID = ' ' lockindicator = ' ' validitybegin = sy-datum validityend = '99991231' recordnumber = intcontrolkey-recordnr communicationid = to_be_saved-communicationid IMPORTING return = return.

BAPI_EMPLCOMM_CREATESUCCESSOR CALL FUNCTION 'BAPI_EMPLCOMM_CREATESUCCESSOR' EXPORTING employeenumber = pernr subtype = to_be_saved-i_subty "#EC DOM_EQUAL validitybegin = sy-datum validityend = '99991231' communicationid = to_be_saved-communicationid IMPORTING return = return.

BAPI_EMPLCOMM_DELIMIT CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT' EXPORTING employeenumber = pernr subtype = to_be_saved-i_subty objectid = intcontrolkey-objectid lockindicator = intcontrolkey-lockindic validitybegin = intcontrolkey-validbegin validityend = intcontrolkey-validend recordnumber = intcontrolkey-recordnr delimit_date = deldate IMPORTING return = return.

BAPI_EMPLCOMM_DELETE * CALL FUNCTION 'BAPI_EMPLCOMM_DELETE' * EXPORTING * employeenumber = pernr * subtype = to_be_saved-i_subty * objectid = to_be_saved-objectid * lockindicator = to_be_saved-lockindicator * validitybegin = to_be_saved-validitybegin * validityend = to_be_saved-validityend * recordnumber = to_be_saved-recordnumber * IMPORTING * return = return.

BAPI_EMPLCOMM_DELIMIT





* CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT' * EXPORTING * employeenumber = pernr * subtype = to_be_saved-i_subty * objectid = to_be_saved-objectid * lockindicator = to_be_saved-lockindicator * validitybegin = to_be_saved-validitybegin * validityend = to_be_saved-validityend * recordnumber = to_be_saved-recordnumber * delimit_date = deldate * IMPORTING * return = return.

BAPI_EMPLCOMM_GETLIST CALL FUNCTION 'BAPI_EMPLCOMM_GETLIST' EXPORTING employeenumber = pernr timeintervallow = sy-datum "#EC DOM_EQUAL timeintervalhigh = sy-datum "#EC DOM_EQUAL IMPORTING return = return TABLES intcontrolkey = intcontrolkey.

BAPI_EMPLCOMM_DELETE CALL FUNCTION 'BAPI_EMPLCOMM_DELETE' EXPORTING employeenumber = pernr subtype = to_be_saved-i_subty objectid = intcontrolkey-objectid lockindicator = intcontrolkey-lockindic validitybegin = intcontrolkey-validbegin validityend = intcontrolkey-validend recordnumber = intcontrolkey-recordnr * NOCOMMIT = IMPORTING return = return.

BAPI_EMPLCOMM_DELIMIT CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT' EXPORTING employeenumber = pernr subtype = to_be_saved-i_subty "#EC DOM_EQUAL objectid = intcontrolkey-objectid lockindicator = intcontrolkey-lockindic validitybegin = intcontrolkey-validbegin validityend = intcontrolkey-validend recordnumber = intcontrolkey-recordnr delimit_date = deldate * NOCOMMIT = IMPORTING return = return.

HR_ESS_USER_SETTINGS_RECOVER CALL FUNCTION 'HR_ESS_USER_SETTINGS_RECOVER' EXPORTING defaultuser = 'X' IMPORTING ess_options_dflt = ess_options.

TELEPHONY_ACTIVE_GET CALL FUNCTION 'TELEPHONY_ACTIVE_GET' IMPORTING active = phone_active.

BAPI_EMPLCOMM_GETDETAILEDLIST CALL FUNCTION 'BAPI_EMPLCOMM_GETDETAILEDLIST' EXPORTING employeenumber = pernr timeintervallow = sy-datum timeintervalhigh = sy-datum TABLES communication = i_communication.



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