CTS+ Configuration for Process Orchestration (PI/PO) and AEX 7.31 (JAVA Only Stack)
Prerequisites:-
1) Latest Version of tp and R3trans in Solution Manager and PO systems. Follow SAP NOTE 1825812 to update the same.
2) Follow SAP NOTE 1003674
TMS Configuration
3) Configuring Transport domain controller for Non-ABAP System
Log on to your chosen AS ABAP System (Solution Manager), in client 000 and start transaction STMS
4) Navigate to Overview—> Systems. Choose SAP System —> Create—> Non-ABAP System from the menu.
a) Creating Non-ABAP system as source system (PI DEV).
· Under Source System Settings, select the Activate Transport Organizer flag and enter the client of the ABAP communication systems (Default Solman client) where you want to use Transport Organizer.
· In the Field System, enter you PO Development SID and Description of System.
· Under communication System area, in Name filed, enter Solman SID
b) Creating Non-ABAP system as target system (PI QA and PRD Systems)
- Under Target System Settings, select the Activate Deployment Service flag.
- Select the required deployment methods, Select XI/PI.
- Enter the host of your target system (Here PI QA System) in the field Target Host in the format <FQDN> and the two-character system number in the System No. field.
- In the Field System, enter your PI QA SID and Description of System.
- Under communication System area, in Name filed, enter Solman SID
User can also be maintained in STMS as shown below.
5) Follow similar steps as in point ‘b’ for creating Non-ABAP PRD system.
6) Configure Transport Route and Switch to change mode in client 000.
7) Create a transport layer as follows:-
From the menu, choose Edit —> Transport Layer —> Create
8) Enter Transport Layer Name and Description
9) Follow below link now to create Transport Route
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/44/b4a1df7acc11d1899e0000e829fbbd/content.htm
Till here TMS is configured for PO system in Solution Manager as a Domain Controller.
Users Creation
10) Create Service user CTSSRVUSER in Solution Manager Default Client.
a) Create Role Z_CTS_PLUS_ADDITIONAL with below Authorizations.
b) Assign ROLES “SAP_CTS_PLUS” And “Z_CTS_PLUS_ADDITIONAL” to CTSSRVUSER
11) Create User NWDI_CTSADM as an (Technical User) in PI QA and PRD System with below Roles.
a) a) SAP_XI_CMS_SERV_USER
a) b) SAP_XI_DEVELOPER_J2EE
a) c) SAP_XI_CONFIGURATOR_J2ee
Create RFC Destination for Java to ABAP Connectivity.
12) Log on to the NetWeaver Administrator of PI DEV system. Create new RFC Destination sap.com/com.sap.tc.di.CTSserver under Configuration Management → Infrastructure → Destinations.
a) a) Click on create
a) b) Provide Information as below
· Hosting System: Local Java System <SID>
· Destination Name: sap.com/com.sap.tc.di.CTSserver
· Destination Type: RFC
· Click on Next
a) c) Provide Information for Solution Manager, CTS+ Host.
· Load Balancing: No
· Local System Connection: Unchecked
· Target Host: FQDN of Solution Manager
· System Number: <Solution Manager>
· System ID: <Solution Manager>
· Gateway Host: <Solution Manager>
· Gateway Service: <Solution Manager>
· SNC: Active or Inactive
· Click on Next
a) d) Provide User Details created in step 10 and Solution Manager Default client
a) e) Click on Finish
a) f) Ping Destination to check RFC.
Activating the Web Service for Transport Organizer Web UI
13) Logon to SMP Default Client, Right Click and activate CTS_BROWSER Web Service
Configure the CTS Deploy Web Service
14) Logon to SMP and call Transaction SM59
15) Click on Create RFC of connection type G
16) In the next screen provide entries as below
· RFC Destination: CTSDEPLOY
· Target Host: Host Name of Solution Manager
· Service No: 5<Solman Instance no>00
17) Provide J2ee_Admin User credential of Solution manager
18) Choose the Special Options tab page. Select Specify Timeout and insert timeout value of 3600000 or -1
Configure Logical port for the Web Service
Note: This has to be configured in client 000 Solution Manager System. Make sure your client is open for “Automatic recording of changes”. Once port created change it back to “No changes allowed”.
19) Call Transaction LPCONFIG
· Continue by ignoring warning
20) Provide Information as below and click on create
· Proxy Class :CO_TFLDEPLOY_PROXY_VI_DOCUMENT
· Logical Port :CTSDEPLOY
· Description :CTS Deploy Service
· Default Port :Checked
21) Under Call Parameters tab provide Information as below
· HTTP Destination: CTSDEPLOY
· Path Suffix : /DeployProxy/default?style=document
22) Dialog box is displayed that prompts you to specify a customizing request. Enter your changes in a change request
23) Activate Logical Port
Configuring CTS Parameters on PI DEV system
24) Open URL http://<HOST>:PORT/dir/start/index.jsp for PI DEV and click on Administration
25) Click on Property configuration tab under Repository Tab.
26) Go to Service tab and filter on *XPI* and select XPI Service: All Config Service
27) Filter on *cts* under Properties tab
Default Value for above two highlighted parameters is False.
28) Change parameter value to, True
· Select com.sap.aii.ibrep.core.cts.enableCITransport and click on modify
· Enter custom Value True and click on set
· Similarly change value for com.sap.aii.ibrep.core.cts.enableTransportWizard
· After setting above parameters CTS+ option is enabled
29) Configuration of CTS+ for PI JAVA only is completed now.
Very detailed How to guides. Thanks a lot.
Thanks Daniel for your comments.
Great document. Helps a lot.
Thanks Yomesh.
Nice blog. Has anyone run into the following error:
com.sap.aii.util.misc.api.BaseRuntimeException: Reading GDI ... FAILED. Source is not well formed. SAXParseException at line -1, co
lumn -1. Details:
Message: Generic Exception:
Stacktrace:
com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> com.sap.aii.util.misc.api.BaseRuntimeException: Pars
ing generic data instance: begin of unexpected element script!
This is not a password problem though. I am using solman as the domain controller. Version is 7.1 while our PO version is 7.3 EHP1 SP6.
Thanks,
JOnathan.
Hi Jonathan,
At which step you are getting this error?
Regards
Devendra Soni
Hi, Devendra
I am getting the error from importing into the target system and I don't think it is anything to do with the password. I have checked the user/password many times that I put into the TMS config. The export itself works fine.
Here is the other log I saw:
Deploy Webservice environment (2013-06-27 15:30:22.0723 -4:00)
DeployProxy (vendor: 'sap.com', name: 'tc/cts/appl', scV: 'sap.com', scN: 'LM-TOOLS', location: 'MAIN_NW702P11_C', counter: '428267
8', R: '7.02', SP: '11', PL: '0', change number: '175', appl-level:0) called.
J2EE server is SM7.
Communication data provided (2013-06-27 15:30:22.0726 -4:00)
connection:http://XXXXX:53000/rep user:null password:filled properties:empty deployType:XIR applicationType:null
Begin deployment (2013-06-27 15:30:22.0726 -4:00)
Import Event (Id:0600020C00161EE2B7EC003CAA3D189B)
The user is showing null while password is showing filled. Is user showing as null normal?
Thanks,
Jonathan.
Hi Jonathan,
Pleaes check CTSDEPLOY RFC and maintain user name/password again in RFC.
Also check authorization for user maintained in RFC.
Have you maintained J2ee_Admin user or any other user in RFC?
What is the status of LPCONFIG in Solman client 000, it is activated?
Best Regards
Devendra Soni
Hi, Devendra
I though the CTSDEPLOY is only pointing to the java stack of solution manager. This is working as I am able to do the PO export.
The problem happens when I import the PO transport into the QA server.
Thanks,
Jonathan.
Hi Jonathan,
While export RFC:- sap.com/com.sap.tc.di.CTSserver comes into picture.
While Deploying/Import CTSDEPLOY plays role. therefore I suggested you to please check once with User mentioned in RFC.
Best Regards
Devendra Soni
Hi Devendra,
I've set up CTS+ to transport PO 7.31 objects.
I can transport ESR objects between PO systems using CTS+.
But, my problem is, I cannot transport Integration Builder objects using CTS+. The transport relevant options in IB under tools "Open CTS Transport Organizer"is greyed out i.e. there is no option to use CTS+ in the pull down list and cannot be selected. .
I am struggling to find out what exactly i am missing.
Regards,
Shekar
Hi Shekar,
Did you set parameter com.sap.aii.ibdir.core.cts.enableClTransport = true in the Java System Properties? This enables CTS in the Integration Directory.
Best Regards
Harald
I have followed the guide, and CTS works well for SLD and ESB, but Integration Builder does not shows the option of "export to CTS" and the "Tools" -> "Open CTS Transport organizer" is greyed out.
Seems that some additional parameter is needed?
Hi Laura,
Please add below two parameters in above location, with Value TRUE.
1) com.sap.aii.ibdir.core.cts.enableClTransport
2) com.sap.aii.ibdir.core.cts.enableTransportWizard
Best Regards
Devendra Soni
Hi all.
Check also if parameter com.sap.aii.ib.client.properties has the string below(or its wildcard equivalent)
, com.sap.aii.ibdir.core.cts.*, com.sap.aii.ibrep.core.cts.*
Otherwise the parameters are not activated.
Regards
Hi, all
Just let you know that the problem was fixed by importing the latest cts plus patch. It is a bug I ran into.
Thanks,
Jonathan.
Hi,
We are also facing the same issue, while importing in Quality server, our PI version is 7.31 SP 10. Please let me know any additional components need to be updated or is there any other workaround to fix the error.
Regards
Rajakumar
Does this setup not need a development configuration for using NWDI (DTR activities) and for transporting the BPM processes via CTS+? I understood that this is only the PI part configuration?
Best Regards
Harald
Hi.
Thanks for sharing.
Very well explained.
Please also refer to my following document which also covers the BPM part of PO.
http://scn.sap.com/docs/DOC-47484
Best Regards
Harald
Hi Harald,
I went through your blog and it is very well explained.
Best Regards
Devendra Soni
Hello Devendra,
Thanks. Good to hear that it helped you! Let me know if you have any questions.
Best Regards
Harald
Thanks Bruno for your comments..
Best Regards
Devendra Soni
Hi Devendra Singh Soni ,
Good one... Thanks for sharing... very helpful
Regards,
Rajesh
Hi Devendra,
I've set up CTS+ to transport PO 7.31 objects.
I can transport ESR objects between PO systems using CTS+.
But, my problem is, I cannot transport Integration Builder objects using CTS+. The transport relevant options in IB under tools "Open CTS Transport Organizer"is greyed out i.e. there is no option to use CTS+ in the pull down list and cannot be selected. .
I am struggling to find out what exactly i am missing.
Regards,
Shekar
Hi Shekar,
Did you set parameter com.sap.aii.ibdir.core.cts.enableClTransport = true in the Java System Properties? This enables CTS in the Integration Directory.
Best Regards
Harald
Hi Harald,
Thanks for your response.
I am not able to find the following two services under the service "XPI Service: All Config Service" in Property Configuration link
1) com.sap.aii.ibdir.core.cts.enableClTransport
2) com.sap.aii.ibdir.core.cts.enableTransportWizard
Are these exists in any other service. Please suggest.
Regards,
Shekar
Hi Shekar,
If these parameters are not there you have to add those to the AII Config Service (button "Add")
Best Regards
Harald
Hi Shekar,
Please add those parameters as I have mentioned before in my Blog and also mentioned by Harald.
go to services tab-->Select "XPI Service: all config service" --> Click on ADD-->In the pop up window put Name=(Parameter Value as mentioned below), Value=TRUE, Description= CTS Parameter for ID or depends upon you.
1) com.sap.aii.ibdir.core.cts.enableClTransport
2) com.sap.aii.ibdir.core.cts.enableTransportWizard
This will solve your problem.
Best Regards
Devendra Soni
Hi Devendra ,
it's helped me a lot.Thanks
regards,
Abdul
Hi Devendra/Harald,
Thanks for your help. As it has resolved now.
Regards,
Shekar
Hi Devendra,
thank you for sharing the document. I have followed all your steps and used Solman as my domain controller.
but When i tried to release transport created in PID in SLM it says
In this SAP System, you can only change requests/tasks of type "SLMKxxxxxx". The function you selected tries to change a request/task from another system.
Could you please assist me?
Hi Tee,
You are trying to release transport created in PI from Solution Manager and therefore you are getting this error because transport dosen't belong to solman system.
You have to release transport from transport web UI and not from SE01 in Solution Manager ABAP stack.
Best Regards
Devendra Soni
Ok, Thanks Devendra for your reply. But I am not familiar with transport web UI.
Do i need to configure anything else apart from CTS+ to access this?
If you could provide some guidance with any example that would be really helpful.
Hi,
You can access this from Solution Manager via STMS (Third icon from the left). You have to select your PI development system from drop down.
Best Regards
Devendra Soni
I have released transport in PID. But am getting error while importing into PIQ.
error is Deploy proxy server not running or web service not installed.
I have checked lpconfig by logging into 000.
Status is active.
Could you please assist me with this?
I have checked web service. Please see the below screenshot
Hi
The share of transport for the SLD and DESIGN is working.
But for Integration Directory ( CONFIGURATION ) the using EXPORT CTS is not enabled.
All steps (CTS Configuring Parameters on DEV PI system) was carried out.
What more could analyze?
Thank you
Bruno Rigolo
Hi Bruno,
I have replied above for this error.
Please check replied message to Shekar.
Best Regards
Devendra Soni
Hi Devendra,
Now is working, I added the two parameters.
Thank You!!
There is some configuration error that occurs on shipping for scenarios that possess a communication channel SOAP RECEIVER ?
Exception during deploy:com.sap.aii.ibtransportclient.XiTransportException:
ClientServerException exception:
Check 0: FINEST Activation of the change list canceled
Check 1: FINE [], [Check result for Communication Channel BACEN BS_BACEN CC_SOAP_REC (DirContext):
Enter a value for attribute Target URL
]
com.sap.aii.utilxi.misc.api.ResourceException:
Check 0: FINEST Activation of the change list canceled
Check 1: FINE [], [Check result for Communication Channel BACEN BS_BACEN CC_SOAP_REC (DirContext):
Enter a value for attribute Target URL
]
Any parameter that can ignore the empty Channel URL?
Bruno Rigolo
Hi Bruno,
No. You need to enter the URL in that communication channel. During transport this field is emptied automatically and needs to be maintained manually.
BR
Harald
Hi Harald,
I am using the following parameter:
com.sap.aii.ibdir.core.ctstransport.autoActivation.default EQ false
Now, no more error occurs because the transport is disabled automatic activation
Thanks for your help
Bruno Rigolo
Hi Bruno,
This is clear. However you still need to enter the URLs manually in the target system.
BR
Harald
Hi Harald,
Yes I know, but now the log of STMS and REQUEST is successfully
Thank you.
Bruno Rigolo
Hi
I have the same problem and I set already this parameter but issue still there.
have you restarted PO or it should be dinamycally?
Regrds
Hi Devendra Singh Soni ,
Thank you for sharing. This is great information.
Can I use the same way on Adapter Engine Extended 7.4(JAVA Only Stack)?
Best regards,
Kensuke Mambo
Hello Kensuke,
Sure you can. It is basically the same AEX in 7.4. The main difference between 7.31 and 7.4 is the HANA part which has been added to the NW version. Thus, the above guide will fit your needs.
BR
Harald
Hi Harald,
Thank you for your reply.
BR
Kensuke
This is very good article in detail.
Thank you for such a good article.
Excellent article! Thanks for posting.
Thanks Ravi..
BR
Devendra
Thank you for your effort. Very good and detailed.
Thanks. Very helpful!
Hi Devendra,
I upgraded my BRM 7.4 to PO 7.4.
I am configuring CTS+ for AEX object transport by following your above document.
The BRM SID is DR2. Because DR2 is used as Non-ABAP transport
system name which uses NWDI, So I created a Non-ABAP transport system name DI2
for AEX objects.
The issue is ESR does not recognize DI2. When I use “Export Design Objects”, it asks connecting to DR2.
Could you please advise is there a way to solve the issue?
Thanks,
Jack
Hello Jack,
Sorry to say but the API used here (XI/PI/PO/AEX) will always search on ABAP/CTS+ side for a non-ABAP system with same name (SID) as export system -so only reqeusts from DR2 will be accepted.
But in principle it is ok (from CTS+ standpoint) to have more than one on-ABAP content type ('application type') assigned to one non-ABAP source (or target) system.
And: NWDI should allow to choose SID on ABAP side via different 'upload system' SID (per track)...
Regards,
Hans-Dieter (CTS+ Development)
Hi Hans-Dieter,
Very clear. Thank you very much!
Jack
Hello Experts,
I have configured CTS+ with domain controller as my Solution Manager systems, almost followed the above documentation.
When I tried to export from my PO development system I get an error "Unable to connect to CTS system See error logs for details"
In the logs I see this "Error executing function (check stacktrace for details): CTS_WBO_GET_DEFAULT_REQUEST [EXECUTION_ERROR_CHECK_STACKTRACE]",
FYI I am able to open CTS Transport Organizer fine from Tools --->Open CTS Transport Organizer.
I checked the user in the Solution Manager system, it is having the correct roles as mentioned in the above documentation.
Any one having idea on this, please suggest.
Regards,
Leela.
Hello Leela,
Please ensure that you start attach action (dev. environment) with a user existing 'name-identical' on ABAP/CTS+ side (max.12 digits supported -so please avoid 'ADMINISTRATOR'...).
Otherwise you may have a look into note 1155884, should help to trace issue, hopefully also for resolving it, but at least giving details on needed information for analyzing from SAP support.
Regards,
Hans-Dieter (CTS+ Development)
Hans,
Yes, this worked for me. I created a same user(what I have on my ABAP CTS+ system) in my DEV PO system and it worked(SSO must be playing a role here).
Regards,
Leela.
CTS+ Configuration for SAP PI Single Stack (AEX/PO) For DUMMIES! Part 1
CTS+ Configuration for SAP PI Single Stack (AEX/PO) For DUMMIES! Part 2
Hans,
I have one more query about this configuration, in the above document step 4a while entering communications system details(It is referred to use solman default client), does it mean 000 or the Solution manager production client(for example 100) or can it be any client of our interest? Please clarify.
Regards,
Leela
Hi Leela,
Basically 'free choice' -as long as it's an existing client (and I would not recommend to use 'standard ones' as 000 or 066). The default client is however indeed proposed/'prefilled', and often there will be no need to change it (but you may).
And: Which everone you choose, be careful to use same client in step 12d (setup of RFC destination) -this is very important.
BR,
Hans-Dieter (CTS+)
Thanks for clarifying my queries Hans.
Regards,
Leela.
Hi ,
greate Blog . But I have the problem that the objects are not added to the transport.
Have you idea why ? Transport is created without any problem
The state in Service Builder is " Waiting for Export "
Please verify the configuration from this
CTS+ Configuration for SAP PI Single Stack (AEX/PO) For DUMMIES! Part 1
CTS+ Configuration for SAP PI Single Stack (AEX/PO) For DUMMIES! Part 2
Hi,
if the issue is on CTS+ side you will surely find traces of that (JCO-Exception) in JAVA engine (or even XI) logs, as described in note 1155884 (hopefully then also containing details on how to solve, but at least on how to proceed).
If not it should be either issue in setup (see Vikas comment above), or needs to get analysed on XI side -sorry, there I can't help.
BR,
Hans-Dieter (CTS+)
is solved after a complete restart of the J2EE Engine
Hi Devendra,
Your Document is very useful for the configuration of CTS+ for PO system. I have followed your documents & configure CTS+ for PO system but geeting issue that while exporting of any object from PO system error message is generated stating that "Unable to connect to CTS system".
Do you have any idea to resolve this issue or have u face this type of issue?
BR
Aman Jain
Hi Devendra,
Great blog. We've recently Split our Dual Stack PI to seperate ABAP and Java Stacks. In our case, can I just use the ABAP PI stacj in place of Solution manager to configure CTS+? Is there any different configuration I need to do?
Thanks,
Vishnu
Nice Article. We used it to configure our PO systems. Thanks
Hi ,
I have configured CTS + for PO JAVA only. the export option is enabled for ESR objects.
However when i try to export under integration builder ,the CTS+ option is disabled.
can someone suggest on this please?
Thanks