RPCSVGD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report processes summarized data that is created from the SI Contribution Statement (report RPCSVBD0) and, depending on the parameter "Automatic EDI for all Funds", uses this to create an EDI notification file, either for only one EDI payee fund or for all EDI payees (that exist in the TemSe object)...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 RPCSVGD0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M01_CSVG - Create EDI Notification File 01
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.
Selection Text: DATNA_A = File Name for Active Employees
Selection Text: DATNA_R = File Name for Pensions
Selection Text: DF_ALLDT = EDI for All Funds Automat.
Selection Text: DF_BCKUP = Create Backup Copy
Selection Text: DF_BTRTL = Personnel subarea
Selection Text: DF_DFNRP = Stop File Number Check
Selection Text: DF_DFUEG = EDI Fund
Selection Text: DF_DFUEK = EDI Fund Branch Office
Selection Text: DF_DOWNL = Download to PC
Selection Text: DF_PRAFS = Log Order Data Record
Selection Text: DF_PRDFS = Log Notifications
Selection Text: DF_PRKLT = Substitute Cont. Statement
Selection Text: DF_WERKS = Personnel area
Selection Text: TSOBJ = Evaluation Data Contained In
Title: Create Files for Contribution Statement by EDI (Obsolete)
Text Symbol: M01 = The following files were copied to the PC :
Text Symbol: K66 = Uniform Flat-rate Tax Tx
Text Symbol: K65 = Salaried EEs' PI Conrtibutions -Part-time Employees-0600
Text Symbol: K64 = EEs' PI Contributions -Part-time Employees- 0500
Text Symbol: K63 = HI Contributions -Part-time Employees- 6000
Text Symbol: K62 = Total Field/Payment Amt :
Text Symbol: K61 = Number of Records:
Text Symbol: K60 = Subsequent Record
Text Symbol: K53 = File Number :
Text Symbol: K52 = Payee Fund :
Text Symbol: K51 = Created by / Sender :
Text Symbol: K50 = Initial Record
Text Symbol: K42 = Contrib.Rate Reduced :
Text Symbol: K41 = Contrib.Rate Increased :
Text Symbol: K40 = Contrib.Rate General :
Text Symbol: K37 = Acc.to Sec.10 LFZG
Text Symbol: K36 = Refund Amt To Be Paid/Credit
Text Symbol: K35 = PI Contributions -Voluntary Members-
Text Symbol: K34 = HI Contributions -Voluntary Members-
Text Symbol: K33 = Total cost
Text Symbol: K32 = Cont.Amt Acc.to LFZG -Maternity Expenses- U2
Text Symbol: K31 = Contrib.Amt Acc. to LFZG -Sickness Expenses- U1
Text Symbol: K30 = Employment Promotion -Half Contrib.- 0020
INCLUDE RPC50PD0. "DEFINE FOR READING T5D0P
INCLUDE RPUPMDP3. "WEFL9BK006427
INCLUDE RPCSV2D0.
No SAP DATABASE tables are accessed within this REPORT code!
RP_TS_HELPVIEW call function 'RP_TS_HELPVIEW' exporting repid = 'RPCSVGD0' importing tsobj = tsobj exceptions "VUUP40K003161 no_entries_found = 1 "! helpview_not_installed = 2 "! no_value_request_for_molga = 3 "! others = 0. "!
RP_TS_OPEN call function 'RP_TS_OPEN' exporting tsobj = tsobj empfg = 'RPCSVGD0' versn = space "YCTN1148020 importing versn = g_ts_versn " TemSe-Version "YCTN1148020 objin = ts_objin.
RSTS_READ call function 'RSTS_READ' tables datatab = cls_temse_09 exceptions fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RSTS_READ call function 'RSTS_READ' " tables " datatab = cls_temse " exceptions " fb_call_handle = 01 " fb_error = 02 " fb_rsts_noconv = 03 " fb_rsts_other = 04. "
RSTS_READ call function 'RSTS_READ' * EXPORTING * MAXIX = '1' tables datatab = cls_08 "QFLN1585445 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.
HR_FILL_DSKO call function 'HR_FILL_DSKO' exporting appl = l_appl vf = vfknn werks = df_werks btrtl = df_btrtl labtr = l_btrnr_abs wlbtr = l_btrnr_emp datum = begda erdat = g_datum erzeit = g_uzeit IMPORTING DSKO = p_dsko ERRORTAB = lt_errors[] EXCEPTIONS NO_NAME1 = 1 NO_ORT = 2 NO_STR = 3 OTHERS = 4.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "QALUNIbeg * EXPORTING * FILENAME = DATEI "Zielfile * FILETYPE = 'ASC' "ASCII, also mit CR/LF * MODE = SPACE "überschreiben * TABLES * DATA_TAB = DFS * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.
GUI_DOWNLOAD * call function 'GUI_DOWNLOAD' "YCTN885459 * exporting ** BIN_FILESIZE = * filename = datei * filetype = 'ASC' ** APPEND = ' ' ** WRITE_FIELD_SEPARATOR = ' ' ** HEADER = '00' ** TRUNC_TRAILING_BLANKS = ' ' * write_lf = 'X' ** COL_SELECT = ' ' ** COL_SELECT_MASK = ' ' ** IMPORTING ** FILELENGTH = * tables * data_tab = dfs * exceptions * file_write_error = 1 * no_batch = 2 * gui_refuse_filetransfer = 3 * invalid_type = 4 * no_authority = 5 * unknown_error = 6 * header_not_allowed = 7 * separator_not_allowed = 8 * filesize_not_allowed = 9 * header_too_long = 10 * dp_error_create = 11 * dp_error_send = 12 * dp_error_write = 13 * unknown_dp_error = 14 * access_denied = 15 * dp_out_of_memory = 16 * disk_full = 17 * dp_timeout = 18 * file_not_found = 19 * dataprovider_exception = 20 * control_flush_error = 21 * others = 22 * . "QALUNIend "YCTN885459
GUI_VSS_DOWNLOAD call function 'GUI_VSS_DOWNLOAD' "YCTN885459 exporting " CODEPAGE = c_codepage_sap " filename = datei " tables " data_tab = dfs_downl " EXCEPTIONS " FILE_WRITE_ERROR = 1 " NO_BATCH = 2 " GUI_REFUSE_FILETRANSFER = 3 " NO_AUTHORITY = 4 " UNKNOWN_ERROR = 5 " DP_ERROR_CREATE = 6 " DP_ERROR_SEND = 7 " DP_ERROR_WRITE = 8 " UNKNOWN_DP_ERROR = 9 " ACCESS_DENIED = 10 " DP_OUT_OF_MEMORY = 11 " DISK_FULL = 12 " DP_TIMEOUT = 13 " DATAPROVIDER_EXCEPTION = 14 " CONTROL_FLUSH_ERROR = 15 " OTHERS = 16. "YCTN885459
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "QALUNIbeg * EXPORTING * FILENAME = DATEI "Zielfile * FILETYPE = 'ASC' "ASCII, also mit CR/LF * MODE = SPACE "überschreiben * TABLES * DATA_TAB = DFS * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.
GUI_DOWNLOAD * call function 'GUI_DOWNLOAD' "YCTN885459 * exporting ** BIN_FILESIZE = * filename = datei * filetype = 'ASC' ** APPEND = ' ' ** WRITE_FIELD_SEPARATOR = ' ' ** HEADER = '00' ** TRUNC_TRAILING_BLANKS = ' ' * write_lf = 'X' ** COL_SELECT = ' ' ** COL_SELECT_MASK = ' ' ** IMPORTING ** FILELENGTH = * tables * data_tab = dfs * exceptions * file_write_error = 1 * no_batch = 2 * gui_refuse_filetransfer = 3 * invalid_type = 4 * no_authority = 5 * unknown_error = 6 * header_not_allowed = 7 * separator_not_allowed = 8 * filesize_not_allowed = 9 * header_too_long = 10 * dp_error_create = 11 * dp_error_send = 12 * dp_error_write = 13 * unknown_dp_error = 14 * access_denied = 15 * dp_out_of_memory = 16 * disk_full = 17 * dp_timeout = 18 * file_not_found = 19 * dataprovider_exception = 20 * control_flush_error = 21 * others = 22 * . "QALUNIend "YCTN885459
GUI_VSS_DOWNLOAD call function 'GUI_VSS_DOWNLOAD' "YCTN885459 exporting " CODEPAGE = c_codepage_sap " filename = datei " tables " data_tab = dfs_downl " EXCEPTIONS " FILE_WRITE_ERROR = 1 " NO_BATCH = 2 " GUI_REFUSE_FILETRANSFER = 3 " NO_AUTHORITY = 4 " UNKNOWN_ERROR = 5 " DP_ERROR_CREATE = 6 " DP_ERROR_SEND = 7 " DP_ERROR_WRITE = 8 " UNKNOWN_DP_ERROR = 9 " ACCESS_DENIED = 10 " DP_OUT_OF_MEMORY = 11 " DISK_FULL = 12 " DP_TIMEOUT = 13 " DATAPROVIDER_EXCEPTION = 14 " CONTROL_FLUSH_ERROR = 15 " OTHERS = 16. "YCTN885459
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "QALUNIbeg * EXPORTING * FILENAME = DATEI "Zielfile ** filetype = 'ASC' "ASCII, also mit CR/LF"YCTPH4K028393 * BIN_FILESIZE = 348 "YCTPH4K028393 * FILETYPE = 'BIN' "YCTPH4K028393 * MODE = SPACE "überschreiben * TABLES ** data_tab = afs "YCTK053081 * DATA_TAB = AFSLINE "YCTK053081 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting bin_filesize = 348 filename = datei filetype = 'BIN' * APPEND = 'X' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = tables data_tab = afsline exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22 . "QALUNIend
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "QALUNIbeg * EXPORTING * FILENAME = DATEI "Zielfile ** filetype = 'ASC' "ASCII, also mit CR/LF"YCTPH4K028393 * BIN_FILESIZE = 348 "YCTPH4K028393 * FILETYPE = 'BIN' "YCTPH4K028393 * MODE = SPACE "überschreiben * TABLES ** data_tab = afs "YCTK053081 * DATA_TAB = AFSLINE "YCTK053081 * EXCEPTIONS * FILE_OPEN_ERROR = 01 * FILE_WRITE_ERROR = 02 * INVALID_FILESIZE = 03 * INVALID_TABLE_WIDTH = 04 * INVALID_TYPE = 05 * NO_BATCH = 06 * UNKNOWN_ERROR = 07.
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting bin_filesize = 348 filename = datei filetype = 'BIN' * APPEND = 'X' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = tables data_tab = afsline exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22 . "QALUNIend
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = lc_logical_filename CHANGING physical_filename = p_pfad EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'RP_D_DFUE' importing number = filenr returncode = rcode exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 others = 4.
NUMBER_RANGE_INTERVAL_UPDATE call function 'NUMBER_RANGE_INTERVAL_UPDATE' exporting object = object importing error_occured = error_occured error = error tables interval = iv error_iv = error_iv exceptions object_not_found = 1.
NUMBER_RANGE_UPDATE_CLOSE call function 'NUMBER_RANGE_UPDATE_CLOSE' exporting object = object exceptions no_changes_made = 1 object_not_initialized = 2.
HRPY_PUST_GET_CONTAINER call function 'HRPY_PUST_GET_CONTAINER' exporting imp_parcel = pyparaid tables container = py_pm_container.
HRPY_PROCESS_FIRE_EVENT call function 'HRPY_PROCESS_FIRE_EVENT' exporting imp_parcel = pyparaid tables imp_container = py_pm_container.
HR_APPEND_ALV call function 'HR_APPEND_ALV' exporting tables_and_infos = lt_append_alv_tab exceptions call_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 RPCSVGD0 or its description.
RPCSVGD0 - Create Files for Contribution Statement by EDI (Obsolete) RPCSVGD0 - Create Files for Contribution Statement by EDI (Obsolete) RPCSVFNE - documentation and ABAP source code RPCSVFND - documentation and ABAP source code RPCSVFNC - Include COPY_WT_DATA RPCSVFNB - documentation and ABAP source code