OA_LINK_CHECK_DOCUMENT 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_LINK_CHECK_DOCUMENT 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: ARC_ID = Content Repository
Selection Text: AR_DATE = Storage Date
Selection Text: AR_OBJ = Document Type
Selection Text: CHECK = Check Only
Selection Text: DARA = Display DARA line?
Selection Text: DELMESS = Delete Message
Selection Text: DELONERR = Delete if Error
Selection Text: DEL_DATE = Delete Date
Selection Text: DOC_ID = Document Key
Selection Text: DOC_TYPE = Document Class
Selection Text: LINKCHK = Check link?
Selection Text: MANDTCHK = Check Client
Selection Text: MOVELINK = Convert link?
Selection Text: NEWMESS = Trigger new message?
Selection Text: NODOUBLE = Ignore duplicate link?
Selection Text: OBJ_ID = Object Key
Selection Text: SAP_OBJ = Object Name
Selection Text: ZMDT = Target Client
Title: Report OA_LINK_CHECK_DOCUMENT
Text Symbol: 036 = Message not created,
Text Symbol: 037 = document for object exists:
Text Symbol: 038 = Message created:
Text Symbol: 039 = Message:
Text Symbol: 040 = Error:Document could not be deleted:
Text Symbol: 041 = Document deleted as requested
Text Symbol: 042 = Error: Creation of message of type:
Text Symbol: 043 = failed for object:
Text Symbol: 044 = Error:Message proposal could not be determined:
Text Symbol: 045 = Error: Object could not be determined
Text Symbol: 046 = No check possible for document type:
Text Symbol: 047 = Number of Documents Read:
Text Symbol: 048 = Number of Errors:
Text Symbol: 049 = Document checked
Text Symbol: 050 = in client:
Text Symbol: 035 = Link could not be read for:
Text Symbol: 001 = Selections
Text Symbol: 002 = Control Parameters
Text Symbol: 003 = Processing Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVOBJECT_GET_TABLE call function 'ARCHIVOBJECT_GET_TABLE' exporting archiv_id = aid document_type = 'PDF' archiv_doc_id = adi importing length = len tables binarchivobject = aobin exceptions error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4.
ALINK_CHECK_DOCUMENT call function 'ALINK_CHECK_DOCUMENT' exporting parameters = para checklink = linkchk checkmandt = mandtchk message = 'X' messagetxt = 'Dokument geprüft'(049) tables * ARCHIVOBJECT = ao binarchivobject = aobin changing attributs = att flength = len sap_object = wa_conn-sap_object object_id = wa_conn-object_id arc_doc_id = wa_conn-arc_doc_id archiv_id = wa_conn-archiv_id exceptions format_error = 1 link_error = 2 client_error = 3 others = 4.
call function 'ALINK_CHANGE_CLIENT_DIRECT' exporting zmandt = zmdt toav0 = wa_conn ignore_double_links = ' ' exceptions error_insert = 1 error_source = 2 error_target = 3 error_deletion = 4 error_unique = 5 error_mandant = 6 others = 7.
ARCHIV_DELETE_META call function 'ARCHIV_DELETE_META' exporting archiv_id = wa_conn-archiv_id arc_doc_id = wa_conn-arc_doc_id delete_flag = 3 object_id = wa_conn-object_id sap_object = wa_conn-sap_object ar_object = wa_conn-ar_object client = sy-mandt single_entry = 'X' documentclass = dclass importing all_connections_deleted = perr exceptions error_connectiontable = 1 error_parameter = 2 error_archiv = 3 error_kernel = 4 error_communicationtable = 5 others = 6.
SWO_QUERY_OBJTYPE_INFO call function 'SWO_QUERY_OBJTYPE_INFO' exporting objtype = swoobj importing basedata = bdata return = sworet tables verbs = verbs parameters = vpara.
ARCHIV_GET_CONNECTIONS call function 'ARCHIV_GET_CONNECTIONS' exporting objecttype = wa_conn-sap_object object_id = nastkey client = new_mandt documenttype = wa_conn-ar_object documentclass = dclass importing count = icount exceptions nothing_found = 1 others = 2.
ARCHIV_DELETE_META call function 'ARCHIV_DELETE_META' exporting archiv_id = wa_conn-archiv_id arc_doc_id = wa_conn-arc_doc_id delete_flag = 3 object_id = wa_conn-object_id sap_object = wa_conn-sap_object ar_object = wa_conn-ar_object client = sy-mandt single_entry = 'X' documentclass = dclass importing all_connections_deleted = perr exceptions error_connectiontable = 1 error_parameter = 2 error_archiv = 3 error_kernel = 4 error_communicationtable = 5 others = 6.
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_LINK_CHECK_DOCUMENT or its description.
OA_LINK_CHECK_DOCUMENT - Report OA_LINK_CHECK_DOCUMENT OA_LINK_CHECK_DOCUMENT - Report OA_LINK_CHECK_DOCUMENT OA_KPRO_ENTRY_DELETION_PL - ArchiveLink: Delete KPro Entries for Print Lists OA_KPRO_ENTRY_DELETION_PL - ArchiveLink: Delete KPro Entries for Print Lists OA_KPRO_ENTRY_DELETION - ArchiveLink: Delete KPro Entries Related to Link Entries OA_KPRO_ENTRY_DELETION - ArchiveLink: Delete KPro Entries Related to Link Entries