RPCSVTD2 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 RPCSVTD2 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.
INCLUDE RPUMKC00.
No SAP DATABASE tables are accessed within this REPORT code!
CD_EVALUATION_PERIODS CALL FUNCTION 'CD_EVALUATION_PERIODS' EXPORTING bonus_date = evp-fpbeg inper_modif = alt_rgdir-iperm inper = $abrmo pay_type = space pay_ident = space TABLES rgdir = alt_rgdir evpdir = evp EXCEPTIONS no_record_found = 1 OTHERS = 2.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = l_sy_repid no_dialog = 'X' IMPORTING out_parameters = pri_params out_archive_parameters = arc_params EXCEPTIONS OTHERS = 0.
RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = ts_objkn_dtsd objnr = ts_dtsd empfg = 'RPCDTSD0' versn = '02' " TemSe-Version 02 "YCTN1148020 * OWNNR = 'X' IMPORTING tsobj = $tsobj * OBJHD = FBHANDLE_CIPO EXCEPTIONS others = 01.
RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' * EXPORTING * FBHANDLE = FBHANDLE_CIPO TABLES * datatab = psv03_output "YCTN1148020 datatab = psv03_temse "YCTN1148020 EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' * EXPORTING * FBHANDLE = FBHANDLE_CIPO EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.
RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = ts_objkn_dfue objnr = ts_dfue empfg = 'RPCSVGD0' versn = '03' " TemSe-Version 03 objin = ts_objin IMPORTING tsobj = $tsobj EXCEPTIONS others = 01.
RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' TABLES datatab = cls_temse_09 EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.
RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = ts_objkn_dfue objnr = ts_dfue empfg = 'RPCSVGD0' versn = '02' " TemSe-Version 02 "YCTN1148020 * OWNNR = 'X' objin = ts_objin IMPORTING tsobj = $tsobj * OBJHD = FBHANDLE_CIPO EXCEPTIONS others = 01.
RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' * EXPORTING * FBHANDLE = FBHANDLE_CIPO TABLES * datatab = cls "YCTN1148020 datatab = cls_temse "YCTN1148020 EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' * EXPORTING * FBHANDLE = FBHANDLE_CIPO EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga * TRFAR = * TRFGB = * TRFKZ = begda = $begda * ENDDA = IMPORTING waers = waers * VALID_BEGDA = * VALID_ENDDA = * RETURN = * CURRENCY_SOURCE = * TABLES * CURRENCY_TABLE = EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pn-begda foreign_amount = betrag foreign_currency = alte_waerg local_currency = neue_waerg IMPORTING local_amount = betrag EXCEPTIONS no_rate_found = 1 overflow = 2.
RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = repid IMPORTING format = $$format.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING archive_index = toa_dara form = $formname language = sy-langu startpage = $page_no * PROGRAM = ' ' * IMPORTING * LANGUAGE = EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 OTHERS = 6.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = $element function = $function type = $type window = $window IMPORTING pending_lines = $pending_lines.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = $element function = $function type = $type window = $window.
END_FORM CALL FUNCTION 'END_FORM'.
call function 'DB_COMMIT'. "QFLN1828396
OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING application = 'TX' archive_index = toa_dara archive_params = archive_params device = 'PRINTER' dialog = druckdialog language = 'D' options = print_itcpo IMPORTING result = print_itcpp EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 OTHERS = 6.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING result = print_itcpp EXCEPTIONS OTHERS = 1.
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING * EVENTID = EVENTID * EVENTPARM = EVENTPARM * EXTERNAL_PROGRAM_ACTIVE = EXTERNAL_PROGRAM_ACTIVE jobcount = jobcount jobname = jobname * STEPCOUNT = STEPCOUNT EXCEPTIONS no_runtime_info = 1 OTHERS = 2.
HR_EXPORT_DATA_TO_OTHER_SYS CALL FUNCTION 'HR_EXPORT_DATA_TO_OTHER_SYS' DESTINATION call_back_dest EXPORTING indxkey = call_back_id * headline1 = headline1 * headline2 = headline2 * headline3 = headline3 * headline4 = headline4 * footnote1 = footnote1 * footnote2 = footnote2 * footnote3 = footnote3 release = sy-saprl system = sy-sysid TABLES datatab = datatab fieldnames = fieldnames hr_errortab = errortab daten1 = daten1 daten2 = daten2 daten3 = daten3 EXCEPTIONS communication_failure = 1 MESSAGE mess system_failure = 2 MESSAGE mess OTHERS = 3.
HRPY_PROCESS_FIRE_EVENT CALL FUNCTION 'HRPY_PROCESS_FIRE_EVENT' EXPORTING imp_parcel = pyparaid TABLES imp_container = py_pm_container.
HR_99S_LEGAL_INTERPRET_OPT CALL FUNCTION 'HR_99S_LEGAL_INTERPRET_OPT' EXPORTING IM_MOLGA = molga IM_OPTION = gc_option IM_DATE = sy-datum IM_SAP_OPT_VALUE = gc_nfw_off CHANGING CH_OPTION_VALUE = gv_optva CH_IS_DEFAULT_VALUE = gv_optva_default EXCEPTIONS OPTION_DOES_NOT_EXIST = 1 OTHERS = 2.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = lv_ankey anart = 'CA' molga = p_molga IMPORTING address = p_adrs EXCEPTIONS not_found = 1 OTHERS = 2.
HR_DEUEV_CONVERT_P0006 * CALL FUNCTION 'HR_DEUEV_CONVERT_P0006' * EXPORTING * I_SW_D3CHECK = 'X' * CHANGING * cs_p0006 = ls_p0006 * EXCEPTIONS * DEUEV_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.
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 RPCSVTD2 or its description.
RPCSVTD2 - documentation and ABAP source code RPCSVTD0 - documentation and ABAP source code RPCSVSUV - HR-CH: Social insurance Switzerland AIL (Accident Insurance Law) RPCSVSUB - HR-CH: General subroutines for SI calculation RPCSVSFO - documentation and ABAP source code RPCSVSD2 - documentation and ABAP source code