Skip to Content

This blog discusses the method to read the list of business systems created on SLD through the Java application. The origin of this idea is to read the existing Bussiness system from SLD and send it along with the message to XI. Based on this business system it routed the message to my back end system.

Pre-requisite:

Include the following jars in the application build path for client side compilation.
1.lcrclient.jar
2.sldserv.jar 

Use the following services in application-j2ee-engine.xml.

Code Sample:

The following code will pick up all the business systems existing on SLD. The rights of the administrator is necessary to pick up the systems from SLD.

Properties File(YourProp.properties):

Note:

Steps to grant permission to your application to access SLD:

Step 1 : Go to Visual Administrator and check the SLD Data Supplier link under services.
Step 2 : Go to “CIM client Generation Settings” and grant domain permissions to the project module.
Step 3 : Perform the CIMClientTest and if successful the process is complete.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

    1. Milen Touchev
      Quote : “One more way is to call from LCR_LIST_BUSINESS_SYSTEMS FM does that.You call that from Java using JC0:)”

      Hi Sravya,
      is there an opportunity to read the names of the available services (webservices) with JCo. Do you know which BAPI, RFC should i use? Thanks in advance,

      kind regards,

      Milen

      (0) 

Leave a Reply