SET_FIELD_TEXT_EXT_KEY SAP Method Set Field Text by external key
Below is documentation, parameters and attributes of ABAP Method SET_FIELD_TEXT_EXT_KEY 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 SET_FIELD_TEXT_EXT_KEY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_FIELD_TEXT_EXT_KEY
.| Name | Type | Data Type | Description | Default Value |
| IS_MATERIAL_DATA | Importing | TYPE /SCMB/S_MATVIEW_MAT_DATA_BO | Product Master Data Values | |
| IV_FIELDNAME | Importing | TYPE FIELDNAME | Field Name | |
| IV_LOCNO | Importing | TYPE /SAPAPO/LOCNO | Location | |
| IV_MATNR | Importing | TYPE /SAPAPO/MATNR | Product Number | |
| IV_VRSIOEX | Importing | TYPE /SAPAPO/VRSIOEX | Planning Version | |
| RV_DESCRIPTION | Returning | TYPE /SCMB/MAT_FC_FIELD_TEXT | Product Master Data Field Catalog - Field Text |
Exceptions of Method SET_FIELD_TEXT_EXT_KEY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_MATVIEW_BO.
DATA: lv_IS_MATERIAL_DATA TYPE /SCMB/S_MATVIEW_MAT_DATA_BO,
lv_IV_FIELDNAME TYPE FIELDNAME,
lv_IV_LOCNO TYPE /SAPAPO/LOCNO,
lv_IV_MATNR TYPE /SAPAPO/MATNR,
lv_IV_VRSIOEX TYPE /SAPAPO/VRSIOEX,
lv_RV_DESCRIPTION TYPE /SCMB/MAT_FC_FIELD_TEXT,
lv_other TYPE c.
CALL METHOD lo_class=>SET_FIELD_TEXT_EXT_KEY(
EXPORTING
IS_MATERIAL_DATA = lv_IS_MATERIAL_DATA
IV_FIELDNAME = lv_IV_FIELDNAME
IV_LOCNO = lv_IV_LOCNO
IV_MATNR = lv_IV_MATNR
IV_VRSIOEX = lv_IV_VRSIOEX
RECEIVING
RV_DESCRIPTION = lv_RV_DESCRIPTION )
"Alternate coding for Method Call with returning parameter
lv_RV_DESCRIPTION = lo_class=>SET_FIELD_TEXT_EXT_KEY(
EXPORTING
IS_MATERIAL_DATA = lv_IS_MATERIAL_DATA
IV_FIELDNAME = lv_IV_FIELDNAME
IV_LOCNO = lv_IV_LOCNO
IV_MATNR = lv_IV_MATNR
IV_VRSIOEX = lv_IV_VRSIOEX ).
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