SAP Reports / Programs

RM06EHBE SAP ABAP Report - Display Purchase Order History







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


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 RM06EHBE. "Basic submit
SUBMIT RM06EHBE AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EHBE 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: 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


INCLUDES used within this REPORT RM06EHBE

INCLUDE FM06LCBE.


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:

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.



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