SAP Reports / Programs

RM06BR30 SAP ABAP Report - Archived Purchase Requisitions







RM06BR30 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 RM06BR30 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

ME5R - Archived Purchase Requisitions


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 RM06BR30. "Basic submit
SUBMIT RM06BR30 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06BR30 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_BLCKD = D .
Selection Text: S_BESWK = D .
Selection Text: S_BANPR = D .
Selection Text: S_WERKS = Plant
Selection Text: S_STATU = Processing Status
Selection Text: S_PSTYP = Item Category
Selection Text: S_MATNR = Material
Selection Text: S_MATKL = Material Group
Selection Text: S_LFDAT = Delivery Date
Selection Text: S_KNTTP = Account Assignment Category
Selection Text: S_FRGDT = Release Date
Selection Text: S_FLIEF = Fixed Vendor
Selection Text: S_EKGRP = Purchasing Group
Selection Text: S_DISPO = MRP Controller
Selection Text: S_BSART = Document Type
Selection Text: S_BEDNR = Requirement Tracking Number
Selection Text: S_BANFN = Purchase Requisition
Selection Text: P_ZUGBA = Assigned Purchase Requisitions
Selection Text: P_TXZ01 = Short Text
Selection Text: P_SRTKZ = Sort Indicator
Selection Text: P_SELPO = Requisns for Item-Wise Release
Selection Text: P_SELGS = Requisns for Overall Release
Selection Text: P_MEMORY = Also List Held PReqs
Selection Text: P_LSTUB = Scope of List
Selection Text: P_FREIG = Released Requisitions Only
Selection Text: P_ERLBA = Closed Requisitions
Selection Text: P_BSTBA = "Partly Ordered" Requisitions
Selection Text: P_AFNAM = Requisitioner
Title: Archived Purchase Requisitions


INCLUDES used within this REPORT RM06BR30

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:

EWU_GET_CONV_BETWEEN_DATES CALL FUNCTION 'EWU_GET_CONV_BETWEEN_DATES' "TK 4.0B EURO

ME_CCP_ACTIVE_CHECK CALL FUNCTION 'ME_CCP_ACTIVE_CHECK' IMPORTING ef_ccp_active = lf_ccp_active.

ME_ITEM_CATEGORY_SELOPT_INPUT CALL FUNCTION 'ME_ITEM_CATEGORY_SELOPT_INPUT' TABLES ext_pstyp = s_pstyp int_pstyp = r_pstyp.

HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING program = sy-cprog dynnr = sy-dynnr fieldname = 'S_PSTYP-LOW' * BSART = * BSTYP = IMPORTING epstp = s_pstyp-low EXCEPTIONS OTHERS = 1.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = object IMPORTING archive_handle = handle * TABLES * ARCHIVE_FILES = EXCEPTIONS file_already_open = 1 * FILE_IO_ERROR = 2 * INTERNAL_ERROR = 3 no_files_available = 2.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle EXCEPTIONS end_of_file = 01.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle IMPORTING record = buffer-segment record_flags = buffer-flags record_structure = buffer-rname EXCEPTIONS end_of_object = 01.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = handle IMPORTING archive_creation_date = archive_date EXCEPTIONS OTHERS = 1.

HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING program = sy-cprog dynnr = sy-dynnr fieldname = 'S_PSTYP-HIGH' * BSART = * BSTYP = IMPORTING epstp = s_pstyp-high EXCEPTIONS OTHERS = 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 RM06BR30 or its description.