RPICARI0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a sequential file (local file) on the presentation server...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 RPICARI0 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_M15_RPICARI0 - File loading for Batch Input
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: HOSTFILE = Converted file
Selection Text: LOCLFILE = Local file
Title: File loading for Batch Input
Text Symbol: I01 = Attention: error opening the file
Text Symbol: I02 = was successfully transferred
Text Symbol: I03 = The file
Text Symbol: I04 = Attention: error during file UPLOAD
001 PersNo.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_logical_file including_dir = 'X' IMPORTING file_name = hostfile EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2 .
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_file CHANGING physical_filename = hostfile EXCEPTIONS OTHERS = 1.
HR_99S_UPLOAD CALL FUNCTION 'HR_99S_UPLOAD' EXPORTING p_initial_directory = '' p_filename = local_file * DEFAULT_EXTENSION = * P_FILETYPE_NO_SHOW = ' ' p_filetype = 'ASC' p_fsdialog = '' * IMPORTING * P_FILELENGTH = TABLES data_tab = tab EXCEPTIONS upload_error = 1 OTHERS = 2 .
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_logical_file CHANGING physical_filename = lv_fisname EXCEPTIONS OTHERS = 1.
HR_99S_COPY_STRUC1_STRUC2 CALL FUNCTION 'HR_99S_COPY_STRUC1_STRUC2' EXPORTING p_struct1 = satz IMPORTING p_struct2 = s_str_satz.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.