SAP Reports / Programs

OACARAFA SAP ABAP Report - SAP ArchiveLink: Asynchronous storing in file storage system







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT OACARAFA. "Basic submit
SUBMIT OACARAFA AND RETURN. "Return to original report after report execution complete
SUBMIT OACARAFA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT OACARAFA

INCLUDE LOPTACON.
INCLUDE LOPTRCON.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 OACARAFA or its description.