SAP Reports / Programs

INST_SET_TMS SAP ABAP Report - Creating the TMS Configuration







INST_SET_TMS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Configure the Transport Management System (TMS)...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_SET_TMS 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_SET_TMS. "Basic submit
SUBMIT INST_SET_TMS AND RETURN. "Return to original report after report execution complete
SUBMIT INST_SET_TMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Creating the TMS Configuration
Text Symbol: 013 = Error when assigning transport profile
Text Symbol: 014 = Error when configuring transport routes
Text Symbol: 016 = Error when modifying system
Text Symbol: 017 = Existing TMS configuration cannot be overwritten
Text Symbol: DEF = You cannot execute this report program
Text Symbol: I01 = Preparing PRD for inclusion in controller...
Text Symbol: 012 = TMS preparation faulty
Text Symbol: 001 = No authorization to run report
Text Symbol: 002 = Report can only be run in RRR system
Text Symbol: 003 = Can only execute in client 000
Text Symbol: 004 = TMS successfully configured
Text Symbol: 010 = Error while configuring domain controller
Text Symbol: 011 = Error while configuring system &
Text Symbol: I02 = Deleting old configuration...
Text Symbol: R14 = Dummy system
Text Symbol: R15 = Consolidation system
Text Symbol: R16 = Transport layer for customer objects
Text Symbol: R17 = Workplace Server system
Text Symbol: R18 = Workplace Server transport domain
Text Symbol: R13 = Transport group &
Text Symbol: I03 = TMS controller configuration
Text Symbol: I04 = Adding virtual systems...
Text Symbol: P01 = Parameter & is not defined
Text Symbol: R10 = Transport domain RRR
Text Symbol: R11 = Development system
Text Symbol: R12 = Production system


INCLUDES used within this REPORT INST_SET_TMS

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-I01.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-I02.

SXPG_PROFILE_PARAMETER_GET CALL FUNCTION 'SXPG_PROFILE_PARAMETER_GET' EXPORTING PARAMETER_NAME = 'SAPSYSTEM' IMPORTING PARAMETER_VALUE = PARVAL EXCEPTIONS OTHERS = 1.

INST_GET_RETURN CALL FUNCTION 'INST_GET_RETURN' IMPORTING RESULT = RESULT_RC RESULT_TEXT = RESULT_TXT2 RESULT_REPORT = RESULT_REPORT TABLES RESULT_TAB = RESULT_TAB.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-I03.

TMS_MGR_CONFIGURE_CONTROLLER CALL FUNCTION 'TMS_MGR_CONFIGURE_CONTROLLER' EXPORTING IV_DOMAIN_NAME = E_DOMNAME IV_DOMAIN_TEXT = LV_DOMAIN_TEXT IV_CONTR_TEXT = LV_CONTR_TEXT IV_NFS_GROUP = LV_NFS_GROUP IV_NFS_TEXT = LV_NFS_TEXT IV_SETUP_TP = 'X' IV_FORCE = 'X' EXCEPTIONS ALREADY_CONFIGURED = 1 OTHERS = 99.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = TEXT-I04.

TMS_MGR_CONFIGURE_DUMMY CALL FUNCTION 'TMS_MGR_CONFIGURE_DUMMY' EXPORTING IV_SYSNAM = LV_PRDSID IV_SYSTXT = TEXT-R12 IV_COMSYS = IV_TMSNAME IV_INACTIVE = SPACE EXCEPTIONS READ_CONFIG_FAILED = 1 NOT_A_CONTROLLER = 2 SYSTEM_ALREADY_EXISTS = 3 COMSYS_NOT_FOUND = 4 ENQUEUE_TMS_CONFIG_FAILED = 5 UPDATE_CI_CONFIG_FAILED = 6 DIST_CI_CONFIG_ALERT = 7 DIST_CI_CONFIG_FAILED = 8 OTHERS = 99.

TMS_MGR_CONFIGURE_DUMMY CALL FUNCTION 'TMS_MGR_CONFIGURE_DUMMY' EXPORTING IV_SYSNAM = 'DUM' IV_SYSTXT = TEXT-R14 IV_COMSYS = IV_TMSNAME IV_INACTIVE = SPACE EXCEPTIONS READ_CONFIG_FAILED = 1 NOT_A_CONTROLLER = 2 SYSTEM_ALREADY_EXISTS = 3 COMSYS_NOT_FOUND = 4 ENQUEUE_TMS_CONFIG_FAILED = 5 UPDATE_CI_CONFIG_FAILED = 6 DIST_CI_CONFIG_ALERT = 7 DIST_CI_CONFIG_FAILED = 8 OTHERS = 99.

TMS_PM_MODIFY_CONFIG CALL FUNCTION 'TMS_PM_MODIFY_CONFIG' EXPORTING IV_INACTIVE = SPACE IV_VERBOSE = SPACE IMPORTING EV_ALERTID = EV_ALERTID TABLES TT_CONFIG_MOD = LT_CONFIG EXCEPTIONS OTHERS = 99.

TR_TCE_STD_CONF_SINGLE CALL FUNCTION 'TR_TCE_STD_CONF_SINGLE' EXPORTING IV_LAYTEXT = IV_LAYTEXT IV_SOUR_CLIENT = '200' " =default IV_PRE_CLIENT = '410' " =default IV_PROD_CLIENT = '400' " =default IV_PRODUCTIVE = ' ' " =>pre-productive EXCEPTIONS TR_R2R_NO_AUTHORITY = 1 TR_R2R_NOT_ON_CONTROLLER = 2 TR_R2R_READ_TMS_FAILED = 3 TR_R2R_TCE_ACTIVATE_FAILED = 4 OTHERS = 5.

TR_TCE_STD_CONF_COUPLE CALL FUNCTION 'TR_TCE_STD_CONF_COUPLE' EXPORTING IV_DEST_SYSTEM = LV_PRDSID IV_SOUR_CLIENT = '200' " =default IV_PRE_CLIENT = '410' " =default IV_PROD_CLIENT = '400' " =default IV_PRODUCTIVE = ' ' " =>pre-productive EXCEPTIONS TR_R2R_NO_AUTHORITY = 1 TR_R2R_NOT_ON_CONTROLLER = 2 TR_R2R_READ_TMS_FAILED = 3 TR_R2R_TCE_ACTIVATE_FAILED = 4 OTHERS = 5.



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