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

RM06EKBE SAP ABAP Report - Summarization and Removal of PO History Records







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

ME87 - Summarize PO History


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 RM06EKBE. "Basic submit
SUBMIT RM06EKBE AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EKBE 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: P_COUNT = Minimum No. of Follow-On Docs
Selection Text: P_CPUDT = Follow-On Doc. Entered Before
Selection Text: S_EBELN = Purchasing Document
Selection Text: S_EKGRP = Purchasing Group
Selection Text: S_EKORG = Purchasing Organization
Selection Text: S_LIFNR = Vendor
Selection Text: S_MATNR = Material
Selection Text: S_SRM_ID = SRM Central Contract
Selection Text: S_WERKS = Plant
Title: Summarization and Removal of PO History Records
Text Symbol: 004 = Plant
Text Symbol: 005 = Reorganize
Text Symbol: 006 = Scheduling Agreement Schedule Lines
Text Symbol: 007 = Purchasing Organization
Text Symbol: 008 = Purchasing Group
Text Symbol: 009 = Display
Text Symbol: SE1 = Selection Criteria
Text Symbol: SE2 = PO History Documents
001 Document Item PO History Records Delivery Cost Records


INCLUDES used within this REPORT RM06EKBE

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:

CKMW_REPLACE_AND_POST_POH CALL FUNCTION 'CKMW_REPLACE_AND_POST_POH'.

EXPAND_EKBE_MA CALL FUNCTION 'EXPAND_EKBE_MA' TABLES pt_ekbe = xekbe pt_ekbe_ma = xekbe_ma_s.

ME_PREPARE_HISTORY CALL FUNCTION 'ME_PREPARE_HISTORY' "578536 EXPORTING "578536 ebeln = ekpo-ebeln "578536 ebelp = ekpo-ebelp "578536 webre = ekpo-webre "578536 TABLES "578536 xekbe = xekbe "578536 xekbes = xekbes "578536 xekbez = xekbez "578536 xekbnk = xekbnk "578536 xekbz = xekbz. "578536

EXPAND_EKBE_MA CALL FUNCTION 'EXPAND_EKBE_MA' TABLES pt_ekbe = xekbe pt_ekbe_ma_db = xekbe_ma.

EXPAND_EKBE_MA CALL FUNCTION 'EXPAND_EKBE_MA' TABLES pt_ekbe = vekbe pt_ekbe_ma_db = xekbe_ma.

EXPAND_EKBE_MA CALL FUNCTION 'EXPAND_EKBE_MA' TABLES pt_ekbe = vekbe pt_ekbe_ma_db = xekbe_ma.

CKMW_REPLACE_AND_POST_POH CALL FUNCTION 'CKMW_REPLACE_AND_POST_POH'.

CKMW_REPLACE_AND_POST_POH CALL FUNCTION 'CKMW_REPLACE_AND_POST_POH' EXPORTING i_aufl = 'X' i_ebeln = ekbe-ebeln i_ebelp = ekbe-ebelp.

ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = ekpo-ebeln ebelp = ekpo-ebelp webre = ekpo-webre TABLES xekbe = xekbe xekbes = xekbes xekbez = xekbez xekbnk = xekbnk xekbz = xekbz xekbe_ma = xekbe_ma_s "MAA EhP4 xekbz_ma = xekbz_ma. "MAA EhP4

CKMW_READ_MANY_POH_WITH_TABLE CALL FUNCTION 'CKMW_READ_MANY_POH_WITH_TABLE' TABLES t_ekbe = xekbe t_ekbz = xekbz.

CKMW_APPEND_CONDENSED_POH CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

CKMW_APPEND_CONDENSED_POH CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

CKMW_APPEND_CONDENSED_POH CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

CKMW_APPEND_CONDENSED_POH CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

CKMW_MODIFY_CONDENSED_POH_EKBE CALL FUNCTION 'CKMW_MODIFY_CONDENSED_POH_EKBE' EXPORTING xekbe = xekbe lbzaehl = lbzaehl.

CKMW_MODIFY_CONDENSED_POH_EKBZ CALL FUNCTION 'CKMW_MODIFY_CONDENSED_POH_EKBZ' EXPORTING xekbz = xekbz.

CKMW_APPEND_CONDENSED_POH * call function 'CKMW_APPEND_CONDENSED_POH'.

CKMW_APPEND_CONDENSED_POH CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

CKMW_APPEND_CONDENSED_POH





CALL FUNCTION 'CKMW_APPEND_CONDENSED_POH'.

ENQUEUE_EMEKPOE CALL FUNCTION 'ENQUEUE_EMEKPOE' EXPORTING ebeln = p_ebeln ebelp = p_ebelp EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING ebeln = p_ebeln ebelp = p_ebelp.



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