Enhancement request : Create object based upon existing

It would be useful to be able to create a new object based upon the definition of an existing one (e.g. a GUI version of CTAS).
(for those browsing the forums who haven't come accross the acronym before, CTAS = "Create table as select")

Hmmm .... ok, you got me !
But, I would say .... can we have a tickbox there for "metadata only" i.e. CTAS table with no data.

Similar Messages

  • Create Object based upon Instance of TestStand

    Hello,
    I currently have TestStand code which creates an ActiveX Object reference to a StationGlobal...
    Currently the ActiveX Object Reference created is always the same... I'm looking for a way to create a different ActiveX Object reference depending on what instance of TestStand open...
    So I guess I'm wondering if there is an easy way to do this? Is there a variable I could use to distinguish different instances of teststand and somehow incorporate this into Create Options?
    Thanks for any response.
    Solved!
    Go to Solution.

    I can imagine that this property of the Engine class could help you:
    AppMainHwnd Property
    Syntax
    Engine.AppMainHwnd
    Data Type
    Long
    Purpose
    Specifies the Window handle of the owner of modal dialog boxes.
    Remarks
    TestStand uses this property to make dialog boxes modal to the application. Do not set this property because TestStand sets it automatically when the application creates the TestStand Engine. Setting this property can cause dialog boxes to be modal to the wrong window. This property usually refers to the main window of the application but refers to the window of the dialog box when the application displays a modal dialog box.
    If the handles are different, you are using "a different instance of TS".
    Norbert 
    EDIT: Starting the application, closing it and restarting it will likely generate different window handles. So you have to make sure that you shutdown connections to the ActiveX Server properly before actually shutting down the application for good. This, of course, is recommended nevertheless, independent of this "issue". 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Create order based upon notification in NWBC / Portal

    Dear experts,
    How to create a maintenance order based upon a notification, using the POWL for notifications ?
    I am using NWBC and would like to create a maintenance order, based upon a notification put in process.
    In R/3, this works fine using transaction IW22 / IW28 and all info from the noticiation is copied in the new order.
    How can I get the same functionality using the role SAP_BPR_MAINTENANCE_TECH_12 ?
    Kind regards,
    Dirk

    Dirk,
       You should be able to select the Notification number from the POWL overview list and choose the "Create Order" push button on the Tollbar (along with display notification, change notification etc).
      What i have noticed is that once you are inside the notification from the Portal application, the create Order push button or functionality doesn't seem to exists. This is probably incomplete functionality taking into consideration the standard IW22 transaction /Or a  Bug  and maybe you could raise a OSS Note for the same.
    Regards
    Narasimhan

  • Create form based on existing row : advice from specialists

    hello,
    i've coded a "create form" based on a row selected by the user.
    this create form displays the same information as the selected row (except for the primary key which is a sequence trigger-calculated) the user can then modify any field and then commit the creation. It's quicker for tables with many columns since the user will override only several fields instead of setting every field one by one.
    I've done it this way :
    1) creation of a createCustomMethod() in my ViewObject implementation class and published it in the client interface.
    2) drag and drop the method as a command button on the selection list page
    3) set the action of the command button to the navigation case value to open the create form when the button is clicked.
    the code of the createCustomMethod() is the following
    public void createCustomMethod() {       
    Row currentRow = this.getCurrentRow();
    Row newRow = this.createRow();
    newRow.setAttribute("Attribute1",currentRow.getAttribute("Attribute1"));
    newRow.setAttribute("Attribute2",currentRow.getAttribute("Attribute2"));
    /* more initialization code here */
    this.insertRow(newRow);
    this.setCurrentRow(newRow);
    it works fine but as i'm knew to ADF BC is this a good solution ? are there any drawbacks to it ?
    thanks
    -regards

    what's the advantage of exposing it in the application module rather than in the view object ?
    Message was edited by:
    user562278
    i've tried implementing the method in the application module (i had to call the findViewObject() now) but the "Row currentRow = vo.getCurrentRow();" instruction throws a NPE.

  • Leave Request -- Create Object Error

    Hi,
    we are getting a dump in leave request application,
    The message gives the following
    CREATE OBJECT: The Class was not found, error key RFC_ERROR_SYSTEM_FAILURE.
    the same user says the application was working fine before.
    thanks in advance
    sera

    if you leave configuration is done .
    there will be some There was an incorrect data in your system . to do this please follow following process.
    delete this request using
    PTARQ> Delete documents (RPTARQDBDEl)
    Please read the report documentation before
    deleting the request but it should be safe as it is
    a development system.
    Please delete this with the above information or delete all
    the records for the approver .
    after there will be some incorrect workitem in appover inbox.
    you need to clear that also by Tcode - SWWL.
    Regards,
    Vivek Jadhav

  • Enhancement request: copy throws clause upon implement/override

    Hello JDeveloper team,
    Currently when you create a class that implements an interface or extends another class (abstract or not), JDeveloper will warn you if you got to implement some method. When you let JDeveloper generate the method signature, it skip the throws clause of the implemented method. This is correct for the compiler, but most of the times you need those exception types in the implementation if they were specified in the original signature so having to go back to the parent class to get the throws clause is far more irritating than it would be to remove it in the case the implementation does not throw anything.
    Thanks you
    ~ Simon

    I just tried this in the newly-released JDeveloper 11g Tech Preview 2 release, and both for override and for implementing interface it brought along the throws clause as you are asking.
    Try downloading this new tech preview 2 release and please let us know if this addresses your request, or if we're still missing a case.
    Thanks.

  • Enhancement Request: Create linked buttons

    If multiple buttons on the page do the same thing, there should be a way to create 1 button and have it rendered in all those positions.
    Sort of like how the 'Top and Bottom of region' buttons works.
    Yes, I can copy buttons easily but then they become independent entities and changes need to be made to both of them separately.
    Thanks

    FWIW, I solved this issue in my application by assigning a hot key to the button so for example I can press ALT-A to apply without having to scroll back up to the top of the page to press the button. The standard HTML ACCESSKEY attribute allows you to assign a hotkey to a button. Following Windows conventions, I also display the button label as "Apply" to indicate it is a hot key.

  • ADF BC: Creating updatable VO based upon DB View with "instead of" trigger

    Hello all,
    I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
    Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
    As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
    My questions:
    1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
    2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
    Kind regards,
    John

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

  • GRC AC10 Agent based upon Role Attributes

    Hi Experts,
    Need your help on the issue.
    We are trying to achieve below configuration-
    After the Access request is generated, at the first stage, the approver should be selected based upon the business process of the role. If there are multiple roles with different Business Processes and their approvers, all of them should approve the request and then request should go to the next stage.
    There is also a field Business Process in the Access Request Screen which denotes the User's association with Business Process and not of the role. We are able to trigger the approval based upon this field, but we can;t find any option of approver selection based upon the business process of the role.
    Can some one show a way to achieve that?
    We are facing another problem, when the request is approved based upon the field Business Process in the Access Request screen, we are not able to find the request in next stage, it is still showing in the same stage while the role attached is only one and no other approver defined.
    What could be the reason behind it? Any help is highly appreciated.
    Thanks in advance,
    Sabita

    Hello Sabita,
    You can use the transaction : GRFNMW_DBGMONITOR_WD to check the logs.
    What i understand from your requirement and what would be my approach.
    1) Approvers who will be ROLE OWNERS
    > In this case 1st thing is you should upload few ROLES( NWBC>Access Mgmt-->Role Import) with all the details i.e function area, company , role owner, alternate approver
    ---> Now create a "Custom Initiator from SPRO >GRC>AC>workflow for access control>Define  Worflow Related to MSMP rules for Process ID SAP_GRAC_ACCESS_REQUEST
    Run Tx: BRF+ , and you will see a rule created , drill down to "Expression-->Decision Tree"
    and use "Table settings" to select "Condition Column" & "Result Rule sets", where you can configure the Custom Initiator
    Now run Open MSMP workflow config window
    1) Process Global settings ( Notification details if necessary)
    2) Maintain Rules (add your custom initiator rule )
    3) Maintain agents ( check & if not present add Role owner agent)
      i.e. GRAC_AR_ROLE_OWNER  (This will satisfy 1 st requirement)
    Create a new agent as BSM and mapp them as "directly mapped user" , similarly for the 3rd stage you can use directly mapped user.
    4)Variables & Templates --> Skip
    5)Maintain Path ( add 3 stages as required i.e role owner, BSM & security officer)
    Now for each stage click on "modify Task Settings" & click on individual check boxes as relevant , you can select "All approvers" or "Any one approver", Approve Request based on System & Role , or Request .
    Same applies to all the other 2 stages.
    6) Maint Route Mapping  --> put the path ID created in previous stage and save and activate.
    I hope this should give you some fair idea.
    Thanks
    Victor

  • Enhancement request: Bulk edit features

    As much as I love Apex and think it is the greatest thing since sliced bread (what's so great about sliced bread anyway!), after one gains a certain amount of proficiency with using the tool, one realizes that there are many areas where the Builder application simply gets in your way. You know exactly what you want to do, you know how to do it, but the Apex Builder doesn't support a "do this 20 times" feature!
    For instance
    1. Deleting multiple pages - This came up on another thread recently. The Builder makes you click 2 buttons (Delete and Confirm) to delete a page and then takes you to page 0 (or the previous page or something) and then you need to go back to the next page and repeat the process.
    There should be a "delete multiple pages" feature in the Builder
    2. Creating a list - I have a bunch of links/URLs that I would like to create a list from. The Builder interface (tabular form) has us add each list entry at a time.
    I would prefer that it has a honking big textarea where I could dump all the links at once and it creates all the list entries at once. I could always go and tweak individual entries if I like.
    Same thing for adding to other Shared components like LOVs, breadcrumbs, tabs, etc. I am not saying a textarea-based interface would work for everything, but anything has to be better than doing it one by one.
    3. Access to the Report Column Attributes page - This is too painful to access.
    Click on Edit page, click on Report, click on the column you want. 3 clicks!
    Instead, there should be a Quick Edit link next to each report column when the page is run that pops up the same page.
    4. Attaching a authorization scheme (or condition or build option or any applicable thing really) to a bunch of components at once.
    The Builder should have a nifty search page where we could search/filter (by name, component type, page#, etc) for the components we want and then allow us to apply a an "action" (i.e. auth. scheme) to all the selected components at once. Doing this one by one is error-prone, time-consuming and just plain boring!
    That's all that comes to mind at this time, I am sure others will have more.
    Thanks

    Mike: Thanks for responding.
    1. You misunderstand what I wrote about report columns. Marc Sewtz understood what I meant at Re: Enhancement request: Quick edit links for column attributes
    is very easy to bulk change (on the back end); the hard part is devising the proper screens for bulk change (font end)
    2. Absolutely, agree 100%. Which is why it might make sense for Oracle to expose metadata manipulation APIs (apex_metadata package similar to dbms_metadata!) so that power users can effect changes to the application metadata without going through the Builder at all!
    We talked about this at Bulk edit items
    Many of the application reports allow for bulk change operations
    Right, but realistically speaking, you can never anticipate and build screens for all the things we would like to do. Which is why a command-line API would be invaluable.
    Just recently, I needed to change a bunch of HTML regions' templates in a application from Report Region to Hide/Show template. I couldn't find an application report/bulk edit page that let me do this, it was quite painful to do in the Builder.
    Another case in point: I used the "Form on SQL Query" wizard to quickly create a form page with a bunch of fields. But unfortunately, unlike the "Form on Table wizard", this wizard is not smart enough to create page items with a display-as depending on the datatype of the columns in the query. It creates all the form items as Text Fields. :-( There is no bulk-edit page (that I could find) that lets me change the display-as property for multiple items.
    If you or others have UI sugestions
    3. As you may know, whenever I think of something that the Apex product could benefit from (an enhancement request IMHO), I post a thread on the forum with a subject line that clearly indicates as such.
    To summarize, here they are:
    Re: Enhancement request: Validation attached to process
    Enhancement request: Buttons in report regions
    Re: Enhancement request: Branch report
    Re: Enhancement request (for Help text)
    Re: Report with Tabs - Enhancement Request?
    Enhancement request - Frequently used manifests
    Enhancement Request: Create linked buttons
    Enhancement request: Bulk copy of items
    Enhancement request: Named anchors for items
    Re: Enhancement Request - Named Branches
    Enhancement request: Assign build option to a page group
    Enhancement request: Checkbox item - Default all checked
    Enhancement request: Include application-level events
    Re: Command line API
    Is that enough? :-)
    Thanks

  • How to create object by getting class name as input

    hi
    i need to create object for the existing classes by getting class name as input from the user at run time.
    how can i do it.
    for exapmle ExpnEvaluation is a class, i will get this class name as input and store it in a string
    String classname = "ExpnEvaluation";
    now how can i create object for the class ExpnEvaluation by using the string classname in which the class name is storted
    Thanks in advance

    i think we have to cast it, can u help me how to cast
    the obj to the classname that i get as inputThat's exactly the point why you shouldn't be doing this. You can't have a dynamic cast at compile time already. It doesn't make sense. Which is also the reason why class.forName().newInstance() is a very nice but also often very useless tool, unless the classes loaded all share a mutual interface.

  • Create object from AS3

    im trying to create objects based on number i input on a textbox
    here is the image and code :
    // Image
    // codes
    import flash.events.MouseEvent;
    var circle:Shape = new Shape();
    var i:int;
    var j:int;
    myBtn.label = "Show";
    var a:Number = Number(text1.text);
    myBtn.addEventListener (MouseEvent.CLICK,createCircle);
    function createCircle (event:MouseEvent):void{
        for (i = 1;i<=a;i++){
            for (j = 1;j<=a;j++){
                circle.graphics.beginFill(0xFF0000, 1);
                circle.graphics.lineStyle(5, 0x000000);
                circle.graphics.drawCircle(j*50 + j*20, i*50 + i*20, 25);
                circle.graphics.endFill();
                addChild(circle);
    can someone help me ??
    thanks

    i can apply the mc with tween already
    but the circle create tweening when other circle create which i want it to stop when it finish and then the other circle tween
    i try using array to the mc but i think i mess up in the code
    can some1 help me ??
    // here is the code
    import flash.events.MouseEvent;
    import flash.ui.Mouse;
    import fl.transitions.Tween;
    import fl.transitions.easing.Strong;
    import fl.transitions.TweenEvent;
    var i:int = 1;
    var a:int;
    var myMC:MovieClip = new MovieClip();
    var myTween:Tween;
    var myArray:Array = new Array();
    myMC.name = "mc1";
    myBtn.label = "Show";
    myBtn.addEventListener (MouseEvent.CLICK,showCircle);
    function timing (event:MouseEvent):void{
        a = int(text1.text);
        var myTimer:Timer = new Timer(500,a);
        myTimer.addEventListener(TimerEvent.TIMER,  createCircle);
        myTimer.start();
    function createCircle (event:Event):void{
        a = int(text1.text);
        myMC.graphics.beginFill(0xFF0000, 1);
        myMC.graphics.lineStyle(5, 0x000000);
        myMC.graphics.drawCircle(200, 150 + i*50 , 25);
        myMC.graphics.endFill();
        myArray.push(myMC);
        i++;
    function showCircle (e:MouseEvent):void{
            a = int(text1.text);
            var myTimer:Timer = new Timer(500,a);
            myTimer.addEventListener(TimerEvent.TIMER,  createCircle);
            myTimer.start();
            addChild (myMC);
            myTween = new Tween(myMC, "x", Strong.easeOut, 50, 400, 2, true);
    and the circle didnot restart when i input a new number to the inputbox
    for example when i first input 3 in the textbox, it create up to 3 circle
    when i change the number to 4 , the circle add 4 to the previous 3 circle rather than create new 4 circle
    how do i solve this ??
    thanks

  • Enhancement Request: Viewlink based on an Association

    Hi,
    one highly repetitive task is creating associations and then creating a view link which in 99% of cases is an exact representation of the association. An enhancement that I would find useful is a create Viewlink from association context menu. Ie. right click on an Association and select "New View Link from Association". All of the relations from the association would then populate the view link properties.
    I know that these can be generated from PK/FK relations but the business components from tables doesn't allow you to specify Association, View Link names or their location, resulting in a big bucket of ADF objects all in one level (this is is probably another enhancement request).
    regards,
    Brenden

    does anyone else feel this would be of benefit?
    After months and months spent solidly developing in JDeveloper this is the single most repetitive (and trivial) task i have had to do.

  • Create "Object" Type based on columns of a table

    Hi Experts
    is it possible to create an Object Type based on columns of a table?
    for example the syntax for creation of type is
    CREATE OR REPLACE TYPE temp_t
    AS OBJECT (ID number, code number)
    can we create a type that is based on columns of an existing table? so that we donot have to write down all the column names in each type as i have to create types based on 100 and above tables :-s
    Please help me out here!
    Best Regards

    You cannot do that Zia, check below code:
    SQL> create or replace type temp_t as object(object_name all_objects.object_name%TYPE);
      2  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE TEMP_T:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/35     PLS-00201: identifier 'ALL_OBJECTS.OBJECT_NAME' must be declared

  • Create maintenance order based upon notification in NWBC / Portal

    Dear experts,
    How to create a maintenance order based upon a notification, using the POWL for notifications ?
    I am using NWBC and would like to create a maintenance order, based upon a notification put in process.
    In R/3, this works fine using transaction IW22 / IW28 and all info from the noticiation is copied in the new order.
    How can I get the same functionality using  the role SAP_BPR_MAINTENANCE_TECH_12 ?
    Kind regards,
    Dirk

    Dirk,
       You should be able to select the Notification number from the POWL overview list and choose the "Create Order" push button on the Tollbar (along with display notification, change notification etc).
      What i have noticed is that once you are inside the notification from the Portal application, the create Order push button or functionality doesn't seem to exists. This is probably incomplete functionality taking into consideration the standard IW22 transaction /Or a  Bug  and maybe you could raise a OSS Note for the same.
    Regards
    Narasimhan

Maybe you are looking for

  • Java IDE, compilers, editors ...

    Hi everyone, I'm just curious. I'd like to know what you guys are using as an IDE ... . For my part, I'm using Forte but it's the only one I've ever used so far and I wanted to know about the other Java developpers around the world :-) I suppose that

  • Query runs from command line, but not from scheduler

    We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin

  • Campus / Enterprise VLAN Security Integration

    Ji Jeal   One of the things that always bothers me about (including the many different ways of) deploying guest wireless is the need to have a VLAN that contains untrusted guest traffic on the same switches that carry trusted corporate traffic. Given

  • My computer is not recognizing my apple devices when it is connected to itunes. It might be my mcafee but i just cant figure it out

    Itunes is not recoginizing my apple products. I have windows 8. It may be my anti virus software but im struggling. I just reinstalled itunes but I cant plug it in and update the software on my old iphone. Whe i plug my ipad in it never says my devic

  • How to set skip points

    hi everyone i just cuted some videos in final cut, and now i want to set some markers so that i can skip for example 10 min. in the video once i put it on a dvd. so is there a way to set some points in final cut whithout using another program? thx