Activity/Individual Object Relation

Hi all,
We have activities with relations to individual objects (vehicles, in our case).
How can I get the individual objects which are related to specific activity? Is there any FM available?
Thanks ahead,

Have you looked at JDO?
Links:
http://access1.sun.com/jdo/
http://www.jdocentral.com/index.html
Open source implementations:
http://jakarta.apache.org/ojb/
http://castor.exolab.org
Last one (Castor JDO) is not compatible with Sun JDO, but have similar capability.

Similar Messages

  • Missing of Business partner and Individual objects linkage.

    Hi ,
    We are implementing CRM 7.0 service.We don't have equipments(cannot able to see it in IE03 and equipment number will be in EQUI,Since equipment view is not activated in serial number profile of material) and have serial numbers generated for the sales order line item.Hence we opted for download of serial number and serial number configuration(VC) after making all necessary config settings and Iam able to see it in webclient under INDIVIDUAL OBJECTS(NOT IBASE).Also able to search individual objects based on product ID(Material) or serial number or BP wise in webclient.
    Now Iam facing the the following issue
    Iam not able to search the individual objects based on BP for the old data(data created in ECC before we did related configurations in CRM).whereas Iam able to search the same old data based on product ID and Serial number,meaning BP linkage is missing for the old data.
    Can anyone suggest what is missing.
    Regards
    Suresh.

    Ok thanks .. waited 4 years for the Partner and Competitor to be reportable .. so what's a few more years for being able to customize the 'ADD' screen !! :)
    As far as the default values ..
    I want to default the 'Relationship' field to 'Customer' and the 'Reverse Relationship' field to 'Vendor'. I tried adding as default value:
    [<RelationshipRole>] = LookupValue("PARTY_REL_TYPE","Customer")
    I'm probably doing something wrong in this expression, but can't seem to make it work !
    Thanks.

  • ERROR IN ACTIVATING INFO OBJECT

    GETTING AN ERROR WHEN I TRIED ACTIVATING THE INFOOBJECT. ERROR I GOT IS,
    " ERROR GENERATING MASTER DATA ROUTINES."

    This is an ABAP report which can be used to check the consistency of the Objects related to SID values, Nav attribute, Object versions, values check for MD attributes,,,etc...
    In case of any errors, you can see the detailed log here and repair as well...
    Pls use this to identify the errors in your IOBJ and correct accordingly!
    Hope this helps.
    -VA

  • Error while activating ODS Object (urgent)

    Hi Gurus,
    I am getting an error while activating ods object.
    Error/warning in dict. activator, detailed log  --> Detail.
    Row type /BIC/AGLCATODS00 is not active or does not exist.
    Table type /BIC/WAGLCATODS00 could not be activated.
    Table /BIC/AGLCATODS50 could not be activated.
    Table is not yet classified.
    Return code..............: 8.     
    DDIC Object TABL /BIC/AGLCATODS00 has not been activated.
    Error when activating ODS Object GLCATODS.
    If any one have come across this issue please help me out in resolving this issue.
    I will reward points.
    Urs,
    Raki.

    Hi venkat,
    There are only 3 info objects which  i have created it and activated, only those i am pulling in the new ods but its throwing the same error what ever i do changes.
    Is this issue is related to any authorization concerned?
    Urs,
    Raki.

  • 0FIA_DS11:Error when activating DataStore Object

    Hi,
    We have activated the datasources related FI_AA and replicated in to a new BI 7 system.
    Currently we are able to activate the asset accounting related targets like 0FIAA_C11, 0FIAA_c12 and 0FIAA_C13
    however not able to activate DSO's 0FI_DS11, 0FI_DS12 and 0FI_DS13.
    We have replicated the datasources 0FI_AA_11 and 0FI_AA_12  in 3.x but while installing the DSO 0FI_DS11 and 0FI_DS12, facing below given  error.
    " DataSource 80FIA_DS11 does not exist in source system BIDCLNT600 of version A     
    Error when creating the export DataSource and dependent Objects
    Error when activating DataStore Object 0FIA_DS11 "
    We have checked the mysource system settings and activated the Data Marts respectively but still we are not able to activate.
    System is BI 7 with EHP4 ehanced packege.
    Please suggest.
    Thanks & Regards,
    SMS

    Hi Jonas,
    I understand the procedures and had followed all the procedures.
    We had resolved the issue and issue was with the IP in sm59.
    It is cleared.
    Thanks for the reply.
    Regards,
    S M S

  • XML stored as object relational fails

    We are looking at implementing a system to store Universal Business Language (UBL) 1.0 XML invoices in an XMLType column in 10g. I've registered all the requisite schemas (the UBL invoice comprises a rather complicated hierarchy of 19 individual namespaces), but when I come to create the table:
    CREATE TABLE UBLInvoices (
    invoice_id NUMBER,
    invoice_spec XMLTYPE)
    XMLTYPE invoice_spec STORE AS OBJECT RELATIONAL
    XMLSCHEMA "Invoice-1.0"
    ELEMENT "Invoice";
    I get an error message to the effect that a table with more than 1000 columns cannot be created. I can create the table using CLOB storage (STORE AS CLOB) without any problems. Is there a limit to the complexity of typed XMLType column schema? Is there any workaround?

    As A Non says, why is it unacceptable?
    It's only unacceptable to you, but it's not unacceptable XML. The standard of XML does not require a display format as the purpose of XML is to define a structure of data, not to present itself nicely to you on the screen.
    If you want to prettify your XML, that's up to you, but optimised XML data does not have formatting, which takes up additional and unnecessary storage space.

  • Query on object-relational data takes forever

    hello all
    i have a problem with a query performance... it seems like whenever i call a specific object function, the query executes very very slow. The results though are correct.
    let me explain what i do... I have some relational tables, and i recreate the schema into an object relational one. Then i insert data from relational tables to object tables. I follow this tutorial: [A Sample Application Using Object-Relational Features|http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10799/adobjxmp.htm]
    these are the types that make up the transaction object table.
    CREATE OR REPLACE TYPE  TransactionItem_objtyp AS OBJECT
      transItemID   NUMBER,
      Quantity      NUMBER,
      iValue        NUMBER,
      item_ref      REF Item_objtyp
    CREATE TYPE TransactionItemList_ntabtyp AS TABLE OF TransactionItem_objtyp;
    CREATE OR REPLACE TYPE Transaction_objtyp AS OBJECT
      transID             NUMBER,
      cust_ref            REF Customer_objtyp,
      transTameio         NUMBER,
      transDateTime       DATE,
      isStoreCustomer     CHAR(1),
      store_ref           REF Store_objtyp,
      transItemList_ntab  TransactionItemList_ntabtyp,
      MAP MEMBER FUNCTION
        getTransID  RETURN NUMBER,
      MEMBER FUNCTION
        getTotalCost  RETURN NUMBER
    );the function that causes the query to run very slow (fetching 10 rows per sec in a query that should return 130.000 rows) is the getTotalCost:
    CREATE OR REPLACE TYPE BODY Transaction_objtyp AS
    MAP MEMBER FUNCTION getTransID RETURN NUMBER IS
    BEGIN
    RETURN transID;
    END;
    MEMBER FUNCTION getTotalCost RETURN NUMBER IS
    i       INTEGER;
    Total   NUMBER := 0;
    BEGIN
    IF(UTL_COLL.IS_LOCATOR(transItemList_ntab))
    THEN
    SELECT SUM(L.Quantity * L.iValue) INTO Total
    FROM TABLE(CAST(transItemList_ntab AS TransactionItemList_ntabtyp)) L;
    ELSE
    FOR i IN 1..SELF.transItemList_ntab.COUNT LOOP
    Total := Total + SELF.transItemList_ntab(i).Quantity * SELF.transItemList_ntab(i).iValue;
    END LOOP;
    END IF;
    RETURN ROUND(Total,2);
    END;
    END;the table transaction_objtab that contains the nested table is this
    CREATE TABLE Transaction_objtab OF Transaction_objtyp(
      PRIMARY KEY(transID),
      FOREIGN KEY(cust_ref) REFERENCING Customer_objtab,
      FOREIGN KEY(store_ref) REFERENCING Store_objtab)
      OBJECT IDENTIFIER IS PRIMARY KEY
      NESTED TABLE transItemList_ntab STORE AS TransItem_ntab (
        (PRIMARY KEY(transItemID))
        ORGANIZATION INDEX)
      RETURN AS LOCATOR
    ALTER TABLE TransItem_ntab ADD (SCOPE FOR (item_ref) IS Item_objtab);and this is how i insert the values into the transaction_objtab and the nested tables from the relational ones:
    INSERT INTO Transaction_objtab
    SELECT  t.transID,
            REF(c),
            t.transTameio,
            t.transDateTime,
            t.isStoreCustomer,
            REF(s),
            TransactionItemList_ntabtyp()
    FROM transactions t, Customer_objtab c, store_objtab s
    WHERE t.transCustomer = c.custCode AND t.transStore = s.storeCode;
    BEGIN
      FOR i IN (SELECT DISTINCT transID FROM transactionItems) LOOP
        INSERT INTO TABLE(  SELECT p.TransItemList_ntab
                            FROM Transaction_objtab p
                            WHERE p.transID = i.transID)
        SELECT transItemIDseq.nextval, t.Quantity, t.iValue, REF(i)
        FROM transactionItems t, item_objtab i
        WHERE t.transID = i.transID AND t.itemID = i.itemID;
      END LOOP;
    END;so whenever i use transaction_objtab t, t.getTotalCount() query takes for ever.
    is there anything i do wrong?
    sorry for this long post.
    thanks in advance

    So, how many transactions? How many items? There is a whole series of questions I would normally ask at this point, because performance tuning is - to a certain extent - largely a matter of rote. But there's a more fundamental issue.
    You are experiencing the problem with objects. They are cool enough when handling individual "things" but they suck when it comes to set-based processing. SQL and relational programming, on the other hand, excels at that sort of thing. So the question which has to asked is, why are you using objects for this project?
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • How to get List of  all activated Info objects in sap BI production system

    Hi Experts,
             For my requirement  I need list of all activated info objects in sap bi production system.
    Can any body suggest any thing.

    Hi,
    Check in the following table, all the below tables are for InfoObejct related only
    RSDIOBJ -
    Directory of all InfoObjects
    RSDIOBJT------ Texts of InfoObjects
    RSDIOBJ------- Directory of all InfoObjects
    RSDIOBJT----- Texts of InfoObjects
    RSDATRNAV------ Navigation Attributes
    RSDATRNAVT----- Navigation Attributes
    RSDBCHATR------ Master Data Attributes
    RSDCHABAS------- Basic Characteristics (for Characteristics,Time Characteristics, and Units)
    RSDCHA----
    Characteristics Catalog
    RSDDPA -
    Data Package Characteristic
    RSDIOBJCMP----
    Dependencies of InfoObjects
    RSKYF----
    Key Figures
    RSDTIM----
    Time Characteristics
    RSDUNI -
    Units
    Thanks
    Reddy

  • Creating campaigns with individual objects

    Hi,
       I would like to create a "file" extract of the target group from a campaign to include both Individual object and business partner information. Can any one please let me know how to do this ?
    For example: My campaign should include all customers who bought a laptop in the last 30 days. And the file extract of the target group should have info about the model number of the laptop (Set type) Unique ID (I-object ID) and customer information like name, address etc.
    I am able to create an attribute list having both search parameters but I am having trouble extraction the target group containing both objects and BPu2019s to a file. Can you please help
    Any alternatives are also welcome
    Thanks and regards
    Reddy

    Hi Zhenglin,
       Currently in the SAP 7.0 UI i can download the TG using "Export" to excel function but the TG field for Iobjects is not present. There is also an option called "View related Objects" button however that gives me all the Iobjects related to the BP which may not be relevant to the campaign (Eg. If the customer owns two laptops, one bought 5 years back and another 2 weeks back - Both the objects are displayed where as i just need the one relevant to the campaign)
    Can anyone please tell me how to add the relevant Iobject to this TG list on the UI..
    Thanks
    Reddy

  • Activation of Objects with Type Data Transfer Process

    Hi Experts,
    I am stuck in a problem of activation of DTP. I loaded the data from the Datasource to PSA and there are about 200,000 reocrds.
    Now I wanted to take this load to DSO NEW table ..I have created a DTP and when I try to activate the DTP I get this Error
    Activation of Objects with Type Data Transfer Process
        Internal Activation (Data Transfer Process )
             Post Processing/Checking the Activation for Data Transfer Process DTP_49Z7OSAHFAR9O8335ED6
                  Error when activating Data Transfer Process DTP_49Z7OSAHFAR9O8335ED67X11C.
    I tried to activate the Data source but it still didnt help. Looked in SDN for some related stuff but most of them are talking about going for SP 11 ..we are already on
    *SAP_BW     700     SAPKW70014     *
    Your suggestion will be appreciated with maximum points
    Thanks

    Hello Experts,
    Could you'll please help me out with this ...I
    I deleted the DTP and created back again
    logged out of BW and logged back again
    Infact I found a SAP note 1086877 and i applied it ..but it still didint help
    Whie loading the Master Data from PSA to DTP ..it worked fine.
    While Loading the transactrion data I went to Tcode RSBATCH and in the drop down I selected the DTP activation and gave a 3 Back ground processes....Ever since that it started giving me problem
    Your help will be appreciated...my data loads are stalled ..i mean I cant move forward.
    Thanks

  • Business partner in Fact Sheet for Individual object

    Hi Folks,
    I am unable to see the assigned business partners on the Fact Sheet for an Individual object.  I have created the iObject in the portal.  Here, I could not assign any BP's during the creation as the system does not have this option.  I then went ahead and created an Installed Base and assigned this iobject to it in the CRM system in transaction [IB51] "Create Installed Base".  I then went ahead and assigned the Business Partners to this iObject. 
    The situation is that I can see the assigned Business Partners in the Portal for this iObject/Component for the Installed Base in the "Installed Bases/Components" tab but when i go to the "Fact Sheet for Installed Bases" tab I am unable to see the assigned BP's.
    I haven't been able to find any documentation on it either.  Can someone please help.
    Thanks.

    Hi,
    Did you ever solve this issue? 
    I too am having the same problem and cannot display the factsheet or summary using the 'Go To' button in EP.
    Any help would be much appreciated.
    Regards
    Jo

  • Objects related to SD for excise invoice number range

    Dear gurus,
    Kindly provide the objects related to excise invoice number range  for SD module to be updated for  new financial year.
    [ for ex. j_1excloc ]
    Regards
    R.Rajendran

    provide the objects related to excise invoice number range for SD
    Following objects should be maintained in SNUM
    J_1IARE1:::::::ARE1 Doc No object based on Series Group
    J_1IARE3:::::::ARE3 Doc No object based on Series Group
    J_1IDEPINV:::::Excise Invoice Number for Depot Invoices
    J_1IEXCEXP:::::Export excise invoice number range
    J_1IEXCINV:::::Excise invoice number
    J_1IEXCLOC:::::Local excise invoice numebr range
    J_1IEXINEX:::::Excise invoice number for export
    J_1IINTPR2:::::Despatch serial number
    thanks
    G. Lakshmipathi

  • Error while activating ODS Object (BIC/WAGLCATODS00 &/BIC/AGLCATODS00 )

    Hi Gurus,
    I am getting an error while activating ods object.
    Error/warning in dict. activator, detailed log --> Detail.
    Row type /BIC/AGLCATODS00 is not active or does not exist.
    Table type /BIC/WAGLCATODS00 could not be activated.
    Table /BIC/AGLCATODS50 could not be activated.
    Table is not yet classified.
    Return code..............: 8.
    DDIC Object TABL /BIC/AGLCATODS00 has not been activated.
    Error when activating ODS Object GLCATODS.
    If any one have come across this issue please help me out in resolving this issue.
    I will reward points.
    Urs,
    Raki.

    Frank,
    There is lot of free space in data base table i already checked it before.... in sm21 it showing database errors.
    Strange i m unable to find out the solution.
    Urs,
    Raki.

  • Error when activating DataStore Object

    Hello,
    We have an ODS object which is in avtive stage in ECC DEV system. When
    we transport it to ECC QA system it can not be activated and shows
    follwoing errors :
    1) Internal error occurred when writing
    Message no. D0054
    2) Error while saving change log for DataStore object DSO_PL
    Message no. RSDODSO196
    3) Error during creation of DDIC sources of DataStore Object DSO_PL
    Message no. RSO435
    4) Error when activating DataStore Object DSO_PL
    Message no. RSO404
    We also observe that even we create new ODS object in ECC QA system,
    still it give the same errors while activating.
    Note - ECC QA is a system copy of ECC PROD.
    Please suggest.

    Hi,
    I believe the problem is with the Myself connection (the BW source system connection to itself) in the QA system.
    Please goto RSA1, 'source systems', right click on the myself system and click on 'check', if there are errors you
    maybe able to correct them by right clicking on the myself connection and click on 'restore'. If there are no
    errors for the myself connection you should go to sm59 and do the connection and authorization test for the
    RFC connection for the myself connection.
    Best Regards,
    Des.

  • Printing out results in case of object-relational table (Oracle)

    I have made a table with this structure:
    CREATE OR REPLACE TYPE Boat AS OBJECT(
    Name varchar2(30),
    Ident number,
    CREATE OR REPLACE TYPE Type_boats AS TABLE OF Boat;
    CREATE TABLE HOUSE(
    Name varchar2(40),
    MB Type_boats)
    NESTED TABLE MB store as P_Boat;
    INSERT INTO House VALUES ('Name',Type_boats(Boat('Boat1', 1)));
    I am using java to print out all the results by calling a procedure.
    CREATE OR REPLACE package House_boats
    PROCEDURE add(everything works here)
    PROCEDURE results_view;
    END House_boats;
    CREATE OR REPLACE Package.body House_boats AS
    PROCEDURE add(everything works here) AS LANGUAGE JAVA
    Name House_boats.add(...)
    PROCEDURE results_view AS LANGUAGE JAVA
    Name House_boats.resuts_view();
    END House_boats;
    However, I am not able to get Results.view working in case of object-relation table. This is how I do it in the situation of relational table.
    CALL House_boats.results_view();
    House_boats.java file which is loaded using LOADJAVA:
    import java.sql.*;
    import java io.*;
    public class House_boats {
    public static void results_view ()
       throws SQLException
       { String sql =
       "SELECT * from House";
       try { Connection conn = DriverManager.getConnection
    ("jdbc:default:connection:");
       PreparedStatement pstmt = conn.prepareStatement(sql);
       ResultSet rset = pstmt.executeQuery();
      printResults(rset);
      rset.close();
      pstmt.close();
       catch (SQLException e) {System.err.println(e.getMessage());
    static void printResults (ResultSet rset)
       throws SQLException { String buffer = "";
       try { ResultSetMetaData meta = rset.getMetaData();
       int cols = meta.getColumnCount(), rows = 0;
       for (int i = 1; i <= cols; i++)
       int size = meta.getPrecision(i);
       String label = meta.getColumnLabel(i);
       if (label.length() > size) size = label.length();
       while (label.length() < size) label += " ";
      buffer = buffer + label + " "; }
      buffer = buffer + "\n";
       while (rset.next()) {
      rows++;
       for (int i = 1; i <= cols; i++) {
       int size = meta.getPrecision(i);
       String label = meta.getColumnLabel(i);
       String value = rset.getString(i);
       if (label.length() > size) size = label.length();
       while (value.length() < size) value += " ";
      buffer = buffer + value + " ";  }
      buffer = buffer + "\n";   }
       if (rows == 0) buffer = "No data found!\n";
       System.out.println(buffer); }
       catch (SQLException e) {System.err.println(e.getMessage());}  }
    How do I print out the results correctly in my case of situation?
    Thank you in advance

    I have made a table with this structure:
    I am using java to print out all the results by calling a procedure.
    However, I am not able to get Results.view working in case of object-relation table. This is how I do it in the situation of relational table.
    How do I print out the results correctly in my case of situation?
    There are several things wrong with your code and methodology
    1. The code you posted won't even compile because there are several syntax issues.
    2. You are trying to use/test Java in the database BEFORE you get the code working outside the DB
    3. Your code is not using collections in JDBC properly
    I suggest that you use a different, proven approach to developing Java code for use in the DB
    1. Use SIMPLE examples and then build on them. In this case that means don't add collections to the example until ALL other aspects of the app work properly.
    2. Create and test the Java code OUTSIDE of the database. It is MUCH easier to work outside the database and there are many more tools to help you (e.g. NetBeans, debuggers, DBMS_OUTPUT windows, etc). Trying to debug Java code after you have already loaded it into the DB is too difficult. I'm not aware of anyone, even at the expert level, that develops that way.
    3. When using complex functionality like collections first read the Oracle documentation (JDBC Developer Guide and Java Developer's Guide). Those docs have examples that are known to work.
    http://docs.oracle.com/cd/B28359_01/java.111/b31225/chfive.htm
    http://docs.oracle.com/cd/E11882_01/java.112/e16548/oraarr.htm#sthref583
    The main issue with your example is #3 above; you are not using collections properly:
    String value = rset.getString(i);
    A collection is NOT a string so why would you expect that to work for a nested table?
    A collection needs to be treated like a collection. You can even treat the collection as a separate result set. Create your code outside the database and use the debugger in NetBeans (or other) on this replacement code for your 'printResults' method:
    static void printResults (ResultSet rset) throws SQLException {
        try {
           ResultSetMetaData meta = rset.getMetaData();
           while (rset.next()) {
               ResultSet rs = rset.getArray(2).getResultSet();
               rs.next();
               String ndx = rs.getString(1);
               Struct struct = (Struct) rs.getObject(2);
               System.out.println(struct.getSQLTypeName());
               Object [] oa = struct.getAttributes();
               for (int j = 0; j < oa.length; j++) {
                  System.out.println(oa[j]);
        } catch  (SQLException e) {
           System.err.println(e.getMessage());
    That code ONLY deals with column 2 which is the nested table. It gets that collection as a new resultset ('rs'). Then it gets the contents of that nested table as an array of objects and prints out the attributes of those objects so you can see them.
    Step through the above code in a debugger so you can SEE what is happening. NetBeans also lets you enter expressions such as 'rs' in an evaluation window so you can dynamically try the different methods to see what they do for you.
    Until you get you code working outside the database don't even bother trying to load it into the DB and create a Java stored procedure.
    Since your current issue has nothing to do with this forum I suggest that you mark this thread ANSWERED and repost it in the JDBC forum if you need further help with this issue.
    https://forums.oracle.com/community/developer/english/java/database_connectivity
    When you repost you can include a link to this current thread if you want. Once your Java code is actually working then try the Java Stored procedure examples in the Java Developer's Guide doc linked above.
    At the point you have any issues that relate to Java stored procedures then you should post them in the SQL and PL/SQL forum
    https://forums.oracle.com/community/developer/english/oracle_database/sql_and_pl_sql

Maybe you are looking for