RM06EM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Lists the items in purchasing documents that contain a certain material or certain materials...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RM06EM00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ME2M - Purchase Orders by Material
ME4M - RFQs by Material
ME3M - Outline Agreements by Material
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_WERKS = Plant
Selection Text: S_SAISO = Season
Selection Text: S_SAISJ = Season Year
Selection Text: S_RESWK = Supplying Plant
Selection Text: S_PSTYP = Item Category
Selection Text: S_MEMTYP = Document Incomplete
Selection Text: S_MATNR = Material
Selection Text: S_MATKL = Material Group
Selection Text: S_LTSNR = Vendor Subrange
Selection Text: S_LPN = Smart Number
Selection Text: S_LIFNR = Vendor
Selection Text: S_KNTTP = Account Assignment Category
Selection Text: S_IDNLF = Vendor's Material Number
Selection Text: S_EKGRP = Purchasing Group
Selection Text: S_EINDT = Delivery Date
Selection Text: S_EBELN = Document Number
Selection Text: S_EAN11 = Intern. Article No. (EAN/UPC)
Selection Text: S_BSART = Document Type
Selection Text: S_BEDAT = Document Date
Selection Text: S_ANGDT = Deadline Subm. of Quotations
Selection Text: S_AKTNR = Promotion
Selection Text: SELPA = Selection Parameters
Selection Text: P_TXZ01 = Short Text
Selection Text: P_RWEIT = Range of Coverage to
Selection Text: P_NAME1 = Vendor Name
Selection Text: P_GULDT = Validity Key Date
Selection Text: LISTU = Scope of List
Selection Text: EM_WERKS = Plant
Selection Text: EM_MATNR = Material
Selection Text: EM_EKORG = Purchasing Organization
Title: Purchasing Documents for Material
INCLUDE FM06LTO1.
INCLUDE FM06LCEV.
INCLUDE FMMEXDIR.
INCLUDE FM06LCS1.
INCLUDE FM06LCS6. "PARK&HOLD
INCLUDE FM06LCS4.
INCLUDE FM06LCS2.
No SAP DATABASE tables are accessed within this REPORT code!
ME_ITEM_CATEGORY_SELOPT_INPUT CALL FUNCTION 'ME_ITEM_CATEGORY_SELOPT_INPUT' TABLES ext_pstyp = s_pstyp int_pstyp = r_pstyp.
RS_SUBMIT_INFO CALL FUNCTION 'RS_SUBMIT_INFO' IMPORTING p_submit_info = p_submit_info.
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.
ME_TRANSFER_EKPO_TO_BUFFER CALL FUNCTION 'ME_TRANSFER_EKPO_TO_BUFFER' EXPORTING pi_ebeln = space TABLES pi_ekpo = lt_ekpo EXCEPTIONS record_already_exists = 1 OTHERS = 2.
ME_VAR_READ_POSITIONS CALL FUNCTION 'ME_VAR_READ_POSITIONS' EXPORTING i_ebeln = ekpo-ebeln i_ebelp = ekpo-ebelp TABLES i_pot = pot.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.