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

MPZ50100 SAP ABAP INCLUDE - documentation and ABAP source code







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

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 name = ename countrygrouping = land EXCEPTIONS user_not_found = 1 countrygrouping_not_found = 2 infty_not_found = 3 OTHERS = 4.

HR_ESS_WHOSWHO_PERSDATA_INIT CALL FUNCTION 'HR_ESS_WHOSWHO_PERSDATA_INIT' EXPORTING land = land empl = pernr TABLES data_cur = chgdat EXCEPTIONS load_error = 1 initialization_error = 2 OTHERS = 3.

HR_ESS_EMPLOYEE_PHOTO_INIT CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_INIT' EXPORTING empl = pernr EXCEPTIONS initialization_error = 1 no_photo_found_error = 2 OTHERS = 3.

HR_ESS_USER_SETTINGS_RECOVER CALL FUNCTION 'HR_ESS_USER_SETTINGS_RECOVER' EXPORTING username = sy-uname IMPORTING ess_options = option.

ITS_IMPORT_CONTEXT CALL FUNCTION 'ITS_IMPORT_CONTEXT' TABLES context = contexttab EXCEPTIONS its_not_available = 1 OTHERS = 2.

HR_ESS_WHOSWHO_PERSDATA_CHECK CALL FUNCTION 'HR_ESS_WHOSWHO_PERSDATA_CHECK' IMPORTING is_saved = is_saved1 TABLES data_cur = chgdat.

HR_ESS_EMPLOYEE_PHOTO_CHECK CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_CHECK' IMPORTING is_saved = is_saved2.

HR_ESS_EMPLOYEE_PHOTO_SHOW CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_SHOW'.

HR_ESS_EMPLOYEE_PHOTO_TAKE CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_TAKE' " Take selected foto EXPORTING browfield_name = 'EMPLFOTO' IMPORTING foto_url = foto EXCEPTIONS format_error = 1 transfer_error = 2 OTHERS = 3.

HR_ESS_WHOSWHO_PERSDATA_SAVE CALL FUNCTION 'HR_ESS_WHOSWHO_PERSDATA_SAVE' EXPORTING empl = pernr TABLES data_cur = chgdat EXCEPTIONS save_error = 1 lock_error = 2 OTHERS = 3.

HR_ESS_EMPLOYEE_PHOTO_SAVE CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_SAVE' EXCEPTIONS save_error = 1 lock_error = 2 OTHERS = 3.

HR_ESS_WHOSWHO_PERSDATA_RESET CALL FUNCTION 'HR_ESS_WHOSWHO_PERSDATA_RESET' TABLES data_cur = chgdat.

HR_ESS_EMPLOYEE_PHOTO_RESET CALL FUNCTION 'HR_ESS_EMPLOYEE_PHOTO_RESET'.



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