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

MPZ01F01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

HR_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' EXPORTING username = sy-uname IMPORTING employeenumber = pernr countrygrouping = molga name = ename employmentstatus = employmentstatus EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 OTHERS = 3.

ITS_PING CALL FUNCTION 'ITS_PING' EXCEPTIONS its_not_available = 1 OTHERS = 2.

HR_GET_SELECT_DEFINITION CALL FUNCTION 'HR_GET_SELECT_DEFINITION' EXPORTING selid = selection_id TABLES tableconditions = l_tableconditions EXCEPTIONS no_valid_selid = 1 OTHERS = 2.

HR_CONVERT_FIELDNAME_FORMAT * CALL FUNCTION 'HR_CONVERT_FIELDNAME_FORMAT' * EXPORTING * workspace = 'G' * infoset = infoset * TABLES * aq_fieldnames = l_aq_fieldnames " 1 field: out * fieldnames = l_fieldnames " 4 fields: in * EXCEPTIONS * OTHERS = 1.

HR_CONVERT_FIELDS_TO_INFOSET CALL FUNCTION 'HR_CONVERT_FIELDS_TO_INFOSET' EXPORTING workspace = 'G' infoset = infoset fieldnames = l_fieldnames[] " 4 fields: in IMPORTING aq_fieldnames = l_aq_fieldnames[] " 1 field: out EXCEPTIONS internal_error = 1 illegal_field = 2 no_infoset = 3 illegal_workspace = 4 infoset_not_supported = 5 OTHERS = 6.

RSAQ_REMOTE_FUNCAREA_FIELDLIST CALL FUNCTION 'RSAQ_REMOTE_FUNCAREA_FIELDLIST' EXPORTING workspace = 'G' funcarea = infoset TABLES fieldlist = l_fieldlist EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = selection-tabname fieldname = selection-fieldname langu = sy-langu TABLES dfies_tab = nametab EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = itab-tabname fieldname = itab-fieldname langu = sy-langu TABLES dfies_tab = nametab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = itab-tabname fieldname = itab-fieldname langu = sy-langu TABLES dfies_tab = nametab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

HR_ESS_GET_SETTINGS CALL FUNCTION 'HR_ESS_GET_SETTINGS' EXPORTING username = sy-uname.

ALEWEB_DOWNLOAD CALL FUNCTION 'ALEWEB_DOWNLOAD' EXPORTING DATA_LEN = data_len MIME_TYPE = mimetype DATA_TYPE = 'RAW' TABLES DATA_TAB = image_tab EXCEPTIONS ITS_NOT_AVAILABLE = 1 OTHERS = 2.

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.

HR_SELECT_PERSONS CALL FUNCTION 'HR_SELECT_PERSONS' EXPORTING begda = sy-datum endda = sy-datum tclas = 'A' authority_check = check_auth TABLES conditiontable = condition_table pernrs_found = table_pernr_found pernrs_in = itab_pernr_found EXCEPTIONS empty_table = 1 wrong_tablefield = 2 only_pnp_or_pap = 3 unsupported_condition = 4 unsupported_fieldkind = 5 wrong_tclas = 6 internal_error = 7 OTHERS = 8.

SEARCH_OBJECTS CALL FUNCTION 'SEARCH_OBJECTS' EXPORTING act_plvar = plvar act_otype = 'O ' act_seark = orgtxt act_istat = '1' search_date = sy-datum TABLES object_tab = object_org.

SEARCH_OBJECTS CALL FUNCTION 'SEARCH_OBJECTS' EXPORTING act_plvar = plvar act_otype = 'S ' act_seark = postxt act_istat = '1' search_date = sy-datum TABLES object_tab = object_pos.

SEARCH_OBJECTS CALL FUNCTION 'SEARCH_OBJECTS' EXPORTING act_plvar = plvar act_otype = 'C ' act_seark = jobtxt act_istat = '1' search_date = sy-datum TABLES object_tab = object_job.

RH_INTEGRATION_CHECK CALL FUNCTION 'RH_INTEGRATION_CHECK' IMPORTING integrated_plvar = actplvar org_integration = orga EXCEPTIONS OTHERS = 0.

HR_ESS_DEACTIVED_SERVICE





* CALL FUNCTION 'HR_ESS_DEACTIVED_SERVICE' * EXPORTING * molga = molga * service = '00000074' * IMPORTING * deactivated = cale_deact.

HR_ESS_DEACTIVED_SERVICE * CALL FUNCTION 'HR_ESS_DEACTIVED_SERVICE' * EXPORTING * molga = molga * service = '00000081' * IMPORTING * deactivated = ownfoto_deact.

HR_GET_QUERY_FIELDLIST * CALL FUNCTION 'HR_GET_QUERY_FIELDLIST' * EXPORTING * workspace = 'G' * query = p_query_id1 * TABLES * aq_output_fields = p_q1_out_fields * sort_fields = p_sort_q1 * EXCEPTIONS * OTHERS = 1.



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