READ_OTHER_MATERIAL_DATA SAP Method Read Data of Integrated Objects in Material Master
Below is documentation, parameters and attributes of ABAP Method READ_OTHER_MATERIAL_DATA 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 READ_OTHER_MATERIAL_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_OTHER_MATERIAL_DATA
.| Name | Type | Data Type | Description | Default Value |
| P_AKTVSTATUS | Importing | TYPE MARA-PSTAT | Maintenance Status | |
| P_AKTVSTATUS_RT | Importing | TYPE MAW1-WPSTA | Retail maintenance status | |
| P_AKTYP | Importing | TYPE T130M-AKTYP | Activity category in SAP transaction | |
| P_DIREKT | Importing | TYPE T130F-KZREF | Propose Field Content from the Reference | |
| P_KZRFB | Importing | TYPE MTCOM-KZRFB | Indicator: reset buffer for Material_Pre_Fetch | |
| P_MAXTZ | Importing | TYPE MTCOM-MAXTZ | Maximum number of table lines | |
| P_NEUFLAG | Importing | TYPE T130F-KZREF | Propose Field Content from the Reference | |
| P_RMMG1 | Importing | TYPE RMMG1 | Mat. Master Maintenance: Initial Parameters - Orig. Material | |
| P_RMMG1_REF | Importing | TYPE RMMG1_REF | Material Master Maintenance: Initial Param. - Ref. Material | |
| P_RMMW2 | Importing | TYPE RMMW2 | Material Master Maintenance: Retail Addition RMMG1 for DC | |
| P_SPERRMODUS | Importing | TYPE TVGVI-SPERA | Type of block (shared, exclusive) | |
| TI_MABW_MAT | Importing | TYPE MGINT_PRE03 | Table: Material Preliminary Step | |
| TI_PTAB | Importing | TYPE MGINT_SPTAP | Table PTAB (Created for Update) | |
| TI_PTAB_RT | Importing | TYPE MGINT_SPTAP | Table PTAB (Created for Update) | |
| TI_WERKS | Importing | TYPE MGINT_PRE01 | Help Table for Mass Access to Material |
Exceptions of Method READ_OTHER_MATERIAL_DATA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_MATERIAL_OD.
DATA: lv_P_AKTVSTATUS TYPE MARA-PSTAT,
lv_P_AKTVSTATUS_RT TYPE MAW1-WPSTA,
lv_P_AKTYP TYPE T130M-AKTYP,
lv_P_DIREKT TYPE T130F-KZREF,
lv_P_KZRFB TYPE MTCOM-KZRFB,
lv_P_MAXTZ TYPE MTCOM-MAXTZ,
lv_P_NEUFLAG TYPE T130F-KZREF,
lv_P_RMMG1 TYPE RMMG1,
lv_P_RMMG1_REF TYPE RMMG1_REF,
lv_P_RMMW2 TYPE RMMW2,
lv_P_SPERRMODUS TYPE TVGVI-SPERA,
lv_TI_MABW_MAT TYPE MGINT_PRE03,
lv_TI_PTAB TYPE MGINT_SPTAP,
lv_TI_PTAB_RT TYPE MGINT_SPTAP,
lv_TI_WERKS TYPE MGINT_PRE01,
lv_other TYPE c.
CALL METHOD lo_class=>READ_OTHER_MATERIAL_DATA(
EXPORTING
P_AKTVSTATUS = lv_P_AKTVSTATUS
P_AKTVSTATUS_RT = lv_P_AKTVSTATUS_RT
P_AKTYP = lv_P_AKTYP
P_DIREKT = lv_P_DIREKT
P_KZRFB = lv_P_KZRFB
P_MAXTZ = lv_P_MAXTZ
P_NEUFLAG = lv_P_NEUFLAG
P_RMMG1 = lv_P_RMMG1
P_RMMG1_REF = lv_P_RMMG1_REF
P_RMMW2 = lv_P_RMMW2
P_SPERRMODUS = lv_P_SPERRMODUS
TI_MABW_MAT = lv_TI_MABW_MAT
TI_PTAB = lv_TI_PTAB
TI_PTAB_RT = lv_TI_PTAB_RT
TI_WERKS = lv_TI_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