SAP Reports / Programs

OA_LINK_CHECK_DOCUMENT SAP ABAP Report - Report OA_LINK_CHECK_DOCUMENT







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


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_LINK_CHECK_DOCUMENT. "Basic submit
SUBMIT OA_LINK_CHECK_DOCUMENT AND RETURN. "Return to original report after report execution complete
SUBMIT OA_LINK_CHECK_DOCUMENT 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 = 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





Text Symbol: 004 = Parameter Error
Text Symbol: 005 = Parameter NEWMESS needs Parameter LINKCHK = X
Text Symbol: 006 = Message type is missing
Text Symbol: 007 = Client not specified
Text Symbol: 008 = Program started in client:
Text Symbol: 009 = Check Object:
Text Symbol: 010 = Object Key:
Text Symbol: 011 = Document Type:
Text Symbol: 012 = Error: read document failed:
Text Symbol: 013 = Error: format error
Text Symbol: 014 = Content Repository:
Text Symbol: 015 = Document Key:
Text Symbol: 016 = Error in link :DARA line refers to another object
Text Symbol: 017 = Error: client number in document is not known
Text Symbol: 018 = Error: Unknown error
Text Symbol: 019 = Check without error
Text Symbol: 020 = DARA line found:
Text Symbol: 021 = Change link: link moved from client:
Text Symbol: 022 = Error: Error inserting link in client:
Text Symbol: 023 = Error: Link could not be found in client:
Text Symbol: 024 = Error: Link already exists in target client:
Text Symbol: 025 = Error: Link could not be deleted in client:
Text Symbol: 026 = Error: Several links exist to the document in the source client:
Text Symbol: 027 = Error: Client does not exist
Text Symbol: 028 = Error: Document could not be deleted:
Text Symbol: 029 = Document has been deleted as requested
Text Symbol: 030 = Error: Message could not be created
Text Symbol: 031 = Client number not determined in document
Text Symbol: 032 = Attempt to Create Message:
Text Symbol: 033 = for Object:
Text Symbol: 034 = Error: Could not determine the object key


INCLUDES used within this REPORT OA_LINK_CHECK_DOCUMENT

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_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.

ALINK_CHANGE_CLIENT_DIRECT





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.



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