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

.

NameTypeData TypeDescriptionDefault Value
MATNRImportingTYPE
MARA-MATNR
Material Number
PRICING_MATNRImportingTYPE
MARA-MATNR
Pricing Reference Material
VKORGImportingTYPE
MVKE-VKORG
Sales Organization
VTWEGImportingTYPE
MVKE-VTWEG
Distribution Channel
IN_USEChangingTYPE
SY-BATCH
Return Flag If in Usage
MSG_IDChangingTYPE
SY-MSGID
Messages, Message Class
MSG_NOChangingTYPE
SY-MSGNO
Messages, Message Number
MSG_V1ChangingTYPE
SY-MSGV1
Messages, Message Variable
MSG_V2ChangingTYPE
SY-MSGV2
Messages, Message Variable
MSG_V3ChangingTYPE
SY-MSGV3
Messages, Message Variable
MSG_V4ChangingTYPE
SY-MSGV4
Messages, Message Variable



Exceptions of Method CHECK_CHANGE_PMATA

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!