CAFFindException, connecting object editors

I have 2 questions:
1. I have been successful in calling a sap webservice using caf core (PurchaseOrderVendorAddress_WSD). I imported it and used an entity service as a wrapper. It worked fine. But with another one (ProductList_WSD) it gives the following error :
ERROR. The following exception occured while processing your request: com.sap.caf.rt.exception.CAFFindException.:
any ideas. The error comes in the "service browser" under test tools
2. Some one asked a question before as to how to connect 2 object selectors. This is in line of that. I have a purchaseorderitem, which has among several attributes:
productID and productDesc.
The user inputs the productId through the UI but the productDesc is generated via the webservice mentioned in question 1. The problem is I cannot put both in same entitity service because then I dont know what to do with the persistence (remote/local). Hope you understand. So I guess I have to create two entity services. And on submit, the first one calls the second one and automatically fills up the productDesc attribute. How do I do this? Is there any tutorial for such a purpose ?
Your suggestions are highly appreciated.

now that you've defined your Service Layer abstraction, you have to define your UI layer. If you have steps to do you need to define your process layer.
In your scenario we need to develop simple UI to simple info and pass output of one step as input of next step. So my recommendation is for you to use freestyle webdynpro for individual UIs and Guided Procedures for UI and data flow.

Similar Messages

  • Data object editor totally empty?

    Hello,
    For some reason the Data object editor is totally empty when I try to edit an existing table or view.
    I double click on the table name -> the editor opens but without any contents. Just an empty gray space.
    This "feature" showed up a few days ago.
    What to do??
    Any help is highly appreciated.
    Owb client 10.2.0.1.31
    Owb repository 10.2.0.1.0
    Both client and repository reside on a wm virtual machine with windows server 2003 R2.
    Note! This seems to be client broblem since if I connect to the repository using OWB that is installed on my laptop, the editor seems to work fine.

    Hi all,
    And thanks for suggestions.
    I tried clicking all possible options like "Arrange all", "Fit in window" and "Auto layout". No effect.
    Finally I selected "Birds eye view" (that was deselected).
    At that moment all the sections (explorer, configuration, palette, Bird's eye view, canvas and details) showed up... very strange.
    But at the moment my problem seems to be gone.
    Thanks to all of you.
    Best regards,
    Antero

  • Front Page Object Editor

    Hi,
    I have added frontpage add-in and under tools it is showing three options SAP xMII Object...,SAP xMII Configuration Menu....., SAP Script Assistant.....
    SAP Script assistant is working fine but SAP Object is opening but couldn't show any templets in the windows. When I clicked Login and entered username and password it could not connect to server all.
    I was wondering some where it is not getting which server it has to connect.
    Can some please tell me where to specify the server name in Object editor.
    Thanks,
    Srinivas.

    The standalone version does not use FrontPage server extensions, in fact only the FrontPage software itself uses the extensions to communicate to/from the IIS box.
    The fundamental difference between the standalone and embedded version is how they communicate with xMII for namespace browsing query and display objects.  The standalone prompts the user for machine name and port, whereas the embedded one uses the application title bar string from FrontPage itself to parse the server path, which is why
    server\c$ doesn't work, nor does F:\server\path - it needs http://servername:port or http://servername.  This only happens within FrontPage when you do either File...Open Site or File...Open Web (depending upon version) and physically type http://servername in the input box that shows up at the bottom of the dialog box.
    Once FrontPage connects to the webserver the application title bar will read something like "Microsoft FrontPage - http://servername:port" and the Folder List tree header will say "http://servername:port".  Then and only then will the embedded one work like you want it to.
    Regards,
    Jeremy

  • How to store Connection object and call it from other programs.

    Hi,
    I am trying to connect to the database, store the connection object and use this connection object from other standalone java programs.
    Can any one tell me how to do this? I've tried in the following way:
    In the following program I am connecting to the database and saving the connection object in a variable.
    public class GetKT2Connection {
       public static void main(String[] args) {
          String url = "jdbc:odbc:SQLDsn;
          String dbUser = "sa";
          String dbPwd = "sa";
          Connection kt2conn = Connection connection = java.sql.DriverManager.getConnection(url, dbUser, dbPwd);
          if(kt2conn == null) {
             System.out.println("Database Connection Failure!");
          else {
             System.out.println("Connected to Database...");
         GetKTConnectionObj.storeKT2ConnectionObj(kt2conn);
    } Here is the program to save connection object in a variable.
    public class GetKTConnectionObj {
       static Connection kt2Connection = null;
       public static void storeKT2ConnectionObj(Connection conn) {
       kt2Connection = conn;
       public static Connection getKT2ConnectionObj() {
       try {
          return kt2Connection;
       catch(Exception e){
          System.out.println(e);
      return null;
    }Now from the following code I am trying to get the connection object that is stored. But this is throwing NullPointerException.
    public class Metrics_Migration {
      public static void main(String args[]) {
         try {
        java.sql.Connection connection_1 =   GetKTConnectionObj.getKT6ConnectionObj();
         catch(Exception e){
    }

    kt2Connection is null. You need to store it first, to make it not null. Otherwise it will stay null forever. And why on earth are you trying to do this THIS way?
    If you are running the two applications separately, it wont work either.

  • Error in creating connection object

    Dear Experts
    When I am creating connection object using ES55 , I get Stop message saying : " Alternate ID not supported" and when i see Help it indicates : An alternative indicator is active in Customizing of the functional location. This functionality is not supported for connection objects and device locations
    what could be going wrong
    Plesae suggest me the solution
    Thanking you in advance
    warm regards
    narasimha

    Hi,
    Please check the following settings in SPRO:
    Plant Maintenance & Customer Service - -Master Data in Plant Maintenance & Customer Service --Technical Objects --Functional Locations --Alternate Labeling of Functional Locations - - Activate Alternative Labeling --
    In this setting pls inactive the setting for Alt.Label.Then go to ES55 and try.It will work.
    Thanks,
    Banasri Mitra

  • Duplicate check for Connection Objects in CRM

    Hi,
    I want to implement a duplicate check for connection objects in CRM. The duplicate check shall use the address of the connection object and perhaps additonal attributes. I have found a duplicate check for business partners using the basis address service and TREX as index pool. However, I couldn't find a similar functionality for connection objects. Does somebody know:
    1) How to implement a duplicate check for connection objects which is based on the address of the connection object?
    2) Is there a way to use the TREX-based duplicate check which is integrated into the basis address service for connection objects?
    Thanks in advance!
    Best regards,
    Frank

    I also have a requirement to check for duplicate address at connection object level and we are using SAP data servies to validate the address. Can anyone share their experience.

  • Unable to create Instance with Object Editor and Attachment Pattern

    Hi Experts,
    I created a simple entity service with some attributes and a document reference.
    I also configured an object editor pattern and assigned a attachment pattern. The created object editor works as long as I don't attach a file. But if I attach a file and want to save it I get an error message "cannot create"
    In the default log.trc I have some entries
    Cannot read associated instance with MOF ID 105D8E0C4F02D45AFFD5B9D6A09EFB7A of MOF Layer 2 for (6DC24B80F6004CDBF4FA6C560AEDD33C,<null>)
    and
    refPackageM1(com.sap.ip.bi.sdk.dac.olap.query) failed RepositoryDBMemory. Using generic one.
    I configured the j2ee engine according the tutorial "Integrating KM with CAF UI Patterns"
    So what is wrong?
    Best regards Manuel

    Hi,
    From the stacktrace I assume that the following happens (please correct me, if I'm wrong):
    <b>*</b> Some time based event mechanism sends an event to your custom event handler code. That code is execute in some system context.
    <b>*</b> Your handler uses the RF API to create a collection. All this is perfectly OK. Here my assumptions end, the next steps are solid facts.
    <b>*</b> Within the RF all property filters are informed that a resource is about to be created. One of the filters is trying to obtain a lock from a system provided Locking Service.
    <b>*</b> That service refuses to grant the lock, telling that system users are not allowed to do so.
    Most proably you cannot do anything to solve this problem by yourself. When I ran into the same Exception once, I could avoid to have my code run in a system thread. Well you might try to do the same.
    Otherwise please open a customer message and complain about the restiction in the locking behaviour.
    Best regards,
    Michael

  • Creating logical/virtual connection object  from physical connection

    Can anybody help me what is creating logical/virtual connection object and how to create it from physical connection in java ??
    Thanks in advance...

    WHile you are waiting for an answer, you might want to review the related Oracle documentation:
    For 10g, all docco is at http://www.oracle.com/pls/db102/portal.portal_db?selected=3 and docco I suspect will help you is "Java Developer's Guide" and "JDBC Developer's Guide and Reference"

  • Statements in Connection Object

    Hi All,
    I am using Oracle 8i as my database and JDBC 2.0 for connecting my Java program to Oracle.
    I know that from single connection object I can create multiple statements and execute them. But can any one say me what is the maximum no. of statements which can be created from a single connection object? Or is there no limit on that?
    ..Raj

    Only limited by your memory, no theoritical limit

  • PS Elements 5.0, Unable to Connect to Editor Application

    I open a photo in the Organizer.  When I try going to Edit-Quick Fix, I get "Unable to Connect to Editor Application".  I am abe to go to Ful Edit, from the Organizer and then to Quick Fix from te Full Editor.
    After "fixing" the photo, in Quick Fix, I do a save as, which the program does, but when I go back to the Organizer the thumbnail is blank with an hour glass in it.  The photo is still in te organizer, just not visible.  Does anyone know what is going on?  I did update to Adobe Reader 9, yesterday.  Could  this have caused a problem?
    I am using Windows XP, with PS Elements 5.0.

    Since I posted this question I have deleted 400 + pictures that I recently added to the organizer and it seems to have solved the problem of opening the editor.  However when I open a photo in the organizer and then open the editor and make "fixes", the thumbnail does not appear in the organizer when I do a "save as" and leave the editor.  All I see in the organizer is a blanked out spot with an hour glass where the photo should be.  The organizer will still open the photo, just no thumbnail.  Any suggestions?
    Does anyone know if there are any limitations on the number of photos the organizer can accommodate?

  • View Object Editor in JHS 10.1.2 does not save any changes....

    Hi,
    When I did exactly as the JHeadstart Tutorial says, I noticed that
    in JHeadstart 10.1.2 with JDeveloper 10.1.2
    JHeadstart does not save any changes I make in the View Object Editor
    of the Application Structure File Editor !!!
    For instance when I change the Width property of an Attribute from 60 to 5
    it changes to 5, but when close the View Object Editor
    and reopen it again, the Width is back to 60...
    Even when I click the button "Validate the Application Structure File" before
    closing the VO Editor....
    What do I do ??? Is the only solution to edit the XML file
    or something like that without using the VO Editor ?
    Or is there a better solution ?
    Does it maybe work in an older version of JHeadstart ?
    If so, where is the older version available for download ?
    Thanks,
    Eric Joosse

    Eric,
    How did you leave the JHeadstart VO editor?
    The changes should be saved when you click the OK button in the VO editor itself, but they are not saved if you click Cancel, or the little cross in the upper right corner, or leave it open while going back to the Application Structure File editor. That's because it's a standalone editor (you can also find it when right-mouse-clicking the VO in the Model project). The icon in the Application Structure File editor is just a quick way to get to it.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Connection Object filed in O/P file

    Dear Experts,
    As per my requirement, i need to get the connection objects fields in output Excel file, but right now, through el06 they are generating mass data, but in that output file one filed is not coming, but it was maintained in connection object .
    now i want to get that filed ( filed name "other city" ) in my excel sheet also.
    can any body have clue , how to get that filed in my output file also.
    cheers..

    Hi Avinash,
    Thanks for reply, my req is, i have to give the data to meter readers, to which location they have to go , for collecting the MR readings, in that list i need all the fields which i maintained in CO. i guess they didn't maintained one filed earlier, now i want to have one filed in o/p excel sheet.
    hope i made clear.
    Cheers.

  • Threaded Queries from Single static Connection object - Good approach?

    Hi,
    I need to generate a report where I need to query count(1) from over one hundred tables from oracle 10g database. I am not updating or deleting any record.
    My approach is to use a single static connection object and create one thread for each table and capture the result back into a static hashtable.
    But still, I am not getting any substantial performance improvement. Earlier, my report took 40 minutes, when it was non-threaded and now it takes 30 minutes.
    Is there anything more I can do to make my report get the counts faster? Will a connection pool help?

    Tolls wrote:
    jschell wrote:
    I was told by the DBA that count(1) works faster than count(*)....that's why....Unlikely. Certainly not true in current versions of Oracle if that is the source.Not unlikely, actually not true. Beneath the hood Oracle turns a count(1) into a count(*) in order to deal with this. Why? Because count(1) is turned into count(*) in order to avoid it being slower (Oracle 7 was the last time count(1) was different). And the reason generally given is because so many people were mistakenly using count(1) thinking it performed better that they decided to put in the "conversion" to fix the silly queries.
    I think this it the [Ask Tom|http://asktom.oracle.com/pls/asktom/f?p=100:11:109792721681931::::P11_QUESTION_ID:1156159920245] link I used last time this came up here.
    I knew all that, but I missed that the OP had specified the database vendor and version.

  • Passivation of Connection Object in Stateful Session Bean

    Hi all,
    I am developing a Stateful session bean that has a Connection object as its instance variable. And this bean starts transaction that spans across multiple method calls and finally either commit or rollback.
    BeanClass
    UserTransaction utx;
    Connection conn;
    ejbCreate()
    allocateconnection();
    ejbRemove()
    closeconnection();
    ejbActivate()
    allocateconnection();
    ejbpassivate()
    closeconnection();
    StartTransaction()
    utx = getusertransaction();
    utx.begin();
    Method1()
    do something with database
    Method2()
    do something with database
    CommitTransaction()
    utx.commit();
    For example, the typical usage of this bean would be:
    bean.StartTransaction();
    bean.Method1();
    bean.Method2();
    bean.CommitTransaction();
    Here are my two questions:
    1. General Question: In order for a Connection object to join a Transaction, Do I have to create the connection after the transaction has started?
    2. If the answer to the above question is yes, then: I understand that when this bean get passivated, the UserTransaction instance object would be passivated. And since the connection object can't not be passivated, I have to recreate the connection object in ejbactivate() method, would newly created connection participate in the same Transaction that was being passivated and now activated?

    >
    Hi all,
    I am developing a Stateful session bean that has a
    Connection object as its instance variable. And this
    bean starts transaction that spans across multiple
    method calls and finally either commit or rollback.
    BeanClass
    UserTransaction utx;
    Connection conn;
    ejbCreate()
    allocateconnection();
    ejbRemove()
    closeconnection();
    ejbActivate()
    allocateconnection();
    ejbpassivate()
    closeconnection();
    StartTransaction()
    utx = getusertransaction();
    utx.begin();
    Method1()
    do something with database
    Method2()
    do something with database
    CommitTransaction()
    utx.commit();
    For example, the typical usage of this bean would be:
    bean.StartTransaction();
    bean.Method1();
    bean.Method2();
    bean.CommitTransaction();
    Here are my two questions:
    1. General Question: In order for a Connection object
    to join a Transaction, Do I have to create the
    connection after the transaction has started?Strictly NO. In fact, the connection is obtained first and then can a transaction begin.
    2. If the answer to the above question is yes, then: I
    understand that when this bean get passivated, the
    UserTransaction instance object would be passivated.
    And since the connection object can't not be
    passivated, I have to recreate the connection object
    in ejbactivate() method, would newly created
    connection participate in the same Transaction that
    was being passivated and now activated?
    The answer to first question being NO, your argument for question 2 does not hold true. According to the EJB specification, a stateful session bean can only be passivated between the transaction and not within a transaction. Your implementation for the stateful EJB is good to work.

  • How many Connections objects????

    Hi
    I am creating a GUI application which contains several GUI classes(e.g. frames and dialog boxes) which are instantiated depending on the choice of the user. I also have a Database class which contains the code which enables the connection to the database. The code creating the connection is within the constructor,therefore creating a connection whever I create an instance of the database class.
    Most of the GUI classes need to obtain or update information held in a database.
    Currently I create an instance of the Database class in every GUI class which needs to access the database. Obviously however every time a new database object is created, a new connection is also created.
    I am worried about all these database objects all containing their own connections.
    Should I have just one connection object in existence at any one time?
    If so,can I declare the Connection variable in the Database class as static?
    Any help/comments would be gratefully received.
    LGS

    From what I know, there should be no problem with maintaining multiple connections to the database. This is a property of the database itself, most allow about 256 connections. The only problem you face is a lost transaction. As long as you keep the queries serialized, you shouldn't encounter any problems.
    If you did want to only have one connection open... why not have another class for that (DBConn) and not instantiate a new connection in the constructor of your Database class. This way, each Database object can use the one connection by all referencing the DBConn object.
    Just a thought...

Maybe you are looking for

  • How do I set up OCR on PDF's to integrate into Sharepoint Foundation 2010 on my SBS2011 Server?

    I'm going to give an overview of my situation, and what I need to accomplish as a final goal. I am administering a small network for a local firm.  We are running Windows Small Business Server 2011 (Windows Server 2008 R2, and Sharepoint Foundation 2

  • How can i load Metadata file into georaster?

    Hello everybody, I stone a tiff file in my db,I stone tiff file like this: 1.create GeoRaster Table: create table rm_image_t( georid number, file_type varchar2(30), image_file mdsys.sdo_georaster); 2.create trigger: exec sdo_geor_utl.createdmltrigger

  • Help - I'm having a nightmare with BT

    I have spent so many hours on the phone to BT over the last 3 weeks it is unbelievable. I called originally on the 25th Feb to change some things on my account ( I wanted to resign my broadband, cancel off the 4.99 security that I had never used and

  • DNG codec doesn't support descriptive tags in Windows 7

    I installed the Adobe DNG codec yesterday which does indeed make it possible for Windows Explorer, Windows Media Player, Windows Live Photo Gallery and Windows Media Center to display DNG files (as thumbnails and as full sized images).  I discovered

  • Hungarian VAT report in HUF showing differences with accounting documents

    When we run the VAT report for the USCC for Hungary with transaction S_ALR_87012357 in HUF, the amounts picked up by the report may differ from the amounts in the accounting document. It seems that the error occurs if the amount ends on a zero. So we