55821386 configuration guide enhanced cts

51
How-to Guide e SAP NetWeaver 7.0 (2004s) SAP NetWeaver 7.0 (2004s) How To… How To… Configure Enhanced CTS for SAP NetWeaver Exchange Infrastructure 7.0 SPS14 Version 1.10 – March 2008 Applicable Releases: SAP NetWeaver Exchange Infrastructure 7.0 End-to-End Process Integration Enabling Application-to-Application Processes

Upload: taewon-joh

Post on 12-Mar-2015

98 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 55821386 Configuration Guide Enhanced Cts

How-to Guide e SAP NetWeaver 7.0 (2004s) SAP NetWeaver 7.0 (2004s)

How To…How To… Configure Enhanced CTS for SAP NetWeaver Exchange Infrastructure 7.0 SPS14 Version 1.10 – March 2008 Applicable Releases: SAP NetWeaver Exchange Infrastructure 7.0 End-to-End Process Integration Enabling Application-to-Application Processes

Page 2: 55821386 Configuration Guide Enhanced Cts

© Copyright 2008 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, and Informix are trademarks or registered trademarks of IBM Corporation in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.

Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided “as is” without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver “How-to” Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings (“Code”) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent.

Page 3: 55821386 Configuration Guide Enhanced Cts

Document History Document Version Description

1.10 Changed units: 5.1.1 Added Authorization objects in Role Z_SAP_CTS_PLUS 5.4.1 Added SICF services to be activated in source system 6.2 Added roles for service user in target systems

1.00 First official release of this guide

Index 1 Scenario......................................................................................................... 2 2 Introduction .................................................................................................... 2 3 TMS Configuration......................................................................................... 3

3.1 Transport Domain Controller .................................................................. 3 3.2 Include other systems in the Transport Domain ..................................... 3 3.3 Configure Transport Route(s) ................................................................. 4

4 XI System Configuration – DEV/QAS/PRD.................................................... 5 4.1 Ensure that the Latest Versions of CTS-relevant Software Parts are

Installed...................................................................................................... 5 4.2 Check Existence of Logon Group ........................................................... 7

5 Configuration for DEV (Source Systems) only ............................................... 7 5.1 Configure the destination from J2EE to the ABAP stack for CTS ........... 7

5.1.1 Create Profile for CTS Destination .................................................. 7 5.1.2 Create Dedicated Service User or Assign Profile to all Developer

Users ............................................................................................. 11 5.1.3 Create RFC Destination for Java to ABAP Connectivity................ 11

5.2 Maintain Exchange Profile .................................................................... 13 5.3 Maintain XI-Specific Parameters of DEV System in TMS..................... 22 5.4 Configure the Transport Organizer Web UI .......................................... 24

5.4.1 Activating the Web Service for Transport Organizer Web UI......... 24 6 Configuration for QAS/PRD (Target Systems) only ..................................... 25

6.1 Configure the CTS Deploy Web Service............................................... 25 6.1.1 Checking the CTS Deploy Web Service ........................................ 26 6.1.2 Configuring the HTTP Connection................................................. 27 6.1.3 Configuring the Logical Port for the Web Service.......................... 29

6.2 Create CTS User for Deployment in QAS/PRD .................................... 33 6.3 Maintain XI-Specific Parameters of QAS/PRD Systems in TMS .......... 34

7 Demonstration of CTS Close Coupling ........................................................ 36 7.1 Export Wizard Integration ..................................................................... 36 7.2 Change List Integration......................................................................... 41 7.3 Check Transports in Source Repository ............................................... 42 7.4 Export Using Transport Organizer Web UI ........................................... 44 7.5 Check Transports in Target Repository ................................................ 45

8 Appendix - Checklist ...............................................................................................46

- 1 -

Page 4: 55821386 Configuration Guide Enhanced Cts

1 Scenario SAP NetWeaver Exchange Infrastructure (SAP NetWeaver XI) 7.0 SPS14 contains enhanced functionality that enables close coupling between the XI development tools (Integration Repository and Integration Directory) and CTS (Change and Transport System),and enhanced administration support during configuration phase of TMS (Transport Management System) supporting the system maintenance of combined Java and ABAP systems. You would like to use this features in your SAP NetWeaver XI 7.0 SPS14 systems.

Note: SAP NetWeaver XI 7.0 SPS 14 system is referred to as ’XI system’ in the remainder of this document.

This document describes the necessary configuration and setup tasks to be performed in a typical three system landscape consisting of DEV (XI Development System), QAS (XI Quality Assurance System) and PRD (XI Production System).

2 Introduction At the beginning of this document the TMS configuration steps are described by reference to existing SAP Library online documentation only. The main part of this How-To-Guide focuses on additional configuration and setup steps on the XI and TMS/CTS parts that have to be done on the ABAP side and on the Java side to make the integration running. The checklist in the appendix specifies the system in which you must perform each configuration. Mark each step as you complete it.

- 2 -

Page 5: 55821386 Configuration Guide Enhanced Cts

3 TMS Configuration We assume that you are familiar with the TMS basis configuration steps and therefore in this unit we provide only links to the SAP Library online documentation for the necessary configuration steps.

3.1 Transport Domain Controller First, you must decide which SAP System you want to configure as the transport domain controller in your landscape. You can only carry out all the activities relevant to the entire transport domain, such as configuring transport routes or configuring RFC connections in the domain controller. We therefore recommend configuring the transport domain controller in an SAP System with the following attributes:

• High availability • High security precautions • Highest possible release

The transport domain controller should normally be configured in a production system or quality assurance system. After you selected the system, you need to follow the activities explained under: http://help.sap.com/saphelp_nw70/helpdata/en/44/b4a0b47acc11d1899e0000e829fbbd/frameset.htm

3.2 Include other systems in the Transport Domain Once you have configured an SAP System as the transport domain controller, you can include all additional systems in the transport domain. For more information, see: http://help.sap.com/saphelp_nw70/helpdata/en/44/b4a0c17acc11d1899e0000e829fbbd/frameset.htm Example screenshot of transaction STMS → System Overview after your configuration:

- 3 -

Page 6: 55821386 Configuration Guide Enhanced Cts

3.3 Configure Transport Route(s) The configuration of the transport routes is managed in the SAP System that serves as the transport domain controller, and can be distributed to and activated in all other connected SAP Systems in the transport domain. The transport route configuration consists of:

• System attributes • Consolidation routes • Delivery routes • Target groups

For more information, see: http://help.sap.com/saphelp_nw70/helpdata/en/44/b4a1df7acc11d1899e0000e829fbbd/frameset.htm Example screenshot of transaction STMS → Transport Routes after your configuration:

- 4 -

Page 7: 55821386 Configuration Guide Enhanced Cts

4 XI System Configuration – DEV/QAS/PRD Repeat the following configuration steps for all XI systems that you want to use either as transport source or transport target systems. We assume that your user used for configurations has all required authorizations for making changes in ABAP clients 000 and Integration server client (e.g. 001), J2EE Visual Admin and SAP XI development and configuration.

4.1 Ensure that the Latest Versions of CTS-relevant Software Parts are Installed

1. Check SAP Note 1003674 for the latest information about the required versions of: tp r3trans ABAP corrections and J2EE Server Patches (e.g. LMTOOLS, SAP_JTECHS, XITOOLS)

Note: To check the version of your tp call transaction STMS and choose Systems Overview. Select the system to be checked and choose SAP System → Check → Transport Tool.

Result:

- 5 -

Page 8: 55821386 Configuration Guide Enhanced Cts

To check the version of R3trans at OS level execute the R3trans executable. Regarding the ABAP corrections, ensure that the latest version of SAP Note 1003674 is installed on your XI systems. Call transaction SNOTE and check for newer versions of the note accordingly.

2. Install all necessary Patches on the J2EE Engines as mentioned in SAP Note 1132191.

- 6 -

Page 9: 55821386 Configuration Guide Enhanced Cts

4.2 Check Existence of Logon Group

1. Log on to the ABAP part of your XI DEV system, call transaction SMLG, and check if a logon group exists. If no logon group exist, create a logon group, e.g. PUBLIC, and add all instances to the logon group. The existing or to be created Logon Group will be used later on.

5 Configuration for DEV (Source Systems) only Repeat the following configuration steps for all XI systems that you want to use as transport source systems.

5.1 Configure the destination from J2EE to the ABAP stack for CTS The following step-by-step configuration description is based on SAP Library online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/37/dd368da16f476fad78ca8b51f9b75c/frameset.htm

5.1.1 Create Profile for CTS Destination In future releases, SAP plans to deliver a standard profile for this use case. Currently you have to create an own customer profile and assign it to the XI service users as shown below.

1. Call transaction PFCG and create the single role Z_SAP_CTS_PLUS.

- 7 -

Page 10: 55821386 Configuration Guide Enhanced Cts

2. Enter a description and save the role.

3. Choose the Authorizations tab page.

4. Enter a profile name or generate a profile automatically. Under Maintain Authorization Data and Generate Profiles, choose Change Authorization Data. Confirm the pop-up window and save the role.

5. In the Choose Template window, choose Do not select templates.

- 8 -

Page 11: 55821386 Configuration Guide Enhanced Cts

6. Choose Manually.

7. Enter the following authorization objects: S_ICF, S_RFC, S_CTS_ADMI, S_DATASET and S_TRANSPRT.

8. Place the cursor on the role. To open all folders, choose Expand.

- 9 -

Page 12: 55821386 Configuration Guide Enhanced Cts

9. Click on the asterisk (*) in front of a tree node to determine the maximum authorization for this tree node. Either click on all asterisks to initialize the values or maintain single values for the individual tree nodes as follows: S_RFC: Activity: All activities Name of RFC to be protected: CTS_WBO_DIS RFC1 SDIFRUNTIME SYST EPSF STPA Type of RFC object to be protected: Function group S_CTS_ADMI: Administration Tasks for Change and Transport System: EPS1 EPS2 S_DATASET: Program Name with Search Help: SAPLEPSF SAPLSCTS_EXE_FILE SAPLSCTS_RELEASE SAPLSLOG SAPLSTFI SAPLSTPA SAPLSTPP SAPLSTRF SAPLTMSM SAPLTMST S_TRANSPRT: Activity: All activities Request Type (Change and Transport System): CUST DTRA PIEC TRAN

- 10 -

Page 13: 55821386 Configuration Guide Enhanced Cts

10. Finally save and generate your role.

5.1.2 Create Dedicated Service User or Assign Profile to all Developer Users

1. Either create a dedicated service user to be used for the destination to be created in step 5.1.3 and assign the profile created in step 5.1.1., or assign the profile to all of your developer users when you choose the single sign-on (SSO) option for the destination.

5.1.3 Create RFC Destination for Java to ABAP Connectivity

1. Open the Visual Administrator on your AS Java installation drive and log on with an administrator user.

- 11 -

Page 14: 55821386 Configuration Guide Enhanced Cts

2. Choose Cluster → Server → Services → Destinations.

3. Choose New.

4. Create the destination sap.com/com.sap.tc.di.CTSserver. Note: Make sure that the name of the destination is written exactly as specified here, and not as specified in the SAP Library documentation.

5.

6.

7.

8.

9.

10.

Under Connection Settings, enter the connection data of your XI ABAP system using the System ID, Message Server and an existing Logon Group as described in step 4.2.

Under Logon Data, select the Current User (Logon Ticket) option as authentication for the connection to your XI ABAP server. We recommend that you use SSO.

If you cannot use SSO or want to use a dedicated service user, select the Configured User option and enter your preferred language, a client, and an appropriate service user and password.

Enter the client of your XI ABAP System – Integration Server.

Use the default settings under Repository Connection and Pool Settings.

Save and test your entry.

- 12 -

Page 15: 55821386 Configuration Guide Enhanced Cts

5.2 Maintain Exchange Profile

1. Log on to your DEV System to maintain the exchange profile at http://<host:port>/rep/support/admin/index.html Under Administration of Properties choose Exchange Profile …

2. Log on again to access the exchange profile. Hint: Before you start with the maintenance, you might want to export the current version of your exchange profile.

3. Expand the left hand tree structure IntegrationBuilder and place your cursor on IntegrationBuilder.Directory.

- 13 -

Page 16: 55821386 Configuration Guide Enhanced Cts

4. Choose New Parameter.

5. Create Boolean parameter com.sap.aii.ibdir.core.cts.enableTransportWizard and set value to true.

6. The message Parameter successfully created is displayed and the new parameter is visible in the tree on the left-hand side.

- 14 -

Page 17: 55821386 Configuration Guide Enhanced Cts

7. Repeat steps 5.-6. for the IntegrationBuilder.Directory to add Boolean parameter: com.sap.aii.ibdir.core.cts.enableClTransport Hint: The parameter is derived from “enable Changelist Transport”. Do not use C1(one) or CI(uppercase i). If there is no checkbox where you can enter the Boolean value of the parameter then select a different parameter type first and then re-select type Boolean again to refresh the screen.

8. Repeat steps 5.-6. for the IntegrationBuilder.Directory to add String parameter: com.sap.aii.ibdir.core.transport.exportCtsDirectory Create a new file directory on your system to be used here, for example D:\usr\sap\<SID>\SYS\global\xi\ctsExport.

9. Verify that the three new parameters exist under IntegrationBuilder > IntegrationBuilder.Directory.

- 15 -

Page 18: 55821386 Configuration Guide Enhanced Cts

10. Open the left-hand tree structure IntegrationBuilder and place your cursor on IntegrationBuilder.Repository.

11. Choose New Parameter.

- 16 -

Page 19: 55821386 Configuration Guide Enhanced Cts

12. Create Boolean parameter com.sap.aii.ibrep.core.cts.enableTransportWizard and set value to true.

13. The message Parameter successfully created is displayed and the new parameter is visible in the three on the left–hand side.

14. Repeat steps 5.-6. for the IntegrationBuilder.Repository to add Boolean parameter: com.sap.aii.ibrep.core.cts.enableClTransport Hint: The parameter is derived from “enable Changelist Transport”. Do not use C1(one) or CI(uppercase i). If there is no checkbox where you can enter the Boolean value of the parameter then select a different parameter type first and then re-select type Boolean again to refresh the screen.

- 17 -

Page 20: 55821386 Configuration Guide Enhanced Cts

15. Repeat steps 5.-6. for the IntegrationBuilder.Repository to add String parameter: com.sap.aii.ibrep.core.transport.exportCtsDirectory Create a new file directory on your system to be used here, for example C:\usr\sap\<SID>\SYS\global\xi\ctsExport. Ensure that the directory here is identical to the directory maintained in step 8.

16. Verify that the three new parameters exist under Integration Builder > IntegrationBuilder.Repository

17. Search for parameter com.sap.aii.ib.client.properties

- 18 -

Page 21: 55821386 Configuration Guide Enhanced Cts

18. Choose the parameter name.

19. Add the following string to the end of the existing parameter value: , com.sap.aii.ibdir.core.cts.*, com.sap.aii.ibrep.core.cts.*

20. Save the changed parameter.

21. Validate the saved parameter value by clicking on the parameter under IntegrationBuilder.

- 19 -

Page 22: 55821386 Configuration Guide Enhanced Cts

22. You can now export your exchange profile for later reference.

23. You need to activate the changes for immediate usage. Go back to the Repository administration view (http://<hostname>:<port>/rep/support/admin/index.html), and under Administration of Properties choose AII Properties.

24. Choose Refresh twice (once to refresh the parameters, once to refresh the displayed values).

25. Check the parameter list for value ‘cts’. The following parameters and entries must be listed: com.sap.aii.ib.client.properties com.sap.aii.ibrep.core.cts.enableClTransport com.sap.aii.ibrep.core.cts.enableTransportWizard com.sap.aii.ibrep.core.transport.exportCtsDirectory

- 20 -

Page 23: 55821386 Configuration Guide Enhanced Cts

26. Now you need to activate the changes for immediate usage in the Directory. Go back to the Directory administration view (http://<hostname>:<port>/dir/support/admin/index.html), and under Administration of Properties choose AII Properties.

27. Choose Refresh twice (once to refresh the parameters, once to refresh the displayed values).

28. Check the parameter list for value ‘cts’. The following parameters and entries must be listed: com.sap.aii.ib.client.properties com.sap.aii.ibdir.core.cts.enableClTransport com.sap.aii.ibdir.core.cts.enableTransportWizard com.sap.aii.ibdir.core.transport.exportCtsDirectory

- 21 -

Page 24: 55821386 Configuration Guide Enhanced Cts

5.3 Maintain XI-Specific Parameters of DEV System in TMS

1. Log on to your TMS Domain Controller. Call transaction STMS and select the entry for your XI development system. Note: You have to perform these configuration steps for all XI systems that are potential transport source systems.

2. Choose menu option SAP System → Create → Java Stack.

3. Select Activate Transport Organizer

and enter the client of your XI System.

4. Save your data.

5. Confirm the pop-up window to distribute the TMS configuration data.

- 22 -

Page 25: 55821386 Configuration Guide Enhanced Cts

6. The following parameters are now automatically maintained for the XI development system: NON_ABAP_WBO_CLIENT = Client of the XI development system. WBO_GET_REQ_STRATEGY = Automatically creates a transport request when you export an object from the XI development tools. The following values are possible: ■ SMART: The system creates a transport request (if not already available) and flags it as the standard request. ■ TAGGED (Default): Configured as the default value in the system. You already must have created a transport request with the Transport Organizer Web UI and flagged it as the standard request.

7. Additional parameters that can be maintained manually: NON_ABAP_WBO_INBOX = Path to the directory where the Transport Organizer searches for the files. In SPS14 the value can be set to <X>:\usr\sap\<SID>\SYS\global\$XI, to allow close coupling and loose coupling via file attach handling of XI development objects in parallel. WBO_REL_REQ_STRATEGY = Automatically releases a transport request. The following values are possible: ■ Auto: The system releases a transport request automatically as soon as an object is added to the request. ■ Manual (Default): Configured as the default value in the system. You must release the transport request manually or set the value of the parameter to Auto.

- 23 -

Page 26: 55821386 Configuration Guide Enhanced Cts

5.4 Configure the Transport Organizer Web UI The Transport Organizer Web UI runs against the development system only. The following step-by-step configuration description is based on SAP Library online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/ea/6213584a3f49119eccd7d739e55d5d/frameset.htm

5.4.1 Activating the Web Service for Transport Organizer Web UI Note: Check SAP Note 517484 for activation of additional necessary required services. Additionally you have to activate the following services:

• sap/public/bc/webdynpro • sap/public/bc/pictograms • sap/public/myssocntl

1. Log on to XI client of your ABAP stack XI system and call transaction SICF. Enter SERVICE in the Hierarchy Type field and CTS_BROWSER in the Service Name field. Choose Execute.

- 24 -

Page 27: 55821386 Configuration Guide Enhanced Cts

2. Select the Web service (CTS_BROWSER) on the Maintain Services screen. Activate the Web service by opening the context menu (right mouse click) and choosing Activate Service.

3. A dialog box for activating IFC services is displayed. Choose Yes (with tree icon). Hint: If you want to test the Web service, open the context menu (right mouse click) and choose Test Service.

6 Configuration for QAS/PRD (Target Systems) only Repeat the following configuration steps for all XI systems that you want to use as transport target systems.

6.1 Configure the CTS Deploy Web Service The following step-by-step configuration description is based on SAP Library online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/45/f9f02cf3e41ecce10000000a1553f7/frameset.htm

- 25 -

Page 28: 55821386 Configuration Guide Enhanced Cts

6.1.1 Checking the CTS Deploy Web Service

1. Open your web browser and enter the URL of your XI J2EE Engine (e.g. http://<hostname>:<port>). Open Web Service Navigator.

2. Check wether the DeployProxy Web service is in the list of deployed Web services. If the DeployProxy is missing, follow SAP Note 1076189 to install it.

- 26 -

Page 29: 55821386 Configuration Guide Enhanced Cts

6.1.2 Configuring the HTTP Connection

1. Log on to the ABAP part of your XI system, client 000. Call transaction SM59.

2. Choose HTTP Connections to External Server.

3. To create a new HTTP connection, choose Create and enter CTSDEPLOY as the name of the RFC destination. Create a connection of type G (HTTP Connections to External Server).

- 27 -

Page 30: 55821386 Configuration Guide Enhanced Cts

4. Choose the Technical Settings tab page.

5. Enter the name of the J2EE server and the service number (5<SAP system number>00). Confirm by choosing Enter.

6. Save your entries.

7. Choose the Logon & Security tab page.

8. Select Basic Authentication as the Logon Procedure.

9. Enter a J2EE user name and password.

- 28 -

Page 31: 55821386 Configuration Guide Enhanced Cts

10. Choose the Special Options tab page.

11. Select Specify Timeout and insert timeout value of 3600000.

12. Save your entries.

13. To test the new HTTP connection, choose Connection Test.

14. A successful connection results in Status HTTP Response of 200 and Status Text of OK.

6.1.3 Configuring the Logical Port for the Web Service Logical ports for Web services are customizing objects. Prerequisites To configure a logical port, you must enable customizing changes to be made in client 000. You can cancel these changes once you have configured the CTS deploy Web service.

- 29 -

Page 32: 55821386 Configuration Guide Enhanced Cts

6.1.3.1 Setting the System Change Option

1. Log on to the ABAP part of your XI system, client 000. The user requires administration rights (authorization object S_CTS_ADMI). Call transaction SE03.

2. Choose Administration → Set System Change Option.

3. The System Change Option screen is displayed. Choose Client Setting.

4. The Display View “Clients”: Overview screen is displayed. Select the client 000.

5. Switch to edit mode.

- 30 -

Page 33: 55821386 Configuration Guide Enhanced Cts

6. A dialog box with the message Caution: The table is cross-client appears. Choose Continue to confirm.

7. Choose Details for client 000.

8. The Change View “Clients”: Details screen is displayed. Select Automatic recording of changes. Save your entries.

6.1.3.2 Creating a Logical Port

1. Log on to the ABAP part of your XI system, client 000. Call transaction LPCONFIG.

- 31 -

Page 34: 55821386 Configuration Guide Enhanced Cts

2. Select the proxy class CO_TFLDEPLOY_PROXY_VI_DOCUMENT from F4 help.

3. Enter CTSDEPLOY as the logical port.

4. Choose Create.

5. Enter a description for the logical port and select the Default Port checkbox.

- 32 -

Page 35: 55821386 Configuration Guide Enhanced Cts

6. Under General Settings, choose the Call Parameters tab page.

7. Select CTSDEPLOY as the HTTP destination.

8. Specify the path suffix /DeployProxy/default?style=document.

9. Save your entries.

10. A dialog box is displayed that prompts you to specify a customizing request.

11. Enter your changes in a change request.

12. Activate the logical port of the CTS deploy Web service.

6.2 Create CTS User for Deployment in QAS/PRD

- 33 -

Page 36: 55821386 Configuration Guide Enhanced Cts

1. Create the service user NWDI_CTSADM in each of your XI clients. Call transaction SU01. Note: You use this technical user to transport XI Content to the Integration Builder.

2. Switch to the Roles tab page. Assign the ABAP role SAP_XI_CMS_SERV_USER to the service user NWDI_CTSADM. Additionally add the ABAP roles SAP_XI_DEVELOPER and SAP_XI_CONFIGURATOR to ensure that the CPA cache notifications will be triggered after import.

6.3 Maintain XI-Specific Parameters of QAS/PRD Systems in TMS

1. Log on to your TMS Domain Controller. Call transaction STMS and select the entry for your XI QAS and PRD systems. Note: You have to perform these configuration steps for all XI systems that are potential transport target systems. Double-click on the entry to display the system details.

- 34 -

Page 37: 55821386 Configuration Guide Enhanced Cts

2. Choose menu option SAP System → Create → Java Stack.

3. Select Activate Deployment Service and the method XI, and specify the host name and system number of the target XI system.

4. Save your data.

5. Insert the CTS service user and password of the target system and continue.

6. Confirm the pop-up window to distribute the TMS configuration data.

- 35 -

Page 38: 55821386 Configuration Guide Enhanced Cts

7. The following parameters are now automatically maintained for the XI target system(s): DEPLOY_DATA_SHARE = The directory to contain data saved by the transport program tp. It must always point to DIR_TRANS\data. DEPLOY_WEB_SERVICE = Name of the Web service CTSDEPLOY configured above. DEPLOY_XI_URL = URL of the XI QAS/PRD J2EE Engine, for example http://<host of target system>:<5<system number>00>

8. If you want to change the user/password later on, choose the Transport Tool tab page. Choose Goto → XI User/Password to maintain the user or password.

7 Demonstration of CTS Close Coupling Since the functionality is similar in both the Integration Directory and the Integration Repository, the screenshots in this unit show the Integration Repository use case only. We assume that you already have SWCVs and a change list that you would like to transport.

7.1 Export Wizard Integration

- 36 -

Page 39: 55821386 Configuration Guide Enhanced Cts

1. Log on to the Integration Repository of your XI development system. Select a SWCV that you would like to export and select in context-menu choose Export. Or you start the Export Wizard by choosing the menu option Tools → Export Design Objects … In this case you have to select the objects first, before you can select the transport mode.

2. Select Transport Using CTS as the transport mode, enter a description and choose Continue.

- 37 -

Page 40: 55821386 Configuration Guide Enhanced Cts

3. On the next wizard screen you can select into the transport all or a restricted number of objects. Choose Continue.

4. The system displays a proposed transport request (either a newly created one or an existing standard request for your user). Choose Finish to accept the request.

5. If you want to use a different request, click on the link to access the Transport Organizer Web UI to create a new transport or define a different transport as your standard transport.

6. If you do not use SSO you will have to sign in again.

- 38 -

Page 41: 55821386 Configuration Guide Enhanced Cts

7. Within the Transport Organizer Web UI you can create a new transport request.

8. Enter a short description and you can flag the transport request to be created immediately as your new standard request. Now you see the new transport request set as your standard request.

- 39 -

Page 42: 55821386 Configuration Guide Enhanced Cts

9. After you changed the request in the Transport Organizer Web UI you can refresh the transport selection in your XI transport wizard to show the new transport request.

10. Choose Finish.

11. A message confirms that the transport list has been added to the transport request, CXD900026 in our example.

12. After a while the final success messages is displayed asynchronously as a System message.

- 40 -

Page 43: 55821386 Configuration Guide Enhanced Cts

13. Switch back to the Transport Organizer Web UI and check the content of the transport request in tab Object List.

7.2 Change List Integration

1. Log on to the Integration Repository of your XI development system. Select a transportable change list and in the context-menu choose Release for CTS Transport.

- 41 -

Page 44: 55821386 Configuration Guide Enhanced Cts

2. In the change list use case you can only add or cancel the usage of the standard transport request.

3. An information message is then displayed.

4. Finally a success message is displayed asynchronous after a while.

7.3 Check Transports in Source Repository

1. Choose Tools → Find Transports.

- 42 -

Page 45: 55821386 Configuration Guide Enhanced Cts

2. Choose Advanced.

3. Select CTS Transport as the transport type and search.

4. Select one transport line to display its status information. To display details (Attributes tab page) and the contained objects (Transported Objects tab page), double-click an entry.

- 43 -

Page 46: 55821386 Configuration Guide Enhanced Cts

5. From the transport display, you can open the Transport Organizer Web UI to check your transport status.

7.4 Export Using Transport Organizer Web UI

1. Switch to the Transport Organizer Web UI and release your transport request. This may take some time.

2. Refresh the status and switch to your released transport to check the export log.

- 44 -

Page 47: 55821386 Configuration Guide Enhanced Cts

3. After a successful export the transport will be in status Released. You have to change the status from Modifiable to Released to see your transport request.

7.5 Check Transports in Target Repository After the import of the transport to the target system has been executed either automatically or manual by your transport administrator, you can check the result of the import in the target system.

1. Log on to the Integration Repository of your QAS system. Choose Tools → Find Transports. Choose Advanced. Select CTS Transport as the transport type and search. Select one transport line to display its status information. To display details (Attributes tab page) and the contained objects (Transported Objects tab page), double-click an entry.

- 45 -

Page 48: 55821386 Configuration Guide Enhanced Cts

8 Appendix - Checklist Configuration Step

DEV System QAS System PRD System

Setup your Transport Domain Controller

Either here (domain controller)

Or here (domain controller)

□ Include other systems in the Transport Domain

Either here (no domain controller)

Or here (no domain controller)

□ Configure Transport Route(s)

Either here (domain controller)

Or here (domain controller)

□ Ensure that the Latest Versions of CTS-relevant Software Parts are Installed

Check Existence of Logon Group

□ Create Profile for CTS Destination

Create Dedicated Service User or Assign Profile to all Developer Users

Create RFC Destination for Java to ABAP Connectivity

Maintain Exchange Profile

Maintain XI-Specific

Either here (domain controller)

Or here (domain controller)

- 46 -

Page 49: 55821386 Configuration Guide Enhanced Cts

- 47 -

Parameters of DEV System in TMS

Page 50: 55821386 Configuration Guide Enhanced Cts

Configuration Step

DEV System QAS System PRD System

Configure the Transport Organizer Web UI

Configure the CTS Deploy Web Service

Create CTS User for Deployment in QAS/PRD

Maintain XI-Specific Parameters of QAS/PRD Systems in TMS

Either here (domain controller)

Or here (domain controller)

□ □

- 48 -

Page 51: 55821386 Configuration Guide Enhanced Cts

www.sdn.sap.com/irj/sdn/howtoguides