Reading maintaianace View

Hi all,
I want to select data from a maintainance view. Can anybody tell me how to do that as the select statement is not working with manitainance view.
Thanks,
Mungala.

Praveena,
  u can't fetch data from maintenance view...if it is there, there must be database view or table for that view...search for that view.
Maintenance views offer easy ways to maintain complex application objects.
Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
see the different types of views and the difference
The followings are different types of views:
- Database View (SE11)
Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
- Help View ( SE54)
Help views are used to output additional information when the online help system is called.
When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
- Projection View
Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
- Maintenance View ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Please have a look at below link. It will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
for more detailed info look on:
http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
Don't forget to reward if useful....

Similar Messages

  • "Cannot use adobe reader to view pdf in your web browser" error in Windows 7 and Acrobat pro 8.1.7

    I get the error "Cannot use adobe reader to view pdf in your web browser.  Reader will now exit.  Please exit your browser and try again" in Windows 7 x32 and Windows 7 x64 with Acrobat pro 8.1.7.  This happens when trying to open  a PDF file in Internet explorer 8.0.760 or when I open a PDF in Quickbooks 2008.  If I answer ok or cancel the file opens normally.  If I open acrobat 8 first then the pdf files open as expected.  I also tried a copy of Acrobat reader with no difference in the outcome.  Since this happens on two different computers one fresh copy of windows 7 x64 the other an upgrade to windows 7 x32 and they used to work before the change to windows 7, I assume there is some kind of incompatibility with windows 7 and acrobat.  Is this a known issue and will it be fixed in an update to acrobat in the near future?

    tvandersluijs - I'm sorry if that screwed up your machine however:
    1. What version of Adobe Reader are you using because as you can see the registry entry is for Adobe Reader 9, if ur using Adobe Reader 8 then u need to specify ur version as PAllens entry suggested - "E.g. "C:\Program files\Adobe\Acrobat [version]\Reader\AcroRd32.exe""
    2. I've used this solution significantly because I have come across this specific issue for multiple users.
    3. All the registry entry does is tell Windows what program to use by default to open/view PDF documents.
    My intention wasn't to screw up ur machine or anybody elses as I said I've used this solution many times however what I've should gave is the disclaimer to backup ur registry before u make mods so u can revert back in case. Also the ony other thing I can think of is that this solution was for Windows XP using registry editior 5, I'm noticing that the title of this thread is Windows 7.

  • Read only view which has an ORDER BY clause

    Aim to create a read only view which has an ORDER BY clause
    Sample script
    CREATE TABLE tab1 (
    col1 VARCHAR2(3),
    col2 NUMBER
    INSERT INTO tab1(col1, col2) VALUES ('ccc', 30);
    INSERT INTO tab1(col1, col2) VALUES ('bbb', 20);
    INSERT INTO tab1(col1, col2) VALUES ('ddd', 40);
    INSERT INTO tab1(col1, col2) VALUES ('aaa', 10);
    COMMIT;
    -- To creat View
    CREATE OR REPLACE VIEW v_tab1
    AS
    SELECT
    col1,
    col2
    FROM
    tab1
    ORDER BY
    col1
    WITH READ ONLY;
    I get the following error
    WITH READ ONLY
    ERROR at line 10:
    ORA-00933: SQL command not properly ended
    When I comment out the ORDER BY clause, the view is created
    Pls let me know how I can create a read only view with ORDER BY clause

    Hi,
    take a look at the documentation for CREATE VIEW, there is a restriction:
    "You cannot specify the ORDER BY clause in the subquery if you also specify the subquery_restriction_clause."
    Wolfgang

  • Read-Only view object won't give me it's row

    Hi,
    I have a read only view object which when executed has one row in it, but the next method returns null.
    this is my code in the AM:
        public Row getPerson() {
            Row row = null;
            ViewObject vo = getPersonsView1();
            vo.setNamedWhereClauseParam("p_login_id", getUserPrincipalName());
            vo.executeQuery();
            System.out.println("rows:" + vo.getEstimatedRowCount());
            if (vo.hasNext())
               row = vo.next();
            return row;  
        }and the console log:
    06/09/15 10:37:57 [513] select person_id,
    login_id,
    orig_system_id,
    person_type,
    title,
    preferred_name,
    preferred_name ||' '||surname full_name,
    first_name,
    other_names,
    surname,
    phone_work,
    email_address
    from sys_persons
    where person_type = 'Staff'
    and login_id = :p_login_id
    06/09/15 10:37:57 [514] Bind params for ViewObject: PersonsView1
    06/09/15 10:37:57 [515] Binding null of type 12 for "p_login_id"
    06/09/15 10:37:57 [516] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/09/15 10:37:57 [517] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/09/15 10:37:57 [518] **** refreshControl() for BindingContainer :rft_ConsolePageDef
    06/09/15 10:37:57 [519] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/09/15 10:37:57 [520] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/09/15 10:38:00 [521] Column count: 12
    06/09/15 10:38:00 [522] ViewObject: PersonsView1 Reusing defined prepared Statement
    06/09/15 10:38:00 [523] Bind params for ViewObject: PersonsView1
    06/09/15 10:38:00 [524] Binding param "p_login_id": banstey
    06/09/15 10:38:00 rows:1
    Source breakpoint occurred at line 38 of SystemServiceImpl.java.Note above System.out.println("rows:" + vo.getEstimatedRowCount()); returns:
    06/09/15 10:38:00 rows:1
    but when i debug with a break point in the above method if (vo.hasNext()) returns false.
    I have tried doing row = vo.next(); without the if statement, but row still evaluates to null.
    The VO returns one record in the BC4J tester and I have this exact method and VO defined in another project and it works there. Tearing my hair out with this one...
    Brenden

    try RowSetIterator instead,
    RowSetIterator it = vo.createRowSetIterator("myIt");
    if(it.hasNext())
    MyVORowImpl row = (MyVORowImpl)it.next()
    //don't forget close the RowSetIterator
    I guess you use the VO.next(), but the current row of the VO is the one you get from db, and his next is null...

  • Finding Application Module name in read-only view object classes

    Hi all,
    I have a fairly basic question about finding application module name when we are coding in ViewObject java classes.
    I want to know how can I obtain <<application module>> NAME that our current view object is contained in it at run-time. I think there should be a way to find current application module NAME, when we are in ViewObject classes including View Object, View Row or view object definition classes (I've overridden all mentioned classes).
    I should notify that since our view object is read-only I may not count on view object's entity classes, coz as you know a read-only view object don't have any entity in it!
    So, if you have any idea about finding current application module name in view object java classes please let me know.
    Appreciate for your replies,
    Nasser

    Thanks guy, it was helpful:)
    Now i can access application module name through viewObject classes.
    But another question is raised...sorry if i m boring:( I promise its the final question ;)
    Is there a way to get application module name in an extended version of JboException class?
    Thanks again for your reply:)
    Nasser

  • ADF View Criteria on a Read Only View Object

    Hi,
    I have created a read only view object using a query. The query consists of analytical functions to fetch the AVG values dynamically.
    So far my approach worked fine.
    I want the Average values in my query to be calculated dynamically based on the certain view criteria.
    But after applying view criteria, my query is formulated as shown below:
    SELECT * FROM (SELECT   RECEIVED_YEAR,
               WEEK_NO,
               NO_RECEIVED,
               NO_STARTED,
               ROUND (TO_NUMBER (REPLACE (AVG_HRS_TO_START, ':', '.')),2) AVG_HRS_TO_START,
               ROUND (AVG (TO_NUMBER (REPLACE (AVG_HRS_TO_START, ':', '.'))) OVER (ORDER BY RECEIVED_YEAR),2)              OVERALL_AVG_HRS,
               GOAL_HRS,
               ROUND (AVG (NO_STARTED) OVER (ORDER BY RECEIVED_YEAR), 2) AVG_NO_STARTED,
               ROUND (AVG (NO_RECEIVED) OVER (ORDER BY RECEIVED_YEAR), 2) AVG_NO_RECEIVED
               FROM ORDERS_RCPT_TO_START_VW
    ORDER BY RECEIVED_YEAR, WEEK_NO) QRSLT  WHERE ( ( ( ( (RECEIVED_YEAR = :RecdYear ) AND (WEEK_NO <= :weekNo ) ) ) ) )
    As per this query, it is calculating the Average values first and then applying filter criteria rather than applying the filter criteria and calculating average values.
    Please help me on this.

    Entity objects are used to update/delete/insert data to the database.
    If all your base DB object offers is read then just create a read only view object.

  • Safari keeps trying to use Adobe Reader to view PDFs

    I had to download adobe reader because my banks electronic statements can only be read by it. Even tho it is not my default reader Safari always tried to use it to read a pdf. I can't find any way to tell Safari to use Preview again without uninstalling Adobe Reader.
    Thanks

    I had the same problem with bank and some government (FAA) sites. 
    Without Adobe Reader installed, they either would not download or would download a blank pdf page.
    With Aobe Reader installed, you can download to view in Safari, but cannot save on your Mac as a .pdf.
    [When Adobe Reader is default .pdf reader it hijacks the Export PDF option, including using printer driver to print to file as .pdf]
    Deleting AdobePDFVewer.plugin from /Library/Internet will work, but there are a couple of easier fixes than deleting and reinstalling the plugins:
    You can switch the default viewer back and forth (including Safari's default viewer) by: 
    Right click on a .pdf file and from the context menu select Get Info > Open With: (select Adobe Reader or Preview) > Change All and close the popup to set selected app as default.
    If you have to use Adobe Reader to view a .pdf on the picky site and decide to save it - don't try to use Adobe Reader to do so (via Safari).
      Instead either:
    1. Option click on the site's link to the .pdf to download to your default download folder.
    - or-
    2. Right click on the site's link to the .pdf and select either "download linked file..." or "Save linked file as.." and save to desired folder.
    I am not sure if this will work in all cases, but so far it has worked OK for those I normally use.

  • Updatable view and Read only view

    Jdev version 11.1.1.6
    1. Can we use an updatable view instead of readonly view for LOVs?
    2. In my use case, I am having a panel-tabbed component. I create Region in the first tab & create Countries in the second tab. If I use a LOV for Regions based on the read-only view, then the data created & COMMITTED in the first tab is not getting reflected in the LOV in the second tab. But, if I use an updatable view for the Region field's LOV, then the LOV works fine. But, want to know if it is fine to use an updatable view for LOVs.

    Quotation from the developer guide
    >
    Best Practice: When you need to create a read-only view object for
    data lookup, you should use the entity-based view object and deselect
    the Updatable option in the Entity Objects page of the view object
    overview editor.
    >
    >
    View objects can either be related to underlying entity objects or not. When a view
    object is related to one or more underlying entity objects the default behavior supports
    creating new rows and modifying or removing queried rows. However, the update
    feature can be disabled by deselecting Updatable in the overview editor for the
    entity-based view object
    >
    So the answer for your first question is Yes

  • TM Contention and Read Only Views - Toad

    I have a case where a select against a view that has the read only option caused TM contention. I realize that the TM can be fixed by indexing the unindexed foreign key which I plan to do. The user only has select privilege so the locking must have come from select for update, but when I checked the query it was a select against a read only view from Toad. Has anyone seen the case where Toad does a select for update behind the scenes which causes locking issues. I am thinking this must be the case otherwise I do not know how a select against a readonly view could hold a lock.

    user12191713 wrote:
    I have a case where a select against a view that has the read only option caused TM contention. I realize that the TM can be fixed by indexing the unindexed foreign key which I plan to do. The user only has select privilege so the locking must have come from select for update, but when I checked the query it was a select against a read only view from Toad. Has anyone seen the case where Toad does a select for update behind the scenes which causes locking issues. I am thinking this must be the case otherwise I do not know how a select against a readonly view could hold a lock.using sqlplus post the same SQL & results
    Handle:     user12191713
    Status Level:     Newbie
    Registered:     Aug 4, 2011
    Total Posts:     40
    Total Questions:     25 (19 unresolved)
    I extend to you my condolences; since you rarely get your questions answered here.

  • Marking "Read" When Viewing in Preview Pane

    Hi,
    Just upgraded to Leopard... I'm trying to find a way to set Mail so that when you just scroll through the email message list and are viewing in the Preview Pane it doesn't automatically mark the message as "Read". I don't want it to show "Read" unless I actually OPEN the message... Is there a way to do this?!
    Thanks!

    I'm disappointed that Mail on the mac has not added options to control Marking as Read When Viewing in the Preview Pane. I'm using Mail 3.6 (latest as of July 2009) on 10.5.7, and this is still not supported. I have just finished switching to a new mac from a PowerBook G4 867 which I purchased in 2002, and I moved Entourage v.X (not even 2004 or 2008) app and mailboxes over to my new macbook pro. Then I used Mail 3.6 to Import Mailboxes from Entourage. I also imported contacts to Address Book and calendar items to iCal, etc. Finally I can leave Entourage behind --> Not necessarily.
    Entourage v.X and Windows Outlook have had this feature for at least five years. Why has this feature been skipped in Mail all this time?
    Previewing a message is not the same as Reading the message. Situation one: I like to use the up/down arrows to scroll quickly through messages, and consider which are the most important. Oops, now they're all marked Read! Situation two: Occasionally I click on the wrong message. Oops - it's marked Read now.
    Simplest solution: Provide an on/off control: Mark Previewed Messages as Read - on or off
    Richer solution: Provide timer control: Mark Previewed Messages as Read After 'n' seconds: - <n>
    At least give us the Simpler boolean solution.
    I found several threads on the same topic marked as Answered/Resolved. The workaround of getting rid of the preview pane is a poor workaround compared to what has been requested though it seems to be all we have so far. Admins should close the dangling threads only after posting a note indicating why.
    TruePreview was proposed as a solution in one of the threads, but I have not tried that. If others have tried and are happy with it, please let me know.
    Thanks...Alan

  • Cannot use Adobe Reader to view PDF in web browser error

    I have a new computer and have Acrobat Pro installed.  When I try to click on PDF links in browsers, I get an error:
    Cannot use Adobe Reader to view PDF in web browser.
    I want to be able to open these links using Acrobat Pro.  What can I do in Internet Explorer so I don't always receive these errors, and so pdfs automatically open using Acrobat Pro?
    Steve

    Because it was not designed for Windows 7 doesn't mean it cant run.
    If you install the applications as administrator, you shouldn't have problems. I have installed both Reader and Pro versions on Windows 7 32 and 64 bit without problems, as long as I did it as administrator. You right click on the setup and select Run as Administrator. You don't need to do it for updates if you go through the update option on the help panel.

  • Reading Panes views on Shared Mailbox changes automatically issue

    Can someone please advise if this is a known bug or if it's just because it is the way the software is configured?
    Our email account are hosted by Microsoft on Office365.
    Email accounts are added as an account on Outlook2010.
    When accessing shared mailboxes, the reading pane view settings changes automatically from time to time from "Date to Category". 
    I noticed that others have raised a query on this previously but never got a properly answer.
    NOTE:  PLEASE DO NOT SUGGEST TURNING OFF READING PANE AS THAT IS A STUPID IDEA FOR THOSE WHO SUGGESTS IT.  We all know you can turn it off as an option but if people wants to use it, you don't just tell them not to use it as a workaround.
    You wouldn't tell someone to go catch a bus if their car is broken temporary.  You fix the car so that you can use it later.
    Thank you.

    Hi,
    According to my konwledge and research, this issue is relate to Outlook Client.
    I suggest you contact Outlook Support Team so that your can get more professional suggestions. For your convenience:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=outlook&filter=alltypes&sort=lastpostdesc
    Thanks

  • Read a view Object parameter value

    can anyone tell me how to read a View Object parameter value from inside a DODML()?
    Thanks

    Please help us to understand the use case better. Can you please details the scenario? Are you looking for the bind variable value used for querying ?

  • Partial read-only view object. How to make it work?

    Hello,
    is there a way to have a "partial" read-only view object, where some attributes are based on an EO and some others are extracted directly from a table with no corresponding EO?
    On this view-object it should be possible to perform row insertions from an af:table, in a way that, after validation (i.e. a row selection change), the values on the attributes not based on the EO do not get lost, even if they do not have any attributes based on an EO.
    On the other hand, if I use fake EO attributes ($none$) for those read-only attributes, their values will not gest lost after validation of the new interted rows, but in this case, when the table is first rendered on the page, the table shows empty values on those items, probably because the EO attributes are empty when the query is performed.
    Note that It seems I cannot use Transient attributes where their value is calculated with a SQL statement, since it would mean I would have to perform an heavy SQL statement for every transient attribute.
    Is there any other solution, I hope the problem is clear.

    That solution does not cover the case where an attributed of one entity used as reference is calculated from a SQL expression with parameters involving the remaining attributes of the same entity.
    For example consider a reference-only entity based on a table with one field T(COD). This entity has one more attribute other than COD itself, CALCULATED_VALUE.
    How can I bind the attribute CALCULATED_VALUE to a SQL expression which is a function of COD: MyDBPackage.GetValue(COD, :environment), where :environment is bind variable?
    The frameowork always give me JBO-exception , asking to specify IN or OUT for the variable.

  • Cannot read pre-view cache

    At startup I get failure message "cannot read from pre-view cache (förhandsvisningscache in Swedish)" every time. According to the message, the failure is supposed to be rectified at next start-up, but this has not happened. I simply cannot start Lightroom.

    Thank You so much! Will try that.
    Erik
    Skickat från min iPhone
    4 nov 2014 kl. 22:48 skrev DdeGannes <[email protected]>:
    Cannot read pre-view cache
    created by DdeGannes in Photoshop Lightroom - View the full discussion
    That message is indicating that four previews have been corrupted. If you delete the previews file Lightroom will rebuild them the next time the files are selected. If you wish you can do them overnight if you have a large catalog. The previews file has the same name as the Catalog file with an extension "Previews.lrdata" see the attached snapshot.
    https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6899669-691558/900-719/Previe wsCacheLightroom.jpg
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6899669#6899669
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for

  • Garbage collection question

    I'm developing a cash card app which will need to store transactions on the card. Basically it may make several cash transactions with terminals that are not connected to the internet (and thus can't sync) and once in a while the user will interface

  • Oracle 10g Text  - UK Corporate Consultancy Wanted

    The management information team I work in already has an in-depth knowledge of Oracle 10g database management and SQL. We are now interested in being able to extend that capability to include ad hoc text mining with Oracle for our group wide customer

  • Slow Music Playback When Typing SB Live

    Howdo I'm hoping someone could help me out with a problem I am having with my SB li've 5. When playing mp3's through any software and typing at the same time (like now) the music playback becomes juddery. I have tried increasing the processor priorty

  • Funds Flow BPC 10.0 NW

    Hello Experts, We have to prepare "Funds flow Statement" for BPC 10.0 NW. The requirement is as follows: Data is coming from BI which comprises of Trial Balance. 2 reporting period shall be selected. If the diff. between the group comprising of GL A/

  • Clean up Advice Needed?

    Now that the project is done, what is the best way to clean up? Can I just delete the folder where I put everything? What if anything should stay (other than the projects final export to QT)? I just don't want FCE to crash looking for files that are