Question on ITable interface on extension points...

Hi,
I am trying to go through the cells of the table in the report body?  how do i do that.  I am getting
table.getReportElementCount() as 0 even though I know the table has cells (rows and columns).
I get the right name for the table.getName() .
Thanks,
-Babu

This is not possible to get the cell value (you can only get the cell dimension/measure name).
What you are trying to do with getReportElementCount() is counting the number of elements of your report (e.g., vertical table, cross table, charts)

Similar Messages

  • Fiori Extension Point Question

    I am trying to extend the Approve Timesheets app, there is an extension point in the Object header that I would like to add attributes to:
    <ObjectHeader
                    title="{parts:[{path:'DetailModel>/Cotype'},{path:'DetailModel>/Codesc'}],formatter:'hcm.mgr.approve.timesheet.utility.Parser.projectTitle'}"
                    number="{DetailModel>/No_People}"
                    numberUnit="{i18n>TSA_PEOPLE}"
                    visible="{DetailModel>/CostVisible}">
                    <firstStatus>
                        <ObjectStatus text="{path:'DetailModel>Overtime', formatter:'hcm.mgr.approve.timesheet.utility.Parser.parseOverTime'}"></ObjectStatus>
                    </firstStatus>
                    <!-- extension point for additional fields -->
                    <core:ExtensionPoint name="extS3CostHeader"></core:ExtensionPoint>
                </ObjectHeader>
    I used the Add SAP Fiori Extension option in Juno so I am pretty sure I have the component.js part setup right, here is my code for the fragment:
    <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
          <attributes>
          <ObjectAttribute text="Hello World" />     
        </attributes>
    </core:FragmentDefinition>
    Wen I run the app it just hangs?
    Thoughts?
    Do I need something more in the fragment?

    Hi Mike (& Jason),
    I am having exactly the same issue trying to add an extension point to the Wave 2 PO Approval app.
    Like your example, the ExtensionPoint is placed in the standard view within an open construct (in your case <ObjectHeader>     ....     </ObjectHeader>; in my case for the MM_PO_APV app S2 view it is within <ObjectListItem>   ...   </ObjectListItem>).
    It seems that the core code that inserts the extension point fragment code into the standard code at the insertion point does not understand that the fragment is a sub-element of the open object definition at that point and goes looking for a javascript file of the sub-element name.
    I have searched through every Fiori and SAPUI5 document I can find for an example of a working view extension fragment where the extension point is located within an open definition like these, but have not been able to find one. I assume there is some syntax required in the fragment to give the right context to the extension point handler, but being a long time abaper and not a JS or XML programmer I have not been able to crack it. All the short documents on extensibility just give the basics and assume the code fragment will just work, and the long documents (like the SAPUI5 developers guide and the Hana SDK site) also do not cover this exact scenario with an example of the fragment code. However I have seen posts here by people saying that they have implemented these same view extensions successfully.
    It is possible that it is an XML namespace issue but I have seen it written that the code fragments should inherit all bindings from the view where the extension point is, so that should be taken care of and the JS library resolution worked out based on the view being extended.
    I have got a controller extension working on the S3 view of the PO Approval app so I am not a complete SAPUI5 dolt (well, until proven otherwise ).
    Mike - did you get it to work? If so can you post the code? I invite anyone with a working view extension, where the insertion point is located within an open object definition, to post the code fragment here (please).
    For reference, the extension point in the PO Approval S2 view is located just before the </ObjectListItem> tag in the following SAP-standard view code (posted after my signature below)
    Regards,
    Mark
    <List
         id="list"
         mode="{device>/listMode}"
         select="_handleSelect">
         <ObjectListItem     
              id="MAIN_LIST_ITEM"
              type="{device>/listItemType}"
              press="_handleItemPress"
              title="{SupplierName}"
              number="{parts:[{path : 'Value'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.lazyRoundNumber'}"
              numberUnit="{Currency}">
              <firstStatus>
                   <ObjectStatus
                        text="{parts:[{path:'WiCreatedAt'}], formatter:'ui.s2p.mm.purchorder.approve.util.Conversions.formatDaysAgo'}">
                   </ObjectStatus>
              </firstStatus>
              <attributes>
                   <ObjectAttribute text="{ItemDescriptions}" />
                   <ObjectAttribute text="{CreatedByName}" />
                   <ObjectAttribute text="{parts:[{path : 'ForwardedByName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.forwardedBy'}"
                   visible="{parts:[{path : 'ForwardedByName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.commonFieldVisibilityTrigger'}" />
                   <ObjectAttribute text="{parts:[{path : 'SubstitutingForName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.substitutedBy'}"
                   visible="{parts:[{path : 'SubstitutingForName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.commonFieldVisibilityTrigger'}" />
                   </attributes>
                   <core:ExtensionPoint name="extListItemInfo" />
         <ObjectListItem>
    </List>

  • Question on webi extension points

    Hi,
    I am just wondering if anyone has used extension points to do the following?
    to capture mouse hover (point) when user hovers over the report.
    to capture the clicked cell whether it is a column header or cell and column index.
    Thanks.

    Hi gandams, unfortunately as David said , the event model of the extension point is not that fine grained and you can not trigger events from the report elements itself.
    Apart from the report menubar/toolbars/dialogbox/popup buttons, you can trigger events for workflow actions such as refresh, drill, or when you switch report tabs. (please note that the opendocument event will be included in a next service pack).
    Maybe as a workaround, you could create a new panel (left or right). Then point it to a JSP page where you will invoke a mix of Javascript/CSS and REBEAN in order to get values from dataproviders or a selected table.
    From there you can create a tooltip on your report values and interact with the report.

  • Webi Extension Points - getting the SQL or DataProvider

    Has anyone used Webi Extension points to "extend" the BO XI R2 Java Report Panel?  Great concept - but seem like "all show".
    We have a requirement that prior to the Refresh of a report -  we modify the SQL.  I do not see a corresponding Interface for the "view SQL" and "change/freeze SQL"
    More importantly, I can not get to the DataProvider.   The
    IDataProviderPanel only has getName or getUniverseName?  I need com.businessobjects.rebean.wi.DataProvider.
    We cann't be expected to "decompile" ThinCadenza.jar?
    Help!?!?

    Ted!  You always answer the tough questions...thank you for your reply!
    Not only is it still a Lab project ...there is a contest using it and with the Rich client this mechanism can only prove to be more useful.
    No, we are not looking to filter the query - we are htting "several" schemas with the same SQL Unioned together based on some logic.  So we need to "modify" the final SQL.
    I understand that the RE is not exposed (wish it were) - but the neither is ALL the Java Report Panel UI.  If it were, we could "simulate the VIEW SQL button". 
    Or can we? 
    IQueryPanel Interfaced efines actions on the Query Panel.
    Related - MAIN_TOOLBAR constant Integer that represents the main toolbar of the Query Panel that conaitns the Add query button.  
    The View SQL button is on the same toolbar.  Is there anyway to invoke it?
    Thanks, Chuck

  • XI 3.1 Extension Points

    In XI R2, we have customized the save page within the Java Panel. We were able to call our custom save page using the following tag u2013
    appletParams = appletParams +'  <param name="DocumentType" value="wid"></param>' +
                    '  <param name="Universe" value="<%=universeName%>"></param>' +
                    '  <param name="UniverseID" value="UnivCUID=<%=universeCUId%>"></param>' +
                    '  <param name="SaveAs" value="<%= request.getContextPath() %>/reports/SaveReport.jsp?StandardReport=<%=reportType%>&storageToken=<%=storageToken%>&reportMode=<%=reportMode%>&unvId=<%=universeId%>&reportNamePassed=<%=repName%>&reportDescPassed=<%=repDesc%>"></param>' +
                    '  <param name="bRobot" value="false"></param>' +
                    '  <pa
    Based on our understanding this functionality is not available in XI 3.1. Weu2019ve implemented some restricted report functionality using the custom u2018SaveAsu2019 page.
    We are planning to use Web intelligence extension points to hide the default u2018SaveAsu2019 button in the query panel and then add a new save button to call our custom code. Is this feasible with extension points? We are using Java Webi SDK.
    Any help is greatly appreciated.

    Mike -
    How does the IP address need to be recognized and recorded?  At view-time of the report via InfoView?   During adhoc report creation (webi query panel) ?
    Does Auditor not satisfy this requirement?
    As far as using EPs (these are actually in C btw) - this could get a bit murky as you'd still need to manage a way to enforce the custom function to be present in the Webi report.
    If you need to essentially record IPs of users who are using any of the available document viewing interfaces (PDF, interactive, etc) then I'd add some custom code to viewDocument.jsp that grabs the client IP (how will you account for proxies, or is this a non-issue?) and silently stamps the address in a footer cell of the Webi report or merely records the view action elsewhere without actually touching Webi.
    I don't think you can escape the not wanting to customize InfoView code, unless you roll your own viewer and force users to use that instead.
    Hope this helps

  • BPEL Designer Extension Points?

    I'm wondering if there's any way to extend JDeveloper BPEL Designer? I know there's something for Eclipse - see for example http://eclipse.org/proposals/bpel-designer/main.html :
    "Extension Points The project should be architected as a set of plug-ins, each of which provides the ability for other groups or vendors to further extend and customize the functionality in a well-defined manner. Here is a list of possible extension points that it may provide:
    Runtime environment pairing (Validation, Compilation, Deployment)
    Addition of specific functions
    Extensions to BPEL palette definition
    BPEL element extensions and visual tool contributions"

    We are currently working on making the BPEL Designer extensible so as to allow for new activities, wizards, etc to be written by customers and partners. Is this what you are looking for? If so, this functionality is planned for 2006 and should apply to both thre Eclipse and JDev BPEL Designer plug-ins.
    Regarding source code, we are not planning to make source code available to the JDeveloper BPEL Designer plug-in, though we have proposed to open source our Eclipse BPEL Designer and co-lead that project with IBM (as you may have seen).
    If you are asking a different question than either of these, drop me an email or you also may want to post to the OTN BPEL forum:
    BPEL
    Dave
    David Shaffer
    Director Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • Documentation and Samples for Web Intelligence Extension Points url.

    I have been trying to find documentation and samples for Web Intelligence Extension Points. Can someone give me the link ?
    The files are
    1.)  webi_dhtml_EP_samples.zip
    2.) xi3-2_web_dhtml_customization_and_integration_ext_points_en.pdf

    Hello,
    I'm trying to find the API documentation and samples for Web Intelligence Extension Points for BO XI 3.1.
    The downloadable ZIP is no longer available at the URL Simply customize your WebIntelligence User Interface
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f21e8b-711d-2c10-6f9a-ae191653f848
    Anyone could you give me a new link for this feature ?
    Thank in advance.
    Sincerely,

  • JDeveloper BPEL Designer Extension Points?

    I'm wondering if there's any way to extend JDeveloper BPEL Designer? I know there's something for Eclipse - see for example http://eclipse.org/proposals/bpel-designer/main.html :
    "Extension Points The project should be architected as a set of plug-ins, each of which provides the ability for other groups or vendors to further extend and customize the functionality in a well-defined manner. Here is a list of possible extension points that it may provide:
    Runtime environment pairing (Validation, Compilation, Deployment)
    Addition of specific functions
    Extensions to BPEL palette definition
    BPEL element extensions and visual tool contributions"

    We are currently working on making the BPEL Designer extensible so as to allow for new activities, wizards, etc to be written by customers and partners. Is this what you are looking for? If so, this functionality is planned for 2006 and should apply to both thre Eclipse and JDev BPEL Designer plug-ins.
    Regarding source code, we are not planning to make source code available to the JDeveloper BPEL Designer plug-in, though we have proposed to open source our Eclipse BPEL Designer and co-lead that project with IBM (as you may have seen).
    If you are asking a different question than either of these, drop me an email or you also may want to post to the OTN BPEL forum:
    BPEL
    Dave
    David Shaffer
    Director Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • WebI Extension Points in 4.0

    A customer was told by a partner that WebI Extension points in 4.0 won't be supported anymore.  Is that the case?
    Thanks

    Hi,
    XI3.1 REBean SDK programs don't migrate to BI4.x (it's not a public API in 4.x), so will need to be rewritten using RESTful Web Services.
    I'd recommend you take any follow-up questions to the SDK forum here: Java SDK Application Development
    Regards,
    H

  • Web Intelligence Extension Points Help

    Hi,
    I am looking for someone that has worked with extension points.  the documentation is limited and some of the links don't work on the SAP extension points site.  What I am looking at doing with extension points is to reproduce the old grouping funtionality in WEBI 3.1.  Our users are used to using this functionality in an old version of DESKI.  Has anyone worked with extension points or know where to get good documentation?
    Thanks for your help

    Hello Aaron,
    Extension points are focused on extending WebI graphical user interface behavior and look (e.g. hiding & replacing toolbars and buttons, listening to mouse actions, etc...) and therefore only provide a limited access to WebI report structure and objects.
    These objects will be required to implement the custom grouping you are aiming at. These API are available from the REBean public SDK that you can use in conjunction with the thin client (dhtml) extension points, as you certainly need to coordinate with user action (WebI applet viewer and rich client are not based on REBean, and use another API, which is not public).
    More information on REBean (javadoc) is available from the following link :
    http://help.sap.com/javadocs/boe/xi31/re/en/index.html
    Data providers objects are available from the DataProvider and Query interfaces...
    I do not know if custom grouping has already been implemented from our SDK, I am therefore not totally sure REBean will be sufficient to acheive this (depending on how actually you want to provide this to your users).
    FYI, There are several DeskI features we are working hard at implementing into WebI, amongst these, custom grouping is considered with a very high priority for the 4.1 release.
    Hope that helps,
    David.

  • Extension points: new hooks to customize Web Intelligence

    <p>Welcome to a community where you will be able to share your experience with Web Intelligence&#39;s extension points and see how much you can do without hacking the product!</p><p>Extension points is a new API for Web Intelligence&#39;s XIR2 SP2 java client, available on the <a href="http://labs.businessobjects.com/" target="_blank" title="Extension Points download">Labs site</a> . A special focus was put on easing the work of the developer to better answer business needs. Releasing via the Labs is an opportunity for BusinessObjects to gather comments, requests from extension points users to improve quickly the API before a full integration within the product itself. So start playing with them and take advantage of this community to share your feedback.</p><p>The first step is to let you know WHAT you can do. Check the code samples to get an sense of how easy integrating web intelligence inside your application is, how you can configure the interface into a simple ad-hoc report viewer in 30 seconds, how to customize the querying workflow, or simply to get new ideas..</p><p>From an architectural point of view, extension points expose internal functions of Web Intelligence from the query and the report parts which can then be customized using Java classes. In addition, a configuration file let you manage the main appearance of the client interface easily.</p><p>As a reminder, if you intend to customize the web intelligence DHTML client, a public SDK is available <a href="/developer/library" title="Developer library">here</a> .  </p>

    Has anyone tried webi_extension_XIR3.zip on BOE R3?  I went through the doc several times but still getting this exception.  Also, there is no readme.txt file in the zip and so I based it off the readme file from the last release webi_applet_extension (r2).  Unfortunately, we do not have the BOE R2 environment so I couldn't try the webi_applet_extension r2.
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at com.businessobjects.webi.richclient.ConnectionAdapter.getConfigFilePath(Unknown Source)
         at com.businessobjects.webi.richclient.Startup.<init>(Unknown Source)
         at com.businessobjects.webi.richclient.Startup$1.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Environmental Compliance 3.0- Extension point

    Hello everybody,
    It's necessary to explore new area for me  - extension points.
    Please explain what is it?
    How to connect an extension point or plug-in, and what is the plug-in?
    Where it will be displayed on the EC interface?
    Environmental Compliance 3.0 ru
    You can send information to [email protected]
    I appreciate any help.

    Hello Srinivasa,
    Yes it is possible to maintain emission data - manually.
    Navigate to Emission Management --- Select the facility object for which you want to assign emissions --- select Emission Tab page and -
    Create emission Information. Ensure before entering manual emission data, assign Consumption Maerials - Otherwise you can not maintain data.
    To create materials navigate to Master Data Management and select materials
    Thanks
    Jayakumar

  • Extension point documentation?

    Are the Eclipse extension points defined by Flex Builder
    described anywhere, or will they be in 2.0.1?
    com.adobe.flexbuilder.editors.mxml.quickFixProvider and
    com.adobe.flexbuilder.editors.mxml.contentAssistFactories are among
    the more interesting sounding ones that I'm not sure how to
    use.

    (xml snippet screwed up the format, sorry, reformatted it now)
    Oh, I'm glad you find the report utility useful, as you have noticed the report is generated based on XSLT templates, so it's fully customizable if you are familiar with XSLT. Currently the default report does not display documentation for extension point, but you can modify the template file to retrieve and display the information you want, try this:
    1. go to your IDE user dir, the default is C:\Documents and Settings\<user_id>\.jstudio\Ent8, locate file under <userdir>\.uml\config\WebReportSupport\XSL\usecase.xsl
    2. modify the template section <xsl:template name="ExtensionPoints"> to add another column (next to the name column ) to display extension point documentation
                                           <td>
                                  <xsl:value-of select="@name"/>
                                  <br/>
                               </td>
                                           <td>
                                  <xsl:call-template name="Documentation">
                                                    <xsl:with-param name="value" select="UML:Element.ownedElement/UML:TaggedValue[@name='documentation']/UML:TaggedValue.dataValue"/>
                                                    </xsl:call-template>
                                  <br/>
                             </td>3. save the file and re-generate the report
    Let us know if you have other questions and suggestions. We're thinking to revamp the web report in the coming release to organize information in a Javadoc look and feel, your feedback will be extremely valuable to us.
    Thanks!
    Sheryl

  • Queries on extension points

    1)Using Extension Point, can we modify the Query during report runtime.
    a. E.g. We have a requirement to dynamically append the WHERE
    clause based on the BO User. Can we write a function on click of Run
    button to append the Where condition of the query?
    2) Using Extension Point, can we compute a value and create a
    variable to hold that value in the report?
    a. E.g. In the Query Panel, we have selected objects A, B, C, D.
    But in the report we uses only Objects C,D. But in the report we want
    to show a value computed from A, B, C. Can we define a function to
    compute this value (derived from formula) in Extension Point, and
    either show it in the report as a new column or save it as a new
    variable in the report for future use?

    Hi,
    1. For the first one, you could use Row level security.
    Tools --> Manage Access Restrictions --> Create restriction --> Go to Rows tab --> Apply condition --> Save.
    And then assign this restriction to user groups.
    If you want to apply this based on user level, if your data contains that information use could apply a condition using BOUSER variable.
    2. You can create variables in WebI reports. In variables  you can define formulas. Check for Variable editor option in the Edit Report panel.
    Regards
    Gowtham

  • When to use abstract classes instead of interfaces with extension methods in C#?

    "Abstract class" and "interface" are similar concepts, with interface being the more abstract of the two. One differentiating factor is that abstract classes provide method implementations for derived classes when needed. In C#, however,
    this differentiating factor has been reduced by the recent introduction of extension methods, which enable implementations to be provided for interface methods. Another differentiating factor is that a class can inherit only one abstract class (i.e., there
    is no multiple inheritance), but it can implement multiple interfaces. This makes interfaces less restrictive and more flexible. So, in C#, when should we use abstract classes
    instead of interfaces with extension methods?
    A notable example of the interface + extension method model is LINQ, where query functionality is provided for any type that implements IEnumerable via
    a multitude of extension methods.

    Hi
    Well I believe Interfaces have more uses in software design. You could decouple your component implementing against interfaces so that
    you have more flexibility on changing your code with less risk. Like Inversion of Control patterns where you can use interfaces and then when you decide you can change the concrete implementation that you want to use. Or other uses for interfaces is you could
    use Interceptors using interfaces (Unity
    Interceptor) to do different things where not all of these is feasible or at least as straightforward using abstract classes.
    Regards
    Aram

Maybe you are looking for

  • Major Issues after Hard Drive Replacement

    I recently upgraded to a 250 GB Internal Hard Drive for my old 1Ghz eMac. After spending a considerable amount of time getting to the old drive, removing it and then replacing the unit, I was dismayed when I turned it on and no power seemed to be get

  • Sony Handycam HDR no longer recognized

    I have a Sony HDR HDD camcorder that, for quite a while now, had no issues with its 4pin DV-USB cable (that came with it) connection to my Mac Pro being recognized by iMovie 9. I haven't made a video in a couple of months, but recently, I filmed abou

  • Need help creating report

    hi guys, I am creating an employee report details. the report should contain all details, id, name, email,...., and photo. how to do this? it is easy to put logo because it is static but how to display dynamic picture?

  • PDF printing out background placeholder text in fillable forms

    I'm trying to print out a PDF which has fillable form fields. The Date of Birth text field has a faint grey placeholder text dd/mm/yyyy. Everytime those fields are filled in, the dd/mm/yyyy will also print out in the background. Is this an option tha

  • Powersave issue on primary monitor

    Hi, I like to use my iMac as a videoplayer, but only as a player. I watch the videos on my secondary screen. Is there any way to make the primary screen turn off or just go into powersave while using only the secondary monitor. It's quite logic why i