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

OA_UPLOAD_AND_LINK SAP ABAP Report - Program OA_UPLOAD_AND_LINK







OA_UPLOAD_AND_LINK 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 OA_UPLOAD_AND_LINK 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 OA_UPLOAD_AND_LINK. "Basic submit
SUBMIT OA_UPLOAD_AND_LINK AND RETURN. "Return to original report after report execution complete
SUBMIT OA_UPLOAD_AND_LINK 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: CHECK = Check Only
Selection Text: DELIM = Separators in Path
Selection Text: DOK_ART = Document Type
Selection Text: END = End with First Error
Selection Text: EXISMETH = Object Check Method
Selection Text: EXIST = Check if Object Exists
Selection Text: EXTENT = File Name Extension
Selection Text: FRONTEND = Processing on Front End
Selection Text: NO_DEL = Do Not Delete Files
Selection Text: OBJECT = Business Object
Selection Text: PATH = File Path for Documents
Selection Text: STASSIGN = Store and Link
Selection Text: VERBOSE = Further Messages
Selection Text: WFASSIGN = Workflow with Assign
Selection Text: WFCREATE = Workflow with Entry
Title: Program OA_UPLOAD_AND_LINK
Text Symbol: 105 = Message Output Details
Text Symbol: 104 = Document Scenario Details
Text Symbol: 103 = Program Flow Parameters
Text Symbol: 102 = Business Object Details
Text Symbol: 101 = Characteristics of Document Directory
Text Symbol: 040 = Start Workflow with Parameter:
Text Symbol: 001 = File to Store:
Text Symbol: 002 = Store in Content Repository
Text Symbol: 003 = Storage successful; ID:
Text Symbol: 004 = Specified Object ID:
Text Symbol: 005 = Check for Existence of Object:
Text Symbol: 006 = Object Check Not Performed:
Text Symbol: 007 = Delete File on the Front End:
Text Symbol: 008 = Delete File on the Back End:
Text Symbol: 009 = Document not stored due to test run
Text Symbol: 010 = Link not written due to test run
Text Symbol: 011 = Object check successful
Text Symbol: 012 = Document type does not match the file extension:
Text Symbol: 013 = Work item started
Text Symbol: 014 = File extension not set correctly:
Text Symbol: 015 = Read files from directory:
Text Symbol: 016 = Workflow not started due to test run





Text Symbol: 020 = Program is being terminated prematurely due to a request error
Text Symbol: 021 = Object check not successful:
Text Symbol: 022 = Link written successfully
Text Symbol: 023 = Either no file exists in the directory or the directory cannot be found
Text Symbol: 030 = File accepted:
Text Symbol: 031 = File found


INCLUDES used within this REPORT OA_UPLOAD_AND_LINK

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:

EPS_GET_DIRECTORY_LISTING call function 'EPS_GET_DIRECTORY_LISTING' exporting dir_name = file_dir_back tables dir_list = file_list_back exceptions others = 1.

ARCHIV_METAINFO_GET call function 'ARCHIV_METAINFO_GET' exporting active_flag = 'X' ar_object = dok_art sap_object = object tables toaom_fkt = toaom exceptions error_connectiontable = 1 error_parameter = 2 others = 3.

SWO_QUERY_KEYFIELDS call function 'SWO_QUERY_KEYFIELDS' exporting * LANGUAGE = SY-LANGU objtype = iobj text = 'X' tables info = info.

SCMS_AO_FILE_CREATE_PATH call function 'SCMS_AO_FILE_CREATE_PATH' exporting mandt = sy-mandt arc_id = toaom-archiv_id path = e_path doc_type = hextent no_delete = 'X' VSCAN_PROFILE = VSCAN_PROFILE importing doc_id = adi exceptions error_http = 1 error_archiv = 2 error_kernel = 3 error_config = 4 BLOCKED_BY_POLICY = 5 others = 6.

ARCHIV_CONNECTION_INSERT call function 'ARCHIV_CONNECTION_INSERT' exporting archiv_id = aid arc_doc_id = adi ar_object = dok_art mandant = sy-mandt object_id = objid sap_object = object2 doc_type = doc_type exceptions error_connectiontable = 1 others = 2.

SCMS_FILE_DELETE call function 'SCMS_FILE_DELETE' exporting filename = e_path frontend = frontend exceptions others = 1.

SCMS_AO_FILE_CREATE_PATH call function 'SCMS_AO_FILE_CREATE_PATH' exporting mandt = sy-mandt arc_id = toaom-archiv_id path = e_path doc_type = hextent no_delete = 'X' importing doc_id = adi exceptions error_http = 1 error_archiv = 2 error_kernel = 3 error_config = 4 others = 5.

ARCHIV_PROCESS_RFCINPUT call function 'ARCHIV_PROCESS_RFCINPUT' exporting document_entry = oarfcin exceptions no_authorization = 1 no_workitem_created = 2 error_parameter = 3 others = 4.

SCMS_FILE_DELETE call function 'SCMS_FILE_DELETE' exporting filename = e_path frontend = frontend exceptions others = 1.



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