RPCFTPM4 is a standard Executable ABAP Report 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 RPCFTPM4 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.
Selection Text: FIRMA = D PBS company in SAP system
Selection Text: REM_FILE = D Name of file
Title: Download files from PBS
Text Symbol: 001 = File name
Text Symbol: 002 = Error when deleting old entries in T5M71
Text Symbol: 003 = Old file in T5M71 deleted. Number of lines:
Text Symbol: 004 = File imported to T5M71. Number of lines
Text Symbol: 005 = Error when storing in T5M71:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DK_FTP_PBS CALL FUNCTION 'HR_DK_FTP_PBS' DESTINATION 'HR_DK_PBS_FTP' EXPORTING command = 'READ' sourcefile = rem_file targetfile = space firma = i5m5r-comp_atpbs TABLES itab = itab EXCEPTIONS coulndt_open_source = 1 couldnt_open_target = 2 error_writing_target = 3 error_reading_source = 4 error_closing_file = 5 error_deleting_file = 6 couldnt_read_from_file = 7 error_creating_directory = 8 change_dir_failed = 9 change_maindir_failed = 10 open_sourcefile_failed = 11 open_targetfile_failed = 12 OTHERS = 13.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.