CIS implementation

I am getting the follwoing error while running the CIS Java program
com.stellent.cis.client.command.CommandException: No adapters have been configured
     at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:62)
     at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
     at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
     at com.stellent.cis.client.api.scs.search.impl.SCSSearchAPI.searchUniversal(SCSSearchAPI.java:134)
     at view.TestCIS.main(TestCIS.java:63)
Caused by: com.stellent.cis.client.api.common.CreateAPIObjectException: No adapters have been configured
     at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.getAdapterVersion(CISAPIObjectFactory.java:321)
     at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory._initializeObject(CISAPIObjectFactory.java:253)
     at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.createObject(CISAPIObjectFactory.java:181)
     at com.stellent.cis.server.api.scs.impl.SCSCommand.createServerBinder(SCSCommand.java:392)
     at com.stellent.cis.server.api.scs.impl.SCSCommand.getActiveBinder(SCSCommand.java:58)
     at com.stellent.cis.server.api.scs.impl.SCSCommand.buildRequest(SCSCommand.java:251)
     at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:219)
     at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
     ... 4 more
Caused by: com.stellent.cis.client.command.CommandException: No adapters have been configured
     at com.stellent.cis.server.api.common.commands.administrative.adapter.GetAdapterCommand.execute(GetAdapterCommand.java:104)
     at com.stellent.cis.server.api.common.commands.impl.UCPMCommonCommand.execute(UCPMCommonCommand.java:52)
     at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
     at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
     at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
     at com.stellent.cis.client.api.common.administrative.adapter.impl.CISAdministrativeAdapterAPI.getAdapter(CISAdministrativeAdapterAPI.java:90)
     at com.stellent.cis.client.api.common.impl.CISAPIObjectFactory.getAdapterVersion(CISAPIObjectFactory.java:312)
     ... 11 more
Caused by: com.stellent.cis.server.adapter.AdapterConfigurationException: No adapters have been configured
     at com.stellent.cis.server.adapter.impl.AdapterConfigFactory._validateConfigPresent(AdapterConfigFactory.java:857)
     at com.stellent.cis.server.adapter.impl.AdapterConfigFactory.getConfig(AdapterConfigFactory.java:538)
     at com.stellent.cis.server.adapter.impl.AdapterConfigFactory.getConfig(AdapterConfigFactory.java:503)
     at com.stellent.cis.server.api.common.commands.administrative.adapter.GetAdapterCommand.execute(GetAdapterCommand.java:82)
     ... 17 more
I have followed the below steps:
1) Enabled CIS_Helper in Content Server Console
2) Created a adapterconfig.xml file with the below code
<?xml version="1.0" encoding="windows-1252" ?>
<adapter name="myAdapter" type="scs" default="true">
<config>
<property name="host">172.17.103.122</property>
<property name="port">4444</property>
<property name="type">socket</property>
<property name="version">75</property>
</config>
<beans template="classpath:/META-INF/resources/adapter/adapter-services-scs.jxml"/>
</adapter>
3) Created a new folder like C:\CIA and copied cis-client-11g.jar and adapterconfig.xml into the folder
4) wrote a program like below
package view;
import com.stellent.cis.ICISApplication;
import com.stellent.cis.client.api.scs.context.ISCSContext;
import com.stellent.cis.client.api.scs.search.ISCSSearchAPI;
import com.stellent.cis.client.api.scs.search.ISCSSearchResponse;
import com.stellent.cis.client.command.CommandException;
import com.stellent.cis.impl.CISApplicationFactory;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Properties;
public class TestCIS {
public static void main(String[] args) {
// Declare the ICISApplication object
ICISApplication application;
// Declare and initialize the path to the adapterconfig.xml
String adapterURL = "";
try {
// Set the path to the adapterconfig.xml to the absolute path of the file
URL xmlRes;
xmlRes = new File("C:\\CIS\\adpaterconfig.xml").toURL();
adapterURL = xmlRes.toExternalForm();
} catch (MalformedURLException mue) {
mue.printStackTrace();
return;
Properties properties = new Properties();
// Setting the startup type to a server
properties.setProperty(ICISApplication.PROPERTY_CONFIG_TYPE, "server");
// Setting the file:// location of the adapterconfig.xml
properties.setProperty(ICISApplication.PROPERTY_CONFIG_SERVER_ADAPTER_CONFIG,
adapterURL);
// Setting the server type to standalone so that this instance will not accept CIS clients
properties.setProperty(ICISApplication.PROPERTY_CONFIG_SERVER_TYPE,
"standalone");
// Initialize the CIS server and assign it to the ICISAppplication object
application = CISApplicationFactory.initialize(properties);
// Create a context for submitting commands to a Content Server
ISCSContext context =
application.getUCPMAPI().getActiveAPI()._createSCSContext();
// Setting the Content Server user to sysadmin
context.setUser("weblogic");
// Setting the adapter to which we're going to submit the commands
context.setAdapterName("myAdapter");
try {
// Initialize the ISCSSearchAPI
ISCSSearchAPI searchAPI =
application.getUCPMAPI().getActiveAPI().getSearchAPI();
// Execute the search against Content Server and save the response to the ISCSSearchResponse object
ISCSSearchResponse searchResponse =
searchAPI.searchUniversal(context, "dDocName <matches> `tr`",
20);
} catch (CommandException ce) {
ce.printStackTrace();
return;
when it is compiled its giving the errors
Please guide is this the correct procedure to implement the CIS features
Please help to resolve the issue

Hi Greg,
You understanding is right: as of last SAP release Russian payroll is a part of stadnard SAP delivery, i.e. standard version.
In your post you are refering to CIS add on that was a solution for R/3 4.0, 4.5, and maybe 4.6.
So it is very outdated information.
Cheers

Similar Messages

  • New bee - accessing CIS from java

    Hi ,
    On the same line. I want to access the CIS from Java. Can you guide me on how I can implement this . Both from a standalone java program and from a web layer ?
    I have installed content server 10gR3. I want to acess this server from Java.
    Any help is appreciated.

    I think that if you create a interface in java and a class in javafx that implements that interface you can then pass that class to java. For instance:
    Java:
    public interface EventReceiver {
        public void receive(String event);
    // Then your java class that generates the events
    public class EventGenerator {
        private List<EventReceiver> receivers = new LinkedList<EventReceiver>();
        public void registerEventReceiver(EventReceiver er) {
            receiver.add(er);
        public void unregisterEventReceiver(EventReceiver er) {
            receiver.remove(er);
         *  Add code that calls EventReceiver.receive(String) method for each element in the receiver list
         *  when the panel is touched.
    }and in the JavaFX code:
    public class JavaFXEventReceiver extends EventReceiver {
        public override function receive(String event) {
            // Do UI updates...
    }A little more indepth version can be found here:
    http://www.compare-review-information.com/pure-java-code-to-call-javafx-class/
    You might run into some problems though pertaining to threading...but there are workarounds for that aswell :)
    - Emil H

  • Add-On HCM Payroll CIS - do we need this for Russian Payroll?

    Hey folks,
    We are looking at implementing SAP PAyroll for Russia,
    when i look on service.sap.com under HR for Russia, i am advised:
    In particular Payroll Accointing and main HR legal reports of Russia and Ukraine are available in the Add-On HCM Payroll CIS. Implementation and maintenance of Add-On HCM Payroll CIS for other countries is project-based only.
    Can anyone tell me if this is still required, i thought that Russian payroll had been added into the standard SAP suite as of the latest version of SAP?
    Thanks in advance.
    Greg

    Hi Greg,
    You understanding is right: as of last SAP release Russian payroll is a part of stadnard SAP delivery, i.e. standard version.
    In your post you are refering to CIS add on that was a solution for R/3 4.0, 4.5, and maybe 4.6.
    So it is very outdated information.
    Cheers

  • CIS Folder API Help needed

    I am working with UCM API to access information related to Folders component.
    ISCSSearchResponse result=null;
    ISCSSearchAPI searchApi = this.application.getUCPMAPI ().getActiveAPI ().getSearchAPI ();
    result = searchApi.search (context,strQuery, 100);
    iter = result.getResults ().iterator ();
    while (iter.hasNext ()) {
         sres = (ISCSSearchResult) iter.next ();
         folderApi = this.application.getUCPMAPI().getActiveAPI().getComponentFolderAPI();
         ISCSFolderInfoResponse folderRes = folderApi.getFolder(context, sres.getFolderID());
         ISCSFolder fold = folderRes.getFolder();
         String folderPath = fold.getFolderPath();
    I need to execute the code inside the while loop based on a condition. I need to check if the returned item from search results is a document or a folder, that is the item in *'sres'*.
    Can someone please help me with this?
    Thank you,
    Padmaja.

    To search in a case sensitive manner, if you're using an Oracle database I know you can set a variable in config.cfg -- DatabasePreserveCase. This may also work for other databases, but I am not sure.
    The available fields to filter on are all the metadata fields, whether they be UCM metadata fields or custom metadata fields.
    The query is doing a database query so you need to use the name of the column name in the database -- custom variables start with x and ucm variables start with d.
    I'm not an expert on UCM, but have been working on an implementation. I didn't really find a comprehensive guide for CIS, just used the examples from the sample code, the javadocs, some forum posts, and trial and error.

  • CIS 300 Online Filing to HMRC through EDI IDOC

    Hi Experts,
    I cater to a UK based client and my client has a mandate of sending CIS 300 online filing to HMRC (HM Revenue & Customs) for all contractors. I had been going through all documents in the HMRC website and as per my understanding we can either send the data across to HMRC as a Generic Flat File or through EDI.
    We are on SAP 4.7 and we do not have SAP XI and thus we would be using Business Connector 4.8 to send the data from SAP R/3 to HMRC. We have implemented Note 1003730 and we are using Program RFIDYYWT to generate the required output.
    I would like to know if any of you have worked on such an interface and if so, how do I go about fetching the data from this report output and sending it across to HMRC through SAP Business Connector 4.8.
    It would be great if you can help me with any inputs in this regard or share some white papers or documentation pertaining to this.
    Thanks and Regards,
    Subhrangsu

    Hi Subhrangsu,
    can you put some light on this integration scenario?
    What format do you sent to HMRC? and which adapter & protocol you used ?
    Regards,
    Sunil.

  • CIS UK Scheme

    When we reversed a logistics invoice the withholding tax figure on the invoice was not deducted. We use version 4.6C. I cannot find any configuration setting, so is it a bug, or is there a setting somewhere I have not switched on?
    Thanks
    Pete

    Hi Barry
    Even I need to impelement CIS note 1003730.(Our version is 4.7)
    I am new to applying SAP notes.
    Can you please guide me on basic questions like
    1.As an FICO consultant what exactly my job in this?
    As I see there are 7 attachments to this note and I can only open two files i.e CIS validations and Config steps.Other 5 files I beleive some coding part given in SAR format.
    As a functional consultant I understand some part mentioned in config file ,beyond that I did not get much as more technical part is there in that.
    2.Is it like I need to do any functional config steps and majority of the work handled by ABAP resource?
    3.Please guide me basic steps how you have implemented if possible .
    4.Whether it is working fine now for you?
    It would be great if you could help me on this new note.
    Thanks in advance.
    Henfi

  • Construction Industry Scheme (CIS)

    Construction Industry Scheme (CIS) was part of the Oracle Public Sector Financial module. According to Oracle this is now included as part of Oracle Financials v11i. Can anyone confirm that the CIS functionality is included in 11i? Has anyone been involved in implementing CIS functionality in 11i?
    Thanks

    CIS remains a part of OPSF and will be available with the launch of 11.5.2
    There has been talk of this being absorbed
    into the core product but as far as I am
    aware this is still only talk.
    The only part, so far, of OPSF which has
    gone core in release 11i is Gross Based VAT.

  • Note 157009 - Construction Industry Scheme (CIS) UK

    Does anyone have any idea when this note is due to be released by SAP?
    I am conscious of the time frame left to deliver this change....
    It has already been delayed by two weeks!!!!

    Hi Barry
    Even I need to impelement CIS note 1003730.(Our version is 4.7)
    I am new to applying SAP notes.
    Can you please guide me on basic questions like
    1.As an FICO consultant what exactly my job in this?
    As I see there are 7 attachments to this note and I can only open two files i.e CIS validations and Config steps.Other 5 files I beleive some coding part given in SAR format.
    As a functional consultant I understand some part mentioned in config file ,beyond that I did not get much as more technical part is there in that.
    2.Is it like I need to do any functional config steps and majority of the work handled by ABAP resource?
    3.Please guide me basic steps how you have implemented if possible .
    4.Whether it is working fine now for you?
    It would be great if you could help me on this new note.
    Thanks in advance.
    Henfi

  • CIS initialization problem

    CIS configuration is working on JBoss 4.3 but when i am using jboss 5.1.1 eap i am getting exception "Caused by: com.stellent.cis.client.command.CommandConfigurationException: java.net.MalformedURLException: no !/ in spec" at
    application = CISApplicationFactory.initialize(properties);
    this is my connect method :
    URL xmlRes = Thread.currentThread().getContextClassLoader().getResource("adapterconfig.xml");
              Properties properties = new Properties();
                   properties.setProperty(ICISApplication.PROPERTY_CONFIG_TYPE, "server");
                   properties.setProperty(ICISApplication.PROPERTY_CONFIG_SERVER_ADAPTER_CONFIG, xmlRes.toExternalForm());
                   properties.setProperty(ICISApplication.PROPERTY_CONFIG_SERVER_TYPE, "standalone");
    i am using Jboss 5.1.1 server
    Seam 2.2.4
    cis-client-8.0.0.jar
    Please let me know if the configuration of CIS is server dependent or JRE dependent because i am using jre 1.6 now(previously using 1.5)?

    Hey there,
    The root of the issue here is the way CIS does it's classloading. Each time CIS is initialized it looks inside of it's main jar (cis-client-8.0.0.jar) and extracts any jars it sees under the lib directory and adds them to it's classpath. The extracted files are stored in a temporary directory on the filesystem. What happens many times in a clustered environment or a multi-threaded program running is that the initialization of the first instance keeps a lock on the directory so that subsequent initializations cannot extract. There are other issues around this classloading mechanism as well but aren't relevant to your issue.
    First thing I would recommend is to implement a singleton pattern (http://www.javabeginner.com/learn-java/java-singleton-design-pattern) so that you only ever have one instance of the ICISApplication loaded at a time. This not only saves you from possible collisions in the temp directory but also helps with memory consumption. Each instance of CIS can take 15-20 MB of your heap. The second thing to do is to make sure that periodically clean up any tmp-mgr* directories under C:\Documents and Settings\<user>\Local Settings\Temp for windows or /tmp for unix flavors. There is a certain threshold (I think around 25 or these directories, but it varies) where CIS will try to reuse directories and you can see the null pointer below.
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • CIS Error

    Hi,
    When i'm trying to run Java stabdalone application, i'm getting error
    "attempting to map type com.stellent.ucpmapi.common.administrative.adapter.ISCSActiveAdapterConfig to default implementation
    com.stellent.command.CommandException: Cannot execute command, pool 'stellent/scs/SCSAdapter' not found
    Is my CS not able to recoganise Adapter

    Hey there,
    First off I am going to assume by "called through a stellent service" you mean the code is being executed on a service action in a custom component on your content server.
    If you are in a custom component there is no need to use CIS at all. CIS is used for remote java application integration with the content server.
    Instead I would use the standard content server java API's (which sadly are not as well documented as CIS) to accomplish this.
    I am going to assume your service does some other processing of some sort and then updates the metadata field. Here is (approximately) what the code would look like:
    //inside the service action method
    //assuming the class is implementing DocServiceHandler
    m_binder.putLocal("dID","12345"); //identifies the document and revision to update
    m_binder.putLocal("dSecurityGroup","Public"); //needed to check security and if the weblayout location will change
    m_binder.putLocal("dDocType","Document"); //needed to see if the weblayout location will change
    m_binder.putLocal("dDocAccount",""); //if you have accounts enabled, needed for security and location
    m_binder.putLocal("xArchiveNumber","7777"); //your custom metadata to update
    m_service.executeSafeServiceInNewContext("UPDATE_DOCINFO", true);
    Things to note:
    -depending on how your custom service is implemented you may need to be more careful about binder data pollution (data hanging around in m_binder after the update call). To alleviate this implement the executeService method on page 237 of Bex's book (The Definitive Guide to Content Server Development) passing in a fresh DataBinder each time
    -you may need to add more fields to the binder than I described above, you should get back an exception telling you what is missing. I never remember all of them
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN >

  • UK CIS Scheme: Withholding Tax ID field in Vendor master is greyed out

    Following SAP Note 1003730 and the related document UK CIS - Legal Changes Implementation - the notes say that the Subcontractor Verification Number should go in the W/tax Id field (LFBW-WT_WTSTCD) in the vendor master maintenance Withholding Tax screen.  We have Extended Withholding Tax activated, but in the WT screen in the vendor master the W/tax Id field has no title and is greyed out in the table control - so you can't enter anything in it.
    Has anyone else come across this and found a solution?
    Thanks.

    Field is visible in XK02 (Central Vendor Maintenance) but not FK02.

  • CIS e-filing to HMRC Gateway

    Hi Friends,
    Iam trying to implements the  CIS e-filing. I followed Standard SAP instructions. However my scenario is throwing an error saying
    "Error while creating the HTTP client with destination GOVTGATEWAY_HTTPS://SECURE.DEV.G".  But the 2 RFC connections are fine they are succesful with 200 return code.  Please help me with this.
    Regards,
    Radhika.

    Hi Radhika,
    Did you find the solution to the problem? We are facing exactly the same problem.
    Any advice is appreciated.
    Thanks,
    Matt.
    Edited by: Matt A on Feb 2, 2012 11:54 AM

  • UK witholding tax CIS vendors

    Hi All,
      Aim desperately looking for help from all the quarters regards to UK witholding tax Specially how to handle CIS vendors.
      Our client has just upgraged to ECC 6.0 and prior to that on 4.7 version the users were able to manually input the w/tax on CIS vendors invoice based on service and the materials consumed in fb02 trans.
    But with ECC 6.0 that particular functionality is lost and some how client is hell bent on reterieving this functionality.
      Any ways if anybody out there has implemented w/tax I mean extended or classical can you pls share your now how with me.
    Thanks for your time and effort
    Regards

    Hi Sufiyan
    We encountered a similar situation and we chose to use a BAPI instead which can handle W/tax .
    What happened in your case. Could you let me know how you dealt with it please?
    Many thanks
    Venkatarao

  • Logout implementation using Site Studio

    Hi,
    I just wanted to know if the logout functionality of UCM has been implemented using site studio and if yes, how to go about it. We are currently using the logout component that is present in UCM. However, the problem is, that the usage of that component requires you to add a registry entry in IE, to allow this to work. This isnt something that can be done on all machines and is hence not a feasible solution. So I was wondering if there's any other way that this can be implemented. Suggestions please?!
    Thanks.

    Is there a way to use Fragments or do I need to get a developer to write me non-Stellent code? Well, you need to get yourself a developer to write a fragment. And - dependet on what you want to do - maybe some Content Server customizaitons like custom services.
    Imho though it is not a good idea to use Site Studio as a web application plattform. A simple form is fine but if it gets more than that, you should consider writing a jsp or hcsp and check it in to the content server. This jsp or hcsp can still use your fragments and your html layout so that it does not look different from the Site Studio pages. Then you can link this script to a section in your Site Studio web site hierachy and by doing so include this dynamic part into your web site.
    Another approach for when you really need to do a lot of application stuff is to write the applications in another Java web app - not checked in to the Content Server - and use CIS to pull content from the Content Server. Or Web Services.

  • How can i implement sap note on crm

    can anyone please tell me how to apply sap note for CRM?

    HI Thomas,
    1. Releases: A note can be modified in case more changes can be included. In that case, a new 'release' of the note will be created. In snote, you can also find the function 'downlaod the latest version'. This means snote will check the current release in OSS can download it.
    2. Reference support pacakge: This is the support pcakge where the change in this OSS note is included. Any SP level equal or higher than that will make the note 'can not be implemented';
    3. Correction Instructions: One note can have one or multiple correction instruction. Usualy they're for different releases (620, 640, 700 etc.). But sometimes the CIs are for the same release and they will be implemented into the system sequentially when the note is being implemented.
    Normally, when you try to implement a note in SNOTE, go to the note browser, the note then has the 'implementation status'. ' can be implemented' means the note have the valid support pcakge level. 'cannot be implmented' means the note is already included the the support packages. "Not relevant' means the note changes a component which doesn't exist in the system.
    Regards,
    Satish Mathala

Maybe you are looking for