GET_LIST_BY_RANGES SAP Method of class /FMP/CL_MP_MAT_PRICES
Below is documentation, parameters and attributes of ABAP Method GET_LIST_BY_RANGES within SAP class /FMP/CL_MP_MAT_PRICES. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /FMP/CL_MP_MAT_PRICES 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 GET_LIST_BY_RANGES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_LIST_BY_RANGES
.| Name | Type | Data Type | Description | Default Value |
| IT_BKLAS_R | Importing | TYPE GTYP_BKLAS_R | ||
| IT_BWKEY_R | Importing | TYPE GTYP_BWKEY_R | ||
| IT_BWTAR_R | Importing | TYPE GTYP_BWTAR_R | ||
| IT_DATAB_R | Importing | TYPE GTYP_DATAB_R | ||
| IT_DATBI_R | Importing | TYPE GTYP_DATBI_R | ||
| IT_FROMYEARPER_R | Importing | TYPE GTYP_POPER_R | ||
| IT_LIFNR_R | Importing | TYPE GTYP_LIFNR_R | ||
| IT_MATKL_R | Importing | TYPE GTYP_MATKL_R | ||
| IT_MATNR_R | Importing | TYPE GTYP_MATNR_R | ||
| IT_MTART_R | Importing | TYPE GTYP_MTART_R | ||
| IT_POSNR_R | Importing | TYPE GTYP_POSNR_R | ||
| IT_PRTYP_R | Importing | TYPE GTYP_PRTYP_R | ||
| IT_PSPNR_R | Importing | TYPE GTYP_PSPNR_R | ||
| IT_SPART_R | Importing | TYPE GTYP_SPART_R | ||
| IT_TOYEARPER_R | Importing | TYPE GTYP_POPER_R | ||
| IT_VBELN_R | Importing | TYPE GTYP_VBELN_R | ||
| IV_GLD | Importing | TYPE XFELD | ||
| IV_NO_USED | Importing | TYPE XFELD | ||
| IV_SMAX | Importing | TYPE TBMAXSEL | Maximum Number of Selected Entries | |
| ET_PRICES_FLAT | Exporting | TYPE /FMP/T_MP_MATERIAL_PRICE_FLAT | Material Prices |
Exceptions of Method GET_LIST_BY_RANGES
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /FMP/CL_MP_MAT_PRICES.
DATA: lv_ET_PRICES_FLAT TYPE /FMP/T_MP_MATERIAL_PRICE_FLAT,
lv_IT_BKLAS_R TYPE GTYP_BKLAS_R,
lv_IT_BWKEY_R TYPE GTYP_BWKEY_R,
lv_IT_BWTAR_R TYPE GTYP_BWTAR_R,
lv_IT_DATAB_R TYPE GTYP_DATAB_R,
lv_IT_DATBI_R TYPE GTYP_DATBI_R,
lv_IT_FROMYEARPER_R TYPE GTYP_POPER_R,
lv_IT_LIFNR_R TYPE GTYP_LIFNR_R,
lv_IT_MATKL_R TYPE GTYP_MATKL_R,
lv_IT_MATNR_R TYPE GTYP_MATNR_R,
lv_IT_MTART_R TYPE GTYP_MTART_R,
lv_IT_POSNR_R TYPE GTYP_POSNR_R,
lv_IT_PRTYP_R TYPE GTYP_PRTYP_R,
lv_IT_PSPNR_R TYPE GTYP_PSPNR_R,
lv_IT_SPART_R TYPE GTYP_SPART_R,
lv_IT_TOYEARPER_R TYPE GTYP_POPER_R,
lv_IT_VBELN_R TYPE GTYP_VBELN_R,
lv_IV_GLD TYPE XFELD,
lv_IV_NO_USED TYPE XFELD,
lv_IV_SMAX TYPE TBMAXSEL,
lv_other TYPE c.
CALL METHOD lo_class=>GET_LIST_BY_RANGES(
EXPORTING
IT_BKLAS_R = lv_IT_BKLAS_R
IT_BWKEY_R = lv_IT_BWKEY_R
IT_BWTAR_R = lv_IT_BWTAR_R
IT_DATAB_R = lv_IT_DATAB_R
IT_DATBI_R = lv_IT_DATBI_R
IT_FROMYEARPER_R = lv_IT_FROMYEARPER_R
IT_LIFNR_R = lv_IT_LIFNR_R
IT_MATKL_R = lv_IT_MATKL_R
IT_MATNR_R = lv_IT_MATNR_R
IT_MTART_R = lv_IT_MTART_R
IT_POSNR_R = lv_IT_POSNR_R
IT_PRTYP_R = lv_IT_PRTYP_R
IT_PSPNR_R = lv_IT_PSPNR_R
IT_SPART_R = lv_IT_SPART_R
IT_TOYEARPER_R = lv_IT_TOYEARPER_R
IT_VBELN_R = lv_IT_VBELN_R
IV_GLD = lv_IV_GLD
IV_NO_USED = lv_IV_NO_USED
IV_SMAX = lv_IV_SMAX
IMPORTING
ET_PRICES_FLAT = lv_ET_PRICES_FLAT ).
Links to Related Class(s)
/FMP/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects