Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
patelyogesh
Active Contributor
56,227


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)


1.1.    Create SAP role “Z_CTS_PLUS_ADDITIONAL”



1.2.    Assign USER ROLES “SAP_CTS_PLUS” And “Z_CTS_PLUS_ADDITIONAL”



2.       Create RFC Destination for PI  Java to PI ABAP Connectivity

2.1.    Login to http://<PI_Host>:5XX00/nwa



2.2.    Navigate to Configuration >> Infrastructure >> Destinations



2.3.    Click Create



2.4.    Provide information as below
Hosting System: Local J2EE System <SID>
Destination Name: sap.com/com.sap.tc.di.CTSserver
Destination Type: RFC



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



2.6.    Provide user detail you created under step 1


2.7.    Press Finish
Pooled Connection Mode : Uncheck



2.8.    Test RFC



Result should be



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



3.2.    Create new parameter



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



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.



3.5.    Open IntegrationBuilder.Repository



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.



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



4.       TMS configuration for JAVA systems in PI ABAP

4.1.    Login to SAP PI client 000 with user DDIC



4.2.    Run TCode STMS



4.3.    Open System Overview



4.4.    Select Your SAP development system from list and create Java Stack Configuration (Navigation :SAP System >> Create >> Java Stack Configuration)



4.5.    Select  Activate Transport Organizer under Source System Settings
Provide your SAP PI Development system SID  and PI integration client number and Save


(In our cace PD1 is development system)

4.6.    This will create following entry in transport tool for SAP PI development system





4.6.1 Navigation to varify
Highlight development system and from menu select Sap System and Change


4.6.2 Open transport tool TAB


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



5.3.    Search for *CTS*



5.4.    Activate both services “CTS_BROWSER” And “CTS_OBJECTLIST_BROWSER”


Select Yes



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



6.1.3.  Create RFC



6.1.4. Provide PI localhost information



6.1.5. Provide user as J2EE_ADMIN



6.1.6. Specify Timeout as 3600000 and Save



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”.



7.1.    Login to ABAP PI client 000 QAS system

7.2.    Run Tcode LPCONFIG



7.3.    Continue on warning



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



7.5.    Under call Parameter TAB
HTTP Destination  : CTSDEPLOY
Path Suffix :  /DeployProxy/default?style=document
Message ID : Checked
State Management : Checked



7.6.    Activate Port



7.7.    Check Status of port after saving changes



8.       Create CTS User NWDI_CTSADM for Deployment in Target system (QAS, Pre Prod, Prod)

8.1.    User information



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)



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


As soon as you save it will ask for NWDI_CTSADM user and password

9.5.    Provide NWDI_CTSADM user password



9.6.    This will create following entry in transport tool for SAP PI QAS system







If you want to include SLD in to transport then create parameters as below



Note: Host name is PI QAS SLD URL

Provide SLD user in configuration in PI QAS system



9.7.    Configuration is DONE

Errors :

Note 1497388 - CTS+ deploy test: Incorrect return code 8

Note 1428106 - Null Reference Error in the CTS+ Browser

2 Comments
Labels in this area