Prerequisites
Note: Install new SAP Kernel for PI 7.3 system and make sure you have new version of tp.exe and R3trans.exe
Procedure in SAP PI Development system
1. Create service user CTSSRVUSER (Note: user is created in to PI working client; Example Client 100)
Image may be NSFW.
Clik here to view.
1.1. Create SAP role “Z_CTS_PLUS_ADDITIONAL”
Image may be NSFW.
Clik here to view.
1.2. Assign USER ROLES “SAP_CTS_PLUS” And “Z_CTS_PLUS_ADDITIONAL”
Image may be NSFW.
Clik here to view.
2. Create RFC Destination for PI Java to PI ABAP Connectivity
2.1. Login to http://<PI_Host>:5XX00/nwa
Image may be NSFW.
Clik here to view.
2.2. Navigate to Configuration >> Infrastructure >> Destinations
Image may be NSFW.
Clik here to view.
2.3. Click Create
Image may be NSFW.
Clik here to view.
2.4. Provide information as below
Hosting System: Local J2EE System <SID>
Destination Name: sap.com/com.sap.tc.di.CTSserver
Destination Type: RFC
Image may be NSFW.
Clik here to view.
2.5. Provide information for SAP PI system and continue
Load Balancing: No
Local System Connection: Checked
System ID: <SID> (Your system id)
Gateway Host: localhost
Gateway Service: sapgwXX (Your system instance number)
SNC: Active or Inactive
Image may be NSFW.
Clik here to view.
2.6. Provide user detail you created under step 1
Image may be NSFW.
Clik here to view.
2.7. Press Finish
Pooled Connection Mode : Uncheck
Image may be NSFW.
Clik here to view.
2.8. Test RFC
Image may be NSFW.
Clik here to view.
Result should be
Image may be NSFW.
Clik here to view.
3. Maintain Exchange Profile
Note: Before you start with the maintenance, you might want to export the current version of your exchange profile.
3.1. Open Exchange profile through http://<PI_Host>:5XX00/webdynpro/dispatcher/sap.com/com.sap.xi.exprofui/XIProfileApp
Image may be NSFW.
Clik here to view.
3.2. Create new parameter
Image may be NSFW.
Clik here to view.
3.3. To enable the CTS integration out of the Transport Wizard in the Integration Directory create boolean parameter com.sap.aii.ibdir.core.cts.enableTransportWizard and set value to true
Image may be NSFW.
Clik here to view.
3.4. To enable the CTS integration for the Changelist transport in the Integration Directory create boolean parameter com.sap.aii.ibdir.core.cts.enableClTransport and set value to true.
Image may be NSFW.
Clik here to view.
3.5. Open IntegrationBuilder.Repository
Image may be NSFW.
Clik here to view.
3.6. To enable the CTS integration for the Transport Wizard in the Enterprise Service Repository create boolean parameter com.sap.aii.ibrep.core.cts.enableTransportWizard and set value to true.
Image may be NSFW.
Clik here to view.
3.7. To enable the CTS integration for the Changelist transport in the Enterprise Service Repository create boolean parameter com.sap.aii.ibrep.core.cts.enableClTransport and set value to true
Image may be NSFW.
Clik here to view.
4. TMS configuration for JAVA systems in PI ABAP
4.1. Login to SAP PI client 000 with user DDIC
Image may be NSFW.
Clik here to view.
4.2. Run TCode STMS
Image may be NSFW.
Clik here to view.
4.3. Open System Overview
Image may be NSFW.
Clik here to view.
4.4. Select Your SAP development system from list and create Java Stack Configuration (Navigation :SAP System >> Create >> Java Stack Configuration)
Image may be NSFW.
Clik here to view.
4.5. Select Activate Transport Organizer under Source System Settings
Provide your SAP PI Development system SID and PI integration client number and Save
Image may be NSFW.
Clik here to view.
(In our cace PD1 is development system)
4.6. This will create following entry in transport tool for SAP PI development system
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
4.6.1 Navigation to varify
Highlight development system and from menu select Sap System and Change
Image may be NSFW.
Clik here to view.
4.6.2 Open transport tool TAB
Image may be NSFW.
Clik here to view.
Note: Other parameter depends on your SAP transport stratagy
5. Activating the Web Service for Transport Organizer Web UI (Should do in all CTS+ systems)
5.1. Login to SAP PI development system
5.2. Run TCode SICF
Image may be NSFW.
Clik here to view.
5.3. Search for *CTS*
Image may be NSFW.
Clik here to view.
5.4. Activate both services “CTS_BROWSER” And “CTS_OBJECTLIST_BROWSER”
Image may be NSFW.
Clik here to view.
Select Yes
Image may be NSFW.
Clik here to view.
5.5. Test Service
6. Target Systems Configuration (Quality Assurance, Pre Production, Production)
Example is for Quality Assurance system (QAS)
6.1. Create “CTSDEPLOY” RFC connection in PI QAS system
6.1.1. Login to PI QAS ABAP system
6.1.2. Run TCode SM59
Image may be NSFW.
Clik here to view.
6.1.3. Create RFC
Image may be NSFW.
Clik here to view.
6.1.4. Provide PI localhost information
Image may be NSFW.
Clik here to view.
6.1.5. Provide user as J2EE_ADMIN
Image may be NSFW.
Clik here to view.
6.1.6. Specify Timeout as 3600000 and Save
Image may be NSFW.
Clik here to view.
7. Configure the Logical Port for the Web Service
Note: This has to be configured in client 000 PI QAS system Make sure your client is open for “Automatic recording of changes”. Once port created change it back to “No changes allowed”.
Image may be NSFW.
Clik here to view.
7.1. Login to ABAP PI client 000 QAS system
7.2. Run Tcode LPCONFIG
Image may be NSFW.
Clik here to view.
7.3. Continue on warning
Image may be NSFW.
Clik here to view.
7.4. Provide information as below and press Create
Proxy Class :CO_TFLDEPLOY_PROXY_VI_DOCUMENT
Logical Port :CTSDEPLOY
Description :CTS Deploy Service
Default Port: Checked
Image may be NSFW.
Clik here to view.
7.5. Under call Parameter TAB
HTTP Destination : CTSDEPLOY
Path Suffix : /DeployProxy/default?style=document
Message ID : Checked
State Management : Checked
Image may be NSFW.
Clik here to view.
7.6. Activate Port
Image may be NSFW.
Clik here to view.
7.7. Check Status of port after saving changes
Image may be NSFW.
Clik here to view.
8. Create CTS User NWDI_CTSADM for Deployment in Target system (QAS, Pre Prod, Prod)
8.1. User information
Image may be NSFW.
Clik here to view.
8.2. User roles are as below
SAP_BC_WEBSERVICE_PI_CFG_SRV
SAP_SLD_CONFIGURATOR
SAP_SLD_DEVELOPER
SAP_XI_BPE_CONFIGURATOR_ABAP
SAP_XI_CMS_SERV_USER
SAP_XI_CMS_SERV_USER
SAP_XI_CONFIGURATOR
SAP_XI_CONFIGURATOR_ABAP
SAP_XI_CONFIGURATOR_J2EE
SAP_XI_DEMOAPP_EXECUTE
SAP_XI_DEVELOPER
SAP_XI_DEVELOPER_ABAP
SAP_XI_DEVELOPER_J2EE
SAP_XI_EXCHANGE_PROF_READ
9. TMS configuration for Target system (QAS, pre prod and prod)
9.1. Login to SAP PI DEV ABAP system in client 000 with user DDIC
9.2. Open TMS and go to system overview
9.3. Select Your SAP PI Quality assurance system from list and create Java Stack Configuration (Navigation :SAP System >> Create >> Java Stack Configuration)
Image may be NSFW.
Clik here to view.
9.4. Under Target system setting Activate Deployment Service
Method : XI
Target Host : SAP PI QAS system host name
System Number : PI QAS Instance number
Image may be NSFW.
Clik here to view.
As soon as you save it will ask for NWDI_CTSADM user and password
9.5. Provide NWDI_CTSADM user password
Image may be NSFW.
Clik here to view.
9.6. This will create following entry in transport tool for SAP PI QAS system
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
If you want to include SLD in to transport then create parameters as below
Image may be NSFW.
Clik here to view.
Note: Host name is PI QAS SLD URL
Provide SLD user in configuration in PI QAS system
Image may be NSFW.
Clik here to view.
9.7. Configuration is DONE
Errors :
Note 1497388 - CTS+ deploy test: Incorrect return code 8
Note 1428106 - Null Reference Error in the CTS+ Browser