SAP TRUT_MOVE_CORRESPONDING Function Module for NOTRANSL: TR-UT: MOVE CORRESPONDING wenn Zielfeld INITIAL
TRUT_MOVE_CORRESPONDING is a standard trut move corresponding SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: TR-UT: MOVE CORRESPONDING wenn Zielfeld INITIAL processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for trut move corresponding FM, simply by entering the name TRUT_MOVE_CORRESPONDING into the relevant SAP transaction such as SE37 or SE38.
Function Group: TRUX
Program Name: SAPLTRUX
Main Program: SAPLTRUX
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TRUT_MOVE_CORRESPONDING pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TRUT_MOVE_CORRESPONDING'"NOTRANSL: TR-UT: MOVE CORRESPONDING wenn Zielfeld INITIAL.
EXPORTING
PI_SOURCE_STRUCTURE_1 = "
* PI_SOURCE_STRUCTURE_2 = "
* PI_SOURCE_STRUCTURE_3 = "
* PI_INTELLY_COPY = 'X' "
CHANGING
PC_TARGET_STRUCTURE = "Target Structure
EXCEPTIONS
ERROR_FOUND = 1 INVALID_TYPE = 2
IMPORTING Parameters details for TRUT_MOVE_CORRESPONDING
PI_SOURCE_STRUCTURE_1 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PI_SOURCE_STRUCTURE_2 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_SOURCE_STRUCTURE_3 -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_INTELLY_COPY -
Data type: BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for TRUT_MOVE_CORRESPONDING
PC_TARGET_STRUCTURE - Target Structure
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_FOUND - An error has occurred
Data type:Optional: No
Call by Reference: Yes
INVALID_TYPE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for TRUT_MOVE_CORRESPONDING Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_error_found | TYPE STRING, " | |||
| lv_pc_target_structure | TYPE STRING, " | |||
| lv_pi_source_structure_1 | TYPE STRING, " | |||
| lv_invalid_type | TYPE STRING, " | |||
| lv_pi_source_structure_2 | TYPE STRING, " | |||
| lv_pi_source_structure_3 | TYPE STRING, " | |||
| lv_pi_intelly_copy | TYPE BOOLEAN. " 'X' |
|   CALL FUNCTION 'TRUT_MOVE_CORRESPONDING' "NOTRANSL: TR-UT: MOVE CORRESPONDING wenn Zielfeld INITIAL |
| EXPORTING | ||
| PI_SOURCE_STRUCTURE_1 | = lv_pi_source_structure_1 | |
| PI_SOURCE_STRUCTURE_2 | = lv_pi_source_structure_2 | |
| PI_SOURCE_STRUCTURE_3 | = lv_pi_source_structure_3 | |
| PI_INTELLY_COPY | = lv_pi_intelly_copy | |
| CHANGING | ||
| PC_TARGET_STRUCTURE | = lv_pc_target_structure | |
| EXCEPTIONS | ||
| ERROR_FOUND = 1 | ||
| INVALID_TYPE = 2 | ||
| . " TRUT_MOVE_CORRESPONDING | ||
ABAP code using 7.40 inline data declarations to call FM TRUT_MOVE_CORRESPONDING
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_pi_intelly_copy) | = 'X'. | |||
Search for further information about these or an SAP related objects