HR_SYNC_PERSON is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates business partners of the Employee role from HR master data...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter HR_SYNC_PERSON into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RE_HR_SYNC_PERSON - For Report HR_SYNC_PERSON
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.
Title: Synchronize Employees - Business Partners
Text Symbol: 000 = Employees
Text Symbol: 001 = All Employees of Organizational Unit(s)
Text Symbol: 002 = Changes Since
Text Symbol: 003 = Synchronize Employees - Business Partners
Text Symbol: 004 = Number of employees synchronized successfully:
INCLUDE HR_SYNC_PERSON_TOP . " GLOBAL DATA
INCLUDE SYNC_PERSON_F01.
INCLUDE SYNC_PERSON_F02.
INCLUDE SYNC_PERSON_F03.
No SAP DATABASE tables are accessed within this REPORT code!
HCM_GET_LAST_CHANGE CALL FUNCTION 'HCM_GET_LAST_CHANGE' IMPORTING ev_last_change = gv_last_change.
HCM_PROCESS_BLOCK CALL FUNCTION 'HCM_PROCESS_BLOCK' EXPORTING it_pernr = gt_block IMPORTING et_errors = gt_errors ev_amount = gv_amount.
HCM_SET_LAST_CHANGE CALL FUNCTION 'HCM_SET_LAST_CHANGE' EXPORTING iv_last_change = sy-datum.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'HCM_SYNC_ERROR' CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = ' ' i_callback_program = sy-repid is_layout = gs_layout it_fieldcat = gt_fieldcat i_grid_settings = gs_grid_settings TABLES t_outtab = gt_all_errors EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
HR_SYNC_PERSON - Synchronize Employees - Business Partners HR_SYNC_PERSON - Synchronize Employees - Business Partners HR_SSC_CREATE_SERVICE_OBJECT==FT - HRSSCCREATESERVICEOBJECT==FT HR_RECRUIT_WEBIHS_HTML - HRRECRUITWEBIHSHTML HR_RECRUIT_WEBIHS03 - HRRECRUITWEBIHS03 HR_RECRUIT_WEBIHS02 - HRRECRUITWEBIHS02