MATERIAL_GET_DIFFERENCES_OD_RT SAP Method Determine Deviations for Integrated Data









Below is documentation, parameters and attributes of ABAP Method MATERIAL_GET_DIFFERENCES_OD_RT within SAP class IF_EX_BADI_MATERIAL_OD. 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_OD 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 MATERIAL_GET_DIFFERENCES_OD_RT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method MATERIAL_GET_DIFFERENCES_OD_RT

.

NameTypeData TypeDescriptionDefault Value
P_ISREFPLANTImportingTYPE
T130F-KZREF
Propose Field Content from the Reference
P_RMMG1ImportingTYPE
RMMG1
Mat. Master Maintenance: Initial Parameters - Orig. Material
P_RMMW2ImportingTYPE
RMMW2
Material Master Maintenance: Retail Addition RMMG1 for DC
P_T001WImportingTYPE
T001W
Plants/branches
P_T001W_REFP1ImportingTYPE
T001W
Plants/branches
P_T001W_REFP2ImportingTYPE
T001W
Plants/branches
TI_PTABImportingTYPE
MGINT_SPTAP
Table PTAB (Created for Update)
TI_PTAB_RTImportingTYPE
MGINT_SPTAP
Table PTAB (Created for Update)
P_MABW_BWKEYChangingTYPE
T130F-KZREF
Flag for Deviation at Valuation Area Level
P_MABW_LGNUMChangingTYPE
T130F-KZREF
Flag for Deviation at Warehouse Number Level
P_MABW_LGORTChangingTYPE
T130F-KZREF
Flag for Deviation at Storage Location Level
P_MABW_LGTYPChangingTYPE
T130F-KZREF
Flag for Deviation at Storage Type Level
P_MABW_MATChangingTYPE
T130F-KZREF
Flag for Deviation at Material Level
P_MABW_VTLChangingTYPE
T130F-KZREF
Flag for Deviation at Distribution Chain Level
P_MABW_WERKSChangingTYPE
T130F-KZREF
Flag for Deviation at Plant Level



Exceptions of Method MATERIAL_GET_DIFFERENCES_OD_RT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_MATERIAL_OD.
DATA: lv_P_ISREFPLANT TYPE T130F-KZREF,
lv_P_MABW_BWKEY TYPE T130F-KZREF,
lv_P_MABW_LGNUM TYPE T130F-KZREF,
lv_P_MABW_LGORT TYPE T130F-KZREF,
lv_P_MABW_LGTYP TYPE T130F-KZREF,
lv_P_MABW_MAT TYPE T130F-KZREF,
lv_P_MABW_VTL TYPE T130F-KZREF,
lv_P_MABW_WERKS TYPE T130F-KZREF,
lv_P_RMMG1 TYPE RMMG1,
lv_P_RMMW2 TYPE RMMW2,
lv_P_T001W TYPE T001W,
lv_P_T001W_REFP1 TYPE T001W,
lv_P_T001W_REFP2 TYPE T001W,
lv_TI_PTAB TYPE MGINT_SPTAP,
lv_TI_PTAB_RT TYPE MGINT_SPTAP,
lv_other TYPE c.

CALL METHOD lo_class=>MATERIAL_GET_DIFFERENCES_OD_RT(
EXPORTING
P_ISREFPLANT = lv_P_ISREFPLANT
P_RMMG1 = lv_P_RMMG1
P_RMMW2 = lv_P_RMMW2
P_T001W = lv_P_T001W
P_T001W_REFP1 = lv_P_T001W_REFP1
P_T001W_REFP2 = lv_P_T001W_REFP2
TI_PTAB = lv_TI_PTAB
TI_PTAB_RT = lv_TI_PTAB_RT
CHANGING
P_MABW_BWKEY = lv_P_MABW_BWKEY
P_MABW_LGNUM = lv_P_MABW_LGNUM
P_MABW_LGORT = lv_P_MABW_LGORT
P_MABW_LGTYP = lv_P_MABW_LGTYP
P_MABW_MAT = lv_P_MABW_MAT
P_MABW_VTL = lv_P_MABW_VTL
P_MABW_WERKS = lv_P_MABW_WERKS ).

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!