REPAIR_DOCU2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to restore the consistency between DOKIL, T100 and T100U tables regarding self-explanatory flag for objects belonging to documentation class 'Message' ('NA')...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 REPAIR_DOCU2 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: TR_REQ = D .
Selection Text: PACKG = D .
Selection Text: MESS_CL = D .
Selection Text: DEST = D .
Selection Text: SYNC = Synchronization
Selection Text: MODE = Display / Change Mode
Title: Self-Explanatory Indicator: Consistency Between T100 / T100U / DOKIL
Text Symbol: 026 = Select either a message class or a package
Text Symbol: 027 = The selection of the transport request was cancelled
Text Symbol: 028 = Further processing is not possible
Text Symbol: 029 = The following error occurred when the transport request was created:
Text Symbol: 030 = There are either no message classes available at all or none that can be changed
Text Symbol: 031 = There is more than one line in table DOKIL for this document
Text Symbol: 032 = Object:
Text Symbol: 033 = was included in the following transport request:
Text Symbol: 034 = Task:
Text Symbol: 035 = There is no task for the following transport request:
Text Symbol: 036 = for user:
Text Symbol: 037 = These objects were included in the following transport requests
Text Symbol: 038 = These objects have no entry in table T100U:
Text Symbol: 040 = The transport layer is not valid for this package:
Text Symbol: 041 = The process is finished
Text Symbol: 025 = The following objects could not be included in the transport request
Text Symbol: 001 = Search Parameter:
Text Symbol: 002 = Process Options:
Text Symbol: 003 = No message or package selected
Text Symbol: 004 = System parameters could not be determined
Text Symbol: 005 = The system or client cannot be changed
Text Symbol: 006 = No valid namespace found
Text Symbol: 007 = This software component cannot be changed for this package:
Text Symbol: 008 = This namespace cannot be changed for this package:
Text Symbol: 010 = Message Class:
Text Symbol: 011 = Message Number:
Text Symbol: 012 = Document ID (Document Class):
Text Symbol: 013 = Document Name:
Text Symbol: 014 = Process Type:
Text Symbol: 015 = Test Mode (Display only)
Text Symbol: 016 = Change Mode:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING * IV_SUPPRESS_DIALOG = ' ' IV_REQUEST_TYPES = 'K' * IV_CLI_DEP = ' ' * IV_REQUEST = ' ' IT_E071 = lt_e071 IT_E071K = lt_e071k * IV_LOCK_OBJECTS = ' ' * IV_TITLE = * IV_START_COLUMN = 3 * IV_START_ROW = 7 * IV_WITH_ERROR_LOG = 'X' * IV_NO_OWNER_CHECK = ' ' * IV_FOREIGN_REQUEST = ' ' IMPORTING ES_REQUEST = ls_trwbo_request EXCEPTIONS INVALID_REQUEST = 1 INVALID_REQUEST_TYPE = 2 USER_NOT_OWNER = 3 NO_OBJECTS_APPENDED = 4 ENQUEUE_ERROR = 5 CANCELLED_BY_USER = 6 RECURSIVE_CALL = 7 OTHERS = 8.
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemedit = l_sys_change * SYSTEMNAME = * SYSTEMTYPE = system_client_edit = l_indep_client_change sys_cliinddep_edit = l_dep_client_change * SYSTEM_CLIENT_ROLE = * EV_SFW_BCSET_REC = * EV_C_SYSTEM = EXCEPTIONS no_systemname = 1 no_systemtype = 2 OTHERS = 3.
INFO_DOKIL_T100U CALL FUNCTION 'INFO_DOKIL_T100U' DESTINATION dest TABLES unproc_messages = g_unproc_t100u "#EC ENHOK res_t100u = g_ref_t100u "#EC ENHOK res_dokil = g_ref_dokil res_dokhl = g_ref_dokhl EXCEPTIONS system_failure = 1 MESSAGE l_mess communication_failure = 2 MESSAGE l_mess OTHERS = 3.
TR_GET_DLVUNITS CALL FUNCTION 'TR_GET_DLVUNITS' EXPORTING iv_with_changeability = 'X' iv_with_description = 'X' IMPORTING et_dlvunits = et_dlvunits.
TR_VALID_NAMESPACE_LIST CALL FUNCTION 'TR_VALID_NAMESPACE_LIST' EXPORTING iv_edit_only = 'X' iv_producer_only = ' ' iv_licensed_only = ' ' * IV_NONGENERATED_ONLY = ' ' * IV_SAPSTANDARD_ONLY = ' ' iv_show_also_nonprefix_namespc = 'X' * IV_DISPLAY_AS_F4_LIST = ' ' * IMPORTING * ES_SELECTED_NAMESPACE = * EV_LINE_SELECTED = TABLES et_namespace = lt_namerange EXCEPTIONS no_valid_namespace_found = 1 OTHERS = 9.
TR_GET_TRANSPORT_TARGET CALL FUNCTION 'TR_GET_TRANSPORT_TARGET' EXPORTING * IV_USE_DEFAULT = * IV_GET_LAYER_ONLY = ' ' IV_DEVELOPMENT_CLASS = lv_tdevc-DEVCLASS * IV_TRANSPORT_LAYER = * IV_SOURCE_SYSTEM = * IV_SOURCE_CLIENT = SY-MANDT IMPORTING EV_TARGET = lv_target_sys * EV_LAYER = l_TRANSLAYER EXCEPTIONS WRONG_CALL = 1 INVALID_INPUT = 2 CTS_INITIALIZATION_FAILURE = 3 OTHERS = 4.
TRINT_GET_DEVCLASS_TYPE CALL FUNCTION 'TRINT_GET_DEVCLASS_TYPE' EXPORTING WI_DEVCLASS = lv_tdevc-DEVCLASS IMPORTING WE_DEVC_TYPE = lv_DEVC_TYPE EV_NAMESPACE = lV_NAMESPACE.
TR_GET_TRANSPORT_TARGET CALL FUNCTION 'TR_GET_TRANSPORT_TARGET' EXPORTING * IV_USE_DEFAULT = * IV_GET_LAYER_ONLY = ' ' IV_DEVELOPMENT_CLASS = lv_tdevc-DEVCLASS * IV_TRANSPORT_LAYER = * IV_SOURCE_SYSTEM = * IV_SOURCE_CLIENT = SY-MANDT IMPORTING EV_TARGET = lv_target_sys * EV_LAYER = l_TRANSLAYER EXCEPTIONS WRONG_CALL = 1 INVALID_INPUT = 2 CTS_INITIALIZATION_FAILURE = 3 OTHERS = 4.
TRINT_GET_DEVCLASS_TYPE CALL FUNCTION 'TRINT_GET_DEVCLASS_TYPE' EXPORTING WI_DEVCLASS = lv_tdevc-DEVCLASS IMPORTING WE_DEVC_TYPE = lv_DEVC_TYPE EV_NAMESPACE = lV_NAMESPACE.
DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = c_na element = pt_unproc_mess-arbgb addition = pt_unproc_mess-msgnr IMPORTING object = lv_object_name.
DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = c_na element = pt_ref_t100u-arbgb addition = pt_ref_t100u-msgnr IMPORTING object = lv_object_name.
RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING object = pt_e071-obj_name object_class = pt_e071-object global_lock = ' ' korrnum = p_tr_req extend = 'X' SUPPRESS_DIALOG = 'X' IMPORTING KORRNUM = lv_corr_number ORDERNUM = lv_ORDERNUM EXCEPTIONS cancelled = 1 permission_failure = 2 unknown_objectclass = 3 OTHERS = 4.
DOCU_GET_FOR_F1HELP CALL FUNCTION 'DOCU_GET_FOR_F1HELP' EXPORTING id = 'TX' langu = sy-langu object = 'T100U_DOKIL' * TYP = 'E' * IMPORTING * DOKSTATE = * HEAD = tables line = lt_t100u_dokil EXCEPTIONS RET_CODE = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REPAIR_DOCU2 - Self-Explanatory Indicator: Consistency Between T100 / T100U / DOKIL REPAIR_DOCU2 - Self-Explanatory Indicator: Consistency Between T100 / T100U / DOKIL REPAIR_DOCU - Document Repairs REPAIR_DOCU - Document Repairs REPAIR_DESCRIPTION - Program REPAIR_DESCRIPTION REPAIR_DESCRIPTION - Program REPAIR_DESCRIPTION