RPUTSVD5 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 TemSe objects created by report RPCD3TD0 ('Create DEUEV notification file'), and creates EDI files for the CoCoNet´s KKS system...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 RPUTSVD5 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_DEUV_DFUE - HR-DEUEV: Create EDI File
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.
DCR: Created EDI Files
Selection Text: TSOBJ = Data Medium Contained in
Selection Text: PERSA = Personnel Area
Selection Text: DF_PRMLD = Log Notifications
Selection Text: DF_PRAFS = Log Order Record
Selection Text: DF_DOWNL = Test run
Selection Text: DF_DFNRP = Prevent File No. Validation
Selection Text: DFUEK = Health Insurance Fund
Selection Text: DFUEG = Branch office
Selection Text: BTRTL = Personnel subarea
Title: DEUEV: Creation of EDI Files on PC
Text Symbol: M01 = Data carrier not copied; no target file specified
Text Symbol: M02 = The following EDI files were created successfully
Text Symbol: M03 = Payee Fund :
Text Symbol: M04 = Branch :
Text Symbol: M05 = File Name on PC :
Text Symbol: M07 = DCR File Number :
Text Symbol: M08 = User Data File:
Text Symbol: M09 = Order File:
Text Symbol: M11 = Date, Time :
Text Symbol: P01 = Sender and Receiver Specifications of DCR Messages
Text Symbol: P04 = Additional data
Text Symbol: T01 = Hdr data
Text Symbol: T02 = Line Reported Data
Text Symbol: T03 = ....+....1....+....2....+....3....+....4....+....5
Text Symbol: T04 = Order Record
Text Symbol: T05 = ....+....1....+....2....+....3....+....4....+....5....+....6....+
Text Symbol: T06 = Error messages
Text Symbol: M00 = Sender:
Text Symbol: E00 = Report Is Obsolete. Use B2A Manager
Text Symbol: E01 = Error determining target file
Text Symbol: E02 = Error importing TemSe object
Text Symbol: E03 = Error when copying a file to the PC
Text Symbol: E04 = Payee fund on selection screen is incorrect
Text Symbol: E05 = Sender on selection screen incorrect
Text Symbol: EL1 = Notifs
Text Symbol: EL2 = Log of Notification Data
Text Symbol: EL3 = Order File Log
INCLUDE RPCSV2D0.
No SAP DATABASE tables are accessed within this REPORT code!
RP_TS_HELPVIEW call function 'RP_TS_HELPVIEW' exporting repid = c_rputsvd5 importing tsobj = tsobj exceptions no_entries_found = 1 * helpview_not_installed = 2 "3.0F: nicht verfügbar
RSTS_READ call function 'RSTS_READ' tables datatab = cd3td1 exceptions fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RP_TS_OPEN call function 'RP_TS_OPEN' exporting tsobj = tsobj empfg = empfg.
RSTS_CLOSE call function 'RSTS_CLOSE' exceptions fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.
WS_DOWNLOAD * call function 'WS_DOWNLOAD' "g * exporting "g * filename = p_fname "Zielfile "g * filetype = 'ASC' "ASCII, also mit CR/LF "b * filetype = 'VSS' "VSS: mit Längenangabe "g"b * mode = space "überschreiben "g * codepage = 'IBM' "g"b * importing "g * filelength = p_fsize "g * tables "g * data_tab = p_datei "g * exceptions "g * others = 1. "g
GUI_VSS_DOWNLOAD call function 'GUI_VSS_DOWNLOAD' "g exporting "g codepage = c_codepage850 "g filename = filename "g importing "g filelength = fsize "g tables "g data_tab = d3tout "g exceptions "g file_write_error = 1 "g no_batch = 2 "g gui_refuse_filetransfer = 3 "g no_authority = 4 "g unknown_error = 5 "g dp_error_create = 6 "g dp_error_send = 7 "g dp_error_write = 8 "g unknown_dp_error = 9 "g access_denied = 10 "g dp_out_of_memory = 11 "g disk_full = 12 "g dp_timeout = 13 "g dataprovider_exception = 14 "g control_flush_error = 15 "g others = 16. "g
WS_DOWNLOAD * call function 'WS_DOWNLOAD' "g * exporting "g * filename = p_bckpname "g * filetype = 'ASC' "b * filetype = 'VSS' "g"b * mode = space "g * codepage = 'IBM' "g"b * tables "g * data_tab = p_datei "g * exceptions "g * others = 1. "g
GUI_VSS_DOWNLOAD call function 'GUI_VSS_DOWNLOAD' "g exporting "g codepage = c_codepage850 "g filename = filename "g tables "g data_tab = d3tout "g exceptions "g file_write_error = 1 "g no_batch = 2 "g gui_refuse_filetransfer = 3 "g no_authority = 4 "g unknown_error = 5 "g dp_error_create = 6 "g dp_error_send = 7 "g dp_error_write = 8 "g unknown_dp_error = 9 "g access_denied = 10 "g dp_out_of_memory = 11 "g disk_full = 12 "g dp_timeout = 13 "g dataprovider_exception = 14 "g control_flush_error = 15 "g others = 16. "g
* call function 'WS_DOWNLOAD' "g * exporting "g * filename = p_fname "Zielfile "g * bin_filesize = 348 "g"c"b * filetype = 'BIN' "g"c"b * filetype = 'VSS' "c"b * codepage = 'IBM' "g"b * mode = space "überschreiben "g * importing "g * filelength = p_fsize "g * tables "g * data_tab = p_datei "c * data_tab = afsline "g"c * exceptions "g * others = 1. "g
GUI_VSS_DOWNLOAD * call function 'GUI_VSS_DOWNLOAD' "k"g * exporting "k"g * codepage = c_codepage850 "k"g * filename = filename "k"g * tables "k"g * data_tab = d3tout "k"g * exceptions "k"g * file_write_error = 1 "k"g * no_batch = 2 "k"g * gui_refuse_filetransfer = 3 "k"g * no_authority = 4 "k"g * unknown_error = 5 "k"g * dp_error_create = 6 "k"g * dp_error_send = 7 "k"g * dp_error_write = 8 "k"g * unknown_dp_error = 9 "k"g * access_denied = 10 "k"g * dp_out_of_memory = 11 "k"g * disk_full = 12 "k"g * dp_timeout = 13 "k"g * dataprovider_exception = 14 "k"g * control_flush_error = 15 "k"g * others = 16. "k"g
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' "k exporting "k bin_filesize = 348 "k filename = filename "k filetype = 'BIN' "k tables "k data_tab = afsline "k exceptions "k file_write_error = 1 "k no_batch = 2 "k gui_refuse_filetransfer = 3 "k invalid_type = 4 "k no_authority = 5 "k unknown_error = 6 "k header_not_allowed = 7 "k separator_not_allowed = 8 "k filesize_not_allowed = 9 "k header_too_long = 10 "k dp_error_create = 11 "k dp_error_send = 12 "k dp_error_write = 13 "k unknown_dp_error = 14 "k access_denied = 15 "k dp_out_of_memory = 16 "k disk_full = 17 "k dp_timeout = 18 "k file_not_found = 19 "k dataprovider_exception = 20 "k control_flush_error = 21 "k others = 22. "k
WS_DOWNLOAD * call function 'WS_DOWNLOAD' "g * exporting "g * filename = p_bckpname "g * bin_filesize = 348 "g"c"b * filetype = 'BIN' "g"c"b * filetype = 'VSS' "c"b * codepage = 'IBM' "g"b * mode = space "g * tables "g * data_tab = p_datei "c * data_tab = afsline "g"c * exceptions "g * others = 1. "g
GUI_VSS_DOWNLOAD * call function 'GUI_VSS_DOWNLOAD' "k"g * exporting "k"g * codepage = c_codepage850 "k"g * filename = filename "k"g * tables "k"g * data_tab = d3tout "k"g * exceptions "k"g * file_write_error = 1 "k"g * no_batch = 2 "k"g * gui_refuse_filetransfer = 3 "k"g * no_authority = 4 "k"g * unknown_error = 5 "k"g * dp_error_create = 6 "k"g * dp_error_send = 7 "k"g * dp_error_write = 8 "k"g * unknown_dp_error = 9 "k"g * access_denied = 10 "k"g * dp_out_of_memory = 11 "k"g * disk_full = 12 "k"g * dp_timeout = 13 "k"g * dataprovider_exception = 14 "k"g * control_flush_error = 15 "k"g * others = 16. "k"g
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' "k exporting "k bin_filesize = 348 "k filename = filename "k filetype = 'BIN' "k tables "k data_tab = afsline "k exceptions "k file_write_error = 1 "k no_batch = 2 "k gui_refuse_filetransfer = 3 "k invalid_type = 4 "k no_authority = 5 "k unknown_error = 6 "k header_not_allowed = 7 "k separator_not_allowed = 8 "k filesize_not_allowed = 9 "k header_too_long = 10 "k dp_error_create = 11 "k dp_error_send = 12 "k dp_error_write = 13 "k unknown_dp_error = 14 "k access_denied = 15 "k dp_out_of_memory = 16 "k disk_full = 17 "k dp_timeout = 18 "k file_not_found = 19 "k dataprovider_exception = 20 "k control_flush_error = 21 "k others = 22. "k
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "b * EXPORTING "b * BIN_FILESIZE = 1 "Quellfilelänge "b * FILENAME = P_FNAME "Zielfile "b * FILETYPE = 'BIN' "Binär, also ohne CR/LF "b * MODE = 'A' "anhängen "b * TABLES "b * DATA_TAB = DUM "b * EXCEPTIONS "b * OTHERS = 1. "b
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "b * EXPORTING "b * BIN_FILESIZE = 1 "b * FILENAME = P_BCKPNAME "b * FILETYPE = 'BIN' "b * MODE = 'A' "b * TABLES "b * DATA_TAB = DUM "b * EXCEPTIONS "b * OTHERS = 1. "b
NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'RP_D_DEUEV' importing number = filenr returncode = rcode exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 others = 4.
NUMBER_RANGE_INTERVAL_INIT call function 'NUMBER_RANGE_INTERVAL_INIT' exporting object = 'RP_D_DEUEV' exceptions no_interval_found = 1 object_not_found = 2 others = 3 .
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.
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 RPUTSVD5 or its description.