READ_PRELIMINARY SAP Method Reads preliminary PO History data









Below is documentation, parameters and attributes of ABAP Method READ_PRELIMINARY 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_PRELIMINARY can also be found below:

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


Parameters of Method READ_PRELIMINARY

.

NameTypeData TypeDescriptionDefault Value
IV_BUKRSImportingTYPE
BUKRS
Company Code
IV_EBELNImportingTYPE
EBELN
Purchasing document number
IV_EBELPImportingTYPE
EBELP
Purchasing document item
IV_XPRFGImportingTYPE
XPRFG
Indicator: Document complete
ET_EKBEExportingTYPE
ME_EKBE
Purchase Order History Records
ET_EKBZExportingTYPE
ME_EKBZ
Delivery costs data records



Exceptions of Method READ_PRELIMINARY

CX_MMPUR_READ_HISTORY_CANT_BE - Exception class to control PO History DAO classes

Example ABAP coding


DATA: lo_class TYPE REF TO IF_MMPUR_ME_READ_HISTORY.
DATA: lv_ET_EKBE TYPE ME_EKBE,
lv_ET_EKBZ TYPE ME_EKBZ,
lv_IV_BUKRS TYPE BUKRS,
lv_IV_EBELN TYPE EBELN,
lv_IV_EBELP TYPE EBELP,
lv_IV_XPRFG TYPE XPRFG,
lv_other TYPE c.

CALL METHOD lo_class=>READ_PRELIMINARY(
EXPORTING
IV_BUKRS = lv_IV_BUKRS
IV_EBELN = lv_IV_EBELN
IV_EBELP = lv_IV_EBELP
IV_XPRFG = lv_IV_XPRFG
IMPORTING
ET_EKBE = lv_ET_EKBE
ET_EKBZ = lv_ET_EKBZ ).

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!