RPCPSPQ4 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 RPCPSPQ4 into the relevant SAP transactions such as SE38 or SE80
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: Include RPCPSPQ4
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = $start_date end = $end_date IMPORTING hire_date = hiredate fire_date = firedate TABLES pp0000 = p0000a pp0001 = p0001a pphifi = phifi.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = $pernr_splits-begda end = $pernr_splits-endda IMPORTING hire_date = hiredate fire_date = firedate TABLES pp0000 = p0000a pp0001 = p0001a pphifi = phifi.
HRTO_AU_CALC_SERVICE_DTLS CALL FUNCTION 'HRTO_AU_CALC_SERVICE_DTLS' EXPORTING pernr = pernr-pernr service_till_date = calculate_date it0023_req = 13etp_backfield(1) redund_model = 13rdn_backfield psg_absence = $moabw EMP_MOLGA = $molga TERMINATION_DATE = $firedate IMPORTING pre83svday_def = $service_pre83 post83svday_def = $service_post83 hiredate = $service_start_date TABLES p0023a = p0023a p2001a = p2001a EXCEPTIONS pernr_not_assigned = 1 entry_date_not_found = 2 OTHERS = 3.
HR_AUPBS_INDUSTRY_STATUS CALL FUNCTION 'HR_AUPBS_INDUSTRY_STATUS' EXPORTING molga = $molga ibuky = 'PBS' IMPORTING activ = pbs_activ.
HRUTIL_AU_PROVIDE_LAST_0000 CALL FUNCTION 'HRUTIL_AU_PROVIDE_LAST_0000' EXPORTING event_type = 13trm_backfield+2(2) begda = $wa_pernr_split-begda endda = $wa_pernr_split-endda TABLES p0000a = p0000a EXCEPTIONS not_found = 4.
RP_HIRE_FIRE * CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * beg = $begda * end = $endda * IMPORTING * hire_date = hiredate * fire_date = firedate * TABLES * pp0000 = p0000a * pp0001 = p0001a * pphifi = phifi.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.