SAP Reports / Programs | Basis Components | Installation Tools(BC-INS) SAP BC

INST_TMS_PREP_ADD2DOM SAP ABAP Report - Preparing a System to Be Included in the Transport Domain







INST_TMS_PREP_ADD2DOM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Prepare the Production System for Being Included in the Transport Domain Configures the Transport Management System (TMS) for a Ready-to-Run installation...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 INST_TMS_PREP_ADD2DOM into the relevant SAP transactions such as SE38 or SE80


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 INST_TMS_PREP_ADD2DOM. "Basic submit
SUBMIT INST_TMS_PREP_ADD2DOM AND RETURN. "Return to original report after report execution complete
SUBMIT INST_TMS_PREP_ADD2DOM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Preparing a System to Be Included in the Transport Domain
Text Symbol: 008 = Controller address not specified
Text Symbol: 009 = Development system already configured
Text Symbol: 010 = Cannot be executed in 1-system landscape
Text Symbol: 020 = * generated *
Text Symbol: DEF = You cannot execute this report program
Text Symbol: P01 = Parameter & is not defined
Text Symbol: 001 = No authorization to run report
Text Symbol: 002 = Prepare & to be included in transport domain
Text Symbol: 003 = TMS configuration must be made in client 000
Text Symbol: 004 = No authorization to configure TMS
Text Symbol: 005 = System already configured as domain controller
Text Symbol: 006 = System already contained in transport domain &
Text Symbol: 007 = & failed


INCLUDES used within this REPORT INST_TMS_PREP_ADD2DOM

INCLUDE: LTMSCCON, " CI CONSTANTS
INCLUDE INST_FUNC_MODULES.


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_AUTHORITY_CHECK_ADMIN CALL FUNCTION 'TR_AUTHORITY_CHECK_ADMIN' EXPORTING IV_ADMINFUNCTION = 'TABL' EXCEPTIONS E_NO_AUTHORITY = 1 E_INVALID_USER = 2 OTHERS = 99.

TMS_CFG_READ_LOCAL_CONFIG CALL FUNCTION 'TMS_CFG_READ_LOCAL_CONFIG' IMPORTING EV_IS_A_CONTROLLER = LV_IS_A_CONTROLLER ES_CONF = LS_ACT_CONF EXCEPTIONS TMS_IS_NOT_CONFIGURED = 1 OTHERS = 99.

TMS_CFG_UPDATE_LOCAL_CONFIG CALL FUNCTION 'TMS_CFG_UPDATE_LOCAL_CONFIG' EXPORTING IV_DELETE = GC_X EXCEPTIONS OTHERS = 99.

TMS_CI_UPDATE_CONFIGURATION CALL FUNCTION 'TMS_CI_UPDATE_CONFIGURATION' EXPORTING IV_DELETE_ALL = GC_X EXCEPTIONS OTHERS = 99.

TMS_CFG_GET_LOCAL_SYSTEM_INFO CALL FUNCTION 'TMS_CFG_GET_LOCAL_SYSTEM_INFO' EXPORTING IV_SERVER_LIST = GC_X IV_INST_NR = GC_X IMPORTING EV_SYSTEM_NAME = LV_CLIENT_NAME EV_SYSTEM_TEXT = LV_CLIENT_TEXT EV_CENTRAL_HOST = LV_CENTRAL_HOST EV_CENTRAL_SERVICE = LV_CENTRAL_SERV EV_SAP_RELEASE = LV_SAPREL TABLES TT_SERVER_LIST = LT_SERVER EXCEPTIONS OTHERS = 99.

TMS_CFG_CREATE_USER_TMSADM CALL FUNCTION 'TMS_CFG_CREATE_USER_TMSADM' EXPORTING IV_CONTEXT = GC_TMS_MGR_CONFIGURE_CLIENT IV_BATCH = gc_x IMPORTING EV_TMSADM = LV_CLIENT_USER EV_PASSWORD = LV_CLIENT_AUTH EXCEPTIONS OTHERS = 99.

TMS_CFG_BUILD_DEST_NAME CALL FUNCTION 'TMS_CFG_BUILD_DEST_NAME' EXPORTING IV_SYSTEM = GC_CI_DOM_CONTROLLER IMPORTING EV_DEST_ADM = LS_CONTR_DEST-RFCDES EXCEPTIONS INVALID_SYSTEM_NAME = 99.

TMS_CI_UPDATE_CONFIGURATION CALL FUNCTION 'TMS_CI_UPDATE_CONFIGURATION' EXPORTING IV_INITIAL = GC_X TABLES TT_DEST = LT_DES EXCEPTIONS OTHERS = 99.

TMS_CFG_UPDATE_LOCAL_CONFIG CALL FUNCTION 'TMS_CFG_UPDATE_LOCAL_CONFIG' EXPORTING IS_CONFIG = LS_CLIENT_CONFIG EXCEPTIONS OTHERS = 99.

TMS_CFG_BUILD_DEST_NAME CALL FUNCTION 'TMS_CFG_BUILD_DEST_NAME' EXPORTING IV_SYSTEM = LS_CLIENT_CONFIG-SYSNAM IV_DOMAIN = LS_CLIENT_CONFIG-DOMNAM IMPORTING EV_DEST_ADM = LV_DEST_ADM EV_DEST_SUP = LV_DEST_SUP EXCEPTIONS INVALID_SYSTEM_NAME = 99.

TMS_CI_UPDATE_CONFIGURATION CALL FUNCTION 'TMS_CI_UPDATE_CONFIGURATION' TABLES TT_DOMAIN = LT_DOM TT_SYSTEM = LT_SYS TT_NFSGRP = LT_NFS TT_DEST = LT_DES EXCEPTIONS OTHERS = 99.



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 INST_TMS_PREP_ADD2DOM or its description.