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

OAIMAGE SAP ABAP Report - Program for object type IMAGE: ArchiveLink image







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


Text pool values


Title: Program for object type IMAGE: ArchiveLink image


INCLUDES used within this REPORT OAIMAGE

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:

WF_NCI_ASSIGN call function 'WF_NCI_ASSIGN' EXPORTING parameter = '0' process_data = process_data process_id = process_id wfl_30 = 'X' vscan_profile = vscanprofile TABLES assignments = assignments loglines = loglines wi_container = container EXCEPTIONS wf_error_process = 01 wf_nothing_done = 02.

ARCHIV_METAINFO_GET call function 'ARCHIV_METAINFO_GET' EXPORTING active_flag = 'X' ar_object = toav0-ar_object sap_object = toav0-sap_object TABLES toaom_fkt = i_toaom EXCEPTIONS error_connectiontable = 1 error_parameter = 2 others = 3.

ALINK_DOCUMENTS_CREATE_DIALOG call function 'ALINK_DOCUMENTS_CREATE_DIALOG' EXPORTING archiv_id = archiv_id document_class = toadv-doc_type document_type = toav0-ar_object vscan_profile = vscanprofile IMPORTING archiv_doc_id = archiv_doc_id return_document_class = toadv-doc_type EXCEPTIONS BLOCKED_BY_POLICY = 5 others = 1.

ARCHIV_METAINFO_GET call function 'ARCHIV_METAINFO_GET' EXPORTING active_flag = 'X' ar_object = toav0-ar_object sap_object = toav0-sap_object TABLES toaom_fkt = i_toaom EXCEPTIONS error_connectiontable = 1 error_parameter = 2 others = 3.

ALINK_DOCUMENTS_CREATE_DIALOG call function 'ALINK_DOCUMENTS_CREATE_DIALOG' exporting archiv_id = archiv_id * DOCUMENT_CLASS = document_type = toav0-ar_object * FILENAME = ' ' * MULTIPLE = ' ' * FILEDELETE = ' ' vscan_profile = vscanprofile importing archiv_doc_id = archiv_doc_id return_document_class = doc_class * TABLES * OUTDOCTAB = changing infiletab = i_infiletab exceptions error_contentrepository = 1 error_archivelink_customizing = 2 BLOCKED_BY_POLICY = 3 others = 4.

ARCHIV_APPEND_DIALOG_META call function 'ARCHIV_APPEND_DIALOG_META' exporting * AR_DATE = ' ' ar_object = toav0-ar_object * AUTH_FLAG = ' ' * DEL_DATE = ' ' object_id = toav0-object_id sap_object = toav0-sap_object * SELECT_FLAG = 'X' * COMMIT_FLAG = ' ' * importing * nothing_done = exceptions error_archiv = 1 error_communicationtable = 2 error_connectiontable = 3 error_kernel = 4 error_parameter = 5 not_unique = 6 noviewer = 7 others = 8.

ARCHIV_GET_CONNECTIONS call function 'ARCHIV_GET_CONNECTIONS' EXPORTING objecttype = toav0-sap_object object_id = toav0-object_id documenttype = toav0-ar_object TABLES connections = i_connections EXCEPTIONS nothing_found = 1 others = 2.

ARCHIVOBJECT_DISPLAY call function 'ARCHIVOBJECT_DISPLAY' exporting archiv_doc_id = object-key-archivedocid * ARCHIV_DOC_INDEX = ' ' archiv_id = object-key-imagelinkarchiveid * LANGUAGE = ' ' * SIGN = ' ' window_id = windowid window_title = windowtitle doc_type = docclass * POSITIONINALFFILE = ' ' * NOGET = ' ' * PATHOFFILE = ' ' * EOF = ' ' * IMPORTING * RETURNCODE = exceptions error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4.

SWO_QUERY_SYSTEM call function 'SWO_QUERY_SYSTEM' IMPORTING sysinfo = ssysinfo return = sreturn EXCEPTIONS others = 1.

SWW_CONT_OBJECT_EXISTS call function 'SWW_CONT_OBJECT_EXISTS' EXPORTING object_searched = sobject_searched IMPORTING found = sfound EXCEPTIONS others = 1.

ARCHIV_ARCHIVCONNECTIONS_FIND call function 'ARCHIV_ARCHIVCONNECTIONS_FIND' EXPORTING archiv_id = object-key-imagelinkarchiveid arc_doc_id = object-key-archivedocid IMPORTING count = i_count TABLES connections = i_connections EXCEPTIONS others = 1.

ARCHIVOBJECT_STATUS call function 'ARCHIVOBJECT_STATUS' EXPORTING archiv_doc_id = object-key-archivedocid archiv_id = object-key-imagelinkarchiveid IMPORTING archiv_object_status = archiv_object_status EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4.

SWI_WORKITEMS_OF_OBJECT_GET call function 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = l_objtype objkey = l_objkey TABLES itemlist = t_itemlist.

SWI_WORKITEMS_OF_OBJECT_GET call function 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = l_objtype objkey = l_objkey TABLES itemlist = t_itemlist.

SWI_WORKITEMS_OF_OBJECT_GET call function 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = l_objtype objkey = l_objkey TABLES itemlist = t_itemlist.

SWI_WORKITEMS_OF_OBJECT_GET call function 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = l_objtype objkey = l_objkey TABLES itemlist = t_itemlist.

SWW_WI_CONTAINER_READ call function 'SWW_WI_CONTAINER_READ' exporting wi_id = s_wiheader-wi_id * READ_FOR_UPDATE = ' ' tables wi_container = wi_container exceptions container_does_not_exist = 1 others = 2.

ARCHIV_GET_CONNECTIONS call function 'ARCHIV_GET_CONNECTIONS' EXPORTING archiv_id = object-key-imagelinkarchiveid arc_doc_id = object-key-archivedocid TABLES connections = connections EXCEPTIONS nothing_found = 1 others = 2.

ARCHIVOBJECT_STATUS





call function 'ARCHIVOBJECT_STATUS' EXPORTING archiv_doc_id = object-key-archivedocid archiv_id = object-key-imagelinkarchiveid IMPORTING document_type = document_type EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4.

SWI_WORKITEMS_OF_OBJECT_GET call function 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = l_objtype objkey = l_objkey TABLES itemlist = t_itemlist.

ARCHIVOBJECT_COPY call function 'ARCHIVOBJECT_COPY' EXPORTING archiv_id = object-key-imagelinkarchiveid arc_doc_id = object-key-archivedocid doc_type = doctype target_archiv_id = archiveid vscan_profile = vscanprofile IMPORTING target_arc_doc_id = target_arc_doc_id EXCEPTIONS copy_failed = 1 BLOCKED_BY_POLICY = 3 others = 2.

SWC_OBJECT_CREATE call function 'SWC_OBJECT_CREATE' EXPORTING objtype = 'IMAGE' objkey = new_key IMPORTING object = image EXCEPTIONS objtype_not_found = 1 logsys_not_found = 2 objtype_not_released = 3 others = 4.

WF_NCI_PROCESS_30 call function 'WF_NCI_PROCESS_30' exporting ncitype = ncitype asgky = object-key * OBJTYPE = * METHOD = exceptions wf_error_process = 1 others = 2.

ARCHIVWINDOW_CLOSE call function 'ARCHIVWINDOW_CLOSE' exporting * SIGN = ' ' window_id = windowid doc_type = doc_type archivid = object-key-imagelinkarchiveid exceptions error_archiv = 1 error_kernel = 2 others = 3.

ARCHIV_WFL_LATE call function 'ARCHIV_WFL_LATE' EXPORTING archiv_id = object-key-imagelinkarchiveid arc_doc_id = object-key-archivedocid doc_type = docclass ar_object = documenttype description = description vscan_profile = vscanprofile IMPORTING wi_id = itemid objkey = objkey objtype = objtype EXCEPTIONS user_cancel = 1 new_workitem = 1 BLOCKED_BY_POLICY = 3 others = 2.

ARCHIV_WFL_EARLY call function 'ARCHIV_WFL_EARLY' EXPORTING archiv_id = object-key-imagelinkarchiveid arc_doc_id = object-key-archivedocid doc_type = docclass ar_object = documenttype description = description vscan_profile = vscanprofile IMPORTING wi_id = itemid TABLES wi_container = container EXCEPTIONS user_cancel = 1 error_parameter = 2 new_workitem = 3 BLOCKED_BY_POLICY = 5 others = 4.

ARCHIV_WFL_PROCESS_LATE call function 'ARCHIV_WFL_PROCESS_LATE' EXPORTING ncitype = ncitype IMPORTING objtype = objtype objkey = objkey 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 OAIMAGE or its description.