Business Object importer doesn't display objects

Hi,
I have done required configuations in R/3 system .If I go to DQE --> metadata improter and select the R/3 system it list all Business Objects.
But if I go to Business Object importer and select the system it doesn't show any BO.
Any idea ??
Regards,
Abdul Raheem .S

HI
DOn't know if it can help you.  From the available business object list, don't attempt to expand your sysmet aliase but only highlight this and execute "Add" that should have been sufficient enough.
But I find SAP's documentation is really bad in unification part on how to get drag and relate functional.  Really very bad and waste customer's lot of valuable of time to try and test.
Rgds
Stephen Lee

Similar Messages

  • Object tree doesn´t shows object tables

    SQLDeveloper 1.5 doesn´t shows object tables inside Tables folder
    earlier versions do so
    Thanks

    no, it didn't but it is on our feature request lists.

  • Accessing display object on the stage from another class

    I've googled this to no avail, I've only found how to manipulate the stage itself and not a display object on it, and I'm noob enough to not be able to figure it out from there. :/
    I have a movie clip on the main timeline with instance name displayName. I created a button that should change what frame displayName goes to (in order to...did you guess it?! diplay the Name of the button. Awesome. )
    So I am trying to write the code in a reusable fashion and have the buttons all linked to a class called GeoPuzzle. Inside GeoPuzzle I instantiate a touch event and run the code. However, the function has to be able to change displayName in the main part of the timeline and, of course, the compiler says displayName doesn't exist because I'm in a class and I'm talking about the stage.
    Here is the simplified code in the class:
    package  com.freerangeeggheads.puzzleography {
        import flash.display.MovieClip;
        import flash.events.TouchEvent;
        public class GeoPuzzle extends MovieClip {
            //declare variables
            public function setInitial (abbrev:String, fullName:String, isLocked:Boolean):void {
                //set parameters
                this.addEventListener(TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
            public function GeoPuzzle (): void {
            public function geoTouchBeginHandler (e:TouchEvent): void {
                   e.target.addEventListener(TouchEvent.TOUCH_END, geoTouchEndHandler);
                   //some other methods
                   nameDisplay.gotoAndStop(e.target.abbrev);
            public function geoTouchEndHandler (e:TouchEvent): void {
                //some other methods
               nameDisplay.gotoAndStop("USA");
    The lines in bold are my problem. Now this code doesn't actually execute as is so if you see an error in it, yeah, I have no idea what the problem is, but it DID execute before and these lines still gave me trouble so I'm trying to troubleshoot on multiple fronts.
    How can I tell displayName to change it's current frame from within display object class?
    Thanks!

    if displayName is a GeoPuzzle instance, use:
    package  com.freerangeeggheads.puzzleography {
        import flash.display.MovieClip;
        import flash.events.TouchEvent;
        public class GeoPuzzle extends MovieClip {
            //declare variables
            public function setInitial (abbrev:String, fullName:String, isLocked:Boolean):void {
                //set parameters
                this.addEventListener(TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
            public function GeoPuzzle (): void {
            public function geoTouchBeginHandler (e:TouchEvent): void {
                   e.target.addEventListener(TouchEvent.TOUCH_END, geoTouchEndHandler);
                   //some other methods
                   this.gotoAndStop(this.abbrev);
            public function geoTouchEndHandler (e:TouchEvent): void {
                //some other methods
               this.gotoAndStop("USA");

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

  • Getting error while importing metadata using View Objects

    Hi All,
    I am trying to create a repository using View Object in OBIEE 11.1.5.1 but getting error while viewing the data, after importing the metadata in the repository "[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".
    I am also getting error "žADFException-2015: The BI Server is incompatible with the BI-ADF Broker Servlet: BI Server protocol version = null, BI-ADF Broker Servlet protocol version = 1" during testing my sample which is deployed to Admin server. I followed BI Adminstrator help file guide in order to create the sample for creating repository using view object.
    Admin server log says
    [2011-09-27T02:59:03.646-05:00] [AdminServer] [NOTIFICATION] [] [oracle.bi.integration.adf] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] [[
    QUERY:
    <?xml version="1.0" encoding="UTF-8" ?><ADFQuery><Parameters></Parameters><Projection><Attribute><Name><![CDATA[Deptno]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Dname]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute><Attribute><Name><![CDATA[Loc]]></Name><ViewObject><![CDATA[AppModule.DeptViewObj1]]></ViewObject></Attribute></Projection><JoinSpec><ViewObject><Name><![CDATA[AppModule.DeptViewObj1]]></Name></ViewObject></JoinSpec></ADFQuery>
    [2011-09-27T02:59:04.199-05:00] [AdminServer] [ERROR] [] [oracle.bi.integration.adf.v11g.obieebroker] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: b260b57746aa92d3:-1f9ca26:1328fcfd3e6:-8000-0000000000006744,0] [APP: BIEEOrders] java.lang.NoClassDefFoundError: oracle/apps/fnd/applcore/common/ApplSession[[
         at oracle.bi.integration.adf.ADFDataQuery.makeQueryBuilder(ADFDataQuery.java:81)
         at oracle.bi.integration.adf.ADFDataQuery.<init>(ADFDataQuery.java:70)
         at oracle.bi.integration.adf.ADFReadQuery.<init>(ADFReadQuery.java:15)
         at oracle.bi.integration.adf.ADFService.makeADFQuery(ADFService.java:227)
         at oracle.bi.integration.adf.ADFService.execute(ADFService.java:136)
         at oracle.bi.integration.adf.v11g.obieebroker.ADFServiceExecutor.execute(ADFServiceExecutor.java:185)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doGet(OBIEEBroker.java:89)
         at oracle.bi.integration.adf.v11g.obieebroker.OBIEEBroker.doPost(OBIEEBroker.java:106)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: oracle.apps.fnd.applcore.common.ApplSession
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         ... 38 more
    Please suggest how to make it work.

    Hi,
    Thanks for providing the online help URL, i have already completed the steps mentioned in URL
    I am able to import metadata using view object but getting above error("[nQSError: 77031] Error occurs while calling remote service ADFService11G. Details: Runtime error for service -- ADFService11G - oracle/apps/fnd/applcore/common/ApplSession".") while validating the data.
    It fails at step 5 of "To import metadata from an ADF Business Component data source:" section of above URL.

  • Automating Importing a Visio OLE Object or Changing the Source of a Previously Imported OLE Object

    My colleagues and I import our Visio files into FrameMaker 10 via the following mechanism: File > Import > Object... > Create from File (with Link checked).  We do this because, for us, the benefits of object linking and embedding outweight the pitfalls. In order to institute and automate a graphic file naming convention, I want to be able to do one of the following using ExtendScript:
    Replace each Visio OLE object with that of a renamed or new Visio file. (I've tried using the Import() method  with many different import-script settings, but have not found the correct import-script, if such a thing exists for importing Visio files  imported by reference and linked as OLE objects. My typical error when attempting this is FV_DisallowedImportType, which indicates the source file type is disallowed by my import-script settings. When I talk about my import-script settings, I'm referring to the adjustments that I make to the parameters returned from a call to GetImportDefaultParams().  I've tried numerous import-script combinations but have had no luck. )
    Rename the Visio source file and change the source file of an already-linked Visio OLE object.  (To do this, I need to determine how to implement a script that equals the following user actions while a FM document is open: clicking on Links... under the Edit menu to bring-up the Links window; selecting each link displayed in the Links window; clicking the Change Source button for each selected link; entering the new file name in the File name field of the Change Source window; clicking Open.  Needless to say, I found nothing in the ExtendScript capabilities that indicates that this approach is doable. It may be doable using FDK F_Codes, I haven't explored that avenue and would like to avoid it.)
    Modify the OLE2 facet such that it points to the renamed file instead of the previous name for the file.  (This does not seem like a clean approach.  As is the case now, I don't know how to properly update the facet with the new file name.  I've experimented with simply changing the file name strings from new to old, but that does not work.  There's probably some error-checking or checksum that needs to be recomputed.  Bottom line: I don't know enough about facets.)
    Any help would be greatly appreciated.
    Thanks, Paul

    Hi Paul,
    I tried doing something like this years ago with FrameScript, but found out that the OLE stuff is not exposed to FrameScript or the FDK. So it is probably not exposed to ExtendScript either. When you query an OLE graphic's InsetFile property, it returns a null string, the same as a graphic Imported by Copy would. As far as I can see, importing as an OLE object is only available through the Windows FrameMaker interface.
    Rick

  • Re Importing Previous versions of Object / Namespaces in Integration Rep

    Hi I have the following scenario.
    I have exported my namespace as a tpz file from the XI Dev system.  And then I make some changes to  some objects in the same namespace . But I  want the previous version (previously exported tpz file ) back . So when I try to import the previous tpz file back into the integration repository , I am able to do this activity sucessfully but no changes of the previous version are applied . The current version is still present in the namespace .
    And a strange thing is happening . The 2 Object Attributes in the Display Software Components Version Page   "Objects are orignal Objects" and "Objects are modifiable" are unchecked now for the SWCV .
    But when I exported the previous version they were checked. I am not sure what is happening . Can any one please suggest .
    thanks
    regards
    Nilesh

    Hi,
    *You want to get back to the previous version.
    If you have exported the very first verion creating a .tpz file then follow these few steps :
    first export the current namespce.
    Delete the current Namespce.
    Import the previous version or the very first version of the namespace which you ,, you can trace it by the date&time stamp patched to it.
    Activate the new namespace.
    *the object are checked as because of the security reason.
        there is absolutely no problem in that, these are unchecked  so that no one will be able to edit it manually with the proper transport which you can see in production/ quality environment.
    Hope this will help.
    Assign point if help
    Thanks,
    JAY

  • Class display objects visible=false

    Hi there,
    I have an app that displays XML as items. I am taking the createLayout() and trying to create a class that i can call from my custom component rather than having tons of code in the same file. The issue i am having is that when i call it, and run/debug, the display objects (text,links,date..) all have their visible property set to false. This happens even though I set the property to true in my code. Please help!
    package com.ryancanulla.utils
         import flash.display.Sprite;
         import flash.events.MouseEvent;
         import flash.net.URLRequest;
         import flash.net.navigateToURL;
         import flash.text.TextFormat;
         import mx.collections.XMLListCollection;
         import mx.containers.Canvas;
         import mx.containers.HBox;
         import mx.containers.VBox;
         import mx.controls.CheckBox;
         import mx.controls.ComboBox;
         import mx.controls.LinkButton;
         import mx.controls.Text;
         public class CreateLayout extends Sprite {
         //     Display Vars
              private var vBox:VBox;
              private var hBox:HBox;
              private var titleText:LinkButton;
              private var itemInfo:Text;
              private var abstract:Text;
              private var archive:CheckBox;
              private var rateItem:ComboBox;
              private var category:ComboBox;
              private var container:VBox;
              private var clickURL:Text;
              private var canvas:Canvas;
              private var titleFormat:TextFormat;
              public function CreateLayout(listCollection:XMLListCollection)
                   listCollection = listCollection;
                   container = new VBox();
                   var categoryLabels:Array = new Array("Health","Industrial","Emerging Tech","Food & Ag");
                   var rateLabels:Array = new Array("Positive","Neutral","Negative");
                   for(var i:int=0; i<listCollection.length; i++) {
                        canvas = new Canvas();
                        hBox = new HBox();
                        titleText = new LinkButton();
                        titleFormat = new TextFormat();
                        itemInfo = new Text();
                        abstract = new Text();
                        archive = new CheckBox();
                        rateItem = new ComboBox();
                        category = new ComboBox();
                        clickURL = new Text();
                        titleText.label = listCollection.getItemAt(i).title;
                        titleText.addEventListener(MouseEvent.CLICK, getURL);
                        titleText.width = 400;
                        clickURL.text = listCollection.getItemAt(i).clickurl;
                        clickURL.visible = false;
                        clickURL.includeInLayout = false;
                        itemInfo.text = listCollection.getItemAt(i).source + " | " + listCollection.getItemAt(i).date;
                        itemInfo.y = 25;
                        abstract.text = listCollection.getItemAt(i).abstract;
                        abstract.y = 42;
                        abstract.visible = true;
                        abstract.includeInLayout = true;
                        abstract.width = 400;
                        abstract.height= 60;;
                        archive.label = "Archive";
                        category.prompt = "Category";
                        category.dataProvider = categoryLabels;
                        category.rowCount = categoryLabels.length;
                        category.visible = false;
                        category.includeInLayout = false;
                        category.width = 95;
                        category.height = 20;
                        rateItem.prompt = "Rate";
                        rateItem.dataProvider = rateLabels;
                        rateItem.visible = false;
                        rateItem.includeInLayout = false;
                        rateItem.width = 95;
                        rateItem.height = 20;
                        canvas.addChild(titleText);
                        canvas.addChild(clickURL);
                        canvas.addChild(itemInfo);
                        canvas.addChild(abstract);
                        canvas.addChild(hBox);
                        hBox.addChild(archive);    
                        hBox.addChild(category);
                        hBox.addChild(rateItem);
                        hBox.y = abstract.y + 60;
                        hBox.percentWidth = 80;
                        hBox.percentHeight = 80;
                        //archive.addEventListener(Event.CHANGE, toggleArchive);    
                        container.addChild(canvas);         
                   container.x = 10;
                   container.y = 10;
                   container.visible = true;
                   addChild(container);
            // Called when someone clicks on the titleLink. This function pulls the
            // origional website URL up in a seperate browser window
            private function getURL(e:MouseEvent):void {
                      var link:LinkButton = e.currentTarget as LinkButton;
                      var canvas:Canvas = link.parent as Canvas;
                      var clickURL:Text = canvas.getChildAt(1) as Text;
                      var url:URLRequest = new URLRequest(clickURL.text);
                      navigateToURL(url);
                   trace(clickURL.text);
    Where I instantiate the class. List collection is an XMLListCollection which contains XML data.
    private var createLayout:CreateLayout;
    createLayout = new CreateLayout(listCollection);

    container is from the Vbox class so I don't see that here and there might be something in there that is causing some problem.
    But I don't think that is the only problem. I think this seems like the same problem that you have going in your other post.
    I don't see anyplace that you addChild your CreateLayout instance. container has been added to your CreateLayout instance, but where is the CreateLayout instance added to some other display list.
    Also it looks like almost everything you add to canvas is set to be invisible. So without knowing what is in a Canvas instance it is hard to know what would show up anyways.

  • EventListener function specific to generated display object container

    This has to be simple, if only I knew how. I'm an AS3 newbie,
    and am having difficulty setting up multiple specific
    EventListeners within a code generated display object container.
    I am generating a 'page' (Sprite) with a heap of 'cards'
    (Sprites) on it. Each of those cards, in turn, contains a selection
    of text boxes and other objects generated from database output
    using a 'for' loop.
    My hope is to attach an EventListener to each 'card' so that
    a MouseEvent will let me manipulate the data that lead to the
    content of that actual card (the i-th iteration of my for loop).
    I've been playing with everything I can think of (limited
    repertoire of thoughts though) and the best I've managed is for my
    EventListener to access the final set of data, whichever 'card' I
    click on.
    I've summarised and attached my code for the function, and
    would appreciate any advice (however basic) on how to get back to
    the i-set of data from the EventListener attached to the i-th card.
    I can handle the PHP and MySQL side of things but am fumbling my
    way into the OOP of AS3.
    Cheers
    Dougal

    Another way would be to extend Sprite and add an id value.
    Something like:
    package{
    import flash.display.Sprite;
    public class MySprite extends Sprite {
    private var _id:int;
    public function MySprite(id:int){ _id = id; }
    public function get id():int { return _id; }
    And then in your code you'd just make instance of MySprite,
    passing it i:
    // build the cards and text boxes and add them to the
    reviewPage
    for (var i:int = 1; i < (cardsRequired+1); i++) {
    // setup the locations for all the objects
    var displayCard:Sprite = new MySprite(i);
    You can then get i in the event listener function by using
    the id getter:
    function accessThisData(e:MouseEvent):void{
    trace(e.target.parent.id);
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • BI 7 Authorizations: Business Content and usage of which Objects?

    Good day
    I am busy with the BI 7 Analysis Authorizations concept. I have gone through SDN as well as other sites and obtained numerous guidelines for applying these authorizations. I will not be utilising the migration tool as I will be creating the new analysis authorisations from scratch.
    I have replicated the datasources in the myself system.
    In ALL documentation it is stated that business content must be activated for objects u20180TCAu2019 and u20180TCTu2019, which I have a problem with.
    I do not have a problem with the related InfoObjects and activation.
    What I have seen from the metadata repository is:
    InfoCubes
    u20180TCA_HIEu2019, u20180TCA_UAu2019 and u20180TCA_VALu2019 (These are all cubes without datasources, transfer rules, TRF or DTP etc)
    DSOu2019s
    u20180TCA_DS01u2019 to *DS05u2019u2026. (These are all templates without datasources, transfer rules, TRF or DTP etc)
    Also DSOu2019s u2018ZTA_DS01u2019 and u2018ZTA_DS02u2019, not part of the 0TCA* and 0TCT* selection. Are these two necessary?
    My question(s) are:
    1)     What I want to know is how many DSOu2019s and Infocubes must be activated to ensure complete installation?
    2)     Why do the Cubes and template DSOu2019s (0TCA* and 0TCT*,) not display any datasources, TRF, transfer rules or DTPu2019s at all?
    3)     Why are DSOu2019s u2018ZTA_DS01u2019 and u2018ZTA_DS01u2019 involved if no-one has ever mentioned them?
    Please assist. I am very confused at this stage!
    Thanks in advance
    Cj

    Hi Cornelius,
    as you already mentioned in a previous Thread, you're new in bi 7.0 auth, check this out:
    http://www.mariewagener.de/node/135
    and the famous note  Note 1000004 - Merging and optimizing analysis authorizations
    Best,
    Maik

  • Display objects in ALV

    Is it possible to display an internal table of objects using ALV?
    I've tried to do so using the following code:
    TYPES object_table_type TYPE TABLE OF REF TO zcl_classname.
    DATA object_table TYPE object_table_type.
    ... Fill object_table with objects ...
    DATA alv_table TYPE REF TO cl_salv_table.
    CALL METHOD cl_salv_table=>factory
              IMPORTING r_salv_table = alv_table
              EXPORTING t_table = object_table.
    However, during the factory method, I get a dump because of a dynamic type conflict. The call proceeds as follows (I've omitted all formal parameters but t_table, which is the only relevant one in this case):
              1. cl_salv_table=>factory( object_table )
              2. cl_salv_table->set_data( object_table )
              3. cl_salv_data_descr=>describe_table( object_table )
    At this point, the describe_table method calls cl_abap_structdescr=>describe_by_data_ref( ) on a reference to a line in object_table. It expects the method to return an instance of cl_abap_structdescr, but it obviously returns an instance of cl_abap_refdescr, as the table line is in fact a reference to an object. Consequently, a dump occurs.
    From this, it looks like ALV just wasn't built to cater for displaying objects. That's understandable, as flat structures are a lot simpler to cater for, but disappointing, given the professed push towards object orientation, and considering how integral ALV is to a lot of ABAP development.
    Does anyone know if there is any other, standard way to do this? If there isn't, I'll either write code to automatically convert my objects to structures, or extend cl_salv_model_list and make my own ALV table for displaying objects. (I'd love to extend cl_salv_table, but it's final. Annoyingly. I'd rather final classes be banned than have them be the default option. But that's a rant for another day.)

    That's what I figured. Though I'm not sure I agree with you on the complex structure argument. Structures, too, can contain complex components - other structures, references, table types, and so on. I'm not actually sure how the ALV deals with these. I assume it might only display the components of the structure that are elementary. If this is the case, an identical solution for a table of objects would be appropriate, using read-only public attributes or attributes with corresponding GET_ methods. (But I could be totally off.)
    For the purposes of this argument, objects are exactly the same as structures. Objects just have methods. Or that's how it seems to me.
    Edited by: James Geddes on Jun 18, 2010 4:20 PM

  • Trouble cloning object. Doesn't seem to be cloneable, why?

    Hello!
    I have this function in my class which is called "clone" (overrides clone). But i don't seem to be able to return a copy of my class object. Why is that?
    Here is my class (check the clone method):
    import java.lang.Object;
    import java.io.*;
    import java.util.*;
    public class RatNum {
        int numerator; // = täljare
        int denominator; // = nämnare
        RatNum()
            numerator = 0;
            denominator = 1;
        RatNum(int a)
            set(a);
        RatNum(int a, int b)
            set(a, b);
        RatNum(RatNum r)
            set(r);
        public void set(int a, int b)
            if(b == 0)
                throw new NumberFormatException("Denominator = 0");
            else
                boolean isNegative = false;
                if(a < 0 && b < 0)
                    a = a-(a*2);
                    b = b-(b*2);
                else if(a < 0) //r.set(-49, 168);
                    a =  a-(a*2);
                    isNegative = true;
                else if(b < 0) //r.set(49, -168);
                    b = b-(b*2);
                    isNegative = true;
                int divide = sgd(a, b);
                a = a/divide;
                b = b/divide;
                if(!isNegative)
                    numerator = a;
                else
                    numerator = a-2*a;
                denominator = b;
        public void set(int a)
            numerator = a;
            denominator = 1;
        public void set(RatNum r)
            numerator = r.getNumerator();
            denominator = r.getDenominator();
        public int getNumerator()
            return numerator;
        public int getDenominator()
            return denominator;
        @Override
        public String toString()
            String fracture;
            fracture = numerator+"/"+denominator;
            return fracture;
        public static RatNum parse(String s)
            RatNum r = new RatNum();
            if(s.matches("[-+]?[0-9]+"))
                r.set(Integer.parseInt(s), 1);
            else if (s.matches("[-+]?[0-9]+[/][-+]?[0-9]+"))
                String[] n = s.split("/");
                r.set(Integer.parseInt(n[0]), Integer.parseInt(n[1]));
            else
                throw new NumberFormatException("strängen är felformaterad");
            return r;
        @Override
        public Object clone()
            Object a = null;
            try
                a = super.clone();
            catch (CloneNotSupportedException e)
               System.out.println("Not supported!");
            return a;
        public boolean equals(RatNum r)
            boolean isSame = false;
            if(r.denominator == this.denominator && r.numerator == this.numerator)
                isSame = true;
            return isSame;
        public boolean lessThan(RatNum r) //demo = nämnare
            boolean isLess = false;
            int compare = r.denominator * this.numerator;
            int original = this.denominator * r.numerator;
            if(compare < original)
                isLess = true;
            return isLess;
        public RatNum add(RatNum r)
            RatNum newRat = calculate(r, '+');
            return newRat;
        public RatNum sub(RatNum r)
            RatNum newRat = calculate(r, '-');
            return newRat;
        public RatNum mul(RatNum r)
            RatNum newRat = calculate(r, '*');
            return newRat;
        public RatNum div(RatNum r)
            RatNum newRat = calculate(r, '/');
            return newRat;
        public RatNum calculate(RatNum r, char operator)
            RatNum newRat = new RatNum();
            switch(operator)
                case '+': newRat.set((r.denominator*this.numerator)+(this.denominator*r.numerator), r.denominator*this.denominator); break;
                case '-': newRat.set((r.denominator*this.numerator)-(this.denominator*r.numerator), r.denominator*this.denominator); break;
                case '*': newRat.set((r.denominator*this.numerator)*(this.denominator*r.numerator), r.denominator*this.denominator); break;
                case '/': newRat.set((r.denominator*this.numerator)/(this.denominator*r.numerator), r.denominator*this.denominator); break;
                default: throw new NumberFormatException("operatorn är felformaterad");
            return newRat;
        public static int sgd(int a, int b)
            int rest=1;
            while (rest!=0)
                rest = a%b;
                a = b;
                b = rest;
            return a;
    }Thanks in advance!

    It doesn't implement Cloneable

  • Dragging more than one display object in flex3

    As per my knowledge, we can drag and drop only one display object at a time.... What should i do if i want to drag more than one display object together as a group.
    I am having a canvas and inside it i am having a box..... In that box I am having many Panels.... Now i can create a group of adjascent panels.... And i can drag that panel group to some other place in that box only....
    So how to drag a group of display objects together.

    You can use custom code for that.  Flex doesn't use the Flash Player's dragging API.  It monitors mouse activity instead.  There is an example in Panel.as.  You can extend it to move more than one panel.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • I need some Important Trigger Programs for Objects

    I need some Important Trigger Programs for Objects.
    If the program includes the V-array appln, that would be better to.

    There are some drawbacks, running Windows 7 (only) on a Mac via Bootcamp yields less than stellar results, especially with the Retina display.
    And of your traveling, the Mac's high power needs (especially the Retina display) and lack of removable battery are going to be a serious issue. The Retina display is glossy, not ideal for viewing on the road and in varied environments.
    CS4 won't run on the OS X version that comes with a Mac, so your looking at purchasing CS6.
    Support for Windows is more widespread than for Mac's, also if you ever need to redownload OS X to fix a issue, requires a fast reliable Internet connection of the broadband kind.
    If your running Windows on your Mac, you can expect to be on your own and not get support as easily as if you were running it on a regular PC.
    If you can't afford to keep up with CS upgrades, then you shouldn't be considering a Mac because there are more paid upgrades on that than on Windows 7, it's like a annual nightmare.
    IMMO your still better off on a decent,  1920 x 1080 res, matte screen, removable battery (with extras), Win 7 Pro i7 machine (Pro+ runs XP programs) which will stay like it is and get security updates until 2020.
    OS X changes every year and if you don't upgrade, + all your third party software, then about 3 years later your left behind for updates.
    Also you will have to buy Win 7 to run on your Mac, the OEM disks won't work.
    If your trying to budget, then a Mac is certainly not for you.

  • Problement with Display object

    Hello,
    With this code i can't show two times same display object
    Can you help me ?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();">
    <mx:Script>
    <![CDATA[
    private var a:Array = new Array();
    private var b:Array = new Array();
    private var counter:int = 0;
    private function init ():void
    a.push("http://dutron.files.wordpress.com/2008/12/sourire-de-cochon.jpg");
    a.push("http://www.lanature.fr/fond-ecran/photos/petit-cochon.jpg");
    a.push("http://www.coloriagesanimaux.net/animaux/cochons/cochon.jpg");
    loadSlide();
    private function loadSlide():void
    trace("loadSlide");
    var imgLoader:Loader = new Loader()  ;
    imgLoader.load (new URLRequest(a[counter]));
    imgLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,imageLoaded);
    private function imageLoaded (e:Event):void
    b.push(e.target.content);
    if (counter == (a.length - 1))
    - trace("all slides images");
    else
    counter++;
    loadSlide ();
    public function showSlide(e:Event):void
    var cLoader:DisplayObject = b[e.currentTarget.selectedIndex];
    if(cLoader)
    contentImage.source = cLoader ;
    ]]>
    </mx:Script>
    <mx:HBox>
    <mx:ComboBox change="showSlide(event)" >
          <mx:ArrayCollection>
             <mx:Object label="AL" data="1"/>
             <mx:Object label="AK" data="2"/>
             <mx:Object label="AR" data="3 Rock"/>
          </mx:ArrayCollection>
       </mx:ComboBox>
    <mx:Image  id="contentImage" />
    </mx:HBox>
    </mx:Application>

    I've changed your showSlide function into one line of code:
    public function showSlide(e:Event):void
    contentImage.source = a[e.currentTarget.selectedIndex];
    ...and now it's working. I must say I was a little lazy and didn't examine the rest of your code as much as I should . But it seems that you've written to much of it and you've complicated it a little. I don't get it, why are you creating the second array (b:Array)? I'm assuming, that you wanted to keep every picture in the memory to shorten the time of they load, am I right? But from what I know it's not important, cause every modern web browser will do it for you, and will keep them in it's cache after the first load.

Maybe you are looking for

  • How ot move an flat file from one location to another

    Hi all, My requirement is that i am having a flat file in my C drive(ex:- C:\123.txt) i have to move that file into One of the folders of the My Netqork places using ABAP Programing How can i do this...Can we do this using OPEN DATASET   Plese give m

  • Create External document (URL) in SAP Personas

    Hi Smart People! To save some steps and incorporate a scanner I am working on creating buttons to "Attach Documents" in different areas such as MM03, FB03, and a few others where we have to keep a scanned in document attached to certain other Materia

  • Mapping constant block parameters in simulink to a Veristand control block

    Hello, I am trying to take a simple model of a RL circuit in simulink (built a dll file) and add control of constant blocks in Veristand to dynamically change the value of R and L constant thru the Veristand Slider or Numerical indicator. I can see t

  • What is that slot for?

    OK at the risk of sounding like a real noob, I'm just gona go ahead & ask... What is that 3rd big slot on the right side of the MBA for? You have the mini-DVI, followed by a USB slot & then there is this unmarked "kinda like for SD" slot. TIA

  • Override page size??

    Hello, I am creating postscript files to be converted into pdfx. They will then be plotted on roll plotters. In that context page size doesn't really have any meaning. I know how big my document is and I would like the page size to be the size of the