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

ARCHIVELINK_QUEUES SAP ABAP INCLUDE - ARCHIVELINKQUEUES







ARCHIVELINK_QUEUES is a standard ABAP INCLUDE 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 ARCHIVELINK_QUEUES 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 ARCHIVELINK_QUEUES. "Basic submit
SUBMIT ARCHIVELINK_QUEUES AND RETURN. "Return to original report after report execution complete
SUBMIT ARCHIVELINK_QUEUES 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 ARCHIVELINK_QUEUES

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:

QUEUE_OPEN call function 'QUEUE_OPEN' exporting name = queue " Queue ID openmode = mode exceptions invalid_name = 1 invalid_parameter = 2 invalid_userid_pwd = 3 not_found = 4 open_error = 5 queue_in_process = 6 q_error = 7 sql_error = 8 foreign_lock = 9 system_failure = 10 others = 11.

ARCHIV_WRITE_SYSLOG call function 'ARCHIV_WRITE_SYSLOG' exporting text = ltext.

QUEUE_CLOSE call function 'QUEUE_CLOSE' exporting name = queue qstate = ' ' exceptions invalid_parameter = 1 q_error = 2 schedule_problem = 3 sql_error = 4 others = 5.

QUEUE_GET call function 'QUEUE_GET' exporting name = queue pos = pos unit = unit importing buffer = apqd_buffer pos = pos unit = unit exceptions buffer_error = 1 eoq = 2 invalid_parameter = 3 memory_error = 4 q_error = 5 sql_error = 6 others = 7.

QUEUE_PUT call function 'QUEUE_PUT' exporting buffer = apqd_buffer length = length name = queue state = state exceptions buffer_error = 1 invalid_parameter = 2 memory_error = 3 q_error = 4 sql_error = 5 others = 6.

QUEUE_DELETE call function 'QUEUE_DELETE' exporting name = queue unit = unit exceptions invalid_parameter = 1 q_error = 2 sql_error = 3 others = 4.

ARCHIV_GET_STRUCT call function 'ARCHIV_GET_STRUCT' exporting spoolid = i_spoolid * importing * parameter = f_arcparams exceptions others = 2.

SCMS_AO_FILE_CREATE_ASYNC call function 'SCMS_AO_FILE_CREATE_ASYNC' exporting arc_id = f_toacr-contrep file = filename doc_type = f_toacr-doc_class refer_code = ref_code no_job = debug rfc_dest = rfc_dest no_delete = f_toacr-no_delete VSCAN_PROFILE = VSCAN_PROFILE importing jobname = jobname jobcount = jobcount exceptions error_http = 1 error_archiv = 2 error_kernel = 3 error_config = 4 blocked_by_policy = 5 others = 6.

SCMS_AO_FILE_GET_ASYNC call function 'SCMS_AO_FILE_GET_ASYNC' exporting mandt = f_toacr-reqclient arc_id = f_toacr-contrep doc_id = f_toacr-arc_doc_id path = f_toacr-path refer_code = ref_code no_job = debug rfc_dest = rfc_dest importing jobname = jobname jobcount = jobcount exceptions error_http = 1 error_archiv = 2 error_kernel = 3 error_config = 4 others = 5.

ALINK_WRITE_LOG call function 'ALINK_WRITE_LOG' exporting logarea = 'ALPRILIST' lfunction = 'C' luser = sy-uname ldate = sy-datum ltime = sy-uzeit toadl = int_toadl exceptions others = 0.

ALINK_PRINTLIST_CREATE_EVENT call function 'ALINK_PRINTLIST_CREATE_EVENT' exporting toadl_entry = int_toadl.

ARCHIV_CONNECTION_INSERT call function 'ARCHIV_CONNECTION_INSERT' exporting archiv_id = l_archiv_id arc_doc_id = p_cfbc-arc_doc_id ar_object = p_toacr-doc_type del_date = p_toacr-del_date mandant = p_toacr-reqclient object_id = p_toacr-object_id sap_object = p_toacr-obj_type doc_type = p_toacr-doc_class exceptions error_connectiontable = 1 others = 2.

DB_COMMIT call function 'DB_COMMIT' .

ARCHIV_UPDATE_STATUS call function 'ARCHIV_UPDATE_STATUS' exporting errorkey = ' ' spoolid = wa_toacr-spoolid status = '0' exceptions others = 1.

ARCHIV_UPDATE_STATUS call function 'ARCHIV_UPDATE_STATUS' exporting errorkey = 'OA623' spoolid = wa_toacr-spoolid status = '2' exceptions others = 1.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting * TITLEBAR = ' ' * DIAGNOSE_OBJECT = ' ' text_question = text-073 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' default_button = '2' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = importing answer = answer * TABLES * PARAMETER = exceptions others = 0 .

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting text_question = text-069 default_button = '2' importing answer = answer exceptions others = 0.

BP_JOB_MANAGEMENT call function 'BP_JOB_MANAGEMENT' exporting jobselect_dialog = dialog joblist_opcode = okcode jobsel_param_input = input tables joblist = jliste exceptions others = 0.

GUID_CREATE





call function 'GUID_CREATE' importing ev_guid_32 = f_toacb-unit.



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