RM06EHBE 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 RM06EHBE into the relevant SAP transactions such as SE38 or SE80
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: LESEN = Read Purchase Order History
Selection Text: PREISANZ = Price Display Authorization
Selection Text: S_BPRME = Order Price Unit (Purchasing)
Selection Text: S_BSTYP = PO Category
Selection Text: S_BUKRS = Company Code
Selection Text: S_EBELN = Purchase Order
Selection Text: S_EBELP = Purchase Order Item
Selection Text: S_FPLNR = Invoicing Plan Number
Selection Text: S_LEBRE = Serv.-Based Inv. Verification
Selection Text: S_MEINS = Purchase Order Unit of Measure
Selection Text: S_PSTYP = Item Category
Selection Text: S_RETPO = Returns Item
Selection Text: S_WEBRE = GR-Based Invoice Verification
Title: Display Purchase Order History
INCLUDE FM06LCBE.
No SAP DATABASE tables are accessed within this REPORT code!
MM_HISTORY_SHOW CALL FUNCTION 'MM_HISTORY_SHOW' "#EC * EXPORTING pi_ebeln = ekpo-ebeln pi_ebelp = ekpo-ebelp pi_bstyp = ekpo-bstyp pi_pstyp = ekpo-pstyp pi_bukrs = ekpo-bukrs pi_meins = ekpo-meins pi_bprme = ekpo-bprme pi_webre = ekpo-webre pi_fplnr = ekpo-fplnr pi_lebre = ekpo-lebre pi_preisanz = preisanz TABLES pt_ekbe = bet pt_ekbes = bets pt_ekbz = bzt pt_ekbe_v = bvt pt_ekbz_v = bzt_v EXCEPTIONS error = 1 OTHERS = 2.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = ekpo-ebeln ebelp = ekpo-ebelp webre = ekpo-webre TABLES xekbe = bet xekbz = bzt xekbes = bets.
MR_READ_PRELIMINARY_HISTORY CALL FUNCTION 'MR_READ_PRELIMINARY_HISTORY' EXPORTING i_bukrs = ekpo-bukrs i_ebeln = ekpo-ebeln i_ebelp = ekpo-ebelp TABLES t_ekbe = bvt t_ekbz = bzt_v.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.