Need Database Views for these categories.

Dear Experts,
I need Database Views to get data for the following categories.
<b>
Historical production
Historical consumption
Historical inventory
Historical procurement.
</b>
Thanks in Advance.

Hi
Which SAP Version your are using ?
For which Module you require them ?
Hope this will help.
Please reward suitable points.
Regards
- Atul

Similar Messages

  • Duplicate records in database view for ANLA and ANLC tables

    HI all,
    Can any one please suggest me how to remove duplicate records from ANLA and ANLC tables when creating a database view.
    thanks in advance,
    ben.

    Hi,
    Suppose we have two tables one with one field and another with two fields:
    TAB1 - Key field KEY1
    TAB2 - Key fields KEY1 & Key 2.
    No if we create a Database view of these two tables we can do by joining these two tables on Key field KEY1.
    Now if in View tab we have inculded TAB1- Key1.
    Now lets suppose following four entries are in table TAB1: (AAA), (BBB), (CCC).
    and following entries are in table TAB2: (AAA, 1), (AAA, 2),  (BBB, 3), (BBB, 5), (DDD, 3).
    The data base view will show following entries:
    AAA,
    AAA,
    BBB,
    BBB,
    Now these entris are duplicate in the output.
    This is because TAB2 has multilple entries for same key value of TAB1.
    Now if we want to remove multiple entries from ouput - we need to include an entry in selection conditions like TAB2-KEY2 = '1'.
    Regards,
    Pranav.

  • Cannot see Database Views for a new Datasource

    I need to bind some text fields to a Oracle Database View (not a Database Table, I can see them fine).
    If I drill down into the Oracle Datasource, I don't see any of the required views.
    Although the schema I am using do not own these views, I have a public synonym set up for the view. The schema I am using do have access to SELECT on the view.
    Do anyone know if Creator will recognize these Oracle synonyms for the view? Or even better, does creator recognzie tables through Database Links?
    Ritchie

    >
    I'm using the jt400 driver w/ an AS400 DBI'm guessing that's the issue.
    try this:
    select your data source and right-click "view data".
    Enter the special undocumented query
    getmetadataand run.
    This show the schema/table/view/etc metatdata returned by the db/driver.
    Check the output section for getTables(null, null, "%", new String[] {"VIEW"}
    Any rows?
    If not, try another driver.
    If there are VIEW rows, then it's a Creator bug - those bastards! :)

  • I need the CDs for theses programs

    Hello, I am in need of these CDs, but I am also oversea, and because the Internet is so bad downloading is not a option. can I please get so help on getting theses
      iOS 10.7 lion
    iOS 10.8 mountain lion
    iOS 10.9 maverick
    iOS 10.10 Yosemite

    There are no disks for Mac OS X 10.8 or newer, and the thumbdrives for Mac OS X 10.7 are expensive and very hard to find; you may be able to find one on a site such as Amazon or eBay.
    (120429)

  • Hi friends i need ur help for these queries

    Hi friends
    Its urgent
    I have some queries
    1 Tell me the work of Sd consultants in the first stage and second stage
    2 who prepares Bule print and what is the involvement of sd consultants.
    3 In the fourth stage who will do all the testing and what is the need of these testing just like integration, unit testing.
    4 in the implementation how sd consultants inetract with client or how they trained them
    5 tell me the involvement of Sd consultants in asap methodology in each and every satge  in breif
    6 What kind of developments did by sd consultants in implementation
    with best of luck

    Hello Srikanth,
    For most of the query the following link will be helpful.
    http://sap-img.com/general/role-of-a-sap-functional-consultant.htm
    <b>1 Tell me the work of Sd consultants in the first stage and second stage</b>
    The first stage (project preparation) is mainly involves highlevel project planning, defining project scope, project milestones, team building. The functional consultant will not be involve much in this stage as it is high level planning for project.
    <b>2 who prepares Bule print and what is the involvement of sd consultants.</b>
    Pl. refer the above link
    <b>3 In the fourth stage who will do all the testing and what is the need of these testing just like integration, unit testing.</b>
    http://sap-img.com/general/role-of-sap-consultant-in-testing.htm
    <b>4 in the implementation how sd consultants inetract with client or how they trained them</b>
    Functional consultant will mainly train the Super user or power user (if defined in project scope) or they will get trained by SAP academy. Functional consultant will provide formal class room training to the Super or power users
    <b>5 tell me the involvement of Sd consultants in asap methodology in each and every satge in breif</b>
    Refer the above link.
    <b>6 What kind of developments did by sd consultants in implementation</b>
    Functional consultant mainly involve in designing the business process and configuration of SAP system to meet their business process. If there is any GAP (not meeting requirement by std SAP) then functional consultant will suggest user exit / enhancement /  developement to the technical person (developer - ABAPer) to develop the objects.
    The following link will help you a lot to give an idea about the implementation project.
    http://sap-img.com/sap-implementation.htm
    Hope this helps.
    Regards
    Arif Mansuri
    Reward if answer is helpful.

  • Query Rewrite with regular database Views

    Hi all,
    I'm trying to make my programmer's life easier by creating a database view for them to query the data, so they don't have to worry about joining tables. However, query rewrite doesn't work no matter how I define the MV and View. Here's an example:
    I've Sales tables with columns: PDate, CustCode, Amount
    and Customer table with columns: CustCode, CustDesc
    I create a view SALES_V with columns: PDate, CustCode, CustDesc, Amount by joining Sales table with Customer table as follows:
    create or replace view SALES_V as
    select PDate, c.CustCode, c.CustDesc, Amount
    from Sales s
    join Customer c on (s.CustCode=c.CustCode);
    For the sake of speed, I create a materialized view SALES_TOT_MV with columns: PDate, Amount with the following SQL:
    create materialized view SALES_TOT_MV
    enable query rewrite
    as select PDate, sum(Amount) Amount from Sales
    group by PDate;
    When I run the following query, I expect it to be rewritten to make use of SALES_TOT_MV:
    select PDate, sum(Amount) from SALES_V
    group by PDate;
    However, explain plan always tell me it's using SALES table, not the SALES_TOT_MV.
    Can somebody tell me it's a limitation of Oracle optimizer or I'm just missing something for this?
    Thanks in advance!!
    - Andrew
    Edited by: blackhole001 on Jan 28, 2010 12:34 PM

    blackhole001 wrote:
    Hi all,
    I'm trying to make my programmer's life easier by creating a database view for them to query the data, so they don't have to worry about joining tables. This sounds like a pretty horrible idea. I say this because you will eventually end up with programmers that know nothing about your data model and how to properly interact with it.
    Additionally, what you will get is a developer that takes one of your views and see's that of the 20 columns in it, it has 4 that he needs. If all those 4 columns comes from a simple 2 table join, but the view has 8 tables, you're wasting a tonne of resources by using the view (and heaven forbid they have to join that view to another view to get 4 of the 20 columns from that other view as well).
    Ideally you'd write stored routines that satisfy exactly what is required (if you are the database resource and these other programmers are java, .net, etc... based) and the front end developers would call those routines customized for an exact purpose.
    Creating views is not bad, but it's by no means a proper solution to having developers not learn or understand SQL and/or the data model.

  • Maintenance View for checktables

    Hi,
    I had a scenario where I had to create around 30 check tabels(Z Tables). I have to create maintenance view for these tables. Instead of creating 30 transactions is there a better way to do this.
    If I create a report for this purpose with radio buttons in the selection screen for each table, can I call transaction SM30 and pass the table name, skip the first screen and do the entries.
    Thanks,
    Viswas

    Hi,
    There is no need to go for call transaction
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
          EXPORTING
            ACTION      = 'U'
            VIEW_NAME   = 'ZTAB'
          TABLES
            DBA_SELLIST = IT_RANGETAB
          EXCEPTIONS
            CLIENT_REFERENCE                     = 1
            FOREIGN_LOCK                         = 2
            INVALID_ACTION                       = 3
            NO_CLIENTINDEPENDENT_AUTH            = 4
            NO_DATABASE_FUNCTION                 = 5
            NO_EDITOR_FUNCTION                   = 6
            NO_SHOW_AUTH                         = 7
            NO_TVDIR_ENTRY                       = 8
            NO_UPD_AUTH                          = 9
            ONLY_SHOW_ALLOWED                    = 10
            SYSTEM_FAILURE                       = 11
            UNKNOWN_FIELD_IN_DBA_SELLIST         = 12
            VIEW_NOT_FOUND                       = 13
            MAINTENANCE_PROHIBITED               = 14
            OTHERS                               = 15.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    aRs

  • Reg Database view( 3 days struggling)

    Hi all Gurus,
    I am trying to create a database view for joining STKO, STPO, MAST.
    I  am getting duplicate records., How to avoid that ?
    Very CRITICAL  situation .  If any one of u have view for these table, please gimme the TABLE JOIN CONDITIONS.
    Hoping for the reply please
    Regards
    karthik.,,

    create a view using following coditions.....
    view fields:
    MAST~MATNR
    MAST~WERKS
    MAST~STLAL
    STKO~BMENG
    STPO~POSTP
    STPO~IDNRK
    STPO~MENGE
    STPO~MEINS
    STPO~ALPGR
    condition
      MASTSTLNR = STKOSTLNR
      MASTSTLAL = STKOSTLAL
      STKOSTLTY = STASSTLTY
      STKOSTLNR = STASSTLNR
      STKOSTLAL = STASSTLAL
      STASSTLTY = STPOSTLTY
      STASSTLNR = STPOSTLNR
      STASSTLKN = STPOSTLKN.

  • Reg Database view

    Hi all Gurus,
    I am trying to create a database view for joining STKO, STPO, MAST.
    I  am getting duplicate records., How to avoid that ?
    Very CRITICAL  situation .  If any one of u have view for these table, please gimme the TABLE JOIN CONDITIONS.
    Hoping for the reply please
    Regards
    karthik

    Hi,
    From SE11 create the DB view and join the tables with the key fields
    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.
    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&
    Reward points for useful Answers
    Regards,
    Raj.

  • Database Views with Entity EJBs

    Is it possible to use Weblogic Workshop to create a CMP entity EJB on an Oracle database view for a Weblogic 8.1 server?
    Is there special configuration I need to do for either the Oracle or Weblogic side to accomplish this?
    Thanks.
    Tania

    I can manually create the EJB, an it builds just
    fine, but when I go to deploy it, I get the following
    error:
    [EJB:011076]Unable to deploy the EJB
    'AssortmentMerchandise' because the databas
    e table 'K_BA01.BAV_ASRT_CLUSTR_DAT' is not
    accessible. Please ensure that this
    table exists and is accessible.
    The view is on the same datasource that I have
    successfully created all of my other entity EJBs
    (from tables).
    I can select data from the view using JDBC and the
    same datasource that I am trying to associate the EJB
    to.
    Any ideas what might be wrong with my view?Are you using synonyms or aliases? I would double check those...
    Log in using same username and password as weblogic and try a simple query:
    select * from K_BA01.BAV_ASRT_CLUSTR_DAT

  • Database Views and Master-Detail using ADF

    How would I create a master-detail form using a database view for the search-able master table and a database view as the detail table?
    The detail-view will need to be update-able (adf-table) using an instead-of trigger to perform the updates to the database table.
    Thanks in advance...

    There are several sections in the ADF Developer's Guide about using views (http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html):
    - 26.4 Basing an Entity Object on a PL/SQL Package API
    - 6.2.4 Creating an Entity Object for a Synonym or View
    You can also try Steve Muench's web log: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    There are at least two (old) items there that involve view with instead-off triggers:
    -      Composite Entity Using Stored Procedure API to Create/Modify/Remove Master and Children
    - Entity Object Based on View With Instead Of Triggers Avoiding Returning Into Clause
    Jan Kettenis

  • Database, compatabiliy for TstStand 2.0

    I would like to connect to a different database other than Orcale, SQL Server and Access. How can I get TestStand to give me that option. I am willing to debug this new interface, but I need some direction. Help?

    Hi Craig,
    By DEFAULT, TestStand supports Microsoft SQL Server, Oracle, and Microsoft Access. This does not mean that you are limited to these databases. We have just tested the product with, and included SQL scripts to create the default database structures, for these DBMS'. To add support for your specific DBMS, you simply need to create a new connection string that points to your database. The way you build the connection string will depend upon whether you are using the ODBC driver or the vendor specific driver to connect to your database. Once you have done that, the only other thing you need to do is modify one of the schemas that best matches your database structure and functionality that it supports. Have a look at the section titled "Adding Support fo
    r Other Database Management Systems" inside of the TestStand 3.0 Reference Manual. I would recommend reading the entire Database chapter to gain an understanding of how database logging works in TestStand. Please let me know if you need additional help.
    Ryan R.
    NI

  • DB view for union of table

    hi guys.
    Is it possibile to create an ABAP DataBase view for an UNION ALL of 2 tables with same fields ?
    From SE11 is possible to create only joined tables, i think...is it true ?
    I must split records of one custom table into two tables (active records and archived records); so, i thought to create an union all (view) to semplify modification on abap programs needs both tables's record.
    thanks a lot.

    hi.
    Thanks for confirmation it isn't possible to create union on abap DB view (se11).
    for Yukonkid:
    - on sql-92 "union join" is included
    - "SELECT form both tables and "union" them in an internal table"...a DB view intend to be a same solution but more easy to develop (easy=few abap's rows)
    for Sneha:
    my target is performance: i have a big table (a lot of rows) with 95% archived and using index not resulted a good solution
    bye

  • Need database design

    I'm trying to write a simple employee Scheduling software for about 20-30 people in my software development company.we have four shifts in our company.i need a database design for these software.Please help in, what are the tables we can consider. at present i am blank from where to start. so if any help is really appreciated.
    thank in advance to all folks.
    Thans & regards,
    Venu

    Hi below is one link for database design for data warehousing
    [www.tti.it/docs/deplEng/BP8-SCHMITZ%20ING.pdf]

  • Different View for same document library on a Wiki Page

    Hi,
    I am developing a Provided hosted app which have a functionality to create a document library with two Views. Also we need to show this document library in a wiki page with two different views.
    I am using CSOM (C#). I am able to create the document library and the two views programmatically. But when I add the document library in the wiki page the default view (All Documents) is shown for both the web parts. There is an hidden view created with
    the WebPartDefinition from the xml provided through code. 
    Through CSOM we are able make a View as default with the link below.
    http://sharepoint.stackexchange.com/questions/90433/add-document-library-xsltlistviewwebpart-using-csom-or-web-services
    In my case both the webparts will get the same view, where I need different view for same document library in a wiki page.
    Also I tried to update the web parts with the following code.
    string viewString = @"<View Name='{0}' MobileView='TRUE' Type='HTML' Url='/SitePages/Home.aspx' Level='1' BaseViewID='1' ContentTypeID='0x' ImageUrl='/_layouts/15/images/dlicon.png?rev=23' >
    <Query><Where><Eq><FieldRef Name='KeyDocument'/><Value Type='Boolean'>1</Value></Eq></Where></Query>
    <ViewFields><FieldRef Name='FileLeafRef'/><FieldRef Name='DocumentOwner'/><FieldRef Name='Modified'/>
    <FieldRef Name='_UIVersionString'/><FieldRef Name='Editor'/></ViewFields>
    <RowLimit Paged='TRUE'>30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default='TRUE'>main.xsl</XslLink>
    <Toolbar Type='Standard'/></View>";
    WebPartDefinition wpd = wpfound.FirstOrDefault();
    string formattedstring = String.Format(viewString, wpd.Id);
    wpd.WebPart.Properties["XmlDefinition"] = formattedstring;
    wpd.SaveWebPartChanges();
    web.Context.ExecuteQuery();
    I created two views (viewString) as shown above.
    The above code did not throw error, but it did not update the web part.
    Please advise how to move forward.

    Hi Samir,
    When we click outside of the list view webpart on a webpart page (or allitems.aspx page) with containing multiple webparts, the list view webpart will lose the focus, and the selected items will be deselected, this is by design.
    You can look at the following article with using the approach/workaround of Javascript to prevent the specified list view webpart from losing focus.
    http://sharepoint.stackexchange.com/questions/44360/list-view-loses-focus-when-additional-webpart-added-to-page
    //Set focus on our list web part
    var webPart = document.getElementById('WebPartWPQ1');
    WpClick({target: webPart});
    //Prevent it from losing focus
    SP.Ribbon.WebPartComponent.$3_1.deselectWebPartAndZone = function() { };
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • Multiple users access one iPhoto library and view and edit

    I have 3 Macs and 5 users in our family. I'd like to have one iPhoto library that any user can access from any of the machines and view and/or edit. I don't need simultaneous access (which from reading posts I can see is not possible in iPhoto). If I

  • Simple Scenerio in XI

    Hi Friends, I am learning XI, and right now working on simple scenerio of Idoc to Idoc transfer, i.e. from sandbox to IDes. I am sending Sales order notification from one system to other. I am able to do that with ale. but Now i am trying XI.For this

  • CONTRACT PRINT OUT ISSUE .

    Dear All, Good Morning, I want to know that if a contract made in MUMBAI & other user at Calcutta is watching this contract but this user at calcutta wants print out of This contract, but as he is going in ME32K , an error comes that " Missing Auth.

  • Create IDOC when archive a material

    Hi Guys Is it possible to create an IDOC when a material is archieved using MM70. My program is working fine with creation, deletion and change but for archieving its not creating any IDOC. (I am using a zBD10 Program) Please suggest a way. Any help

  • Error 49 in iMovie11

    When I publish my movie to youtube from iMovie, I get error 49. Can anyone tell me what seems to be wrong? I know it meens "File already open with with write permission", but I don't understand what I'm doing wrong.