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

ALINK_CHECK_DOCUMENT SAP ABAP Report - ALINKCHECKDOCUMENT







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


INCLUDES used within this REPORT ALINK_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 * ARCHIVOBJECT = ao 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 = 'Document checked' importing goon = goon 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.

SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING BUFFER = wa "#EC NO_INCOMP * APPEND_TO_TABLE = ' ' IMPORTING OUTPUT_LENGTH = olen TABLES BINARY_TAB = t_cont_binary .

SCMS_BINARY_TO_TEXT CALL FUNCTION 'SCMS_BINARY_TO_TEXT' EXPORTING INPUT_LENGTH = olen * FIRST_LINE = 0 * LAST_LINE = 0 * APPEND_TO_TABLE = ' ' * MIMETYPE = ' ' * WRAP_LINES = ' ' * ENCODING = * IMPORTING * OUTPUT_LENGTH = TABLES BINARY_TAB = t_cont_binary TEXT_TAB = wa_str * EXCEPTIONS * FAILED = 1 * OTHERS = 2 .

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