SAP Reports / Programs | Personnel Management | Personnel Administration | External personnel administration(PA-PA-XX-ET) SAP PA

MPHRWFDF02 SAP ABAP INCLUDE - Include MPHRWFDF02







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


INCLUDES used within this REPORT MPHRWFDF02

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_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING NUMBER = p_pernr IMPORTING RETURN = xs_return1.

HR_MAINTAIN_MASTERDATA CALL FUNCTION 'HR_MAINTAIN_MASTERDATA' EXPORTING PERNR = p_pernr * MASSN = ps_PSPAR-MASSN ACTIO = p_action * TCLAS = 'A' BEGDA = ps_PSPAR-BEGDA * ENDDA = '99991231' * OBJPS = * SEQNR = * SPRPS = * SUBTY = ps_PSPAR-SUBTY WERKS = ps_PSPAR-WERKS PERSG = ps_PSPAR-PERSG PERSK = ps_PSPAR-PERSK PLANS = ps_PSPAR-PLANS DIALOG_MODE = p_dialog_mode LUW_MODE = s_luw_mode NO_EXISTENCE_CHECK = ' ' NO_ENQUEUE = 'X' IMPORTING * RETURN = ps_return RETURN1 = ps_return1 HR_RETURN = ps_error TABLES PROPOSED_VALUES = pt_proposed_values MODIFIED_KEYS = lt_MODIFIED_KEYS.

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING NUMBER = p_pernr IMPORTING RETURN = xs_return1.

HCM_P_BP_INTEGRATION CALL FUNCTION 'HCM_P_BP_INTEGRATION' EXPORTING PSOPER_TAB = t_psoper.

BP_CENTRALPERSON_GET CALL FUNCTION 'BP_CENTRALPERSON_GET' EXPORTING IV_PERSON_ID = l_personid IMPORTING EV_BU_PARTNER_GUID = l_partner_guid EXCEPTIONS no_central_person = 1 no_business_partner = 2 no_id = 3 OTHERS = 4.

HR_PERSONEE_GETPERSON CALL FUNCTION 'HR_PERSONEE_GETPERSON' EXPORTING iv_employee_id = l_personid iv_with_authority = space IMPORTING es_hrpersonee = l_cp.

BP_CENTRALPERSON_GET CALL FUNCTION 'BP_CENTRALPERSON_GET' EXPORTING IV_PERSON_ID = l_cp-personid IMPORTING EV_BU_PARTNER_GUID = l_partner_guid EXCEPTIONS no_central_person = 1 no_business_partner = 2 no_id = 3 OTHERS = 4.

WFDBP_BP_GEN_MODIFY CALL FUNCTION 'WFDBP_BP_GEN_MODIFY' "#EC EXISTS EXPORTING i_partner_guid = l_partner_guid * I_PARTNER_NUMBER = L_BU_PARTNER-BU_PARTNER i_start_date = s_start_date-start_date i_hire_date = s_start_date-hire_date i_termination_date = s_start_date-term_date i_lock = ' ' EXCEPTIONS partner_locked = 1 partner_not_found = 2 data_inconsistent = 3 OTHERS = 4.

WFDBP_TRANSACTION_COMMIT CALL FUNCTION 'WFDBP_TRANSACTION_COMMIT'. "#EC EXISTS



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