SAP Reports / Programs | Materials Management | Inventory Management | Excise Duty(MM-IM-ED) SAP MM

/BEV2/ED_READ_ARCHIVE_DOCUMENT SAP ABAP Report - Excise Duty: Read Archived Documents







/BEV2/ED_READ_ARCHIVE_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 /BEV2/ED_READ_ARCHIVE_DOCUMENT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/BEV2/ED_READ_ARCDOC - Read Archived Documents


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 /BEV2/ED_READ_ARCHIVE_DOCUMENT. "Basic submit
SUBMIT /BEV2/ED_READ_ARCHIVE_DOCUMENT AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV2/ED_READ_ARCHIVE_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: P_FORM = List Form
Selection Text: P_LIST = List Type
Selection Text: P_VACALV = Layout Variant
Selection Text: S_BUDAT = Period
Selection Text: S_SLAGER = Tax Warehouse
Selection Text: S_VBSART = Tax Type
Title: Excise Duty: Read Archived Documents
Text Symbol: 001 = Selection Options
Text Symbol: 002 = Delete all selected documents?
Text Symbol: 003 = Do you also want to delete list in content server?
Text Symbol: 004 = Output Options


INCLUDES used within this REPORT /BEV2/ED_READ_ARCHIVE_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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = '/BEV2/ED_READ_ARCHIVE_DOCUMENT' i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'SET_PF_STATUS' is_layout = layout it_fieldcat = xfield is_variant = variant i_save = con_a TABLES t_outtab = out_tab EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING * I_TABNAM = '/BEV2/ED903' i_datab = s_budat-low i_datbi = s_budat-high TABLES * I_YH903 = i_yh902 = xyh902 * E_YH902T = i_select_yhvbart = s_vbsart i_select_yhslager = s_slager EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = '/BEV2/ED_ARCDOC_SHOW' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = xfield EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/ED_READ_ARCDOC' i_action = '06' EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

ARCHIVOBJECT_DISPLAY CALL FUNCTION 'ARCHIVOBJECT_DISPLAY' EXPORTING archiv_doc_id = out_tab-arc_doc_id archiv_id = out_tab-archiv_id objecttype = out_tab-sap_object ar_object = out_tab-ar_object doc_type = lv_doc_type window_id = out_tab-ar_object * window_title = out_tabl-ar_obj_txt report = out_tab-report EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_kernel = 3 OTHERS = 4.

ARCHIV_DELETE_META CALL FUNCTION 'ARCHIV_DELETE_META' EXPORTING archiv_id = out_tab-archiv_id arc_doc_id = out_tab-arc_doc_id ar_object = out_tab-ar_object delete_flag = space object_id = out_tab-object_id sap_object = out_tab-sap_object client = out_tab-mandt single_entry = 'X' documentclass = doc_type IMPORTING all_connections_deleted = all_deleted EXCEPTIONS error_archiv = 01 error_communicationtable = 02 error_kernel = 03 error_connectiontable = 04 error_parameter = 05 OTHERS = 30.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

ARCHIVOBJECT_DELETE CALL FUNCTION 'ARCHIVOBJECT_DELETE' EXPORTING archiv_doc_id = out_tab-arc_doc_id archiv_id = out_tab-archiv_id * SIGN = ' doc_type = 'ALF' EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_kernel = 3 OTHERS = 4.

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = variant i_save = 'A' " {'A'|'X'|'U'|' '} IMPORTING e_exit = variant_exit es_variant = variant EXCEPTIONS not_found = 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 /BEV2/ED_READ_ARCHIVE_DOCUMENT or its description.