Testing a Datasource from CEP

hi ,
I have configured a database connection in CEP. its giving the error like the schema is not valid or data source not found.
How to test the connection whether its successful or not ? is there any way?
Thanks in advance.

You can trim the strings in the database using .trim(), which will remove leading and trailing whitespaces. However, this is not your problem.
Comparisons between strings cannot be done with ==. You need to use .equals() instead. Or, if the string is a single character, then convert the string to a character, and then you can compare with ==.

Similar Messages

  • Error Transporting PI (XI) Web Service Datasource from BI BW 7.0

    Hi all,
    I have a PI (XI) datasource in development.
    While transporting this datasource from Dev ==> QA, the transport keeps failing.
    If the datasource is active (BI 7.0), it should be transported to QA without any dependency with other objects?
    PI (XI) source system has been setup in QA.
    Any ideas? Following is the error I get.
          Error generating Web service /BIC/CQZHRCM_T00005000
          Error when activating Datasource   ZHRCM_TD_MELLONPENSION_INTF Q06CLNT100
    The DataSource ZHRCM_TD_MELLONPENSION_INTF(Q06CLNT100) does not exist in object version A
    Thanks
    Edited by: Rajen SAP BI on Aug 30, 2008 12:44 AM

    Hello Natty,
    1. yes the test passed. http://picasaweb.google.de/lh/photo/kcDy5FofEl9VT4jw2m6FZQ?feat=directlink
    2. Yes, I try to access a regular oracle DB via JDBC.
    3. The Error occurs when I'select the Datasource and entered a table name and then click the search button. http://picasaweb.google.de/lh/photo/iYPCjcdqIclUet1cNj-LNQ?feat=directlink
    Thx for Help
    Sebastian

  • How to create a generic datasource from function module?

    Dear experts,
    I have created a generic datasource from function module. For this extrator, I created a function module and a structure.
    I have now some difficulties to continue:
    In this function module, i get data from different transparent tables. Then i put these data into an internal table.
    I just don't know what is the relatioin between the structure i defined and this internal table.
    I should make "iTab structure AA" in the source code?
    Thanks

    Hi..
    check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    1. Create s structure with the fields that you need from the 4 tables . Activate.
    2. Goto SE 80 Select The Function Group , Copy , Select the Function module
    " RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
    Y or Z .
    3. SE37 ->Your Function module name -> Change , In table tab give your structure
    name by deleting the associated type given in " XXXX " .
    4. Now select source code and Do the coding . Give Data source name in Coding .
    In your case you have to take data from more that 1 table .
    5. Activate the Function Group .
    6. In RSO2 Create the Data source , Give the Function Module Name , And Save.
    7. RSA3 -> Give data source name and Check for the Records .
    Creation of custom datasource. (Using function module)
    .Create a function group .
    . Structure ZTXXXX
    Create function module (i.e. ZTESTXXX) .
    . Create the data source using transaction (RSO2).
    . If structure exists for the table parameter of your function module then ok else create a structure for the table parameter ‘        ’.
    Test the datasource in R/3 using transaction RSA3.
    Transfer the data source to BW –System and replicate it in the BW-System.
    Message was edited by:
            shiv

  • DataSource from a productive package to local package

    I need to move a DataSource from a productive package (ZUPG) to the
    local package ($TMP). From transaction RSA6, I've chosen the "Object
    Directory" and tried to change the assignment.
    However. the system prevents the user from moving an object from a
    productive package to a local or test package. This is the message you
    would get if you tried and changed the package to $TMP:
    "Object R3TR OSOA 0REGION_TEXT has already been exported and is
    therefore known in other systems. It is therefore not possible to
    change the package from productive to local (private), since
    inconsistencies and errors can occur."
    In theory, this should be circumvented by deleting the DataSource, and
    releasing the change request thereafter. The DataSource's entry in
    TADIR should get deleted and it should be possible to choose the
    package $TMP when re-activating the same DataSource again in the system.
    However, this is not the case in my system. The entry is not deleted
    from the TADIR, even after having released the request which contained
    the (deleted) DataSource!
    The question is: what could have caused such an inconsistency in
    the system's TADIR? Why the entries aren't deleted after releasing the
    change request, even though the DataSource had been deleted from the
    repository?
    Thanks!
    Simo

    Hello Kris,
    unfortunately your suggestion doesn't work.
    As Simone explained in his first message, in fact the system prevents the user from changing the DataSource's directory entry, with the following error message:
    <i>Object R3TR OSOA 0REGION_TEXT has already been exported and is therefore known in other systems. It is therefore not possible to change the package from productive to local (private), since inconsistencies and errors can occur.</i>
    The system documentation proposes the following steps to switch an object to a local package:
    <i>1. Use the appropriate editor to copy the object to a local object with a different name.
    2. Then delete the old object. A change request is used to transport this deletion to the other systems.</i>
    Finally it is possible to rename the local object.
    In other words, the DataSource is in a productive package, and it's been registered in a transport request.
    As soon as an object is inserted in a productive package, you're not allowed to move it back to a local or test package anymore. You need to delete it, release the change request and recreate (re-activate in our case) the object again.
    However, the system doesn't prompt the user for a package during re-activation (please refer to my previous post), because the involved entry in TADIR is not removed from the transport request at release time.
    Cheers, <a href="https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari">Davide</a>

  • How can I look up DataSource from one EJB to the other EJB?

    Image that, I have 3 databases:
    DB1
    DB2
    DB3,
    And then, 03 DataSources is deployed in DS EJB, named DataSource1, DataSource2, DataSource3.
    In the other App EJB, I have Connection Management function, as follows:
    public Connection getConnection(databaseKey) {
    if (databaseKey.equals("DB1")){
    connection = remote.lookup("DataSource1");
    }else if (databaseKey.equals("DB2")){
    connection = remote.lookup("DataSource2");
    }else if (databaseKey.equals("DB3")){
    connection = remote.lookup("DataSource3");
    return connection;
    How can I access DataSource 1,2,3 from the other EJB? How to config EJB server for that?
    Thanks in advance!
    Now, I have the other App EJB. Some class will require one of the above DataSource from DS EJB through function getConnection(databaseKey){}

    I strongle suggest you to use a ServiceLocator for this . It will be very easy to identify.Go to the sun home page and look for a servicelocator pattern.You can even directly use that code for you.

  • How to change the datasource from one server to another server?

    i need to change the datasource from development environment to production server. i had configured the JNDI informations like the following in the 'context.xml':
    <Context path="/RFT" docBase="RFT" reloadable="true">
    <Resource
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    validationQuery="select 1"
    name="jdbc/datasource"
    username="sa"
    password="$m1sbag$"
    maxIdle="-1"
    maxActive="0"
    maxWait="5000"
    url="jdbc:microsoft:sqlserver://172.24.151.149:1433;databaseName=Projectgold" />
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>
    and in 'web.xml' included the following code:
    <resource-ref>
                         <res-ref-name>jdbc/datasource</res-ref-name>
                         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
    </resource-ref>
    and mentioned the JNDI Connection Name in the .rpt file as 'jdbc/datasource', but still getting the same connection which one is configured during the report design. need a help to resolve this...
    Thanks,
    Ram

    eventhough it's working fine. I may have deployment problem. Anyway thanks for the reply.
    Regards,
    Ram

  • Error while creating datasource from table MBEWH

    Hi all,
    I am facing an error message while creating datasource from table MBEWH
    "Invalid extract structure template MBEWH of DataSource "; This operation failed, because the template structure quantity fields or currency fields, for example, field LBKUM refer to a different table.
    Can anyone help me that why system is not allowing me to generate generic datasource for table MBEWH to transfer my month wise inventory data.
    thanks and regards.

    Hi Zakir,
          This was comming for classification data... when ever you want to extract some classification related data then we can't create generic datasources  directly.. for that you need  to go with CTBW  ( tcode )  and   create  one datasource...
       so, you need to check that   related table also.. for that  MBEWH table..
        ALL THE CLASSIFICATION RELATED DATASOURCES WE CAN'T CREATE DIRECTLY... JUST LIKE  AUSP table also.. liek this..
    regards
    @jay

  • Error while creating datasource from view ZBSIS_VIEW

    Hi all,
    I could not create  the datasource on the database table BSIS as it said "Invalid extract structure template BSIS of Datasource". I had suggestions that I should create a view and then create the Datasource on it. So I created the view and tried. But still I am facing an error message while creating datasource from custom Database View ZBSIS_VIEW.
    "Invalid extract structure template ZBSIS_VIEW of DataSource"
    Can anyone help on this regard.
    thanks.

    Hi,
    Yes. You need a create a view on tables BSIS, BKPF and T001 as the currency/quantity fields in BSIS have reference fields from the other 2 tables.
    In BSIS, in the currency/quantity fields tab, you have some ref tables and fields. You would need to include these tables and join in the view. You would also need to include the ref fields like WAERS, HWAE2, HWAE3, etc in the view. Then you would be able to create the datasource.

  • Error While Testing the Data from RWB

    Hi Gurus,
    While testing the data from my RWB --> Component Monitoring -->IE -->Test Message
    I am getting the error as explained below:
    Error while sending Message -->RWB
    No header Mapping Defined -->Trace
    Moreover when i was assigning Inbound Interface in the Interface Determination its shows in the popup window NOObjects Found instead of showing the Inbound interfaces.
    Any help on this please
    Regards
    Sreeni

    Hi ,
    without completing your  configuration how are you testing your interface??
    1)you need to add your source and receiver interfaces in business service,select your business service then add your outbound interface in sender tab and add your inbound interface in receiver tab,if it is business system not required.
    2) then check your interface/operation mapping done perfectly between source and target interfaces.
    if you have above steps done perfectly then your interface will work.
    if you still getting error search in sdn with error message you will find  usefull tips..or post in sdn.
    Regards,
    Raj

  • Datasource from a logical database.

    Hi all,
      I am in need of creating a datasource from a std.. Logical Database IMA in R/3. Is it possible to create a datasource directly from logical database or it is essential to find the base tables fetching data to the logical databse and look for the appropriate business content.
    Regards,
    Murali

    Thank you,
      The document helped me to create a Infoset.Can anyone share ur experience of creating a datasource using a INFoset which extracts data from a LDB. The LDB which i am supposed to use has few structures,hence, I am having some performance isssues which i believe a more elaborate better document can help me with.. The LDB I am looking for is IMA.
    Thanks in advance.

  • Can we test RFC lookup from IR?

    Hi All,
    Can we test RFC Lookup from IR-Message mapping? If yes How?
    Like we can test Graphical mapping in test tab of Message Mapping.
    Regards

    Hi Sarvesh,
    got it...
    But when I am displaying queue.
    I am getting POPUP window saying -->
        Problem When Displaying Queue
         Cannot perform RFC lookup
    Can you please guide how to resolve this?
    Since RFC Lookup in run time uses Receiver RFC adapter.
    I tested RFC adapter is configured properly.
    Regards

  • Obtaining DataSource from Application Module

    How may i obtain DataSource from pool managed by Application Module? I want some of my db-related operation performed by Spring's JdbcOperations class ( http://www.springframework.org/docs/api/org/springframework/jdbc/core/JdbcOperations.html ) and i want have only one connection pool in my application.
    Thanks,
    Kind regards,
    Marcin Zduniak / http://J2ME.pl

    Refer
    http://www.oracle.com/technology/products/jdev/howtos/10g/usingdatasources/using_datasources.html

  • Advices about creating a datasource from an infoset query

    Hi all,
    i have to create a datasource with extraction from an infoset query in R3, i have many questions:
    1- i have heard about the bad performance using a Datasource from an Infoset query, how can i improve this?
    2- The infoset query doesnt exist in R3 Develop, but this exist in R3 Prod, what do i must to do? create a false infosetquery in R3 D, with just the same name of the info set query in R3 Prod? or what else?,
    3- some material to improve this development about create datasources from an infoset query.
    thanks guys!

    Hi,
    You can verywell use infoset query if you are doing following things
    Join using Keyfields to retreive data from tables
    If not using keyfields create index for those table fields  in those fields which will improve in accessing database
    Try to use minimum of tables of small size dont try to join big tables like GLPCA and all.
    Try to load small set of data like a period or month. Dont try for a year or so.
    if your performance is good for aperiod you can go for a year.
    If you are good in function module you can try function module in which you will have the option of specifying no of records to be selected usign package size.
    Hope this helps for you.
    Thanks,
    Arun

  • Authorizations required in ECC to test a service from CE

    I am getting <faultstring xml:lang="e">Authority check failed</faultstring> when i test my service from service register.
    The RFC function module is tested and exposed as service correctly, we are in ECC 50 (NW 2004s). Please let me know what authorizations are required. I already have SAP_BC_WEBSERVICE_ADMIN and a role to execute RFC's

    Hi,
    Did you test this service using another tool, like SOAP UI?
    Best regards

  • What is the use of a proxy client to test web service from ABAP code?

    In NW640, we need to create a proxy client to test our web service from a ABAP code.
    Why is this so? What is the significance of a proxy client? Is this mandatory? Can we test the webservice from a ABAP code without proxy client?

    Hi Gopal,
    There are two types of proxies that can be generated from ABAP - the client proxy (to call an internet web service) and a server proxy (to communicate with XI). It sounds to me like you are looking for information about the client proxy, if so you can see the following link from SAP Help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/e5/a68d10f4eb894087fc9c1c3f9ae433/frameset.htm
    Hope this helps.
    Sudha

Maybe you are looking for

  • Userexit for Payment block invoice in MIRO/MIR7/Mrrl

    Hi All, In an purchase order invoice the the Payment block is defined at coompany code. My requirement is to define it at more granular level like at level of item category. For certain item categories I have to avoid the tolerance date check of paym

  • HELP: Cannot refer to non-final variable inside inner class

    Below is a function that WAS working beautifully. I had to restructure many things in my code base to suit a major change and I have to make this function static. Since I made this function static, I get some errors which are displayed in comments ne

  • To Include Infotype 0185 - PAN No. in PE51 - question especially to HR Abap

    Dear All, My client wants PAN no to be included in the payslip which is created via transaction PE51 (for creation of HR related forms). I brought the respective table P0185 and its fields ICTYP and ICNUM via the PE51_checktab, but the problems is th

  • How do i change the language from german to english

    i have ps cc and want to change the language from german to english

  • IFS 1.1 WebDAV

    I've installed IFS 1.1 on Solaris with a 8.1.7 database. I succeeded to start the windows and webui interfaces and upload files in IFS. I try now to connect a web folder since Win2000 explorer to implement the WebDAV protocol. 1) first, i can't conne