CHECK_MATERIAL_EXIST SAP Method Check if material exists
Below is documentation, parameters and attributes of ABAP Method CHECK_MATERIAL_EXIST within SAP class /SCMB/CL_PB_HELPER. 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 /SCMB/CL_PB_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CHECK_MATERIAL_EXIST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_MATERIAL_EXIST
.| Name | Type | Data Type | Description | Default Value |
| IV_MATNR | Importing | TYPE /SAPAPO/MATNR | Product Number | |
| RV_EXIST | Returning | TYPE BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') |
Exceptions of Method CHECK_MATERIAL_EXIST
This method does not have any exceptionsExample ABAP coding
DATA: lv_IV_MATNR TYPE /SAPAPO/MATNR,
lv_RV_EXIST TYPE BOOLE_D,
lv_other TYPE c.
CALL METHOD /SCMB/CL_PB_HELPER=>CHECK_MATERIAL_EXIST(
EXPORTING
IV_MATNR = lv_IV_MATNR
RECEIVING
RV_EXIST = lv_RV_EXIST )
"Alternate coding for Method Call with returning parameter
lv_RV_EXIST = /SCMB/CL_PB_HELPER=>CHECK_MATERIAL_EXIST(
EXPORTING
IV_MATNR = lv_IV_MATNR ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects