MOVE_CORRESPONDING SAP Method Move components from table Source to table Destination
Below is documentation, parameters and attributes of ABAP Method MOVE_CORRESPONDING within SAP class /SCMTMS/CL_Q_SUPERCLASS. 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 /SCMTMS/CL_Q_SUPERCLASS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method MOVE_CORRESPONDING can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MOVE_CORRESPONDING
.| Name | Type | Data Type | Description | Default Value |
| IT_SOURCE | Importing | TYPE DATA | Source data table | |
| IV_DESTINATION_ATTR | Importing | TYPE FIELDNAME | Destination table field name | |
| IV_SOURCE_ATTR | Importing | TYPE FIELDNAME | Source table field name | |
| ET_DESTINATION | Exporting | TYPE DATA | Destination data table |
Exceptions of Method MOVE_CORRESPONDING
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_DESTINATION TYPE DATA,
lv_IT_SOURCE TYPE DATA,
lv_IV_DESTINATION_ATTR TYPE FIELDNAME,
lv_IV_SOURCE_ATTR TYPE FIELDNAME,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_Q_SUPERCLASS=>MOVE_CORRESPONDING(
EXPORTING
IT_SOURCE = lv_IT_SOURCE
IV_DESTINATION_ATTR = lv_IV_DESTINATION_ATTR
IV_SOURCE_ATTR = lv_IV_SOURCE_ATTR
IMPORTING
ET_DESTINATION = lv_ET_DESTINATION ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects