Maintainence view for Databse view

Hi All,
I am trying to create a maintaince view for databse view.As in SE11 the table maintaince generator is disabled for Databse view.
As initially my problem is that I want to attached a T-code to database view.
Can any one please suggest?
Thanks in advance.
Regards,
Sandeep.

HI,
you can't create a maintenance view for database view.
If you want you can create maintenance view directly for the tables you required, but there should be forign key relaionship.
Regards,

Similar Messages

  • Action reference in the MAIN view for other Views

    Hi Experts,
    I have created a view(MAIN) that contains SUBMIT button and also included four other views(Using ViewContainerUIElement) in the MAIN view itslef. So am calling the respective view based on some certain condition from MAIN view.
    Now my problem is, am using  check_mandatory_attr_on_view() method which is being called on SUBMIT action from MAIN view of WDDOBEFOREACTION. But it is not checking Required Fields from other views. It checks the Required Fields only in the MAIN view.
    I know that I want to call the reference of other views in MAIN view, but how can I do it?
    Please help me, as how I can check the Required fields on action of SUBMIT button in MAIN view for other views.
    BR,
    RAM.

    Hi,
    Though am in MAIN view, If i clicks the submit button it checks the Required fields on both MAIN and Sub views, where still I have not called the Sub view.
    If you didn't call the sub view, the WDDOINIT method of your sub view wouldn't have been triggered and so the sub view reference is not set in the component controller, isn't it.?
    OR you are calling sub view separately in the initial state and get the reference and then in your MAIN view calling the sub view based on condition in the View Container UI..?
    If so, create an attribute in your Main view (say sub_view_name of type string) and then use the below code to get the current sub view name and then pass the corresponding sub view reference:
    DATA:lr_view_controller    type ref to        IF_WD_VIEW_CONTROLLER,
           lr_main_view_usage  type ref to        IF_WD_RR_VIEW_USAGE.
           lr_vc_assignment      type ref to        IF_WD_RR_VIEW_CNT_ASSIGNMENT.
           lr_view_usage           type ref to        IF_WD_RR_VIEW_USAGE.
           lr_t_views                 type                WDRR_VCA_OBJECTS.
           lr_s_view                  like line of        lr_t_views.
           lr_view                     type ref to        if_wd_rr_view.    
          lr_view_controller = wd_this->wd_get_api( ).
        lr_main_view_usage = lr_view_controller->GET_VIEW_USAGE( ).
       lr_t_views  = lr_main_view_usage->GET_VIEW_CNT_ASSIGNMENTS( ). "This will return all the View Container assignments.
    * Now loop over all the View containers and get the reference of embedding view.
       loop at lr_t_views  into lr_s_view .
          lr_vc_assignment = lr_s_view-VIEW_CNT_ASSIGNMENT.
          lr_view_usage  = lr_vc_assignment->GET_DEFAULT_VIEW_USAGE( ). " This will return view usage reference
          lr_view = lr_view_usage->get_view( ). " This will have the meta info of view
          wd_this->sub_view_name = lr_view->get_name( ).   
       endloop.
    Now in onAction submit,
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller =  lr_view_controller " MAin view reference
    case wd_this->sub_view_name.
    when 'SUB_VIEW1'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view1.
    when 'SUB_VIEW2'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view2.
    Or, alternatively; create all the nodes(of sub views) in component controller, then map all those to MAIN view, then read the required node attributes and validate manually.
    hope this helps u,
    Regards,
    Kiran

  • Maintainence view for HRHAP_APPER

    Is it possible to create a maintainence view for this table  - HRHAP_APPER ?
    After creating one , I need to asign a custom tcode (z tcode )  to the view .
    Thanks,
    Nitu Kumari

    Hi,
    You cannot create maintenance views for standard tables. You need to write to code to update them. Write a small report that will have a selection screen and call functions to update the table fields.
    Later on you can create transactions to call the report.
    Regards
    Prasenjit

  • Ios 5 Update New Features says that iCal now has a week view for iPhone but after updating last weekend, I don't see any week view--just List, Day and Month..How do I get the week view?

    ios 5 Update New Features says that calendar now has a week view but after updating my iPhone 4 last weekend, I don't see any week view for iCal--just List, Day and Month as in the past. Is the weekly view available for iCal and if so, how do I access it?

    Rotate your phone to landscape.

  • HT201412 I cannot open the month of March 2013 in my iPad3 calendar. I can however see it in the year view for 2013 and I can view the daily and weekly calendars for March 2013. Any ideas what has gone wrong ? Thanks

    I have a new iPad3 and have found I cannot open the month of March 2013 when I tap on it. All other months open OK ! I can see March 2013 in the yearly view and I can open the individual days, and weeks, of March 2013 but I cannot see the whole month in the monthly view. When I try to open the monthly view for March 2013 it returns me to the start screen which shows all the apps etc and closes the Calendar app. Any guidance of what is going wrong and how it can be corrected. Thanks !

    Don't worry we have to start somewhere. Feel free to post your questions here, we learn from each other.

  • Create a Maintenance view for table T500P

    Hi Experts,
    We have a requirement where customer want an additional field in table T500P and for the same a custom maintenanve view has to be created.Moreover, If there is any update insert or change in the ZView/Ztable the same should be reflected in standard table T500P.
    Steps already taken :-
    We have created a ztable (copy of T500P ) and add the required custom field to it.
    We have also copied the view i.e V_T500P to our custom view and also use base table as T500P .
    We also create a foreign key for PERSA in Ztable and use T500P as check table for that with cardinality 1:1.
    To update the MOLGA & BUKRS field data in ztable we have set both the field as a primary key & create a foreign key with check table T500L & T001 & cardianality as 1:CN for key fields.
    In custom maintenance view we have set the realtionship of ztable t500l & t001 with the base table T500P.
    Now, if we are trying to maintain the view only T500P table is getting updated and Ztable is updated with only PERSA value.
    Please provide some directions for the resolution of this issue.
    Thanks,
    Pooja Goel.

    Scheduler007 --
    The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template.  This is a global option, so setting it from the checked out Enterprise Global file serves no purpose. 
    When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects.  If you create enterprise templates for
    people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template.  In addition, if you apply a view to an open
    project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
    Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization.  This is an option each PM must set.  Hope this helps.
    Dale A. Howard [MVP]

  • Is there a continuous scrolling month view for ical, like outlook?

    is there a continuous scrolling month view for ical, like outlook?

    Not as far as I know - but maybe things are different in iOS (I'm on OS X)

  • Error while saving view for a report

    Hi All,
             I have transported queries to production and executing them from web, when I am saving the view for a report I get an error
    " The Object cannot not be processed due to a transport problem -  Notification Number RSWWW 240 "
    What could be the problem...please help
    Thanks
    Indraneel

    Check the OSS note 550760 regarding the issue.

  • [ADF Help] How to create a view for multiple tables

    Hi,
    I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
    ex:
    Table A has these fields: ID, Name
    Table B has these fields: ID, Address
    A.ID and B.ID are primary keys.
    B.ID has FK relationship with A.ID
    (basically, these tables have one-to-one relation)
    I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
    So I can execute C,R,U,D for both tables.
    I create these tables in DB, and create entity objects for these tables.
    So there are 2 entity objects and 1 association.
    Then I create a view object based on B and add fields of A into the view:
    If the association is not a "Composition Association",
    when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
    If the association is a "Composition Association", and click the insert button, I will get
    "oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
    If I create a view object based on A and add filed of B into the view:
    When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
    So... how can I create a view for multiple tables correctly?
    Thanks for any advices!
    Here are some pictures about my problem, if there is any unclear point, please let me know.
    http://leonjava.blogspot.com/2009_10_01_archive.html
    (A is Prod, B is CpuSocket)
    Edited by: user8093176 on Oct 25, 2009 12:29 AM

    Hi Branislav,
    Thanks, but the result is same ....
    In the step 2 of creating view object, I can select entity objects to be added in to the view.
    If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
    When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
    If I select B first, and then select A in crating view object, the result is similar ...
    Thanks for any further suggestion.
    Leon

  • Do I need to create a view for this?

    Hi Ihave got 2 tables emp and project
    In emp tabe:
    emp_no
    family name
    given name
    In porgect table:
    emp_no
    status(assigned,unassigned)
    start_date
    end_date
    emp_no Family_name given_name
    1 Smith John
    In project table same employee can have many assigement eg
    emp_no status start_date end_date
    1 assigned 01-may-08 01-july-08
    1 assigned 01-sep-08 01-july-09
    1 unassigned 01-july-09 01-oct-09
    In the form:
    there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
    retrive records which have end date between field1 and field2.
    The following fields are needed to get from database:
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Requirements:
    1. project.start_date and project.end_date must be the latest project_end_date for the same emp
    so in the above sample date
    2. No. of time assigned is a count of total of number records which have status='assign'
    So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
    emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
    Smith John 01-sep-08 01-july-09 2
    What is the best approach to get:
    1 The lastest project(latest end_date) for the emp
    2. get No.of time assigned.
    Do I need to create a view for this? If yes, any sample sql code this this?
    Thanks for your help

    Hi W1zard,
    Thanks for your reply. Could you clarify the following points for me:
    1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
    set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
    Q1: where I pit this code? in pre-query trigger in detail block?
    2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
    create or replace force view v_emp as
    select emp.family_name, emp.given_name, project.start_date, project.end_date
    from emp, project
    where emp.emp_no = project.emp_no
    Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
    max(project.end_date) somewhere in create view to make sure only one record for one employee.
    Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
    Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
    where I put this customerised sql so when user click excute query. My sql will run and display one the form?
    REally appreciated your help!
    Michael

  • Views for list web parts. Is there a way to allow users to change the view for a list web part without being redirected?

    Hi,
    I added a list view web part into a SharePoint 2013 page and it  is working as expected, except for one thing.
    I have enabled the option for the user to change the view for the web part. However when the user changes it, the user is redirected away from the page containing the web part, to the URL of the list itself.
    Is there a way to circumvent this issue so when the user selects a different view it updates the listing in the web part itself, rather than the user being redirected?
    Thanks in advance for the help.
    Regards,
    P.

    Hi,
    Please understand that one page can only display one view. You could find it out by observing the Address in browser when switching among different views for a list.
    If you would like to change the view of a list web part, you could go to web part propertites > Select view and configure it.
    In addition, here is a thread with similar requirement that might help:
    http://social.technet.microsoft.com/Forums/en-US/18dba190-5ee2-4b50-b005-1360d862f4ba/how-can-end-user-change-the-view-in-a-list-view-web-part?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • :: NWA does not show table view for monitoring reports ::

    Hi,
    We are facing an issue in one of our portal system.
    I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports.
    Here I get the resource utilization graphs.
    The graphs show proper values however when I click on table view it does not show any value or table at all.
    Then I click on Settings button, and click on Persistent radio button.
    It asks to enter the number of days for which the the data should be stored.
    I gave it as 2 days and click on Apply button.
    It shows a message saying "changes would be effective after restarting monitoring service".
    However when I go there i.e. NWA --> Administration --> Applications
    I get below services
    cafruntimemonitoring~ear                 
    com.sap.ip.bi.sdk.monitoring                 
    tclmwebadminmonitoravail~wd            
    tclmwebadminmonitorcomplib~wd            
    tclmwebadminmonitorprovider_ear            
    tclmwebadminmonitorstate~wd            
    tclmwebadminoverviewmonitoring~wd           
    tcmonitoringsysteminfo
    Would you kindly suggest which service from above list should be restarted ?
    Thank you, Regards,
    Girish Garje.

    I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
    This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
    One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work.

  • Customizing ActiveX Viewer for Crystal Reports 2008

    Here's the scenario.
       We have reports designed in Crystal Reports 2008, that are deployed on Business Objects 3.1 Infoview. All reports have Parameters for users to choose. All reports are expected to refresh on open.Some are dynamic some are standard static ones. There is an application developed in JAVA that is rendering these reports using the ActiveX viewer.
    The users are not comfortable with the way reports look in JAVA viewer. Hence the choices are either HTML viewer or ActiveX viewer.
    The application achieves this by making OpenDoc call to the report and using
    sViewer=actx
    as one of the parameters. Here's the issue that we run into. When users land on the parameter screen, the parameter screen alone Pops Up in a new window. Once all the parameter values are entered and the users clicks OK, the window vanishes and actual report is rendered in the original window.
    If we use HTML viewer by setting
    sViewer=html
    The report Parameter screen is rendered in the main window without popping up. However we do not wish to use HTML viewer because, some of the reports are linked to other reports with OpenDoc calls. i. e. Parent report calls child report with a OpenDoc call. In the HTML viewer, when you click on the link to child report, it opens in same window despite setting
    sWindow=new
    in that opendoc call. Thereby losing parent report and no way to navigate back to it. This problem does not happen in ActivX viewer.There it seems to obey the command to open in new window.
    Lastly you can recreate all this behavior by setting your viewer preferences in Info View settings. 
    So, here's my questions.
    1. Should I use the .Net viewer instead of ActiveX Viewer ? If so, where can I find Syntax for the same ?
    2. Can someone point me to documentation on the ActiveX Viewer ? Specifically making it not to Pop Up the Parameter Screen ?
    3. Should the Java application use a different method other than Open Doc to cal the reports ? If so where can I get the details ?
    Apologies for the long post. I tried to anticipate most of the questions that may arise in your mind. Thanks in advance for the time invested.

    Thank you Adam for the help.
    I already have the Open Document document you mentioned. Can't seem to search for the KB article in Marketplace. No results found.
    Just to clarify, I do not want to avoid the Parameter screen. Its the fact that it Pops Up in ActiveX viewer is the issue. The only thing I want in ActiveX viewer is to make that screen appear in main window just like HTML viewer.
    I understand that there is no difference as far as opendoc is concerned between .Net or JAVA. I am looking for the SDK behind the viewers themselves.
    To my third question, your answer is what I was looking for. But need a bit clarification.
    >
    Adam Stone wrote:
    > If you do not like the functionality that OpenDocument provides, you could use the SDK to view the reports, but you will likely run into the same issue as you are running into when using the html viewer.  The only workaround for that is to set a property on the viewer object in the SDK but it will affect all hyperlinks in the report not just a single one.
    By setting Property in SDK for the viewer Object, are you referring to Meta Tag encapsulation such as
    <a href= http://infoview.server.com/Infoview/opendoc/openDocument.jsp?iDocID=ABZR3Z&sIDType=CUID&&sType=wid&sRefresh=Y&sWindow=new>Report Title</a>
    May be I didn't get your point with setting property. I know there is documentation on Viewer SDK. I just can't seem to find it. I hope it would answer the questions.
    Edited by: SAMEER UPADHYE on Oct 6, 2010 5:46 PM

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

  • Changing the default associated view for a related entity

    A question from a peer:
    Hey there
    Do you know how in CRM 2015 to change the default associated view for a related entity?
    Say you are in an Account and from the menu open the opportunities for that account.
    That new pop up window states “Opportunity Associated View” I want to change that to “My Custom View”
    I thought we covered this in class years back but cannot remember

    There are a few ways to get what you want, the easiest being
    Create a document as you want it for a particular site, save it is junk.php or similar and create a new file by saving as this as the proper document name such as index.php
    Use the Dreamweaver template system, i.e. create a template with a .dwt.php extension like template.dwt.php and use that to create new pages.
    There are other ways like creating your own php template system. But you can put that in the too hard basket.

Maybe you are looking for

  • Importing packages/files

    Hi Folks... I was working with a sample code and when I do a 'cntrl + ENTER' I get a 'Type was not found or was not a compile-time constant: LoginEvent' error I also get the same error for the other events of 'RoomEvent' and 'XIFFErrorEvent'. My sour

  • Can a retina ipad model purchased in Australia be used in Europe?

    I am currently in Australia and I would like to buy the lates iPad  model (Retina Screen WiFi + 3G) Will I be able to use it with european mini-sim when I will be back to Europe?

  • HT1338 early 2012 macbook air clamshell mode not working after mountain lion update

    Can't make 2012 MBA 13" work in clamshell mode after updating to Mountain Lion.  All peripheral devices are connected, as is AC power.  Closing lid causes external monitor to enter sleep mode (presumably, the MBA is going to sleep as well). Power set

  • Re:System Prompting Quality inspection

    Dear All, I have a query regarding Quality inspection process. Can we configure the system (QM) in such a way that when its due for inspection system prompt some information to the user. Actually I have a process where the product stays in one stage

  • Clone DB same host with ASM

    Hello, I am cloning a database running in 11.2.0.3 version with ASM to a new database running in the same version with ASM in the same host. The OS version is Redhat Linux 5.5. The source database is SOURCE and the target to clone database is CLONE.