CHANGE_BEFORE_UPDATE SAP Method Invoice Document Before Update
Below is documentation, parameters and attributes of ABAP Method CHANGE_BEFORE_UPDATE within SAP class IF_EX_INVOICE_UPDATE. 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_INVOICE_UPDATE 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_BEFORE_UPDATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHANGE_BEFORE_UPDATE
.| Name | Type | Data Type | Description | Default Value |
| S_RBKP_NEW | Importing | TYPE RBKP | Invoice Document Header: New | |
| S_RBKP_OLD | Importing | TYPE RBKP | Invoice Document Header: Old | |
| TI_KONV | Importing | TYPE MRM_TAB_KONV | ||
| TI_MRMRBCO | Importing | TYPE MRM_TAB_MRMRBCO | G/L Account Postings | |
| TI_MRMRBMA | Importing | TYPE MRM_TAB_MRMRBMA | Material Document Lines | |
| TI_MRMRBTX | Importing | TYPE MRM_TAB_MRMRBTX | Invoice Tax Data | |
| TI_MRMRBVS | Importing | TYPE MRM_TAB_MRMRBVS | Invoice Amount Split | |
| TI_MRMRBWS | Importing | TYPE MRM_TAB_MRMRBWS | Withholding Tax Data for Invoice | |
| TI_MRMRSEG | Importing | TYPE MRM_TAB_MRMRSEG | Invoice Document Item | |
| IV_DRAFT_ID | Importing | TYPE MRM_SI_GUID | GUID: MM Supplier Invoice in S-Innovations | |
| TI_KONV | Importing | TYPE MRM_TAB_KONV | ||
| TI_RECON | Importing | TYPE MRM_TAB_RECON | Consignment Document Item |
Exceptions of Method CHANGE_BEFORE_UPDATE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_INVOICE_UPDATE.
DATA: lv_S_RBKP_NEW TYPE RBKP,
lv_S_RBKP_OLD TYPE RBKP,
lv_TI_KONV TYPE MRM_TAB_KONV,
lv_TI_MRMRBCO TYPE MRM_TAB_MRMRBCO,
lv_TI_MRMRBMA TYPE MRM_TAB_MRMRBMA,
lv_TI_MRMRBTX TYPE MRM_TAB_MRMRBTX,
lv_TI_MRMRBVS TYPE MRM_TAB_MRMRBVS,
lv_TI_MRMRBWS TYPE MRM_TAB_MRMRBWS,
lv_TI_MRMRSEG TYPE MRM_TAB_MRMRSEG,
lv_IV_DRAFT_ID TYPE MRM_SI_GUID,
lv_TI_KONV TYPE MRM_TAB_KONV,
lv_TI_RECON TYPE MRM_TAB_RECON,
lv_other TYPE c.
CALL METHOD lo_class=>CHANGE_BEFORE_UPDATE(
EXPORTING
S_RBKP_NEW = lv_S_RBKP_NEW
S_RBKP_OLD = lv_S_RBKP_OLD
TI_KONV = lv_TI_KONV
TI_MRMRBCO = lv_TI_MRMRBCO
TI_MRMRBMA = lv_TI_MRMRBMA
TI_MRMRBTX = lv_TI_MRMRBTX
TI_MRMRBVS = lv_TI_MRMRBVS
TI_MRMRBWS = lv_TI_MRMRBWS
TI_MRMRSEG = lv_TI_MRMRSEG
IV_DRAFT_ID = lv_IV_DRAFT_ID
TI_KONV = lv_TI_KONV
TI_RECON = lv_TI_RECON ).
Links to Related Class(s)
IF_EX_IN...Full list of available SAP object classes
Search for further information about these or an SAP related objects