TR_RELEASE_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_RELEASE_COMM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SCTS_RELEASE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TR_RELEASE_COMM' "
EXPORTING
wi_trkorr = " e070-trkorr Number of the request/task
* wi_success_message = 'X' " trboolean Flag if success message should be sent
* wi_dialog = 'X' " trboolean Interactive editing = 'X'
IMPORTING
we_e070 = " e070 Output string E070
we_e07t = " e07t Output string E07T
we_e070c = " e070c Output string E070C
es_e070m = " e070m
et_deleted_tasks = " trwbo_t_e070
* TABLES
* wt_e071 = " e071 Output table E071
* wt_e071k = " e071k Output table E071K
EXCEPTIONS
NO_SYSTEMNAME = 1 " System name cannot be determined or invalid length
TR_ENQUEUE_FAILED = 2 " Request/task could not be locked (SM12)
NO_AUTHORITY = 3 " Missing authorization for system (Unix) release
ORDER_DOESNT_EXIST = 4 " Request does not exist
ORDER_ALREADY_RELEASED = 5 " Request already released
REPEAT_TOO_EARLY = 6 " Release repetition too early
TR_CHECK_KEYSYNTAX_ERROR = 7 " Syntax error in E071K entry (->Message)
KEY_WITHOUT_HEADER = 8 " E071 object missing for E071K object key
CORRECTION_WITHOUT_DOCU = 9 " Request has no documentation
DB_ACCESS_ERROR = 10 " Database access error
RELEASE_CANCELLED = 11 "
TRANSPORT_TOOL_FAILED = 12 " Test call of transport tool failed
. " TR_RELEASE_COMM
The ABAP code below is a full code listing to execute function module TR_RELEASE_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 , |
| ld_es_e070m | TYPE E070M , |
| ld_et_deleted_tasks | TYPE TRWBO_T_E070 , |
| 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:
| it_wt_e071 | TYPE STANDARD TABLE OF E071 , |
| wa_wt_e071 | LIKE LINE OF it_wt_e071, |
| ld_wi_trkorr | TYPE E070-TRKORR , |
| ld_we_e070 | TYPE E070 , |
| ld_wi_success_message | TYPE TRBOOLEAN , |
| ld_we_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_dialog | TYPE TRBOOLEAN , |
| ld_es_e070m | TYPE E070M , |
| ld_et_deleted_tasks | TYPE TRWBO_T_E070 . |
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_RELEASE_COMM or its description.