TR_MODIFY_COMM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name TR_MODIFY_COMM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
STRI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TR_MODIFY_COMM' "
EXPORTING
wi_e070 = " e070 Input string for E070
wi_e07t = " e07t Input string for E07T
* wi_sel_e071 = ' ' " trpari-w_e071 Flag, whether replace to be made on E071
* wi_sel_e071k = ' ' " trpari-w_e071k Flag, whether replace to be made on E071K
* wi_sel_e07t = ' ' " trpari-w_e07t Flag, whether replace to be made on E07T
* wi_sel_e070c = ' ' " trpari-w_e070c Flag, whether replace to be made on E070C_
* wi_e070c = ' ' " e070c Input string for E070C
IMPORTING
we_e070 = " e070 Output string for E070
we_e07t = " e07t Output string for E07T
we_e070c = " e070c Output string for E070C
* TABLES
* wt_e071 = " e071 Input/output table E071
* wt_e071k = " e071k Input/output table E071K
EXCEPTIONS
DB_ACCESS_ERROR = 1 " Database access error
CHOSEN_PROJECT_CLOSED = 2 " Project request locked, networking forbidden
LOCKED_ENTRIES = 3 " Error changing E071, locked entries
LOCKED_OBJECT_NOT_DELETED = 4 " Error attempting to delete locked objects
ORDERNAME_FORBIDDEN = 5 " Request/task name in reserved name range
ORDERNUMBER_EMPTY = 6 " Request/task number is empty (space)
ORDER_CHANGE_BUT_LOCKED_OBJECT = 7 " Request/task contains locked entries
ORDER_RELEASED = 8 " Request/task already released
ORDER_USER_LOCKED = 9 " Request/task exclusively locked for other users
TR_CHECK_KEYSYNTAX_ERROR = 10 " Syntax error in E071K entry (->Message)
TR_ENQUEUE_FAILED = 11 " SM12 lock indicator rejected (see SM12)
NO_AUTHORIZATION = 12 " No authorization to carry out this function
WRONG_CLIENT = 13 " Editing in invalid client
UNALLOWED_SOURCE_CLIENT = 14 " Source client can only be modified in logon client_
UNALLOWED_USER = 15 " Request/task creation for SAP* not allowed
UNALLOWED_TRFUNCTION = 16 "
UNALLOWED_TRSTATUS = 17 " Invalid status
NO_SYSTEMNAME = 18 "
NO_SYSTEMTYPE = 19 "
. " TR_MODIFY_COMM
The ABAP code below is a full code listing to execute function module TR_MODIFY_COMM including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_we_e070 | TYPE E070 , |
| ld_we_e07t | TYPE E07T , |
| ld_we_e070c | TYPE E070C , |
| it_wt_e071 | TYPE STANDARD TABLE OF E071,"TABLES PARAM |
| wa_wt_e071 | LIKE LINE OF it_wt_e071 , |
| it_wt_e071k | TYPE STANDARD TABLE OF E071K,"TABLES PARAM |
| wa_wt_e071k | LIKE LINE OF it_wt_e071k . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_we_e070 | TYPE E070 , |
| ld_wi_e070 | TYPE E070 , |
| it_wt_e071 | TYPE STANDARD TABLE OF E071 , |
| wa_wt_e071 | LIKE LINE OF it_wt_e071, |
| ld_we_e07t | TYPE E07T , |
| ld_wi_e07t | TYPE E07T , |
| it_wt_e071k | TYPE STANDARD TABLE OF E071K , |
| wa_wt_e071k | LIKE LINE OF it_wt_e071k, |
| ld_we_e070c | TYPE E070C , |
| ld_wi_sel_e071 | TYPE TRPARI-W_E071 , |
| ld_wi_sel_e071k | TYPE TRPARI-W_E071K , |
| ld_wi_sel_e07t | TYPE TRPARI-W_E07T , |
| ld_wi_sel_e070c | TYPE TRPARI-W_E070C , |
| ld_wi_e070c | TYPE E070C . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TR_MODIFY_COMM or its description.