OACARAFA 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 OACARAFA 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.
Title: SAP ArchiveLink: Asynchronous storing in file storage system
Text Symbol: 020 = An archive object already exists
Text Symbol: 019 = Request management
Text Symbol: 018 = OACARAFA: No request available
Text Symbol: 015 = ArchiveLink
Text Symbol: 014 = Repeat?
Text Symbol: 013 = Request is being processed
Text Symbol: 012 = ArchiveLink error
Text Symbol: 011 = Asynchronous retrieval
Text Symbol: 010 = Unknown
Text Symbol: 007 = Request Deleted
Text Symbol: 006 = Completed
Text Symbol: 005 = Application Error
Text Symbol: 004 = Archive okay
Text Symbol: 003 = Archive error acknowledgment
Text Symbol: 002 = Archive error request
Text Symbol: 001 = Request sent to archive
Text Symbol: 000 = Created
INCLUDE LOPTACON.
INCLUDE LOPTRCON.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIV_GET_ARCHIVINFOS call function 'ARCHIV_GET_ARCHIVINFOS' exporting archiv_id = archiv_i importing * ARCHIVPATH = * BASICPATH = storagepath = storagepath * INTERFACE = version = cfbc-version protokoll = cfbc-protocol * RPC_HOST = * RPC_SERVICE = * PHYS_BASICPATH = * PHYS_ARCHIVPATH = * S_TOAAR = exceptions error_communicationtable = 1 others = 2.
ARCHIVFILE_SERVER_TO_SERVER call function 'ARCHIVFILE_SERVER_TO_SERVER' exporting sourcepath = path targetpath = path_t_a importing length = length exceptions error_file = 1 others = 2.
ARCHIVFILE_SERVER_TO_SERVER call function 'ARCHIVFILE_SERVER_TO_SERVER' exporting sourcepath = bpath targetpath = path_t_a importing length = blength exceptions error_file = 1 others = 2.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_fname_w CHANGING PHYSICAL_FILENAME = path EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_fname_w CHANGING PHYSICAL_FILENAME = bpath EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
ARCHIV_SEND call function 'ARCHIV_SEND' exporting call_messagestring = i_messagestring importing return_messagestring = i_messagestring exceptions BLOCKED_BY_POLICY = 0 others = 0.
ARCHIV_WRITE_SYSLOG call function 'ARCHIV_WRITE_SYSLOG' exporting text = data.
ARCHIVFILE_SERVER_TO_SERVER call function 'ARCHIVFILE_SERVER_TO_SERVER' exporting sourcepath = path targetpath = path_t_a importing length = length exceptions error_file = 01.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_fname_w CHANGING PHYSICAL_FILENAME = path EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.
ARCHIV_SEND call function 'ARCHIV_SEND' exporting call_messagestring = i_messagestring importing return_messagestring = i_messagestring exceptions BLOCKED_BY_POLICY = 0 others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
OACARAFA - SAP ArchiveLink: Asynchronous storing in file storage system OACARAFA - SAP ArchiveLink: Asynchronous storing in file storage system OACARA - SAP ArchiveLink: Asynchronous processing of store job OACARA - SAP ArchiveLink: Asynchronous processing of store job OABAROBJ - Program for object type BARCODE: Bar code entry OABAROBJ - Program for object type BARCODE: Bar code entry