SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | ArchiveLink(BC-SRV-ARL) SAP BC

OACARAJB SAP ABAP Report - Storing a document asynchronously in a content server







OACARAJB 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 OACARAJB 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 OACARAJB. "Basic submit
SUBMIT OACARAJB AND RETURN. "Return to original report after report execution complete
SUBMIT OACARAJB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ARC_ID = Document Key
Selection Text: DOC_TYPE = Document Class
Selection Text: NO_DEL = Do Not Delete File
Selection Text: PATH = Path
Selection Text: PTC = Request ID
Selection Text: REQUEST = Request ID
Title: Storing a document asynchronously in a content server


INCLUDES used within this REPORT OACARAJB

No INCLUDES are used within this REPORT code!


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:

ARCHIVOBJECT_CREATE_SYNCHRON call function 'ARCHIVOBJECT_CREATE_SYNCHRON' exporting sign = request document_type = doc_type path = path targetarchiv_id = arc_id ptc = ptc no_arc_delete = 'X' importing archiv_doc_id = doc_id return_code = return_code tables components = components exceptions error_archiv = 01 error_communicationtable = 02 error_kernel = 03 BLOCKED_BY_POLICY = 04.

ARCHIV_WRITE_LOG call function 'ARCHIV_WRITE_LOG' exporting command = 'CARS' logging = ilog message_id = sy-msgid message_type = sy-msgty message_number = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 string1 = str1 string2 = str2.

ARCHIV_MESSAGE_ANALYSE call function 'ARCHIV_MESSAGE_ANALYSE' exporting messagestring = cfbc * IMPORTING * RETURNCODE = exceptions error_archiv = 1 error_connectiontable = 2 error_queue = 3 error_request = 4 others = 7 .

ARCHIV_GET_ARCHIVINFOS call function 'ARCHIV_GET_ARCHIVINFOS' exporting archiv_id = arc_id importing phys_basicpath = basicpath exceptions others = 0.

AUTHORITY_CHECK_DATASET call function 'AUTHORITY_CHECK_DATASET' exporting program = 'ZDATASET' activity = sabc_act_delete filename = a_filename exceptions no_authority = 1 activity_unknown = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_fname_w CHANGING PHYSICAL_FILENAME = filename EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.



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