CHECK_DOCUMENT_POSTED_NETTO SAP Method Returns True If the Document is posted by using Netto Value
Below is documentation, parameters and attributes of ABAP Method CHECK_DOCUMENT_POSTED_NETTO 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 CHECK_DOCUMENT_POSTED_NETTO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_DOCUMENT_POSTED_NETTO
.Name | Type | Data Type | Description | Default Value |
IV_BELNR | Importing | TYPE MBLNR | Number of Material Document | |
IV_COMPANY_CUR | Importing | TYPE WAERS | Currency Key | |
IV_PURCHDOC_CUR | Importing | TYPE WAERS | Currency Key | |
RV_POSTED_NETTO | Returning | TYPE CHAR1 | Single-Character Indicator |
Exceptions of Method CHECK_DOCUMENT_POSTED_NETTO
CX_MMPUR_READ_HISTORY_CANT_BE - Exception class to control PO History DAO classesExample ABAP coding
DATA: lo_class TYPE REF TO IF_MMPUR_ME_READ_HISTORY.
DATA: lv_IV_BELNR TYPE MBLNR,
lv_IV_COMPANY_CUR TYPE WAERS,
lv_IV_PURCHDOC_CUR TYPE WAERS,
lv_RV_POSTED_NETTO TYPE CHAR1,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_DOCUMENT_POSTED_NETTO(
EXPORTING
IV_BELNR = lv_IV_BELNR
IV_COMPANY_CUR = lv_IV_COMPANY_CUR
IV_PURCHDOC_CUR = lv_IV_PURCHDOC_CUR
RECEIVING
RV_POSTED_NETTO = lv_RV_POSTED_NETTO )
"Alternate coding for Method Call with returning parameter
lv_RV_POSTED_NETTO = lo_class=>CHECK_DOCUMENT_POSTED_NETTO(
EXPORTING
IV_BELNR = lv_IV_BELNR
IV_COMPANY_CUR = lv_IV_COMPANY_CUR
IV_PURCHDOC_CUR = lv_IV_PURCHDOC_CUR ).
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