RDDPUT40_SPLIT_SWCOMPS 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 RDDPUT40_SPLIT_SWCOMPS 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.
Title: Split Transport according to sw-comps
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_F4_GET_SWC CALL FUNCTION 'TR_F4_GET_SWC' TABLES et_groups = gt_swc EXCEPTIONS global_key_error = 1 OTHERS = 2.
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 = 'X' iv_read_attributes = 'X' iv_trkorr = pv_korr CHANGING cs_request = gs_request EXCEPTIONS error_occured = 1 no_authorization = 2 OTHERS = 3.
TR_REQ_CHECK_GLOBAL_KEYS CALL FUNCTION 'TR_REQ_CHECK_GLOBAL_KEYS' EXPORTING is_objects = gs_request-objects is_keys = gs_request-keys is_header = gs_request-h iv_cdlvunit = gs_swc-cdlvunit iv_crelease = gs_swc-crelease iv_simulation = 'A' IMPORTING e_return_code = gs_result e_gtabkey_res = gt_gtabkey_result EXCEPTIONS wrong_call = 1 group_not_found = 2 enqueue_failed = 3 global_key_error = 4 no_sw_comp_found = 5 OTHERS = 6.
TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = gs_e071 IMPORTING pe_result = gv_result we_tadir = gs_tadir_tmp.
TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = gs_e071_tmp IMPORTING pe_result = gv_result we_tadir = gs_tadir_tmp.
CHECK_EXIST_TABU call function 'CHECK_EXIST_TABU' EXPORTING name = lv_tadir_objname mtype = 'R3TR' iv_tabkey = gs_e071k-tabkey IMPORTING exist = lv_result EXCEPTIONS TR_INVALID_TYPE = 1 OTHERS = 2.
TR_INSERT_NEW_COMM CALL FUNCTION 'TR_INSERT_NEW_COMM' EXPORTING WI_KURZTEXT = short_text WI_TRFUNCTION = 'T' IMPORTING WE_TRKORR = gs_comp-transport WE_E070 = tmp_e070 WE_E07T = tmp_e07t EXCEPTIONS CLIENT_RANGE_FULL = 1 E070L_INSERT_ERROR = 2 E070L_UPDATE_ERROR = 3 E070_INSERT_ERROR = 4 E07T_INSERT_ERROR = 5 E070C_INSERT_ERROR = 6 E070M_INSERT_ERROR = 7 NO_SYSTEMNAME = 8 NO_SYSTEMTYPE = 9 SAP_RANGE_FULL = 10 UNALLOWED_TRFUNCTION = 11 UNALLOWED_USER = 12 ORDER_NOT_FOUND = 13 INVALID_TARGETSYSTEM = 14 INVALID_TARGET_DEVCLASS = 15 INVALID_DEVCLASS = 16 INVALID_TARGET_LAYER = 17 INVALID_STATUS = 18 NOT_AN_ORDER = 19 ORDER_LOCK_FAILED = 20 NO_AUTHORIZATION = 21 WRONG_CLIENT = 22 FILE_ACCESS_ERROR = 23 WRONG_CATEGORY = 24 INTERNAL_ERROR = 25 OTHERS = 26.
TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING WI_E070 = tmp_e070 WI_E07T = tmp_e07t WI_SEL_E071 = 'X' WI_SEL_E071K = 'X' TABLES WT_E071 = tt_e071 WT_E071K = tt_e071k EXCEPTIONS DB_ACCESS_ERROR = 1 CHOSEN_PROJECT_CLOSED = 2 LOCKED_ENTRIES = 3 LOCKED_OBJECT_NOT_DELETED = 4 ORDERNAME_FORBIDDEN = 5 ORDERNUMBER_EMPTY = 6 ORDER_CHANGE_BUT_LOCKED_OBJECT = 7 ORDER_RELEASED = 8 ORDER_USER_LOCKED = 9 TR_CHECK_KEYSYNTAX_ERROR = 10 TR_ENQUEUE_FAILED = 11 NO_AUTHORIZATION = 12 WRONG_CLIENT = 13 UNALLOWED_SOURCE_CLIENT = 14 UNALLOWED_USER = 15 UNALLOWED_TRFUNCTION = 16 UNALLOWED_TRSTATUS = 17 NO_SYSTEMNAME = 18 NO_SYSTEMTYPE = 19 OTHERS = 20.
EMINT_CHECK_EXIST_OBJ CALL FUNCTION 'EMINT_CHECK_EXIST_OBJ' EXPORTING IS_TADIR = pv_tadir CHANGING LV_RESULT = lv_result.
EMINT_CHECK_EXIST_OBJ CALL FUNCTION 'EMINT_CHECK_EXIST_OBJ' EXPORTING iv_pgmid = ps_e071-pgmid iv_object = ps_e071-object iv_obj_name = ps_e071-obj_name CHANGING LV_RESULT = lv_result.
TR_GTABKEY_GET_MAPPING * CALL FUNCTION 'TR_GTABKEY_GET_MAPPING' * TABLES * ET_MAPPING = lt_mapping * EXCEPTIONS * GLOBAL_KEY_ERROR = 1 * OTHERS = 2.
TRINT_GTABKEY_INTERFACE *CALL FUNCTION 'TRINT_GTABKEY_INTERFACE' * DESTINATION 'GTABKEY_SERVER' * EXPORTING * IV_MODE = 'READ' * IV_GROUP = gp_group * TABLES * IT_GTABKEY = it_GTABKEY * ET_GTABKEY = et_gtabkey * EXCEPTIONS * WRONG_CALL = 1 * PERMISSION_DENIED = 2 * ENQUEUE_FAILED = 3 * GROUP_NOT_FOUND = 4 * COMMUNICATION_FAILURE = 5 " only relevant for RFC calls ! * SYSTEM_FAILURE = 6 " only relevant for RFC calls ! * RESOURCE_FAILURE = 7 " only relevant for RFC calls ! * OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.