Non additive aggregation -  custom defined aggregation possible in BW?

I have the following problem:
there is a key figure that is non-additive relative to one characteristic, e.g we need the third minimum as an aggregation for a time characteristic (there a 250 values for that characteristic).
Is there a way to create user defined (exception) aggregation (like Var or mean value) by ABAP Coding?
Message was edited by: Michael Walesch

Does your database support analytic functions? Last and first are analytics functions. If your database does not support them, BI has to prepare selects with subqueries and this could slow down the response time
Begoña

Similar Messages

  • Agg tables with non-Sum aggregation type

    Situation: We have a fact called Ending Cash Balance that is non-additive across time. Each month, it shows the cash on hand at the end of the month. So our aggregation method is "Last" for the Time dimension (i.e. the value for Q1 = March, value for year = Dec), and "Sum" for all Other dimensions.
    Using the Aggregation Wizard, we've built an agg table that contains the correct values for Ending Cash Balance (abbrev. ECB), rolled up along all levels properly.
    However, our Answers query will NOT use that agg table when querying ECB. In fact, our logical table contains ECB (non-additive along Time) and Capital Spending (additive along time, so the agg method is Sum). When we query Capital Spending by month, the query hits the agg table. When we query ECB by month, the query refuses to hit the agg table. The only difference between the two fact columns is the aggregation method along the Time dimension.
    The agg table is perfectly good, but the query will not use it for the fact that has a "non-sum" aggregation method. Any ideas?

    Mark, OBIEE repositories from ver 10.1.3.x allows for an flag "Data is Dense" to be set up in the aggregation tab of the measure (fact) in question. Please check if this allows you to get the last along time calculation to occur based on results taken from Aggregate table instead of base level fact table. Read up help on this option also.
    With this option turned on, I expect measure to get aggregated as follows:
    Base level Fact: Day level
    Aggregate Table: Month level (say)
    Query at Month level => should fetch results from Agg table (sum along other dimensions as reqd)
    Query at Quarter level => should fetch results from Agg table (sum along all other dimensions except time as reqd) and choose the last month of Quarter for showing value at Quarter level.
    Also experiment with using Aggregation method in Answers (not rpd) as "Server (default)" if using in pivot. Sometimes the results are correct from db to rpd (mid tier) but the front end aggregation spoils the report.
    HTH
    Shankar

  • Non-additive measure

    Hi,
    I'm just learning OBIEE and have this logical modelling question.
    Let's say that I have a fact table. The grain of this fact table is day/product/price. So there is one row per day per product and the price of the product on that day. Price obviously is a non-additive measure. The nature of this measure is actually the problem....it can't be summed across time. Lets call this table price_history table.
    In BMM, I have a time dimension and product dimension and the above described fact table.
    Here's what I want to acheive:
    An answers request which will show me the price at the end of the period. For example, if I select Year from the time dimension, Product Name from the product dimension, and then price from the price_history table, I should get:
    2008 Product A $1.00
    2008 Product B $2.00
    2009 Product A $3.00
    2009 Product B $4.00
    where $1.00 is the price of Product A on 12/31/2008, $2.00 is the price of product B on 12/31/2008, $3 is the price of product A on 9/22/2009 (9/22/2009 is the latest row for Product A in price_history table), $4 is the price of product B on 9/22/2009 (9/22/2009 is the latest row for Product B in price_history table)
    Subsequently, I want to click on the year, and have OBIEE drill down into the data, and split it by Quarters:
    2008 Q1 Product A $1.25 ( the price at the end of Q1 2008)
    2008 Q2 Product A $1.27 ( the price at the end of Q1 2008)
    2009 Q4 Product B $8.00 (the most current price)
    I know this is a lot.....but does anybody have an idea on how one would go about modelling this situation???

    the problem is I want the measure to be additive across total product/prod category/sub prod category (as long as the sum involves prices for only ONE day). But across time I want to apply the LAST aggregation method. In other words, the SUM of all product prices with rollup to PROD CATEGORY/SUBCAT is a valid business query as long as the TIME dimension grain is a day. When the time dimension grain goes up month/quarter/year then I want the LAST price to be picked up for the time frame involved and then summed up to total product/prod category/subcategory.
    Going back to what you suggested. If I create a level based measure (with LAST aggregation) at the product subcategory level, it will only pick up the PRICE for the LAST product in that subcategory which is not what I want. I want subcategory to be the sum of all prices for the LAST day in the time period selected (the last day of the month, quarter, year, day).
    I'm beginning to suspect that this is not possible because there's a flaw in data model.....Any help is appreciated.

  • Obiee report across non additive fact tables

    I have two fact tables (f1,f2) joined two conformed dimensions d1,d2
    d1,d2 have simple hierarchy total and detail levels
    f1 --->d1
    f1---->d2
    f2---->d1
    f2---->d2
    facts tabel layout
    f1 -- c1&c2 are(additive measures)c3&c4 are(non additive measures)
    f2----col1&col2 are (additive measures)col3&col4(non additive measures)
    I have tried to construct a report with c1,c2,col1,col2 and it works fine
    when i try to do c1,c2,c3,c4,col1,col4 second fact table cols are null.
    Can someone please guide how to resolve this issue.

    there is a rule saying When you are combining multiple fact tables(stars) in a single report, the measures should be aggregated. This is like best practice.
    So in your scenario, you have to create 2 logical dimensions from the fact tables.
    Create logical dimensions F1D with source physical F1 and add only non aggregated measure(c3,c4), Create a hierarchy with total and detail level.
    Create logical dimensions F2D with source physical F2 and add only non aggregated measure(col3,col4), Create a hierarchy with total and detail level.
    then for fact table f1 , set level F1d - Detail, F2d - total.
    then for fact table f2 , set level F1d - total, F2d - detail.
    Update your presentation layer. Make sure these non aggregated columns coming from F1d,F2d instead of logical fact tables.
    check for consistency.,Now save,reload/restart server. Check your reports, thats it.
    thanks
    Madan Thota

  • Who's Who: How to refine employee search using customer defined indicator?

    Hello,
    It is possible to refine employee search using status indicator STAT2 (Employees' Employment Status). I would like to refine employee search using e.g. Customer defined status indicator STAT1. I created an entry identical to STAT2 but with STAT1
    in view V_T77S0 but it did not help at all.
    How to refine employee search using customer defined indicator or any other info
    from infotype 0000 or 0001?
    Kind regards,
    Pawel

    Hi
    This could be done using the infosets provided in who's who customization screen.
    Pl go through following help.
    If this helps, pl do reward.
    Who's Who (ESS): Selection and Output
    In this activity, you can change the fields for selecting and outputting data for the Who's Who service. The fields of the underlying InfoSet Query are available. Note, however, that text fields cannot be used for data selection (with the exception of the fields Organizational Unit, Position Name, and Job Name).
    You have the following options:
    You can specify the fields for selecting an employee.
    You can specify the fields for the hitlist, that is, the list of all employees who meet the selection criteria.
    You can specify the fields for the detail screen for a selected employee.
    All selected fields are automatically transferred to the service in the sequence you chose and are then available for selection or output.
    Standard settings
    The standard system contains an InfoSet for the service. It contains default selection and output fields.
    Activities
    1. Check whether the default settings fulfill your requirements.
    2. If you want to change the default values, proceed as follows:
    a) Choose the relevant tab page and remove the indicator in the Use default settings for group box.
    To change the selection fields, choose the Selection Fields tab page.
    To change the fields of the hitlist, choose the Output Fields List tab page.
    To change the fields of the detail screen, choose the Output Fields Detail tab page.
    b) If you want to delete a default field, select the field in the relevant tab page and choose Delete Line from Display Table.
    c) If you want to add an additional field from the InfoSet, select the field in the Fields in InfoSet group box and choose Copy Entry from InfoSet Table. You have two options:
    You select an existing field in the tab page and choose Insert Entry in Display Table. The system copies the InfoSet field and inserts it above the selected entry.
    You select the blank field at the end of the tab page and choose Insert Entry in Display Table. The system copies the InfoSet field and inserts it at the end of the tab page.
    Note that the sequence of the fields in the tab page determines the sequence of the fields in the service.
    The selection screen fields are laid out according to the following pattern (maximum of 4 rows and 20 fields):
    1 I 2 I 3 I13 I17
    4 I 5 I 6 I14 I18
    7 I 8 I 9 I15 I19
    10 I11 I12 I16 I20
    The fields in the detail screen are laid out underneath each other for a maximum of 20 rows, while the fields in the hitlist are laid out from left to right for each row, for a maximum of 20 fields.
    Note: You cannot select by the Employment Status field (P0000-STAT2).
    d) If you want to add a new field that is not in the InfoSet, you have to create a new InfoSet. You then assign the required field to the new InfoSet. Then select the new InfoSet in the InfoSet field in the Parameters group box. Proceed as described above to add the field to the relevant tab page.
    For information about creating InfoSets, see Specify InfoSets for Interactive Employee Selection in the IMG for the HR Information System.
    Not the SAP naming convention for the standard InfoSet: /SAPQUERY/HR_XX_PA_ESS
    The country code "XX" stands for "international." The InfoSet itself is in the global area (cross-client). You can create customer-specific InfoSets by copying an existing entry. Take account of your  customer namespace and set the relevant country code.
    Note: The Personnel Number field (P0000-PERNR) must not be added to the InfoSet. If you want to use the personnel number, use the P0001-PERNR field, for example.
    e) In the Sort field of the Output Fields List tab page, you can specify the sort sequence in the hitlist.
    Example: You have selected the Last Name and First Name fields for the hitlist. You want the hits to be sorted first of all by the employees' last name, then by the first name. You therefore enter 1 for the last name and 2 for the first name in the Sort field.
    f) Once you have completed your modifications, choose Check Display Table. If the check was successful, choose Save to save your changes. If inconsistencies were found during the check, a message in the relevant line notifies you of them.
    Further notes
    In certain circumstances, runtime issues may occur, especially in data selection. If they do, set the Selection Fields indicator in the Use Default Settings for group box. This deactivates the use of the InfoSet Query; instead, the system uses the BAPI_EMPLOYEE_GETDATA method.
    You can switch the hitlist and the detail screen to the BAPI_EMPLOYEE_GETDATA method by setting the Output Fields List and Output Fields Detail indicators.
    Note that by setting an indicator, you restrict the field selection in the relevant tab page to the interface of the method.
    If, in the initial screen, you enter a country for which values have not yet been defined, the system automatically creates an entry that sets all indicators in the Use default settings for group box. You can then edit the entry to suit your requirements.
    You can specify whether you want employees' photos to be displayed in the service in the IMG for Employee Self-Service under Determine User Options.
    If this helps, pl do reward.

  • F4 help for a customer defined field added as structure enhancement

    I am trying to get the F4 help on a customer defined field added as structure enhancement. This can be achieved by programming the "F4IF_INT_TABLE_VALUE_REQUEST" (as I have data in an internal table) in the Process On Value-Request event. The problem is because it is a customer field addition as structure enhancement. I am not sure where I should put this code segment to make it work. Any help would be highly appreciated.

    Could you create a search help and attach that to the data element of your field, and then populate the data using code in the function exit of your search help if it cannot be directly read from a table or view?
    This would remove your code from the SAP dialog program.  The only mod you may need to make is to add / flag the search help on the screen field.
    Andrew

  • Addition of custom tab and fields in cProject

    Hello Experts,
    I need to add custom tab and fields in cProject project definition level(type DPO).
    As it is given in IMG help, there are two ways of doing this.
    1) Addition of data in CI_DPR_PROJECT and Creating the field groups and including these fields in the field groups.
    2) Creating the custom tab and assigning the webDynpro component to it.
    I tried the first method. Here I am able to see the field group as the tab in cProjects but the fields included in CI_DPR_PROJECT are not appearing.
    Please let me know how I can see the fields which are added to CI include.
    Also,
    For the second method what is the meaning of implementing the WebDynpro interface DPR_CUST_EXT_INTF ?
    I appreciate if anyone explains step by step procedure for this.
    Thanks in advance.
    Regards
    Maddy

    hi Madhu,
    By creating a custom tab and adding field you can do that.
    Pls. follw the steps as below:
    1)Enhance Data base table:
    Follow the path:
    Spro ->Collaboration Project ->Global Enhancement to Project elements ->Enhance Database table
    You will get details about Object category, its Entity table and Structure with Customer Include/APPEND Structure
    Then go to Se11 and make changes as mentioned below:
    Add the fields required on cProjects Screen in table DPR_PROJECT in the Include "CI_DPR_PROJECT"
    2)Run Program DPR_CUST_FLDS_IN_FC_MAP and pass structure : DPR_TS_PROJECT_EXTENDED_ATTR
    Run Program DPR_CUST_FLDS_IN_FC_MAP in transaction code SE38 and execute it and in Structure w. Customer Include field, pass structure: DPR_TS_PROJECT_EXTENDED_ATTR, this will generate transport request
    3)Set up field control.
    Copy std. field control and create new.
    Path:Spro ->Collaboration Project ->Global Enhancement to Project elements ->Set up field control
    4)Create field group
    Path: Spro ->Collaboration Project ->Global Enhancement to Project elements ->Set up field control
    Define group to your field here for your field control.
    5)Define Field groups for Customer Fields
    Path: Spro ->Collaboration Project ->Global Enhancement to Project elements -> Define Field groups for Customer Fields
    Make entry here. Name of group is Name of tab page in cProjects front end
    Define your customer fields for field group
    6)Assign field control to your Project Type:
    Path : Spro ->Collaboration Project ->Structure ->Define Project type
    Assign custom defined field control to the project type in Field contol field at the bottom.
    With this seetings you should be able to see your custom defined fields in custom defined tab page.
    Regards,
    Niraj

  • Customer defined Context Menu in WD ALV (ABAP)

    Hello,
    is it possible programming a customer defined context menu for a Web Dynpro ALV (in ABAP)?
    The functionality should be as following:
    Open Context menu with right mouse click, select something like "display details" and then detail data shall be displayed under the ALV.
    Exists a documentation for that?
    Thanks and regards,
    Josephine

    When you are defining your content attribute at the controller do not try to bring all the value attributes rather  provide the dictionary structure and make sure that cordinality is 0...n.
    Then as and when you change the dictionary structure you would be able to view the columns corresponding to that.
    Make sure that your select stmt is modified accordingly when you are binding it to the context.
    Cheers
    ~ Kumar

  • Is there a BADI to call custom defined fields in Project Systems (PS)

    Hi,
    Is there a BADI to call custom defined fields in Project Systems (PS)
    The business process is as under:
    SRM MDM product catalog is called from PS applcation in ECC using transaction code CJ20N.
    Standard fields like description, qty, price etc are displayed and transfered to the PS application.
    The requirement is in addition to above mentioned fields, need to display
    custom defined (CUST_FIELD1 to CUST_FIELD5) fields and subsequently to be transfered to the PS application.
    Pls provide help or inputs.
    Thanks,

    Hi,
    There is customizing in the PS side. PS -> Material-? *(OCI) -> Convert HTML to SAP Fields
    Regards,
    Masa

  • Custom Defined Fields Not Flowing to SUS

    Hi,
    Ours is MM-XI-SUS scenario.All the custom defined fields are flowing from MM to XI.But not from XI to SUS.
    We have done SPROXY also in SUS.
    Is there any mapping between XI -SUS which needs to be done?
    Please advise.
    Regards,
    Manu

    Hi,
    For User-defined fields in SUS
    Please refer to these SAP OSS notes ->
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields
    Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 1035416 - Customer fields are not displayed in change mode
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Please refer to these links for details ->
    Re: How to change the field name in SUS
    SUS Web Template Query
    Re: SC header CUF ?
    Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    SC : Extended  Search on Header Customer field
    Re: customer field in 3rd step of shopping cart
    Adding fields in shopping cart
    Custom Field in the header of Shopping Cart
    BR,
    Disha.
    Pls  reward points for useful answers.

  • Non additive dissolve video transition doesnt connect 2 photos gradually in my Premiere pro 5.5

    non additive dissolve video transition doesnt connect 2 photos gradually in my Premiere pro 5.5, is there any settings for it?

    I too am experiencing this issue.  AVCHD footage, GPU Acceleration, trying to apply a cross dissolve, and instead it randomly seems to see it as a simple cut.  The Cross Dissolve is simply ignored... Adjusting the footage length, removing the CDissolve, re-rendering, etc. have no effect.  For whatever reason, in that specific location on the timeline, a cross dissolve with GPU acceleration is impossible.  Yet, in other sections of the timeline, it is just fine.
    (The Fast Blur trick mentioned above worked (Thank you!) however, when I changed my playback resolution on the screen display, that broke the fix.  Deleting the fast blur, and applying it to the clip on the other side of the cross dissolve, re-enabled the work around)
    I also see an issue when a clip changes in the timeline, (cut from one piece of footage, to another) the video will begin to studder, dropping frames.  Framerate seems to drop to about 2fps.  To get smooth playback back, I have to pause and resume the playback.  Even if this is done very very rapidly, it still fixes the playback issue.  it's just really annoying to have to constantly stop and resume playback everytime a video clip changes in the timeline.
    I have a dedicated hard drive for video, and a dedicated mirrored array for the OS.  the video drive is a 7200rpm SATAII drive, and I'm using AVCHD footage.  I really don't think it's a disk speed issue... particularly as pausing and resuming (even if you do it as fast as you can possibly hit the keys) fixes it.  I'd rather not spend the $ to set up a RAID 10 for video, if I can avoid it and particularly if it's not needed.
    -Jason

  • I am planning to create custom defined  DSO Object & Info cube

    Hi ,
                     i am planning to create custom defined  DSO Object & Info cube.what ratio i can calculate what is the keyfields & what are the data fields in DSO.How can i calculate.
                     2. how can i create  suitable dimensions, suitable characterstics  for dimensions.what ratio i can decide.
    Thanks,
    chandu.

    Hi Diego Garu,
                               Thanks for your fast response.i
    VBELN     VBAP     2LIS_11_VAITM                                              0DOC_NUMBER
    POSNR     VBAP     2LIS_11_VAITM                                                0S_ORD_ITEM
    KUNNR     VBAK     2LIS_11_VAHDR                                                 0SOLD_TO
    VBELN     VBRP     2LIS_13_VDITM                                                    0BILL_NUM
    FKDAT     VBRK     2LIS_13_VDHDR                                                 0BILL_DATE
    INCO1     VBRK     2LIS_13_VDHDR(INCO1FieldNot Available in Data Source)     0INCOTERMS
    ZTERM     VBRK     2LIS_13_VDHDR(Payment terms field Not Available in Data Source)                                                                                0UCPYTERMS
    NETWR     VBRP     2LIS_13_VDITM                                                           0NETVAL_INV.
                                           here data is coming from the multible tables.that why i am planning to create custom defined data source based on view. here how can i calucate dso is suitable or cube is suitable.
    suppose dso is suitable how can i decide which on is the data field and which one is the key field.
                                        how can i decide how many dimensions are needed here.and which chara are suitable for that dimensions.
    Thanks ,
    chandu.

  • I am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to ope

    i am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to open the 'compact disc' preset from a trial version?

    Are you sure, Eugene? I have this option:

  • How to get custom defined messages in WAD

    Hi
    can you please help me how to get customized error messages in WAD.
    While I'm executing in RSRT the customer exit variable throws error message saying that 'No Sales orders exist for this Sold_To Party' but when I execute same query using Bex WAD, then no error message throwing for me for given sold_to party. I tried with all options as given in below code, but WAD gives me system error that "No values found for the customer exit variable 'Zxxxx'. Please help me in this regard. Should I do any settings in WAD to get custom defined messages. Kindly let me know
    my code is as below
    I_STEP = 2.
    CASE i_vnam.
    WHEN 'Custome exit variable'.
    IF sy-subrc = 0.
    ELSE.
                   MESSAGE e060(/bmc/bw).  "No Authorization exist
                    g_errflag1 = 'X'.
                   exit.
                   CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                      EXPORTING
                        i_class  = '/bmc/bw'
                        i_type   = c_e                                    "'E'
                        i_number = '061'
                        i_msgv2  = l_msgv2.
                         RAISE NO_REPLACEMENT.
                    l_s_range-low = g_soldto.
              l_s_range-sign = c_sign_i.
              l_s_range-opt  = c_range_opt_eq.
              APPEND l_s_range TO e_t_range.
    ENDIF.
    I_STEP = 3.
      READ TABLE i_t_var_range INTO w_s_var_range
                  WITH KEY vnam = 'customer exit variabel'.
      IF sy-subrc = 0.
    Check the flag and throw message 'No Sales orders'.
        IF g_errflag1 = 'X'.
          l_msgv1     = 'No Sales orders'.
    Call the FM to populate message
          CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
            EXPORTING
              i_class  = c_r9
              i_type   = c_e                                    "'E'
              i_number = c_000
              i_msgv1  = l_msgv1
            EXCEPTIONS
              dummy    = 0
              OTHERS   = 0.
         CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
         CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
          RAISE NO_REPLACEMENT..
        ENDIF.
    Thanks & Regards
    silu

    Hi
    Custom Messages WAD

  • Internal Error in reading a Table of Oracle custom-defined objects.

    Hi,
    We are running into an Oracle internal error when trying to extract data from an OUT parameter of a stored procedure. The OUT parameter is of the type TABLE of Oracle custom-defined OBJECT.
    Any help on this issue will be greatly appreciated.
    Thanks, in advance,
    OraNew
    Program:
    package test;
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Types;
    import java.util.ArrayList;
    import java.util.List;
    import oracle.sql.ARRAY;
    import oracle.sql.STRUCT;
    import src.vo.ProfileBank;
    public class TestOracle {
    * @param args
    public static void main(String[] args) {
    try{
    Connection con = getConnection();
    ResultSet rsBalance = null;
    CallableStatement cs =
    con.prepareCall("{ CALL acr_profiles.get_profile_bank( ?, ?, ?)}");
    cs.setLong(1, new Long(133).longValue());
    cs.setLong(2, new Long(29032).longValue());
    cs.registerOutParameter(3,Types.ARRAY,"ACR_USER." + "ACR_PROF_BANK_TAB");
    cs.execute();
    ARRAY array = (oracle.sql.ARRAY) cs.getObject(3);
    System.out.println("length: "+ array.length());
    System.out.println("isConvertible: " + array.isConvertibleTo(Object.class));
    System.out.println("isInline: " + array.isInline());
    rsBalance = array.getResultSet();
    showResultSet(rsBalance);
    } catch (Exception sql){
    System.out.println("Exception "+ sql);
    public static void showResultSet (ResultSet rs) throws SQLException
    System.out.println("ResultSet = "+ rs.toString());
    List profileBanks = new ArrayList();
    while (rs != null && rs.next()) {
    STRUCT struct = (STRUCT)rs.getObject (2); //getting the Internal Error on this line.
    Object[] attribs = struct.getAttributes();
    System.out.println("Bank Alias Id"+ (java.math.BigDecimal) attribs[0]);
    System.out.println("Bank Name"+ (String)attribs[1]);
    System.out.println("Bank set flag "+ (String) attribs[2]);
    ProfileBank pBank = new ProfileBank();
    pBank.setBankAliasId(new Integer(((java.math.BigDecimal) attribs[0]).intValue()));
    pBank.setBankName((String) attribs[1]);
    pBank.setSelBankFlag((String) attribs[2]);
    profileBanks.add(pBank);
    public static Connection getConnection() throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    System.out.println("Driver loaded");
    // establish a connection
    Connection conn = DriverManager
    .getConnection(
    "jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=10.3.11.201)(Port=1521)) (CONNECT_DATA=(SERVICE_NAME= aada.a.al)))",
    "acr_user", "acr_user");
    System.out.println("Database connected");
    return conn;
    Console Output:
    Driver loaded
    Database connected
    length: 2
    isConvertible: false
    isInline: true
    ResultSet = oracle.jdbc.driver.ArrayDataResultSet@1f3aa07
    Exception java.sql.SQLException: Internal Error
    Partial Stacktrace obtained from the Eclipse Debug window:
    oracle.jdbc.driver.DatabaseError.throwSqlException(int) line: 292
    oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName() line: 1192
    oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(int) line: 1225
    oracle.jdbc.oracore.OracleTypeADT(oracle.jdbc.oracore.OracleNamedType).getFullName(boolean) line: 119
    oracle.jdbc.oracore.OracleTypeADT(oracle.jdbc.oracore.OracleNamedType).getFullName() line: 93
    oracle.sql.StructDescriptor(oracle.sql.TypeDescriptor).initSQLName() line: 497
    oracle.sql.StructDescriptor(oracle.sql.TypeDescriptor).getName() line: 392
    oracle.sql.StructDescriptor.getClass(java.util.Map) line: 2003
    oracle.sql.STRUCT.toJdbc(java.util.Map) line: 983
    oracle.jdbc.driver.ArrayDataResultSet.getObject(int, java.util.Map) line: 1379
    oracle.jdbc.driver.ArrayDataResultSet.getObject(int) line: 1198
    test.TestOracle.showResultSet(java.sql.ResultSet) line: 53
    test.TestOracle.main(java.lang.String[]) line: 38
    Environment:
    Database: Oracle 10g (10.2.0.3)
    JDBC Drivers: version 10.2.0.3 (ojdbc14, orai18n)
    Database Server: HP-UX
    Client machine: Windows XP
    <end of thread>

    hi Thom,
    most error relating to table DOKTL are caused by misconfigured network card.
    if this is a "home" system, install a loopback adapter from Microsoft and use IP address 127.0.0.1 and also check "hosts" file for inconsistency. do not use the IP adddress provided by your ISP as it may change.

Maybe you are looking for

  • Nokia Lumia 630 Dual Sim Bugs

    Hi Guys, Did any one noticed bugs in Lumia 630 DS. 1.Unable to hear voice while in call some times 2.while phone is locked means action center  doesn't open but here it open when ever you have security lock also some function available while in lock

  • Converting PO's in PDF format.

    Hi All, I have to configure SAP ECC system generated PO's in PDF Format. Customer should be able to download the file in PDF format or mail directly in PDF format. Have come across some notes which mention that we have to do some coding for automatio

  • FCP WITH DUAL QUAD MAC - PROGRAM NOT FAST ENOUGH

    Hello, could anyone tell me the reason my new mac "Dual Quad (8 processors) 3.0 w/16gb or ram is not even blinking when I render projects in FCP/Motion? The processors are hardly working and I don't see much difference in overall speed from my previo

  • SKYPE won't work on 10.5.8

    [Topic title updated by moderator to be more descriptive. Original topic title was: "SKYPE won't work "] I have a MAC 10.58 and as of now (21/4/15) it won't let me open SKYPE how come as it worked yesterday?

  • Newbie: Making a property a URL?

    Very new to Portal. My goal is to have a list of links appear in a portlet based on the user's "department." Engineering would see their set of links, IT theirs, etc. I have a content type called "link_list" Inside there's a "textContent" property, a