SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

RM06BW70 SAP ABAP Report - Archiving Purchase Requisitions: Write Program







RM06BW70 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 RM06BW70 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 RM06BW70. "Basic submit
SUBMIT RM06BW70 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06BW70 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: SET_EPRJ = Exclude Project
Selection Text: ER_BADAT = D .
Selection Text: ER_BANFN = D .
Selection Text: ER_BSART = D .
Selection Text: ER_EKGRP = D .
Selection Text: ER_WERKS = D .
Selection Text: P_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: S_PROJ = D .
Title: Archiving Purchase Requisitions: Write Program
Text Symbol: 001 = Purchase Requisition
Text Symbol: 002 = Further Selection Criteria
Text Symbol: 110 = PS: Projects


INCLUDES used within this REPORT RM06BW70

INCLUDE ARCH_WRITE_PRG_STANDARD2.


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:

ENQUEUE_EMEBANE CALL FUNCTION 'ENQUEUE_EMEBANE' EXPORTING banfn = im_ebeln EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_EMEBANE CALL FUNCTION 'DEQUEUE_EMEBANE' EXPORTING banfn = .

DEQUEUE_EMEBANE CALL FUNCTION 'DEQUEUE_EMEBANE' EXPORTING banfn = im_ebeln EXCEPTIONS error_message = 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.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = lv_tdid language = lv_tdspras name = lv_tdname object = 'EBAN' IMPORTING entries = lv_entries TABLES selections = lt_thead.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = lv_tdid language = lv_tdspras name = lv_tdname object = 'EBANH' IMPORTING entries = lv_entries TABLES selections = lt_thead.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = lv_tdid language = lv_tdspras name = lv_tdname object = 'EBANH' IMPORTING entries = lv_entries TABLES selections = lt_thead.



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