CHECK_CHANGE_PMATA SAP Method Check Change of Pricing Material MARA + MVKE
Below is documentation, parameters and attributes of ABAP Method CHECK_CHANGE_PMATA within SAP class IF_EX_BADI_MATERIAL_CHECK. 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_EX_BADI_MATERIAL_CHECK 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_CHANGE_PMATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_CHANGE_PMATA
.| Name | Type | Data Type | Description | Default Value |
| MATNR | Importing | TYPE MARA-MATNR | Material Number | |
| PRICING_MATNR | Importing | TYPE MARA-MATNR | Pricing Reference Material | |
| VKORG | Importing | TYPE MVKE-VKORG | Sales Organization | |
| VTWEG | Importing | TYPE MVKE-VTWEG | Distribution Channel | |
| IN_USE | Changing | TYPE SY-BATCH | Return Flag If in Usage | |
| MSG_ID | Changing | TYPE SY-MSGID | Messages, Message Class | |
| MSG_NO | Changing | TYPE SY-MSGNO | Messages, Message Number | |
| MSG_V1 | Changing | TYPE SY-MSGV1 | Messages, Message Variable | |
| MSG_V2 | Changing | TYPE SY-MSGV2 | Messages, Message Variable | |
| MSG_V3 | Changing | TYPE SY-MSGV3 | Messages, Message Variable | |
| MSG_V4 | Changing | TYPE SY-MSGV4 | Messages, Message Variable |
Exceptions of Method CHECK_CHANGE_PMATA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_MATERIAL_CHECK.
DATA: lv_IN_USE TYPE SY-BATCH,
lv_MATNR TYPE MARA-MATNR,
lv_MSG_ID TYPE SY-MSGID,
lv_MSG_NO TYPE SY-MSGNO,
lv_MSG_V1 TYPE SY-MSGV1,
lv_MSG_V2 TYPE SY-MSGV2,
lv_MSG_V3 TYPE SY-MSGV3,
lv_MSG_V4 TYPE SY-MSGV4,
lv_PRICING_MATNR TYPE MARA-MATNR,
lv_VKORG TYPE MVKE-VKORG,
lv_VTWEG TYPE MVKE-VTWEG,
lv_other TYPE c.
CALL METHOD lo_class=>CHECK_CHANGE_PMATA(
EXPORTING
MATNR = lv_MATNR
PRICING_MATNR = lv_PRICING_MATNR
VKORG = lv_VKORG
VTWEG = lv_VTWEG
CHANGING
IN_USE = lv_IN_USE
MSG_ID = lv_MSG_ID
MSG_NO = lv_MSG_NO
MSG_V1 = lv_MSG_V1
MSG_V2 = lv_MSG_V2
MSG_V3 = lv_MSG_V3
MSG_V4 = lv_MSG_V4 ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects