RM06EW70 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 RM06EW70 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: S_PROJ = D .
Selection Text: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: ER_EKORG = D .
Selection Text: ER_EKGRP = D .
Selection Text: ER_EBELN = D .
Selection Text: ER_BUKRS = D .
Selection Text: ER_BSTYP = D .
Selection Text: ER_BSART = D .
Selection Text: ER_BEDAT = D .
Selection Text: ER_AEDAT = D .
Selection Text: SET_EPRJ = Exclude Project
Title: Archiving of Purchase Orders: Write 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
INCLUDE ARCH_WRITE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
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 =
.
SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = im_id language = im_language name = im_name object = im_object TABLES selections = lcl_db_utility=>thead.
MMBSI_EKKO_TECH_SINGLE_READ CALL FUNCTION 'MMBSI_EKKO_TECH_SINGLE_READ' EXPORTING iv_ebeln = lv_ebeln IMPORTING es_ekko_tech = ls_ekko_tech EXCEPTIONS record_not_found = 1 OTHERS = 2.
CUCB_GET_OWNER_OF_CFG CALL FUNCTION 'CUCB_GET_OWNER_OF_CFG' "#EC * EXPORTING i_instance =
-cuobj EXCEPTIONS invalid_instance = 1 instance_is_a_classification = 2 unknown_owner = 3 OTHERS = 4.
IAOM_OM_READ_PROR_FROM_PO CALL FUNCTION 'IAOM_OM_READ_PROR_FROM_PO' EXPORTING i_po_number = me->my_ekko->ebeln i_po_item_nr = ld_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.
IAOM_OM_ARCHIVABLE CALL FUNCTION 'IAOM_OM_ARCHIVABLE' EXPORTING i_po_number = me->my_ekko->ebeln i_po_item_nr = ld_ekpo->ebelp i_set_archivable = lo_const->yes i_without_commit_work = lo_const->yes IMPORTING e_msg = lt_msg EXCEPTIONS wrong_input = 1 OTHERS = 2.
CPE_ERP_FORMULA_ALL_READ_DB_AC CALL FUNCTION 'CPE_ERP_FORMULA_ALL_READ_DB_AC' EXPORTING iv_application = cl_mmpur_constants=>kappl_m it_knumv_struct = lt_knumv2 it_knumh_struct = lt_knumh2 IMPORTING et_knumvtoguid = lo_knumvtoguid et_knumhtoguid = lo_knumhtoguid et_defformdoc = lo_defformdoc et_defforminput = lo_defforminput et_defformconvin = lo_defformconvin et_defformroundin = lo_defformroundin et_deftermgrp = lo_deftermgrp et_deftermconvin = lo_deftermconvin et_defterminput = lo_defterminput et_deftermroundin = lo_deftermroundin et_defperioddtin = lo_defperioddtin et_formdoc = lo_formdoc et_forminput = lo_forminput et_formconvout = lo_formconvout et_formconvin = lo_formconvin et_formroundin = lo_formroundin et_termgrpout = lo_termgrpout et_termout = lo_termout et_termconvout = lo_termconvout et_termconvin = lo_termconvin et_terminput = lo_terminput et_termroundin = lo_termroundin et_perioddtin = lo_perioddtin et_perioddtout = lo_perioddtout.
MM_ARRANG_CHECK_COND_ARCHIVE CALL FUNCTION 'MM_ARRANG_CHECK_COND_ARCHIVE' EXPORTING i_bltypn = space i_ebeln = my_ekko->ebeln EXCEPTIONS agreement_not_settled = 1 agreement_datbi_valid = 2 agreement_reszt_valid = 3 inconsistent_data = 4 no_ekbo_index = 5 OTHERS = 6.
SD_VBUK_SELECT CALL FUNCTION 'SD_VBUK_SELECT' EXPORTING i_document_number =
-vbeln IMPORTING e_vbuk = ls_vbuk EXCEPTIONS document_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM06EW70 - Archiving of Purchase Orders: Write Program RM06EW70 - Archiving of Purchase Orders: Write Program RM06EW47 - Purchasing Document Archiving: Write Program RM06EW47 - Purchasing Document Archiving: Write Program RM06EW30TOI - Include RM06EW30TOI RM06EW30 - Write Program: Archiving of Purchasing Documents