Only DTO's bindable to object data providers????

I am tryin to bind the array of a data provider to an array of plain old java objects. The object implements serializable and has getter and setters for all vars and public no-argument constructor. However, the array does not show up in "array" options under properties of the Data provider. This only works if my object is an array of DTO's. Funny enough, I tried renaming one of the dto's and using it and that didn't work.
What are the requirements for objects to be used with the data providers?

This link might help:
http://blogs.sun.com/winston/entry/objectlistdataprovider_workaround

Similar Messages

  • Publication for Deski report with multiple data providers

    Hi,
    Has anyone been able to get a publication working that uses a Deski report with multiple data providers as the source? I'm trying to get a publication working that uses dynamic recipients and personalization. When I try to schedule the publication, I get the error "Object not found". 
    Thanks,
    Debbie

    Debbie,
    That's standard.
    It's useful for emulating outer joins in reports.
    Say you've got a sales report where you want to display all 12 months of the year in a crosstab whatever month you run in.
    We're only in May at the moment though. With one data provider (SALES), you'll get a crosstab with just up to May for your months.
    If you create a separate data provider called MONTHS to return the months in the current year, you will then have a merged dimension of YearMonth in both.
    In your crosstab if you just use YearMonth you'll get just the five months. If you qualify it with its data provider name (in our case MONTHS), you'll see the full twelve months shown.
    I hope that clears it up for your.
    Regards,
    Mark

  • Creating a multi series line chart with different data providers

    I have 3 data providers of the same structure i.e ArrayCollection of DataElement and want to use them to create a multiseries line chart. I do not have just 1 dataProvider that can be used but 3 different data providers of the same structure that i want to use each for different series.
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>
    Please help!

    Sorry for the confusion. Actually I must be doing some thing wrong like using ColumnChart to display a line chart or something like that.
    I have now realized that a multi series line chart can be built by having a different data provider for each of the LineSeries object.
    So the code below would create a multi series line graph :
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>

  • How to get the list of data providers used in a web template?

    I want to find a quick way to retrieve the list of data providers defined in the <object> tag in the Web template. One awkward approach is to parse the entire HTML page for <object> then filter out "DATA_PROVIDER: xxx".
    But is there any method or function call to retrieve the list quickly?
    Thanks!

    Try the function below, pass the item name and get the Data provider for that particular item, you will have to do this for all the items in the template.
    function getDPName(item){
         prop = SAPBWGetItemProp(item);
         var tableHidden=true;
         if (prop != null){
           for(i=1;i<prop.length;i++){
             if (prop<i>[0] == "DATA_PROVIDER")
                   return prop<i>[1]
           }//end for
         }//end if
    }//end function
    Thanks.

  • Data Sources , Data Providers to a Single WebI Report

    Hi Guru's ,
    I am a newbie..!!  I am going through the documents related to a creation of WebI Report and got to know that we can combine two or more data sources (or) two data providers(Queries) in creation of a single WebI Report . However,I am still confused with this incoming stuff for creating a WebI Report .
    Could some one explain me what type of combinations can give as an input for creating a WebI report ?
    For example, one can link two or more queries and create a single report by using merge dimension concept !! If so, Will WebI accept data coming from 2 different universes, data coming from 2 or more different data sources like SQL data and SAP ecc ?
    Please explain this as I am new to this !!

    Hi
    Common in the sense relevant data in the two objects with same data type.
    See chapter 24 in the attached pdf more on merge dimension and how it will work in webi.
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp4_ia_desktop_en.pdf

  • UIX - method data providers and the include element

    I've just read in the documentation (Chapter 16 UIX Developer's Guide - Integration with Java ...)
    'Instead of recreating the entire page and all of its UINodes every time you render, you'll be able to keep most of the page cached and only recreate the part that varies.'
    The example given is using a method data provider which returns a UINode and data binding to it using <include data:node="node@source">
    Is it true then that method data providers are always actioned when a page is rendered, even if it has been cached by the framework? If so does that apply to all method data providers not just those which provide data for <includes>? When hitting the back button I have a requirement for part of my page to be the latest view of some data - at the moment I'm overriding 'isCacheable' in my implementation of UIXPageBroker and always returning false to get the right effect but am unhappy about doing it this way.
    Hope this makes sense
    Cheers
    Ian

    Data providers are always re-queried on every render; not just
    method data providers, but all. So if the UINode served
    up to data:node is different every time, you'll get different
    output.
    However, this is an entirely orthogonal question to whether
    the browser will bother asking for the page when the user hits
    "Back". Server-side caching and client-side caching are
    very different beasts!

  • External Data Providers

    Hi!
    I have a document where I need to compare figures with two external Data Providers.
    One external provider gives me Target figures for a Sales Period in Total per Store. The other gives me % per week, in the Sales Period, for how much we want to have sold of the target.
    The user get prompts for start week and end week and results for Sales Quantity which is from the DataWarehous. What I want to achive is a calculation where I get the % from my external provider where I have a match for week in my external sheet and the userRespons in end week.
    This is an example of my external % sheet
    week and %
    0840 =  0,40
    0841 =  0,80
    0842 = 1,00
    For exampel: The user wants to see Sales accumulated for week 40 to 41 and the End week promt is therefore 0841. Then I want match end week prompt with my week prompt and get the result 0,8.  Then I want to take 0,8 times my target figures.
    The problem I have is that either it takes 0,40,81 and then times target or it only takes 0,4 times target.
    If I have a variable that looks like:
    =<%> Where (<Week (Imported)>= "0841"
    it works but I need week to be dynamic similar to:
    =<%> Where (<Week (Imported)>= [prompt for end week]
    Regards, Marianne

    Marianne,
    Create an extra variable (check_variable) where you check the following:
    =if <Week (imported)> = UserResponse(DataProvider, your prompt for end week) then 1 else 0
    Then change your variable to
    =<%> Where (check_variable = 1)
    This should make it all dynamic.
    Cheers,
    Harry

  • Data from two data providers

    In a report i want to fetch teh data from 2 data Providers. which condetion wil satisfy to link the 2 data providers.
    ex: Q1 have columns A,B,C
    Q2 has a X,Y,Z columns.
    requirement is like i want to get all the columns from those 2 tables in report level..like A,B,C,X,Y,Z in a single report.
    Regards
    Sunil

    Hi,
    As venu and karthik said you must a have a atleast one common dimension (same date type for both dimensions) two link two data providers to get a single report.
    For ur requirement check whether any one dimesions exists in both data providers. If so then goto Data Manager -> expand 1st DP ->select the common dimension -> right pane (at bottom) you will get link to button -> click and select the common dimension in 2nd DP.
    Repeat the above process for all the common dimensions and then drag and drop all the required objects to create a single report.
    Cheers,
    Suresh ALuri.

  • Only want to transport security objects in BPC

    Hi,
    I only want to transport Security objects in BPC from DEV to QAS
    Is it possible ?
    I setup the UJT_TRANS_CHG table entries in DEV the following way -
    - Security - Development
    - All others  - Production
    Will that work ? Is it going to mess up anything in QAS system ?
    Do I need to have the same setup in QAS system also ?
    Any help would be highly appreciated.
    thanks
    J

    Basically what it is saying is that you always need to have the following TLOGO objects in the UJT_TRANS_CHG table set to "Development".  This is required by the framework,  If they are not set this way, you run the risk of messing up the objects in the target system.  Also, I bellieve that as of SP7 and above, you don't have to worry about this, as these 4 TLOGO are harded coded in the framework to always be triggered regardless of the setting in the UJT_TRANS_CHG table.
    ASET
    APPM
    DIME
    DIMA
    So again, all you need to do is make sure that these TLOGOs are set to Development, as well as the security ones, and the security data will be transported successfully.  Remember that you must transport your UJT_TRANS_CHG records to the target system before transporting the AppSet.
    Regards,
    Rich Heilman

  • Two Data Providers

    Hi All,
    I need to create two charts in the same report and I have to use one column in both the charts with different condition. How can I create two queries for this?(like we do in BO,Crystal reports and other reporting tools) Plese help me.
    Thanks in advance

    Hi,
    As venu and karthik said you must a have a atleast one common dimension (same date type for both dimensions) two link two data providers to get a single report.
    For ur requirement check whether any one dimesions exists in both data providers. If so then goto Data Manager -> expand 1st DP ->select the common dimension -> right pane (at bottom) you will get link to button -> click and select the common dimension in 2nd DP.
    Repeat the above process for all the common dimensions and then drag and drop all the required objects to create a single report.
    Cheers,
    Suresh ALuri.

  • SSRS Report Model Supported Data Providers

    When trying to create a report model in Visual Studio 2008/BIDS, I see from the data providers list that Sql Server and Oracle are the only ones listed.  My boss is wondering if that is a firm list, or can it be extended through some registry process
    or utility. We have a non-Sql, non-Oracle data source which we would like to use as a report model in SSRS ad-hoc reporting scenarios.  We have configured a OLE DB data source for it, so in designing reports in VS, we can connect to it, and it works fine,
    but we would like to give users Report Builder, and they would be able to point to this report model for ad-hoc reports, and thus, would get the Query Designer.
    Just curious...
    Thanks.
    David Zimmerman (VA)

    Custom data extensions are not supported in Report Builder.

  • Quick question(s) about UIX Data Providers...

    Hello,
    I have a UIX Template that I use for all of the pages in my application. In this template, I have several data providers bound that are used to create the accessible tabs and links for navigation within the application.
    When a data provider is called, does a constructor for the class get called before the actual method to get the Object/DataObject/DataObjectList is called? For the providers that I have defined (3), there is a common set of information that is needed by by each before it can provide the required data. All of these methods are in the same class. Each of these methods call an 'init()' method to retrieve the pre-requisite information. My problem is that when the page loads, as each method is called the 'init()' method is called. So 'init()' is called 3 times. Ideally, I'd like the logic in 'init()' to be executed once per page load. If I put this in a constructor for my provider, will it be executed on page load? Do UIX templates/pages created multiple class instances for data provider definitions?
    How does classloading for data providers work? What is the best way to handle what I am trying to do?
    Thank you.
    August Harrison

    Hi August Harrison,
    UIX doesn't instantiate your data provider classes.
    If you look closely, they are call to static methods.
    When this returns a bean class - you would have taken care to instantiate them.
    Data binding chapter in developers guide - Clearly state how every thing works.
    There is a simple example which talks about a similar kind of scenario which you are refering to.
    Hope this helps.
    Regards,
    Vijay V

  • WebI:Creating a minus query from data providers not using the same universe

    Hi there. A client of ours wishes to use Combined Query on multiple universes in the same WebI report. So far, I have heard it is not feasible in WebI. I know it is possible in DeskI. Even the sub-query option is limited to just one universe in WebI. So, I am stuck.
    Is there a workaround to creating a minus query from data providers not using the same universe in WebI?

    Hello Amit,
    what are the Datasources ? Usually when you create a Sub Query you can choose a seperate Universe.
    Maybe if you only see one Universe you only have the rights for this Universe ?!.
    Regards
    -Seb.

  • Filter "Other users" to only show schems that have objects

    I searched thru the forum, but didn't see this request anywhere. It would be nice to have a preference to only display "Other Users" who actually own objects in their schema.
    In TOAD, there's a preference like this under Schema Browser->Data. Their preferences are:
    * Show all users
    * Only show users that own objects
    * Only show users that own objects excluding Synonyms
    * Only show users that own objects excluding Synonyms and Temporary Tables
    This would be really useful for me, as our database has a ton of users that have no objects. :-)
    Thanks for a cool product that works on my Mac!
    --Leif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    It is great to have this feature, but at our site it is VERY slow - so much so that I thought that SQL Developer had hung.
    I assume that when this option is selected, the query is doing something like select distinct owner from all_objects and when the option is not selected it is querying user_name from all_users?
    It takes only about a second to display our list of appoximately 1800 users (unsorted at the moment :( ) and it took 95 seconds to filter that list to the 235 users that have visible objects (we have ~ 240000 records in all_objects).
    On another point, selecting this option effectively removes an already saved filtered user if it doesn't have any available objects. This seems to include checking against schemas with availble objects when expanding the "Other Users" node, which now takes significantly longer than when this option is not set - taking 60 seconds to expand the node which is filtered to just eight schemas out of the 235 with available objects.
    Going back to the Other Users Filter to switch off this option appears to simply hang SQL Developer for the ~ 90 seconds that it takes to query the list of schemas with available objects.
    I don't know whether it is possible to do something about this sort of performance, but with the performance I am getting at the moment, I won't be using this functionality.

  • Running data providers based on other data provider results in webi

    Hi,
    Thank you all; this is a great place to look for answers whenever you stumble in BO.
    I got a specific requirement for a Webi report. The report should display the associated metrics only when the total surveyed members are greater than 25, if not, N/A.
    This requirement happens to be a new add on for the already existing report; the report was built with multiple providers, in which one of the providers gives the total surveyed members.
    Is there any way that we can control the rest of the data providers based on the first data provider output. I donu2019t want to run the rest of the data providersu2014 as there are too many, and each takes quite a bit of timeu2014 if the surveyed members are less than or equal to 25.
    We are on XI3.1 Sp3
    Thanks in advance.

    Thanks for the quick response!
    Vills u2013 Is it query from the results functionality that you are talking about? I tried this approach, but as I am using the measure in the filter of the 2nd data provider (total members > 25),and the resulting SQL is not getting parsed.
    Waveryu2014 The report filter that I tried to use is not working. Can you please give me some more details how to use it?
    As I would like to leverage the existing report, which perfectly works for the total members> 25 logic, I was asked to find a way to not to run the rest of the data providers to save db resources, provided if the total mbrs participated in the survey from the first data provider <25.
    Is there any way that we can embed some case statement in the other data providers to make them run or throw an error message depending on member count?
    To give some more understanding, I want to provide you the screen shots of the queries, but I am unable to paste those screen shots here .
    Essentially I am looking for is there any way to use one data provideru2019s output as a trigger for the rest of the data providers?

Maybe you are looking for

  • Slow Loading data from DB, one record at a time, HOW?

    I am currently doing a project.... I need to display a record of data on a "form"(JFrame) the way i handle it is 1. Load first record 2. pass to the display object 3. display object -> on click next, call manager object to process the request 4. mana

  • Using ABS and Sum function at a time

    <?if: sum(ARCH_AMT)!='0' ?> we were using above condition in the template to restrict data till date,but we were facing a new problem when ARCH_AMT is having multiple lines with same amount but +ve and -ve i.e 500,-500 it's doing sum and not returnin

  • Can One Export Contacts w/ iPad2?

    The first thing I wanted to do when I purchased my iPad 2 wasto export my contacts from Backup Assistant to my brand new iPad 2. Only problem is the export feature on the website doesn't seem to be available on my iPad. How can I do this? All I want

  • How do I force all Tabs to the right hand side, leaving space on the left?

    It feels more intuitive to have the first tab against the right hand side and it's easier to find because it always remains in the same position when, eg, closing other tabs. I use TabMixPlus, but can't find the required option. Many thanks.

  • Modes Question

    I have?3 qusestions: )Is there any difference between sound play back lat say 24/48khz in Enterteiment Mode and Audio Creation mode if awrything(EQ and etc)?is on flat 2)Entertaiment mode has to unoying bottons? Bass and Treble and thay are on defaul