RSWBO099 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this program to unlock a request or task...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSWBO099 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: TRKORR = D Request/Task
Selection Text: P_VERSIO = D Create Versions of Objects
Selection Text: P_UNLOCK = D Unlock Object List
Selection Text: P_SETREL = D Set to 'Released'
Selection Text: P_COPY_T = D Create Transport of Copies
Title: Unlock Objects (Expert Tool)
Text Symbol: T02 = Unlock Request/Task &1
Text Symbol: T03 = Unlock Request/Task &1
Text Symbol: T01 = Log for Unlocked Requests/Tasks
Text Symbol: P02 = @02@Cancel
Text Symbol: P01 = @0Y@Create Request
Text Symbol: O02 = @02@Cancel
Text Symbol: O01 = Unlock
Text Symbol: 001 = Log
Text Symbol: 002 = @0S@ Documentation
Text Symbol: A01 = Action Selection
Text Symbol: C01 = @8R@ Note: Read the documentation on the program first
Text Symbol: D01 = Unlocking requests/tasks may
Text Symbol: D02 = cause inconsistencies.
Text Symbol: F01 = Do you want to unlock the request/task?
Text Symbol: K01 = You can now include the object list
Text Symbol: K02 = of the unlocked request in a new transport
Text Symbol: K03 = of copies.
Text Symbol: L01 = Do you want to create a transport of copies
Text Symbol: L02 = and include the object list in it?
Text Symbol: M01 = No log found
No SAP DATABASE tables are accessed within this REPORT code!
TR_F4_REQUESTS CALL FUNCTION 'TR_F4_REQUESTS' EXPORTING iv_trkorr_pattern = trkorr IMPORTING ev_selected_request = trkorr.
DEQUEUE_E_TRKORR CALL FUNCTION 'DEQUEUE_E_TRKORR' EXPORTING trkorr = gs_request-h-trkorr.
TR_AUTHORITY_CHECK_DISPLAY CALL FUNCTION 'TR_AUTHORITY_CHECK_DISPLAY' EXCEPTIONS OTHERS = 1.
DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING dokclass = 'RE' * DOKLANGU = SY-LANGU dokname = lv_program * doktitle = text-t01 short_text = 'X' appendix = 'X' EXCEPTIONS OTHERS = 1.
TR_AUTHORITY_CHECK_ADMIN CALL FUNCTION 'TR_AUTHORITY_CHECK_ADMIN' EXPORTING iv_adminfunction = 'TABL' EXCEPTIONS e_no_authority = 1.
ENQUEUE_E_TRKORR CALL FUNCTION 'ENQUEUE_E_TRKORR' EXPORTING trkorr = pv_trkorr EXCEPTIONS foreign_lock = 1.
TR_READ_REQUEST CALL FUNCTION 'TR_READ_REQUEST' EXPORTING iv_read_e070 = 'X' iv_read_e07t = 'X' iv_read_e070c = 'X' iv_read_e070m = 'X' iv_read_objs_keys = ' ' iv_read_attributes = ' ' CHANGING cs_request = ps_request EXCEPTIONS error_occured = 1 OTHERS = 2.
DEQUEUE_E_TRKORR CALL FUNCTION 'DEQUEUE_E_TRKORR' EXPORTING trkorr = pv_trkorr.
TR_READ_AND_DISPLAY_LOG CALL FUNCTION 'TR_READ_AND_DISPLAY_LOG' EXPORTING iv_log_type = 'DB' iv_logname_db = lv_logname_db iv_titlebar = lv_titlebar iv_heading = lv_heading * IV_TIMESTAMP = ' ' * IV_TOP_LINE = '0' * IV_DISPLAY_LEVEL = '1' * IV_WITH_LONG_TEXT_ICON = 'X' * IV_WITH_REFRESH_ICON = 'X' * IV_LANGUAGE = SYST-LANGU EXCEPTIONS OTHERS = 1.
TRINT_UNLOCK_REQUEST CALL FUNCTION 'TRINT_UNLOCK_REQUEST' EXPORTING iv_safe_mode = ' ' iv_set_to_released = pv_setrel IMPORTING ev_cnt_removed_locks = lv_number CHANGING cs_request = ps_request EXCEPTIONS db_access_error = 1 object_enqueues = 2 no_authority = 3 request_not_changeable = 4 OTHERS = 5.
SVRS_AFTER_CHANGED CALL FUNCTION 'SVRS_AFTER_CHANGED' IN UPDATE TASK EXPORTING date = ps_request-h-as4date time = ps_request-h-as4time user = ps_request-h-as4user korrnum = ps_request-h-trkorr TABLES e071_tab = ps_request-objects.
TRINT_APPEND_COMM_SYSLOG_ENTRY CALL FUNCTION 'TRINT_APPEND_COMM_SYSLOG_ENTRY' EXPORTING wi_msgid = 'PU' wi_msgno = '237' wi_trfunction = ps_request-h-trfunction wi_trkorr = ps_request-h-trkorr.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING defaultoption = '2' diagnosetext1 = lv_diag1 diagnosetext2 = lv_diag2 diagnosetext3 = lv_diag3 textline1 = lv_text1 textline2 = lv_text2 * TEXTLINE3 = ' ' text_option1 = '@0Y@Auftrag anlegen '(p01) text_option2 = '@02@ Abbrechen '(p02) titel = lv_title * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer.
TR_INSERT_NEW_COMM CALL FUNCTION 'TR_INSERT_NEW_COMM' EXPORTING wi_kurztext = ps_request-h-as4text wi_trfunction = 'T' IMPORTING we_e070 = ls_e070 we_e07t = ls_e07t we_e070c = ls_e070c EXCEPTIONS OTHERS = 99.
TR_COPY_COMM CALL FUNCTION 'TR_COPY_COMM' EXPORTING * WI_DIALOG = 'X' wi_trkorr_from = ps_request-h-trkorr wi_trkorr_to = ls_e070-trkorr wi_without_documentation = space EXCEPTIONS OTHERS = 15.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING defaultoption = '2' diagnosetext1 = lv_diag1 diagnosetext2 = lv_diag2 * DIAGNOSETEXT3 = ' ' textline1 = lv_text1 * TEXTLINE2 = ' ' * TEXTLINE3 = ' ' text_option1 = 'Entsperren '(o01) text_option2 = '@02@ Abbrechen '(o02) titel = lv_title * START_COLUMN = 25 * START_ROW = 6 cancel_display = ' ' IMPORTING answer = lv_answer.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.