RM06EV47 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 RM06EV47 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: ER_ANDAT = Key Date for Quotation Date
Selection Text: ER_CDAT = One-Step Procedure
Selection Text: ER_EBELN = Purchasing Document Number
Selection Text: SET_EPRJ = Exclude Project
Selection Text: ER_BEDAT = D .
Selection Text: ER_BSART = D .
Selection Text: ER_BSTYP = D .
Selection Text: ER_EKGRP = D .
Selection Text: ER_EKORG = D .
Selection Text: P_PREPRD = D .
Selection Text: P_PRETST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: S_PROJ = D .
Title: Purchasing Document Archiving: Preprocessing Program
Text Symbol: 039 = Target quantity reached
Text Symbol: 040 = Target value reached
Text Symbol: 041 = Runtime completed
Text Symbol: 042 = Without release/schedule line
Text Symbol: 043 = Could not delete some subitems
Text Symbol: 044 = Retention period not maintained
Text Symbol: 045 = Unable to block document
Text Symbol: 046 = &1 of &2 purchasing docs processed
Text Symbol: 047 = Item is statistical
Text Symbol: 048 = No history for purchasing document item
Text Symbol: 049 = Setting of deletion flag in BADI rejected
Text Symbol: 050 = Open rebate arrangements still exist
Text Symbol: 051 = Invoice plan is not completed
Text Symbol: 052 = Sales order not yet invoiced
Text Symbol: 053 = EIS Check Active - Last Purchase Order Cannot be Archived
Text Symbol: 110 = PS: Project
Text Symbol: 001 = Purchasing Documents
Text Symbol: 002 = Restrictions
Text Symbol: 003 = Options
Text Symbol: 010 = No Addl Check Active
Text Symbol: 011 = Item is Locked
Text Symbol: 013 = Change Date of Purchasing Item Within Retention Period
Text Symbol: 014 = Quotation Received
INCLUDE FMMEXDIR.
INCLUDE WSTR_FM06AF00.
INCLUDE ARCH_PREPROC_PRG_STANDARD2. "N_1126496
No SAP DATABASE tables are accessed within this REPORT code!
MM_ARRANG_CHECK_EKBO_INDEX CALL FUNCTION 'MM_ARRANG_CHECK_EKBO_INDEX' EXPORTING i_ntrabr_ek_archiv = 'X' EXCEPTIONS no_ekbo_index = 1 OTHERS = 0.
ARCHIVE_PROTOCOL_INIT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT_APPL' EXPORTING i_detailprotocol = p_prot.
MMBSI_EKKO_TECH_ARRAY_READ CALL FUNCTION 'MMBSI_EKKO_TECH_ARRAY_READ' EXPORTING * it_ekko_key = lt_ekko_for_sel it_ekko_key =
TABLES et_ekko_tech = lt_ekko_tech EXCEPTIONS no_records_found = 0 OTHERS = 0.
PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_text = text-046 i_msgv1 = l_processed i_msgv2 = l_total i_processed = l_processed i_total = l_total IMPORTING e_progress_sent = l_progress_sent.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = l_posid i_text = l_badi_detail_text i_msgtype = 2. "1090562
PROGRESS_INDICATOR_APPL CALL FUNCTION 'PROGRESS_INDICATOR_APPL' EXPORTING i_text = text-046 i_msgv1 = l_processed i_msgv2 = l_total i_processed = l_processed i_total = l_total i_output_immediately = 'X'.
ARCHIVE_PROTOCOL_WRITE_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE_APPL'.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = text-010.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = text-010.
ME_READ_RELEASE_DOCU CALL FUNCTION 'ME_READ_RELEASE_DOCU' EXPORTING bukrs = ekko-bukrs ebeln = ekko-ebeln waers = ekko-waers wkurs = ekko-wkurs IMPORTING suwrt = g_suwrt.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-011.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-013.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-031.
DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = ekko-ebeln.
ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = p_ebeln EXCEPTIONS foreign_lock = 2 system_failure = 3.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_ebeln i_msgtype = '02' i_text = text-045.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-044.
ARCHIVE_PROTOCOL_COLLECT_APPL * CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' * EXPORTING * i_object = l_posid * i_msgtype = '02' * i_text = text-044.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-026.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-029.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-023.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-023.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-018.
CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-019.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-022.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-020.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-021.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-024.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-025.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-026.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-028.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-028.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-028.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-028.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-029.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-017.
MR_READ_PRELIMINARY_HISTORY CALL FUNCTION 'MR_READ_PRELIMINARY_HISTORY' EXPORTING i_ebeln = ekpo-ebeln i_ebelp = ekpo-ebelp i_bukrs = ekpo-bukrs TABLES t_ekbe = lt_ekbe t_ekbz = lt_ekbz.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-023.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-051.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-027.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = text-053. "1631271
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = lv_msg_dummy.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-030.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = p_posid i_msgtype = '02' i_text = text-032.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '01' i_text = l_text.
MD_SET_KZEAR_RESB CALL FUNCTION 'MD_SET_KZEAR_RESB' EXPORTING rsnum = l_rsnum.
RSDB_DELETE_WITH_EKPO CALL FUNCTION 'RSDB_DELETE_WITH_EKPO' "#EC * EXPORTING ebeln = ekko-ebeln ebelp = ekpo-ebelp rsnum = ekpo-arsnr rspos = ekpo-arsps EXCEPTIONS parameters_not_specified = 01 record_not_exist = 02.
ME_UPDATE_AGREEMENT_PO CALL FUNCTION 'ME_UPDATE_AGREEMENT_PO' "#EC * EXPORTING i_ekko_new = ekko i_ekko_old = ekko TABLES xekbes = lt_xekbes xekpo = lt_xekpo yekpo = lt_yekpo EXCEPTIONS OTHERS = 1.
RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING comm_head_i = s_komk general_read = 'X' TABLES tkomv = st_komv.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = l_posid i_msgtype = '02' i_text = text-043.
DETERMINE_PERIOD CALL FUNCTION 'DETERMINE_PERIOD' EXPORTING date = ekko-bedat version = t001-periv IMPORTING year = l_gjahr.
RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING gjahr = l_gjahr process = l_process event = l_event TABLES tkomp = lt_trwin EXCEPTIONS OTHERS = 0.
MM_ARRANG_CHECK_COND_ARCHIVE CALL FUNCTION 'MM_ARRANG_CHECK_COND_ARCHIVE' EXPORTING i_bltypn = space i_ebeln = i_ekko-ebeln EXCEPTIONS agreement_not_settled = 1 agreement_datbi_valid = 2 agreement_reszt_valid = 3 inconsistent_data = 4 no_ekbo_index = 5 OTHERS = 6.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = i_ekko-ebeln i_msgtype = '03' i_text = text-050.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = lv_text.
SD_VBUK_SELECT CALL FUNCTION 'SD_VBUK_SELECT' EXPORTING i_document_number = ekkn-vbeln IMPORTING e_vbuk = vbuk EXCEPTIONS document_not_found = 1 OTHERS = 2.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = ekko-ebeln i_msgtype = '02' i_text = text-052.
IAOM_OM_READ_PROR_FROM_PO CALL FUNCTION 'IAOM_OM_READ_PROR_FROM_PO' EXPORTING i_po_number = is_ekpo-ebeln i_po_item_nr = is_ekpo-ebelp IMPORTING e_order_nr = lv_order e_archivable = lv_archive EXCEPTIONS no_production_order = 1 error_occurred = 2 multiple_assignments = 3 OTHERS = 4.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = is_ekpo-ebeln ebelp = is_ekpo-ebelp webre = is_ekpo-webre TABLES xekbe = lt_ekbe xekbes = lt_ekbes.
IAOM_OM_UPDATE_PROR_STATUS_PO CALL FUNCTION 'IAOM_OM_UPDATE_PROR_STATUS_PO' EXPORTING i_po_number = is_ekpo-ebeln i_po_item_nr = is_ekpo-ebelp i_ext_object_id = '' i_process_status_upd = lv_status i_without_commit_work = abap_true i_delivered_quantity = lv_qty i_unit_measure = lv_uom i_last_delivery_date = lv_date i_local_cur_value_of_delivery = lv_value i_local_currency = lv_waers IMPORTING e_msg = lt_msg EXCEPTIONS wrong_input = 0 OTHERS = 0.
ARCHIVE_PROTOCOL_COLLECT_APPL CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT_APPL' EXPORTING i_object = lv_posid i_msgtype = '02' i_text = lv_text.
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 RM06EV47 or its description.