SAP Reports / Programs

/SAPMP/MM_HISTORY SAP ABAP Report - Characteristic-Based Purchase Order History







/SAPMP/MM_HISTORY 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 /SAPMP/MM_HISTORY 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

/SAPMP/WEHB - PO History with Characteristics


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 /SAPMP/MM_HISTORY. "Basic submit
SUBMIT /SAPMP/MM_HISTORY AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPMP/MM_HISTORY 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_WERKS = D .
Selection Text: S_MATKL = D .
Selection Text: S_LIFNR = D .
Selection Text: S_EKORG = D .
Selection Text: S_EKGRP = D .
Selection Text: S_EBELP = D .
Selection Text: S_EBELN = D .
Selection Text: S_BSART = D .
Selection Text: S_BEDAT = D .
Selection Text: P_WE_CHA = D .
Selection Text: P_VORSCH = D .
Selection Text: P_MERANZ = D .
Selection Text: P_EPSTP = D .
Selection Text: S_MATNR = Material
Selection Text: P_WE_MNG = Comparison of GR/PO Qty
Selection Text: P_WE_MEN = Within Underdelivery Tolerance
Selection Text: P_UNTTO = Underdelivery Tolerance in %
Selection Text: P_ELIKZ = Partially Delivered Documents
Selection Text: P_ELIKL = Completed Delivery Documents
Title: Characteristic-Based Purchase Order History
Text Symbol: 029 = Underdel.Tolerance
Text Symbol: 028 = Displayed Characteristics
Text Symbol: 027 = Within Underdelivery Tolerance
Text Symbol: 026 = Selection of Goods Receipts
Text Symbol: 025 = Selection of Document Data
Text Symbol: 023 = Default Final Delivery Indicator Not Set
Text Symbol: 022 = Default Final Delivery Indicator Set
Text Symbol: 021 = Documents for which Delivery Process Is Complete
Text Symbol: 020 = Partially Delivered Documents
Text Symbol: 019 = Set Final Delivery Indicator for All Items
Text Symbol: 018 = Delete Final Delivery Indicator for All Items
Text Symbol: 017 = Delivery Not Complete
Text Symbol: 016 = Processing Complete
Text Symbol: 015 = Purchase Order/Items/Batch
Text Symbol: 014 = Characteristic-Based Purchase Order History for
Text Symbol: 011 = Unsaved Data Will Be Lost. Do You Wish to Save All of the Selected Documents?
Text Symbol: 010 = Save FinDelInd.
Text Symbol: 008 = Default Logic for Final Delivery Indicator





Text Symbol: 005 = Not Assigned
Text Symbol: 004 = Purchasing Group
Text Symbol: 003 = Purchasing Organization
Text Symbol: 002 = Order Type


INCLUDES used within this REPORT /SAPMP/MM_HISTORY

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:

MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .

MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE = .

ME_ITEM_CATEGORY_INPUT CALL FUNCTION 'ME_ITEM_CATEGORY_INPUT' EXPORTING epstp = p_epstp IMPORTING pstyp = g_pstyp * PTEXT = EXCEPTIONS not_found = 1 OTHERS = 2 .

HELP_VALUES_EPSTP CALL FUNCTION 'HELP_VALUES_EPSTP' EXPORTING program = sy-cprog dynnr = sy-dynnr fieldname = 'P_EPSTP' IMPORTING epstp = p_epstp EXCEPTIONS OTHERS = 0.



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 /SAPMP/MM_HISTORY or its description.