SAP Reports / Programs | Personnel Management | Personnel Administration | South Korea(PA-PA-KR) SAP PA

MP085840 SAP ABAP INCLUDE - Include MP085840







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


Text pool values


Title: Include MP085840


INCLUDES used within this REPORT MP085840

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:

HRPADKR_REGNO_LAST_DIGIT CALL FUNCTION 'HRPADKR_REGNO_LAST_DIGIT' EXPORTING regno = regno IMPORTING last_digit = last_d EXCEPTIONS invalid_reg_number = 1 OTHERS = 2.

HRPADKR_BIZNO_CHECK CALL FUNCTION 'HRPADKR_BIZNO_CHECK' EXPORTING bizno = bizno IMPORTING last_digit = last_d EXCEPTIONS invalid_biz_number = 1 OTHERS = 2.

HR_INFOTYPE_GETLIST CALL FUNCTION 'HR_INFOTYPE_GETLIST' EXPORTING infty = '0021' number = p0858-pernr timeintervallow = p0858-begda timeintervalhigh = p0858-endda TABLES key = lt_tab_key.

HR_INFOTYPE_GETDETAIL CALL FUNCTION 'HR_INFOTYPE_GETDETAIL' EXPORTING infty = '0021' number = -employeeno subtype = -subtype objectid = -objectid lockindicator = -lockindic validityend = -validend validitybegin = -validbegin recordnumber = -recordnr IMPORTING record = ls_p0021 secondary_record = ls_p0540 EXCEPTIONS OTHERS = 0.

HR_YEA_GETDEPATTRIB CALL FUNCTION 'HR_YEA_GETDEPATTRIB' EXPORTING employeenumber = p0858-pernr subtype = ls_p0021-subty OBJECTID = ls_p0021-objps KEY_DATE = p0858-endda ATTBT_TYPE = 'DPTID' IMPORTING ATTRIBUTE = l_bdeli.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = ls_p0002 pp0021 = ls_p0021 molga = '41' langu = sy-langu format = ls_p0002-knznm IMPORTING edit_name = lv_emnam.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = ls_p0002 molga = '41' langu = sy-langu format = ls_p0002-knznm IMPORTING edit_name = lv_emnam.

HR_INFOTYPE_GETDETAIL CALL FUNCTION 'HR_INFOTYPE_GETDETAIL' EXPORTING infty = '0539' number = ls_p0002-pernr subtype = ls_p0002-subty objectid = ls_p0002-objps lockindicator = ls_p0002-sprps validityend = ls_p0002-endda validitybegin = ls_p0002-begda IMPORTING record = ls_p0539 EXCEPTIONS OTHERS = 0.

HR_INFOTYPE_GETLIST CALL FUNCTION 'HR_INFOTYPE_GETLIST' EXPORTING infty = '0021' number = lv_p0858-pernr timeintervallow = lv_p0858-begda timeintervalhigh = lv_p0858-endda TABLES key = lt_tab_key.

HR_INFOTYPE_GETDETAIL CALL FUNCTION 'HR_INFOTYPE_GETDETAIL' EXPORTING infty = '0021' number = -employeeno subtype = -subtype objectid = -objectid lockindicator = -lockindic validityend = -validend validitybegin = -validbegin recordnumber = -recordnr IMPORTING record = ls_p0021 secondary_record = ls_p0540 EXCEPTIONS OTHERS = 0.

HR_YEA_GETDEPATTRIB CALL FUNCTION 'HR_YEA_GETDEPATTRIB' EXPORTING employeenumber = lv_p0858-pernr subtype = ls_p0021-subty OBJECTID = ls_p0021-objps KEY_DATE = l_keydate ATTBT_TYPE = 'DPTID' IMPORTING ATTRIBUTE = l_bdeli.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = ls_p0002 pp0021 = ls_p0021 molga = '41' langu = sy-langu format = ls_p0002-knznm IMPORTING edit_name = lv_emnam.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = ls_p0002 molga = '41' langu = sy-langu format = ls_p0002-knznm IMPORTING edit_name = lv_emnam.

HR_INFOTYPE_GETDETAIL CALL FUNCTION 'HR_INFOTYPE_GETDETAIL' EXPORTING infty = '0539' number = ls_p0002-pernr subtype = ls_p0002-subty objectid = ls_p0002-objps lockindicator = ls_p0002-sprps validityend = ls_p0002-endda validitybegin = ls_p0002-begda IMPORTING record = ls_p0539 EXCEPTIONS OTHERS = 0.

CONVERSION_EXIT_REGNO_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_REGNO_OUTPUT' EXPORTING input = -regno IMPORTING output = regno.

F4TOOL_F4FUNCTION_BRIDGE CALL FUNCTION 'F4TOOL_F4FUNCTION_BRIDGE' EXPORTING
cucol = 0 curow = 0 tabname = space fieldname = space display_only = display_only no_conversion = 'X' * WINDOW_TITLE = * TABDISPLAY = ' ' IMPORTING * SELECTED_VALUE = Value selected_index = f4_index TABLES * SHVALUE_TAB = Ihelp_fields * SHSTRUC_TAB = Helptab value_tab = helptab fields_tab = ihelp_fields * VALUES_OUT = Seltab coltitle_tab = cotitle_tab sel_opt = mcseloption.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'DOCOD' value_org = 'S' TABLES value_tab = l_helptab return_tab = ret_value EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.



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