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

RM06EK00 SAP ABAP Report - Purchasing Documents per Account Assignment







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

ME3K - Outl. Agreements by Acct. Assignment
ME2K - Purch. Orders by Account Assignment


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 RM06EK00. "Basic submit
SUBMIT RM06EK00 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EK00 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_IDNLF = Vendor's Material Number
Selection Text: S_KNTTP = Account Assignment Category
Selection Text: S_LIFNR = Vendor
Selection Text: S_LPN = Smart Number
Selection Text: S_LTSNR = Vendor Subrange
Selection Text: S_MATKL = Material Group
Selection Text: S_MATNR = Material
Selection Text: S_MEMTYP = Document Incomplete
Selection Text: S_PSTYP = Item category
Selection Text: S_RESWK = Supplying Plant
Selection Text: S_SAISJ = Season Year
Selection Text: S_SAISO = Season
Selection Text: S_WERKS = Plant
Selection Text: I_BUKRS = D .
Selection Text: S_OBART = D .
Selection Text: S_RECNNR = D .
Selection Text: S_SEMPSL = D .
Selection Text: S_SGENR = D .
Selection Text: S_SGRNR = D .
Selection Text: S_SMENR = D .
Selection Text: S_SMIVE = D .
Selection Text: S_SNKSL = D .
Selection Text: S_SVWNR = D .
Selection Text: S_SWENR = D .
Selection Text: S_VONBIS = D .
Selection Text: LISTU = Scope of List
Selection Text: P_GULDT = Validity Key Date
Selection Text: P_NAME1 = Vendor Name
Selection Text: P_RWEIT = Range of Coverage to
Selection Text: P_STICH = Start of Settlement Period
Selection Text: P_TXZ01 = Short Text
Selection Text: SELPA = Selection Parameters
Selection Text: S_AKTNR = Promotion
Selection Text: S_ANGDT = Deadline Subm. of Quotations
Selection Text: S_BEDAT = Document Date
Selection Text: S_BSART = Document Type
Selection Text: S_EAN11 = Intern. Article No. (EAN/UPC)
Selection Text: S_EBELN = Document Number





Selection Text: S_EINDT = Delivery Date
Selection Text: S_EKGRP = Purchasing Group
Title: Purchasing Documents per Account Assignment
Text Symbol: P02 = Real Estate Management
Text Symbol: P01 = Settlement Period
Text Symbol: 007 = For Real Estate Object
Text Symbol: 006 = For Network
Text Symbol: 005 = For Sales Document
Text Symbol: 004 = For Asset
Text Symbol: 003 = For Order
Text Symbol: 002 = For Project
Text Symbol: 001 = For Cost Center


INCLUDES used within this REPORT RM06EK00

INCLUDE FM06LTO1.
INCLUDE FM06LCS1.
INCLUDE FM06LCS3.
INCLUDE FM06LCS6. "PARK&HOLD
INCLUDE FM06LCS4.
INCLUDE FM06LCS2.
INCLUDE FM06LCEK.
INCLUDE RM06EPOH.


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:

ME_SET_REPORT_USERVARIANT CALL FUNCTION 'ME_SET_REPORT_USERVARIANT' EXPORTING im_report = l_report im_esdus_action = l_action im_standard_variant = l_variant.

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.

MMPUR_EKBE_REFRESH_BUFFER CALL FUNCTION 'MMPUR_EKBE_REFRESH_BUFFER'.

ES_APPEND_USER_SETTINGS CALL FUNCTION 'ES_APPEND_USER_SETTINGS' EXPORTING iuname = sy-uname isave = 'X' TABLES iesdus = my_esduscom.

REMD_GET_IMKEY_FOR_SELECT_OPT CALL FUNCTION 'REMD_GET_IMKEY_FOR_SELECT_OPT' EXPORTING i_bukrs = i_bukrs i_dstich = p_stich TABLES s_swenr = s_swenr s_sgenr = s_sgenr s_sgrnr = s_sgrnr s_smenr = s_smenr s_smive = s_smive s_svwnr = s_svwnr s_snksl = s_snksl s_empsl = s_sempsl s_recnnr = s_recnnr s_obart = s_obart s_vonbis = s_vonbis e_imkeys = t_imkeys.

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