SAP Reports / Programs | Cross-Application Components | Master Data Governance | Application Framework(CA-MDG-AF) SAP CA

MDG_TR_CONTAINER_REORG SAP ABAP Report - Reorganization of Transport Container Tables







MDG_TR_CONTAINER_REORG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MDG_TR_CONTAINER_REORG into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MDG_TR_REORG - Transport Container Reorganization


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MDG_TR_CONTAINER_REORG. "Basic submit
SUBMIT MDG_TR_CONTAINER_REORG AND RETURN. "Return to original report after report execution complete
SUBMIT MDG_TR_CONTAINER_REORG VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_D_KORR = Single Processing
Selection Text: P_D_OLD = Collective processing
Selection Text: P_TEST = Test Run
Selection Text: P_T_OLD = Delete Obsolete Entries
Selection Text: P_T_REL = Select Requests
Selection Text: P_W_KORR = Delete Request
Selection Text: P_TRKORR = D .
Title: Reorganization of Transport Container Tables
Text Symbol: T01 = Collective processing
Text Symbol: T02 = Single Processing
Text Symbol: T03 = Options
Text Symbol: T04 = Display Selected Transport Requests
Text Symbol: T05 = Delete Transport Container for Selected Requests?
Text Symbol: T06 = Delete


INCLUDES used within this REPORT MDG_TR_CONTAINER_REORG

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TR_F4_REQUESTS CALL FUNCTION 'TR_F4_REQUESTS' EXPORTING * IV_USERNAME = SY-UNAME * IV_TRKORR_PATTERN = * iv_trfunctions = cl_MDG_tr_request=>c_trtype_cust * IV_TRSTATUS = * IV_FROM_DATE = * IV_TO_DATE = iv_client = sy-mandt * IV_PROJECT = * IV_TITLE = * IV_VIA_SELECTION_SCREEN = 'X' * IV_COMPLETE_REQUESTS = 'X' * IT_EXCLUDE_REQUESTS = IMPORTING ev_selected_request = p_trkorr * ES_SELECTED_REQUEST = .

TR_DELETE_COMM CALL FUNCTION 'TR_DELETE_COMM' EXPORTING wi_dialog = l_dialog wi_trkorr = i_trkorr * IMPORTING * ET_DELETED_TASKS = EXCEPTIONS file_access_error = 1 order_already_released = 2 order_contains_c_member = 3 order_contains_locked_entries = 4 order_is_refered = 5 repair_order = 6 user_not_owner = 7 delete_was_cancelled = 8 ordernumber_empty = 9 tr_enqueue_failed = 10 objects_free_but_still_locks = 11 order_lock_failed = 12 no_authorization = 13 wrong_client = 14 project_still_referenced = 15 successors_already_released = 16 OTHERS = 17 .

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = l_conttab state = 'A' IMPORTING gotstate = gotstate EXCEPTIONS illegal_input = 1 OTHERS = 2.

TRINT_SELECT_REQUESTS CALL FUNCTION 'TRINT_SELECT_REQUESTS' EXPORTING iv_username_pattern = sy-uname is_selection = gs_selection * IV_COMPLETE_PROJECTS = 'X' iv_via_selscreen = 'X' * IS_POPUP = * IV_TITLE = IMPORTING et_requests = gt_request_headers * CHANGING * CS_RANGES = EXCEPTIONS action_aborted_by_user = 1 OTHERS = 2 .

TR_READ_REQUEST CALL FUNCTION 'TR_READ_REQUEST' EXPORTING iv_read_e070 = 'X' iv_trkorr = l_trkorr * CHANGING * CS_REQUEST = EXCEPTIONS error_occured = 1 no_authorization = 2 OTHERS = 3 .

TR_READ_REQUEST CALL FUNCTION 'TR_READ_REQUEST' EXPORTING iv_read_e070 = 'X' iv_trkorr = l_e071_korr EXCEPTIONS OTHERS = 1.

TR_DISPLAY_REQUESTS CALL FUNCTION 'TR_DISPLAY_REQUESTS' EXPORTING iv_title = 'Anzeige der selektierten Transportaufträge'(t04) * IV_FIRST_NODE_TEXT = TEXT-C00 it_request_numbers = lt_trkorr * IV_PROG_TOP_OF_PAGE = ' ' * IV_FORM_TOP_OF_PAGE = ' ' * IV_COMPLETE_REQUESTS = 'X' * IV_CUA_STATUS = * CHANGING * CS_SORT_DESCRIPTION = .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Löschen'(t06) * DIAGNOSE_OBJECT = ' ' text_question = 'Transportcontainer zu den selektierten Aufträgen löschen?'(t05) * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MDG_TR_CONTAINER_REORG or its description.