SAP Reports / Programs

RM06EV70 SAP ABAP Report - Purchasing Document Archiving: Preprocessing Program







RM06EV70 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 RM06EV70 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 RM06EV70. "Basic submit
SUBMIT RM06EV70 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EV70 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: S_PROJ = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_PRETST = D .
Selection Text: P_PREPRD = D .
Selection Text: ER_EKORG = D .
Selection Text: ER_EKGRP = D .
Selection Text: ER_BUKRS = D .
Selection Text: ER_BSTYP = D .
Selection Text: ER_BSART = D .
Selection Text: ER_BEDAT = D .
Selection Text: SET_EPRJ = Exclude Project
Selection Text: ER_EBELN = Purchasing Document Number
Selection Text: ER_CDAT = One-Step Procedure
Selection Text: ER_ANDAT = Key Date for Quotation Date
Selection Text: ER_AEDAT = Key Date for Last Change
Title: Purchasing Document Archiving: Preprocessing Program
Text Symbol: 110 = PS: Project
Text Symbol: 005 = Residence Time Check Creation Date
Text Symbol: 003 = Options
Text Symbol: 002 = Further Selection Criteria
Text Symbol: 001 = Purchasing Documents


INCLUDES used within this REPORT RM06EV70

INCLUDE ARCH_PREPROC_PRG_STANDARD2. "#EC *


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:

MM_ARRANG_CHECK_EKBO_INDEX CALL FUNCTION 'MM_ARRANG_CHECK_EKBO_INDEX' EXPORTING i_ntrabr_ek_archiv = cl_mmpur_constants=>yes EXCEPTIONS no_ekbo_index = 1 OTHERS = 0.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = im_ebeln EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = .

MM_ARRANG_CHECK_COND_ARCHIVE CALL FUNCTION 'MM_ARRANG_CHECK_COND_ARCHIVE' EXPORTING i_bltypn = space i_ebeln = ms_document_data-ekko->ebeln EXCEPTIONS agreement_not_settled = 1 agreement_datbi_valid = 2 agreement_reszt_valid = 3 inconsistent_data = 4 no_ekbo_index = 5 OTHERS = 6.

MR_READ_PRELIMINARY_HISTORY CALL FUNCTION 'MR_READ_PRELIMINARY_HISTORY' EXPORTING i_ebeln = ms_document_data-ekko->ebeln i_ebelp = id_item->ebelp i_bukrs = id_item->bukrs TABLES t_ekbe = lt_ekbe t_ekbz = lt_ekbz.

ME_READ_RELEASE_DOCU CALL FUNCTION 'ME_READ_RELEASE_DOCU' EXPORTING bukrs = ->bukrs ebeln = ->ebeln waers = ->waers wkurs = ->wkurs IMPORTING suwrt = me->mv_target_value.

MD_SET_KZEAR_RESB CALL FUNCTION 'MD_SET_KZEAR_RESB' EXPORTING rsnum = lv_rsnum.

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING comm_head_i = ls_komk general_read = me->mo_const->yes TABLES tkomv = lt_komv.

RSDB_DELETE_WITH_EKPO CALL FUNCTION 'RSDB_DELETE_WITH_EKPO' EXPORTING ebeln = ->ebeln ebelp = ld_item->ebelp rsnum = ld_item->arsnr rspos = ld_item->arsps EXCEPTIONS OTHERS = 0.

ME_UPDATE_AGREEMENT_PO CALL FUNCTION 'ME_UPDATE_AGREEMENT_PO' "#EC * EXPORTING i_ekko_new = ->* i_ekko_old = ->* TABLES xekbes = me->ms_rel_doc-ekbes xekpo = me->ms_rel_doc-xekpo yekpo = me->ms_rel_doc-yekpo EXCEPTIONS OTHERS = 0.

DETERMINE_PERIOD CALL FUNCTION 'DETERMINE_PERIOD' EXPORTING date = me->ms_document_data-ekko->bedat version = ls_t001-periv IMPORTING year = lv_gjahr EXCEPTIONS OTHERS = 1.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING gjahr = lv_gjahr process = lc_process event = lc_event TABLES tkomp = lt_trwin EXCEPTIONS OTHERS = 0.

IAOM_OM_READ_PROR_FROM_PO CALL FUNCTION 'IAOM_OM_READ_PROR_FROM_PO' EXPORTING i_po_number = id_item->ebeln i_po_item_nr = id_item->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 = id_item->ebeln ebelp = id_item->ebelp webre = id_item->webre TABLES xekbes = lt_ekbes.

IAOM_OM_UPDATE_PROR_STATUS_PO CALL FUNCTION 'IAOM_OM_UPDATE_PROR_STATUS_PO' EXPORTING i_po_number = id_item->ebeln i_po_item_nr = id_item->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.

MMBSI_EKKO_TECH_SINGLE_READ CALL FUNCTION 'MMBSI_EKKO_TECH_SINGLE_READ' EXPORTING iv_ebeln = iv_ebeln IMPORTING es_ekko_tech = me->ms_tech EXCEPTIONS record_not_found = 0 OTHERS = 0.



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