CHANGE_MM_DATA SAP Method Modify goods movement posting.









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

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


Parameters of Method CHANGE_MM_DATA

.

NameTypeData TypeDescriptionDefault Value
PX_IMKPFChangingTYPE
IMKPF
MMIM: Input Structure for General FM to Post Goods Movement
PX_IMSEG_TABChangingTYPE
TY_T_IMSEG
MMIM: Input Structure for General FM to Post Goods Movement
PX_MSEGO1_TABChangingTYPE
OIB_T_MSEGO1
Quantity Conversion Parameters for Material Documents
PX_MSEGO2_TABChangingTYPE
OIB_T_MSEGO2
Material Document Quantities in Additional Units of Measure
PX_OIGSChangingTYPE
ROIGS
Internal Table for Shipment
PX_ROIGSHChangingTYPE
ROIGSH
Internal Table - Shipment Item
PX_T180ChangingTYPE
T180
Screen Sequence Control: Transaction Default Values



Exceptions of Method CHANGE_MM_DATA

SET_ERROR - Error while changing the goods postings values.

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_OIG_MAT_DOC_CHANGE.
DATA: lv_PX_IMKPF TYPE IMKPF,
lv_PX_IMSEG_TAB TYPE TY_T_IMSEG,
lv_PX_MSEGO1_TAB TYPE OIB_T_MSEGO1,
lv_PX_MSEGO2_TAB TYPE OIB_T_MSEGO2,
lv_PX_OIGS TYPE ROIGS,
lv_PX_ROIGSH TYPE ROIGSH,
lv_PX_T180 TYPE T180,
lv_other TYPE c.

CALL METHOD lo_class=>CHANGE_MM_DATA(
CHANGING
PX_IMKPF = lv_PX_IMKPF
PX_IMSEG_TAB = lv_PX_IMSEG_TAB
PX_MSEGO1_TAB = lv_PX_MSEGO1_TAB
PX_MSEGO2_TAB = lv_PX_MSEGO2_TAB
PX_OIGS = lv_PX_OIGS
PX_ROIGSH = lv_PX_ROIGSH
PX_T180 = lv_PX_T180 ).

Links to Related Class(s)

IF_EX_OI...
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!