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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
OA_UPLOAD_AND_LINK - Program OA_UPLOAD_AND_LINK OA_UPLOAD_AND_LINK - Program OA_UPLOAD_AND_LINK OA_TEST_FUNCTION_DVS - SAP ArchiveLink: Test program for creating DMS print list record OA_TEST_FUNCTION_DVS - SAP ArchiveLink: Test program for creating DMS print list record OA_TEST_FUNCTION_CFBC - Test Program for Storage System Confirmations OA_TEST_FUNCTION_CFBC - Test Program for Storage System Confirmations