SAP TRINT_MODIFY_COMM Function Module for
TRINT_MODIFY_COMM is a standard trint modify comm SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 trint modify comm FM, simply by entering the name TRINT_MODIFY_COMM into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRI
Program Name: SAPLSTRI
Main Program: SAPLSTRI
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TRINT_MODIFY_COMM 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 'TRINT_MODIFY_COMM'".
EXPORTING
* WI_CALLED_BY_EDITOR = ' ' "Editor validations required
* WI_SEL_E070C = ' ' "Flag, whether replace to be made on E070C_
* WI_NO_CLIENT_CHECK = ' ' "x - no client check
* IV_NO_NAME' '_CHECK = ' ' "
WI_E070 = "Input string for E070
* WI_E07T = "Input string for E07T
* WI_E070C = ' ' "Input string for E070C
* WI_LOCK_SORT_FLAG = ' ' "Deletion of blocked objects allowed
* WI_SAVE_USER = ' ' "Flag, whether user name is also saved
* WI_SEL_E071 = ' ' "Flag, whether replace to be made on E071
* WI_SEL_E071K = ' ' "Flag, whether replace to be made on E071K
* WI_SEL_E07T = ' ' "Flag, whether replace to be made on E07T
IMPORTING
WE_E070 = "Output string for E070
WE_E07T = "Output string for E07T
WE_E070C = "Output string for E070C
ES_E070M = "Output string for E070M
CHANGING
* WT_E071K_STR = "
TABLES
* WT_E071 = "Input/output table E071
* WT_E071K = "Input/output table E071K
EXCEPTIONS
CHOSEN_PROJECT_CLOSED = 1 E070C_INSERT_ERROR = 10 E070C_UPDATE_ERROR = 11 LOCKED_ENTRIES = 12 LOCKED_OBJECT_NOT_DELETED = 13 ORDERNAME_FORBIDDEN = 14 ORDER_CHANGE_BUT_LOCKED_OBJECT = 15 ORDER_RELEASED = 16 ORDER_USER_LOCKED = 17 TR_CHECK_KEYSYNTAX_ERROR = 18 NO_AUTHORIZATION = 19 E070_INSERT_ERROR = 2 WRONG_CLIENT = 20 UNALLOWED_SOURCE_CLIENT = 21 UNALLOWED_USER = 22 UNALLOWED_TRFUNCTION = 23 UNALLOWED_TRSTATUS = 24 NO_SYSTEMNAME = 25 NO_SYSTEMTYPE = 26 E070_UPDATE_ERROR = 3 E071K_INSERT_ERROR = 4 E071K_UPDATE_ERROR = 5 E071_INSERT_ERROR = 6 E071_UPDATE_ERROR = 7 E07T_INSERT_ERROR = 8 E07T_UPDATE_ERROR = 9
IMPORTING Parameters details for TRINT_MODIFY_COMM
WI_CALLED_BY_EDITOR - Editor validations required
Data type: TRPARI-W_EDT_CALLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SEL_E070C - Flag, whether replace to be made on E070C_
Data type: TRPARI-W_E070CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_NO_CLIENT_CHECK - x - no client check
Data type: TRPARI-S_CHECKEDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_NO_NAMESPACE_CHECK -
Data type: TRPARI-FLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_E070 - Input string for E070
Data type: E070Optional: No
Call by Reference: No ( called with pass by value option)
WI_E07T - Input string for E07T
Data type: E07TOptional: Yes
Call by Reference: No ( called with pass by value option)
WI_E070C - Input string for E070C
Data type: E070CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_LOCK_SORT_FLAG - Deletion of blocked objects allowed
Data type: TRPARI-S_LOCKFLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SAVE_USER - Flag, whether user name is also saved
Data type: TRPARI-W_SAVE_USRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SEL_E071 - Flag, whether replace to be made on E071
Data type: TRPARI-W_E071Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SEL_E071K - Flag, whether replace to be made on E071K
Data type: TRPARI-W_E071KDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SEL_E07T - Flag, whether replace to be made on E07T
Data type: TRPARI-W_E07TDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TRINT_MODIFY_COMM
WE_E070 - Output string for E070
Data type: E070Optional: No
Call by Reference: No ( called with pass by value option)
WE_E07T - Output string for E07T
Data type: E07TOptional: No
Call by Reference: No ( called with pass by value option)
WE_E070C - Output string for E070C
Data type: E070COptional: No
Call by Reference: No ( called with pass by value option)
ES_E070M - Output string for E070M
Data type: E070MOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for TRINT_MODIFY_COMM
WT_E071K_STR -
Data type: E071K_STRTYPOptional: Yes
Call by Reference: Yes
TABLES Parameters details for TRINT_MODIFY_COMM
WT_E071 - Input/output table E071
Data type: E071Optional: Yes
Call by Reference: No ( called with pass by value option)
WT_E071K - Input/output table E071K
Data type: E071KOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CHOSEN_PROJECT_CLOSED - Project order blocked, networking forbidden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E070C_INSERT_ERROR - Error inserting E070C
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E070C_UPDATE_ERROR - Error modifying E070C
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCKED_ENTRIES - Error changing E071, blocked entries
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCKED_OBJECT_NOT_DELETED - Error attempting to delete blocked objects
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDERNAME_FORBIDDEN - Request/task name in reserved name range
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_CHANGE_BUT_LOCKED_OBJECT - Request/task contains blocked entries
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_RELEASED - Request/task already released
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORDER_USER_LOCKED - Request/task exclusively blocked for other users
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_CHECK_KEYSYNTAX_ERROR - Syntax error in E071K entry (->Message)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORIZATION - No authorization to carry out this function
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E070_INSERT_ERROR - Error inserting into E070
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CLIENT - Editing in invalid client
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNALLOWED_SOURCE_CLIENT - Source client can only be modified in logon client_
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNALLOWED_USER - Request/task creation for SAP* not allowed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNALLOWED_TRFUNCTION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNALLOWED_TRSTATUS - Invalid status
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SYSTEMNAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SYSTEMTYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E070_UPDATE_ERROR - Error changing E070
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E071K_INSERT_ERROR - Error inserting into E071K
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E071K_UPDATE_ERROR - Error changing E071K
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E071_INSERT_ERROR - Error inserting into E071
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E071_UPDATE_ERROR - Error changing E071
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E07T_INSERT_ERROR - Error inserting into E07T
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E07T_UPDATE_ERROR - Error changing E07T
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TRINT_MODIFY_COMM 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_we_e070 | TYPE E070, " | |||
| lt_wt_e071 | TYPE STANDARD TABLE OF E071, " | |||
| lv_wt_e071k_str | TYPE E071K_STRTYP, " | |||
| lv_wi_called_by_editor | TYPE TRPARI-W_EDT_CALL, " SPACE | |||
| lv_chosen_project_closed | TYPE TRPARI, " | |||
| lv_wi_sel_e070c | TYPE TRPARI-W_E070C, " SPACE | |||
| lv_e070c_insert_error | TYPE TRPARI, " | |||
| lv_e070c_update_error | TYPE TRPARI, " | |||
| lv_wi_no_client_check | TYPE TRPARI-S_CHECKED, " SPACE | |||
| lv_locked_entries | TYPE TRPARI, " | |||
| lv_iv_no_namespace_check | TYPE TRPARI-FLAG, " ' ' | |||
| lv_locked_object_not_deleted | TYPE TRPARI, " | |||
| lv_ordername_forbidden | TYPE TRPARI, " | |||
| lv_order_change_but_locked_object | TYPE TRPARI, " | |||
| lv_order_released | TYPE TRPARI, " | |||
| lv_order_user_locked | TYPE TRPARI, " | |||
| lv_tr_check_keysyntax_error | TYPE TRPARI, " | |||
| lv_no_authorization | TYPE TRPARI, " | |||
| lv_we_e07t | TYPE E07T, " | |||
| lv_wi_e070 | TYPE E070, " | |||
| lt_wt_e071k | TYPE STANDARD TABLE OF E071K, " | |||
| lv_e070_insert_error | TYPE E071K, " | |||
| lv_wrong_client | TYPE E071K, " | |||
| lv_unallowed_source_client | TYPE E071K, " | |||
| lv_unallowed_user | TYPE E071K, " | |||
| lv_unallowed_trfunction | TYPE E071K, " | |||
| lv_unallowed_trstatus | TYPE E071K, " | |||
| lv_no_systemname | TYPE E071K, " | |||
| lv_no_systemtype | TYPE E071K, " | |||
| lv_wi_e07t | TYPE E07T, " | |||
| lv_we_e070c | TYPE E070C, " | |||
| lv_e070_update_error | TYPE E070C, " | |||
| lv_es_e070m | TYPE E070M, " | |||
| lv_wi_e070c | TYPE E070C, " SPACE | |||
| lv_e071k_insert_error | TYPE E070C, " | |||
| lv_wi_lock_sort_flag | TYPE TRPARI-S_LOCKFLAG, " SPACE | |||
| lv_e071k_update_error | TYPE TRPARI, " | |||
| lv_wi_save_user | TYPE TRPARI-W_SAVE_USR, " SPACE | |||
| lv_e071_insert_error | TYPE TRPARI, " | |||
| lv_wi_sel_e071 | TYPE TRPARI-W_E071, " SPACE | |||
| lv_e071_update_error | TYPE TRPARI, " | |||
| lv_wi_sel_e071k | TYPE TRPARI-W_E071K, " SPACE | |||
| lv_e07t_insert_error | TYPE TRPARI, " | |||
| lv_wi_sel_e07t | TYPE TRPARI-W_E07T, " SPACE | |||
| lv_e07t_update_error | TYPE TRPARI. " |
|   CALL FUNCTION 'TRINT_MODIFY_COMM' " |
| EXPORTING | ||
| WI_CALLED_BY_EDITOR | = lv_wi_called_by_editor | |
| WI_SEL_E070C | = lv_wi_sel_e070c | |
| WI_NO_CLIENT_CHECK | = lv_wi_no_client_check | |
| IV_NO_NAMESPACE_CHECK | = lv_iv_no_namespace_check | |
| WI_E070 | = lv_wi_e070 | |
| WI_E07T | = lv_wi_e07t | |
| WI_E070C | = lv_wi_e070c | |
| WI_LOCK_SORT_FLAG | = lv_wi_lock_sort_flag | |
| WI_SAVE_USER | = lv_wi_save_user | |
| WI_SEL_E071 | = lv_wi_sel_e071 | |
| WI_SEL_E071K | = lv_wi_sel_e071k | |
| WI_SEL_E07T | = lv_wi_sel_e07t | |
| IMPORTING | ||
| WE_E070 | = lv_we_e070 | |
| WE_E07T | = lv_we_e07t | |
| WE_E070C | = lv_we_e070c | |
| ES_E070M | = lv_es_e070m | |
| CHANGING | ||
| WT_E071K_STR | = lv_wt_e071k_str | |
| TABLES | ||
| WT_E071 | = lt_wt_e071 | |
| WT_E071K | = lt_wt_e071k | |
| EXCEPTIONS | ||
| CHOSEN_PROJECT_CLOSED = 1 | ||
| E070C_INSERT_ERROR = 10 | ||
| E070C_UPDATE_ERROR = 11 | ||
| LOCKED_ENTRIES = 12 | ||
| LOCKED_OBJECT_NOT_DELETED = 13 | ||
| ORDERNAME_FORBIDDEN = 14 | ||
| ORDER_CHANGE_BUT_LOCKED_OBJECT = 15 | ||
| ORDER_RELEASED = 16 | ||
| ORDER_USER_LOCKED = 17 | ||
| TR_CHECK_KEYSYNTAX_ERROR = 18 | ||
| NO_AUTHORIZATION = 19 | ||
| E070_INSERT_ERROR = 2 | ||
| WRONG_CLIENT = 20 | ||
| UNALLOWED_SOURCE_CLIENT = 21 | ||
| UNALLOWED_USER = 22 | ||
| UNALLOWED_TRFUNCTION = 23 | ||
| UNALLOWED_TRSTATUS = 24 | ||
| NO_SYSTEMNAME = 25 | ||
| NO_SYSTEMTYPE = 26 | ||
| E070_UPDATE_ERROR = 3 | ||
| E071K_INSERT_ERROR = 4 | ||
| E071K_UPDATE_ERROR = 5 | ||
| E071_INSERT_ERROR = 6 | ||
| E071_UPDATE_ERROR = 7 | ||
| E07T_INSERT_ERROR = 8 | ||
| E07T_UPDATE_ERROR = 9 | ||
| . " TRINT_MODIFY_COMM | ||
ABAP code using 7.40 inline data declarations to call FM TRINT_MODIFY_COMM
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.| "SELECT single W_EDT_CALL FROM TRPARI INTO @DATA(ld_wi_called_by_editor). | ||||
| DATA(ld_wi_called_by_editor) | = ' '. | |||
| "SELECT single W_E070C FROM TRPARI INTO @DATA(ld_wi_sel_e070c). | ||||
| DATA(ld_wi_sel_e070c) | = ' '. | |||
| "SELECT single S_CHECKED FROM TRPARI INTO @DATA(ld_wi_no_client_check). | ||||
| DATA(ld_wi_no_client_check) | = ' '. | |||
| "SELECT single FLAG FROM TRPARI INTO @DATA(ld_iv_no_namespace_check). | ||||
| DATA(ld_iv_no_namespace_check) | = ' '. | |||
| DATA(ld_wi_e070c) | = ' '. | |||
| "SELECT single S_LOCKFLAG FROM TRPARI INTO @DATA(ld_wi_lock_sort_flag). | ||||
| DATA(ld_wi_lock_sort_flag) | = ' '. | |||
| "SELECT single W_SAVE_USR FROM TRPARI INTO @DATA(ld_wi_save_user). | ||||
| DATA(ld_wi_save_user) | = ' '. | |||
| "SELECT single W_E071 FROM TRPARI INTO @DATA(ld_wi_sel_e071). | ||||
| DATA(ld_wi_sel_e071) | = ' '. | |||
| "SELECT single W_E071K FROM TRPARI INTO @DATA(ld_wi_sel_e071k). | ||||
| DATA(ld_wi_sel_e071k) | = ' '. | |||
| "SELECT single W_E07T FROM TRPARI INTO @DATA(ld_wi_sel_e07t). | ||||
| DATA(ld_wi_sel_e07t) | = ' '. | |||
Search for further information about these or an SAP related objects