READ SAP Method Reads PO History data









Below is documentation, parameters and attributes of ABAP Method READ within SAP class IF_MMPUR_ME_READ_HISTORY. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_MMPUR_ME_READ_HISTORY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method READ can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method READ

.

NameTypeData TypeDescriptionDefault Value
IV_BYPASSING_BUFFERImportingTYPE
C
Read Without Buffer
IV_EBELNImportingTYPE
EBELN
Purchasing document number
IV_EBELPImportingTYPE
EBELP
Purchasing document item
IV_EKBEHImportingTYPE
C
Indicator for using of the archived records
IV_LFBNRImportingTYPE
LFBNR
Document No. of a Reference Document
IV_LFGJAImportingTYPE
LFGJA
Fiscal Year of Current Period
IV_LFPOSImportingTYPE
LFPOS
Item of a Reference Document
IV_NO_EXPAND_MAImportingTYPE
XFELD
Indicator for expanding of MA data
IV_REFRESH_BUFFERImportingTYPE
C
Buffer will be refreshed
IV_VRTKZImportingTYPE
VRTKZ
Distribution indicator for multiple account assignment
IV_WEBREImportingTYPE
WEBRE
Indicator GR-related invoice verif
ET_EKBEExportingTYPE
ME_EKBE
Purchase Order History Records
ET_EKBESExportingTYPE
ME_EKBES
Purchase order history totals
ET_EKBES_MAExportingTYPE
EKBES_MA_TTY
Total Purchase Order History at Account Assignment Level
ET_EKBEZExportingTYPE
ME_EKBEZ
Purchase order history totals acco
ET_EKBE_MAExportingTYPE
ME_EKBE_MA_S
History of Purchasing Document at Account Assignment Level
ET_EKBNKExportingTYPE
ME_EKBNK
Delivery costs totals
ET_EKBNK_MAExportingTYPE
EKBNK_MA_TTY
Total Delivery Costs at Account Assignment Level
ET_EKBZExportingTYPE
ME_EKBZ
Delivery costs data records
ET_EKBZ_MAExportingTYPE
ME_EKBZ_MA
Delivery Costs at Account Assignment Level
ET_RSEGExportingTYPE
TY_RSEG
Document item: Incoming invoice



Exceptions of Method READ

CX_MMPUR_READ_HISTORY_CANT_BE -

Example ABAP coding


DATA: lo_class TYPE REF TO IF_MMPUR_ME_READ_HISTORY.
DATA: lv_ET_EKBE TYPE ME_EKBE,
lv_ET_EKBES TYPE ME_EKBES,
lv_ET_EKBES_MA TYPE EKBES_MA_TTY,
lv_ET_EKBEZ TYPE ME_EKBEZ,
lv_ET_EKBE_MA TYPE ME_EKBE_MA_S,
lv_ET_EKBNK TYPE ME_EKBNK,
lv_ET_EKBNK_MA TYPE EKBNK_MA_TTY,
lv_ET_EKBZ TYPE ME_EKBZ,
lv_ET_EKBZ_MA TYPE ME_EKBZ_MA,
lv_ET_RSEG TYPE TY_RSEG,
lv_IV_BYPASSING_BUFFER TYPE C,
lv_IV_EBELN TYPE EBELN,
lv_IV_EBELP TYPE EBELP,
lv_IV_EKBEH TYPE C,
lv_IV_LFBNR TYPE LFBNR,
lv_IV_LFGJA TYPE LFGJA,
lv_IV_LFPOS TYPE LFPOS,
lv_IV_NO_EXPAND_MA TYPE XFELD,
lv_IV_REFRESH_BUFFER TYPE C,
lv_IV_VRTKZ TYPE VRTKZ,
lv_IV_WEBRE TYPE WEBRE,
lv_other TYPE c.

CALL METHOD lo_class=>READ(
EXPORTING
IV_BYPASSING_BUFFER = lv_IV_BYPASSING_BUFFER
IV_EBELN = lv_IV_EBELN
IV_EBELP = lv_IV_EBELP
IV_EKBEH = lv_IV_EKBEH
IV_LFBNR = lv_IV_LFBNR
IV_LFGJA = lv_IV_LFGJA
IV_LFPOS = lv_IV_LFPOS
IV_NO_EXPAND_MA = lv_IV_NO_EXPAND_MA
IV_REFRESH_BUFFER = lv_IV_REFRESH_BUFFER
IV_VRTKZ = lv_IV_VRTKZ
IV_WEBRE = lv_IV_WEBRE
IMPORTING
ET_EKBE = lv_ET_EKBE
ET_EKBES = lv_ET_EKBES
ET_EKBES_MA = lv_ET_EKBES_MA
ET_EKBEZ = lv_ET_EKBEZ
ET_EKBE_MA = lv_ET_EKBE_MA
ET_EKBNK = lv_ET_EKBNK
ET_EKBNK_MA = lv_ET_EKBNK_MA
ET_EKBZ = lv_ET_EKBZ
ET_EKBZ_MA = lv_ET_EKBZ_MA
ET_RSEG = lv_ET_RSEG ).

Links to Related Class(s)

IF_MMPUR...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!