GET_MATERIAL_DESC SAP Method Get Field Descriptions of Product Detail
Below is documentation, parameters and attributes of ABAP Method GET_MATERIAL_DESC within SAP class /SCMB/CL_MATVIEW_BO. 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_MATVIEW_BO 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_MATERIAL_DESC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_MATERIAL_DESC
.| Name | Type | Data Type | Description | Default Value |
| IS_MATERIAL_DATA | Importing | TYPE /SCMB/S_MATVIEW_MAT_DATA_BO | Product Master Data Values | |
| IV_LOCNO | Importing | TYPE /SAPAPO/LOCNO | Location | |
| IV_MATNR | Importing | TYPE /SAPAPO/MATNR | Product Number | |
| IV_VRSIOEX | Importing | TYPE /SAPAPO/VRSIOEX | Planning Version | |
| ET_MATERIAL_DESC_DATA | Exporting | TYPE /SCMB/T_MATVIEW_MAT_DESC_BO | Product Master Data Field Descriptions for BO |
Exceptions of Method GET_MATERIAL_DESC
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_MATVIEW_BO.
DATA: lv_ET_MATERIAL_DESC_DATA TYPE /SCMB/T_MATVIEW_MAT_DESC_BO,
lv_IS_MATERIAL_DATA TYPE /SCMB/S_MATVIEW_MAT_DATA_BO,
lv_IV_LOCNO TYPE /SAPAPO/LOCNO,
lv_IV_MATNR TYPE /SAPAPO/MATNR,
lv_IV_VRSIOEX TYPE /SAPAPO/VRSIOEX,
lv_other TYPE c.
CALL METHOD lo_class=>GET_MATERIAL_DESC(
EXPORTING
IS_MATERIAL_DATA = lv_IS_MATERIAL_DATA
IV_LOCNO = lv_IV_LOCNO
IV_MATNR = lv_IV_MATNR
IV_VRSIOEX = lv_IV_VRSIOEX
IMPORTING
ET_MATERIAL_DESC_DATA = lv_ET_MATERIAL_DESC_DATA ).
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