MATERIAL_PREPARE_POSTING_OD SAP Method Prepare Integrated Material Data for Posting









Below is documentation, parameters and attributes of ABAP Method MATERIAL_PREPARE_POSTING_OD 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_PREPARE_POSTING_OD can also be found below:

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


Parameters of Method MATERIAL_PREPARE_POSTING_OD

.

NameTypeData TypeDescriptionDefault Value
P_AKTVSTATUSImportingTYPE
MARA-PSTAT
Maintenance Status
P_AKTVSTATUS_RTImportingTYPE
MAW1-WPSTA
Retail maintenance status
P_KZRFBImportingTYPE
MTCOM-KZRFB
Indicator: reset buffer for Material_Pre_Fetch
P_NEUFLAGImportingTYPE
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
TI_MATERIALSImportingTYPE
MGINT_MATERIALS
TI_PTABImportingTYPE
MGINT_SPTAP
Table PTAB (Created for Update)
TI_PTAB_RTImportingTYPE
MGINT_SPTAP
Table PTAB (Created for Update)
TI_REFPLANTSImportingTYPE
MGINT_REFPLANTS



Exceptions of Method MATERIAL_PREPARE_POSTING_OD

This method does not have any exceptions

Example 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_KZRFB TYPE MTCOM-KZRFB,
lv_P_NEUFLAG TYPE T130F-KZREF,
lv_P_RMMG1 TYPE RMMG1,
lv_P_RMMW2 TYPE RMMW2,
lv_TI_MATERIALS TYPE MGINT_MATERIALS,
lv_TI_PTAB TYPE MGINT_SPTAP,
lv_TI_PTAB_RT TYPE MGINT_SPTAP,
lv_TI_REFPLANTS TYPE MGINT_REFPLANTS,
lv_other TYPE c.

CALL METHOD lo_class=>MATERIAL_PREPARE_POSTING_OD(
EXPORTING
P_AKTVSTATUS = lv_P_AKTVSTATUS
P_AKTVSTATUS_RT = lv_P_AKTVSTATUS_RT
P_KZRFB = lv_P_KZRFB
P_NEUFLAG = lv_P_NEUFLAG
P_RMMG1 = lv_P_RMMG1
P_RMMW2 = lv_P_RMMW2
TI_MATERIALS = lv_TI_MATERIALS
TI_PTAB = lv_TI_PTAB
TI_PTAB_RT = lv_TI_PTAB_RT
TI_REFPLANTS = lv_TI_REFPLANTS ).

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!