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

FP50PF20 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_T582A_READ CALL FUNCTION 'HR_T582A_READ' "XYVAHRK039994 EXPORTING "XYVAHRK039994 infty = fps_infty"XYVAHRK039994 IMPORTING "XYVAHRK039994 t582a = t582a "XYVAHRK039994 EXCEPTIONS "XYVAHRK039994 entry_not_found = 1 "XYVAHRK039994 OTHERS = 2. "XYVAHRK039994

HR_T777D_READ CALL FUNCTION 'HR_T777D_READ' "XYVAHRK039994 EXPORTING "XYVAHRK039994 infty = fps_infty"XYVAHRK039994 IMPORTING "XYVAHRK039994 t777d = t777d "XYVAHRK039994 EXCEPTIONS "XYVAHRK039994 entry_not_found = 1 "XYVAHRK039994 OTHERS = 2. "XYVAHRK039994

HR_INFOTYPE_EXTENSION_GET * CALL FUNCTION 'HR_INFOTYPE_EXTENSION_GET' "XYVAHRK039990 * EXPORTING "XYVAHRK039990 * INFTY = FPS_INFTY "XYVAHRK039990 * IMPORTING "XYVAHRK039990 * SELECT_MODULE = SELECT_MODULE "XYVAHRK039990 ** UPDATE_MODULE = "XYVAHRK039990 * HAS_EXTENSION = HAS_EXTENSION "XYVAHRK039990 * EXCEPTIONS "XYVAHRK039990 * EXTENSION_DOES_NOT_EXIST = 1 "XYVAHRK039990 * INTERNAL_ERROR = 2 "XYVAHRK039990 * OTHERS = 3. "XYVAHRK039990

HR_INFOTYPE_DATABASETABLE_GET CALL FUNCTION 'HR_INFOTYPE_DATABASETABLE_GET' "XYVN0384039 EXPORTING "XYVN0384039 infty = fps_inftab-infty "XYVN0384039 tclas = pspar-tclas "XYVN0384039 IMPORTING "XYVN0384039 dbname = dbname "XYVN0384039 * DBNAME_SHORT = "XYVN0384039 EXCEPTIONS "XYVN0384039 entry_not_found = 1 "XYVN0384039 OTHERS = 2. "XYVN0384039

HR_T777D_READ CALL FUNCTION 'HR_T777D_READ' "ANDUNI EXPORTING infty = fps_inftab-infty IMPORTING t777d = l_t777d.

HR_PUT_ORG_ASSIGNMENT CALL FUNCTION 'HR_PUT_ORG_ASSIGNMENT' "QICP30K018318 EXPORTING tclas = pspar-tclas TABLES "QICP30K018318 p_0001 = i_0001 "QICP30K018318 EXCEPTIONS "QICP30K018318 no_input = 1 "QICP30K018318 OTHERS = 2. "QICP30K018318

HR_PUT_ORG_ASSIGNMENT CALL FUNCTION 'HR_PUT_ORG_ASSIGNMENT' "QICP30K018318 TABLES "QICP30K018318 p_0001 = i_0001 "QICP30K018318 EXCEPTIONS "QICP30K018318 no_input = 1 "QICP30K018318 OTHERS = 2. "QICP30K018318

RP_READ_AFRU * CALL FUNCTION 'RP_READ_AFRU' * EXPORTING * IN_PSKEY = PSKEY * IN_SPERR = RPA_SPERR * IMPORTING * OUT_PAFRU = PAFRU * EXCEPTIONS * NO_ENTRY_IN_AFVC_FOUND = 1 * NO_ENTRY_IN_AFRU_FOUND = 2 * AUFNR_NOT_FOUND = 3 * ORDER_ALREADY_LOCKED = 4.

HR_EE_CREATE_CENTRALERSON CALL FUNCTION 'HR_EE_CREATE_CENTRALERSON' EXPORTING iv_employee_id = p_pernr iv_begindate = p_begda iv_no_update = 'X' "Update über PLOG_TAB in SAPUP50R iv_with_authority = space "Keine Berechtigungsprüfung IMPORTING ev_person_id = p_cp_id.

RH_GET_PLOG_TAB CALL FUNCTION 'RH_GET_PLOG_TAB' TABLES plog_tab_tab = lt_plog_tab.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = u_ppenq-plvar otype = u_ppenq-otype objid = u_ppenq-objid enqueue_once = ' ' * IMPORTING "CHKMAN * lock_user = sy-uname "CHKMAN EXCEPTIONS enqueue_failed = 0 objid_is_initial = 0 illegal_otype = 0 internal_error = 0 OTHERS = 0.

HR_PERSONEE_GETPERSON CALL FUNCTION 'HR_PERSONEE_GETPERSON' EXPORTING iv_employee_id = p_pernr iv_with_authority = space IMPORTING es_hrpersonee = ls_hrpersonee.

HR_CENTRALPERSON_GET CALL FUNCTION 'HR_CENTRALPERSON_GET' EXPORTING iv_person_id = ls_hrpersonee-personid IMPORTING ev_begindate = lv_begindate.

HR_CENTRALPERSON_INSERT CALL FUNCTION 'HR_CENTRALPERSON_INSERT' EXPORTING is_person = ls_hrperson * IV_BEGINDATE = lv_begindate "XDP305199 iv_begindate = pd_low_date "XDP305199 iv_with_authority = space "Keine Berechtigungsprüfung iv_no_update = 'X' "Nur im Puffer EXCEPTIONS no_authorization = 1 invalid_data = 2 OTHERS = 3.

RH_GET_PLOG_TAB CALL FUNCTION 'RH_GET_PLOG_TAB' TABLES plog_tab_tab = lt_plog_tab.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = u_ppenq-plvar otype = u_ppenq-otype objid = u_ppenq-objid enqueue_once = ' ' * IMPORTING "CHKMAN * lock_user = sy-uname "CHKMAN EXCEPTIONS enqueue_failed = 0 objid_is_initial = 0 illegal_otype = 0 internal_error = 0 OTHERS = 0.

HR_PERSONEE_GETPERSON CALL FUNCTION 'HR_PERSONEE_GETPERSON' EXPORTING iv_employee_id = p_ref_pernr iv_with_authority = space IMPORTING es_hrpersonee = ls_hrpersonee.

HR_PERSONEE_INSERT CALL FUNCTION 'HR_PERSONEE_INSERT' EXPORTING is_hrpersonee = ls_hrpersonee iv_begindate = p_begda iv_with_authority = space "Keine Prüfung iv_no_update = 'X' "Nur im Puffer EXCEPTIONS no_authorization = 0 invalid_data = 2 OTHERS = 3.

RH_GET_PLOG_TAB





CALL FUNCTION 'RH_GET_PLOG_TAB' TABLES plog_tab_tab = lt_plog_tab.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = u_ppenq-plvar otype = u_ppenq-otype objid = u_ppenq-objid enqueue_once = ' ' * IMPORTING "CHKMAN * lock_user = sy-uname "CHKMAN EXCEPTIONS enqueue_failed = 0 objid_is_initial = 0 illegal_otype = 0 internal_error = 0 OTHERS = 0.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = c_employeet_type objkey = employee_objkey event = c_employeecountry IMPORTING event_id = event_id TABLES event_container = event_cont EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

HR_PERSONEE_GETPERSON CALL FUNCTION 'HR_PERSONEE_GETPERSON' EXPORTING iv_employee_id = p_pspar_pernr iv_with_authority = space IMPORTING es_hrpersonee = ls_hrpersonee.

HR_PERSONEE_DELETE CALL FUNCTION 'HR_PERSONEE_DELETE' EXPORTING is_hrpersonee = ls_hrpersonee iv_with_authority = ' ' iv_no_commit = 'X' iv_asynchron = 'X' EXCEPTIONS no_authorization = 1 invalid_data = 2 OTHERS = 3.

HR_PERSONEE_INSERT CALL FUNCTION 'HR_PERSONEE_INSERT' EXPORTING is_hrpersonee = ls_hrpersonee iv_begindate = p_pspar_begda iv_no_commit = 'X' iv_asynchron = 'X' iv_with_authority = ' ' iv_no_update = ' ' EXCEPTIONS no_authorization = 1 invalid_data = 2 OTHERS = 3.

RH_GET_PLOG_TAB CALL FUNCTION 'RH_GET_PLOG_TAB' TABLES plog_tab_tab = lt_plog_tab.

HR_ENQUEUE_OBJECT CALL FUNCTION 'HR_ENQUEUE_OBJECT' EXPORTING plvar = u_ppenq-plvar otype = u_ppenq-otype objid = u_ppenq-objid enqueue_once = ' ' * IMPORTING "CHKMAN * lock_user = sy-uname "CHKMAN EXCEPTIONS enqueue_failed = 0 objid_is_initial = 0 illegal_otype = 0 internal_error = 0 OTHERS = 0.



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