View on a table and a structure

HI,
I have a table STPO and  a structure STPOB .
in the structure STPOB it is calling the table STPO mentioned above
i have to create a generic data source with these tables.
is it valid to create a view on a table and a structure .
do i have to write code to populate
how should i proceed. could you pls update me.

Hi,
I have two reports i have to create a generic datasource
REPORTS ON
1. PRODUCTION ORDERS AND DETAILS OF COMPONENTS( data comes from RESB table only)
2. PRODCUTION ORDER RESERVATIONS.
The data for 2nd report is ffetched from RESB and AFKO TABLES.
scenario:
To track the changes in RESB table.
Addition of the components manually in the production order, we can track
through the change date for master data field (AUFK - AEDAT). For each time
when we are adding the components, the system will create a new line item in
RESB - OBJNR. BY change mode only we can add the new components in the
production order.
Planned order reservation changes we can track through the MRP date (MDKP -
DSDAT
FROM THE ABOVE INFORMATION
1. i have to pull the data for production orders and details of components.
ie from table RESB ONLY
2.I have to pull the data for reservation of production orders from RESB &
AFKO table
how should i create a generic datasource with above information without
failing to pull deltas
I want to create a generic extractor
my further doubts are
1.do i have to create a single extractor( since both the
reports are using RESB table) or two different extractors.
2. if at all i go for single or two serparate extractors what would be the delta fields
THANKS A TON LUIS,

Similar Messages

  • View on "Transparent Table and DataBase View" ????

    Hi
    I have three transparent tables and four database views in R/3.
    Is it possible to create the view on "Transparent Table and DataBase View". Please let me know
    kumar

    no it's not possible.

  • Object view  with nested table and member functions????????????????

    HI frds:)
    I need some help regarding writeing soem queries..
    I have to use view in retreving data and by useing member functions of object.
    1) i have to create a nested table by useing type object.
    2) i have to create a object wtih member functions inorder to create view of taht nested table,.
    3) by useing this objectt view and by useing methods i have to write soem queries ...
    If any one know or any information regarding this please reply me... as i have searched in net alot but i was unable to figure out..
    Thanks....

    // first createing object
    create type emp_det as object
    (empname varcahr2(20),start_date date,end_date date);
    // creating table of that object
    create table emp_detai_table as table of emp_det;
    // creating nested table
    create table empl (emp_no number,emp_detail emp_detail_table,dep_no number)nested table emp_detail store as s;
    //now i want to create view.. inorder to create view i need to create object. in that object i want to create methods.. these methods should work with date attributes..
    after creating object view i need to select or write some queries by useing member methods..
    This is the tast i have to perform.,. i have no materials ...if u have any link ..forward me..
    i have to do it as soon as possible..
    waiting for your reply...

  • How to retreive data from a table and a structure

    Hi experts,
    I have a requirement to create an ALV report. I have to include fields from two tables 'PA0001' and 'CATSDB' and from one structure 'CATSAPPR'. I am able to retrieve data from tables using INNERJOIN. But i have no idea how to deal with Structure.
    I know that structure does not contain any data.
    But  i am not able to find any transparent table which has field 'ORDERTEXT' . I found field 'ORDERTEXT' only in structure 'CATSAPPR'.
    So please anyone tell me, either any transparent table which has field 'ORDERTEXT' or please tell me how to deal with structure, in this case.
    Please help me,
    Thanks in advance
    Anu

    check this
      Table-Fields                     Short descriptn
      AUFK- KTEXT          Order master data
    COCH- KTXT              Process Management: Control Recipe Header
    COCHP- KTXT             PI sheet: Control Recipe Header
    COMPHDR- KTEXT    OCM: Comparison results, indiv. records for order headers
    HIKO- KTEXT              Order master data history
    MAAVC_MDO-  KTEXT      MPO: Individual Master Data for Orders
    MCHPVS- AUFTEXT                           Batch Record: Shadow Table for Link to Archive
    OCMHOMO_ARCH- KFELD          Backup Table of Homogeneity List in Case of Archiving
    PSJHIEDATA- KTEXT                       Hierarchy data to test LDB PSJ
    TEWOCODEST- DESCRIPTION                      Order Codes (Texts)
    TEWOCODET- KTEXT           Allocation of Message Codes to Order 
    VLCSMORDER- KTEXT                                                   VELO : Service Order
    VSAUFK_CN- KTEXT               Version: Order master data
    Yogesh N

  • Duplicate R/3 custom requirement in IPC  -- z table and comm. structure

    Dom,
    The ZSITCATPRI has composit key of:
    MANDT, VKORG, MTPOS, KSCHL, PSTYV, KOBED.  So the condition Type is part of the primary key. 
    The records in ZSITCATPRI table has KOBED=000 (no requirement), 002 or 022 (standard SAP requirement, I see them in the SAPStandardExit.checkRequirement(), I don't need to worry about these requirement, right?).  Should I code for 000 in the switch statement in checkRequirement(), thinking return simply false?
    I am not sure how to run the field catalog transaction code /SAPCND/CTFC, we seem unable to directly run it?  With double checking, we are certain that ZZPSTYV is added to the communication structure (Item), but ZZKSCHL and ZZKOBED are not yet, but my middleware colleague is working on adding these fields to the communication structure now.
    Your previous posting asked "Now, what is immediately apparent here is that these routines must be coded and available. I am not convinced that all the preparation work has been done by your colleagues.
    In particular, I am interested by this Z table as one of the key fields is Condition Type. I don't know how they can provide this in the communication structure as the communication structure is at pricing document level, whereas Condition Type is at pricing step level."  Looking at the key structure of the ZSITCATPRI  table, do you still think our design would pose problems?
    also, I noticed that the switch statements in the determinRelevantAttributesForRequirement() method has case 701 for both header and item, why 701? 
    Appreciate,
    Yanhui

    Hi Yanhui
    -> If you are only using standard routines, that's great. You are right, you need to explicitly check for the 000.
    -> You can access the field catalog in the IMG, or by typing /n/SAPCND/CTFC in the command box.
    -> You can't provide KSCHL in the communication structure as that is at item level. There is n condition types to 1 item.
    -> 701 is probably from my cut'n'paste! You won't be able to just insert my code and compile - it's just meant as a starting point. Change it to your routine number.
    Cheers
    Dom

  • How to get Expanded View of SAP Menu and Favorites Structure Tree ?

    Hi All,
    Pls refer the image below, which is the initial screen of SAP Easy Access.
    I like to expand the highlighted ones in a single shot and want to convert the same into Word / PDF for reference.
    Can anyone guide me…
    Figure - 1.
    Thanks With Regards,
    Dinesh Kumar V.

    I do not exectly understand what you want to do ...
    If you want the entire SAP Menu Structure downloaded for further processing, check out Report SSM_LIST
    Regards,
    Uli

  • How to pass the JCO Table and Structure in a collection List to frontEnd

    hi,
    I have a BAPI which is returns me a Table and a structure. As i have used JCO I will receive it in JCO Table and JCO Structure. Now the question is that how I should pass both these of these using a collection to the frontend for displaying the data from it.
    Thanks' & Regards,
    Samir

    Hi Samir,
    As you are trying to pass the Table and the Structure in the form of collection to the JSP page, you can create a javabean with the structure similar to that of the table/Structure.
    Lets assume you have a table called Employee with Emp_Name, Emp_Age, Emp_Sal as three columns, create a java class by name Employee which implements Serializable and attributes as Emp_Name, Emp_Age and Emp_Sal. Generate the setters and getters for the same. In your EJB code, create an instance of this Employee class and set the attributes and save it in a HashMap in the form of key value pair, Value being your Employee class instance and key be your Employee Name. Return the HashMap in your EJB code.
    Use the HashMap in your JSP. Get the Iterator for the HashMap and Loop through the keys to get the values.
    Hope this helps.
    Regards,
    Rekha Malavathu

  • VIew all tables and data in MaxDB

    Is there any software that is able to view all the tables and data in the MaxDB instance?

    Hello
    Assuming, that you are looking for information about the DB's catalog, please consider the catalog functions of JDBC or ODBC.
    Surely there exists a lot of free tools, gathering the catalog via JDBC/ODBC of a database.
    Regards  Thomas

  • Permissions disappearing from tables and views in SQL Management Studio

    As a CRM person, I sometimes have to update the database to cope with custom reports that I have written. Usually, I will
    Go into SQL Server Management Studio 2008
    Open the database
    Locate either the table or the view
    Right click on permissions
    Add in the role or user that's needed
    Grant them Select permissions
    This allows the report in CRM to access the database and this works.
    The problem I have is that after a certain amount of time, the user or role will disappear from the permissions meaning that the report will not run. Sometimes, this can be as soon as a couple of days or it can be months. It happens on views more than tables
    and, whilst it's not too difficult to put the permissions back, it is annoying for the users.
    I don't use SQL Server Management Studio very regularly, only to write a few queries and set up these permissions so I'm not sure if there's anything else in there that might be doing this. All suggestions would be very welcome.
    Thanks.

    Sounds like some process is removing/resetting permissions periodically
    if you are using enterprise edition you could try to catch this using auditing
    http://technet.microsoft.com/en-us/library/dd392015%28v=sql.100%29.aspx
    otherwise you would need some other custom tracing mechanism (SQL Trace, Extended Events, catching statements.. not fun)
    Andreas Wolter (Blog |
    Twitter)
    MCM - Microsoft Certified Master SQL Server 2008
    MCSM - Microsoft Certified Solutions Master Data Platform, SQL Server 2012
    www.andreas-wolter.com |
    www.SarpedonQualityLab.com

  • How to provide joins between oracle tables and sql server tables

    Hi,
    I have a requirement that i need to generate a report form two different data base. i.e Oracle and Sql Server.
    how to provide joins between oracle tables and sql server tables ? Any help on this
    Regards,
    Malli

    user10675696 wrote:
    I have a requirement that i need to generate a report form two different data base. i.e Oracle and Sql Server. Bad idea most times. Heterogeneous joins do not exactly scale and performance can be severely degraded by network speed and b/w availability. And there is nothing you can do in the application and database layers to address performance issue at the network level in this case - your code's performance is simply at the mercy of network performance. With a single glaring fact - network performance is continually degrading. All the time. Always. Until it is upgraded. When the performance degradation starts all over again.
    If the tables are not small (few 1000 rows each) and row volumes static, I would not consider doing a heterogeneous join. Instead I would rather go for a materialised view on the Oracle side, use a proper table and index structure, and do a local database join.

  • View in afru table

    i am using a view in afru table and when i m using rso2 and retriving data it is giving a error smeng refers to a differant table . Will u give some clue to ractify this problem

    Since it is a Sap table refered to a differant table i can not change and i need the filed name smeng which is refering to afvv-meinh . In this situation how i will generate view

  • View, instead of trigger and ORA-01031

    Hello,
    I have a view based on outer joins like
    CREATE VIEW vt ( colV1, colV2, colV3, colV4, colV5, colV6, colV7, colV8 ) AS
    SELECT A.colA1, A.colA2, C.colB0, B.colB2, B.colB3, B.colB4, C.colC2, H.colH2
      FROM  tabA    A
           ,tabB    B
           ,tabC    C
           ,( SELECT  ...
                FROM   tabD  D
                      ,tabE  E
                WHERE  D.colD1 = E.colE1
             )  H                                
      WHERE A.colA1 = B.colB1
        AND LTRIM(B.colB2,'A') = LTRIM(C.colC1(+),'A')    
        AND B.colB3 = H.colH1(+); and an instead of trigger
    CREATE OR REPLACE TRIGGER vt_upd
      INSTEAD OF UPDATE ON vt
    BEGIN
      UPDATE    tabB
         SET    colB4 = :NEW.colV6
         WHERE  colB0 = :NEW.colV2;
    END;An now the problem: an update statement UPDATE vt set colV6=1 WHERE colV1=1; in SQL*Plus works as it should, but performing an update in APEX from a tabular or edit form shows an error: ORA-01031:ORA-01031: insufficient privileges, update...The strange thing: in both sessions there is the same user USER1 logged on !
    Why this difference ? Can anybody explain ?
    Regards,
    Heinz

    Hi Heinz,
    Your statement -
    what I wrote as table tabC in reality is a view to one table and one view in another schema.That'll be it, you need to grant explicit rights for the objects in that schema to the schema that is your parsing schema for your workspace.
    In other words, if you have -
    1) Workspace 'A' with parsing schema 'B'
    and you are trying to do -
    select foo from c.bar
    i.e. you're trying to query an object in schema 'C'.
    Then you need to (as a DBA or connected to schema C) -
    grant select on bar to b;Roles won't work (when used through APEX)...I can't say that any other way, you might find it works in SQLPlus with roles, but through APEX it won't...you need those explicit grants.
    Hope this makes sense.
    John.

  • Relation between LIS datasources and Extract Structures

    Roberto,
    Your detailed information does make it very clear why the SAP creates 2 SnnBIW1, SnnnBIW2 tables, and a structure.
    I have another question related to this process.
    Once you create a datasource from the custom LIS structures, you can assign a Development class to that datasource.
    But the automatically created 2 tables and the structure are local objects, and you cannot reassign them to other object. That is fine because when you export/import the transport, all the other objects are also transported.
    But when we enhance the extract structures, it creates a structure ZASnnnBIWS which also HAS TO BE a local object. This creates a problem of how do we transport these changes?
    I would appreciate your insight into this.
    Thanks
    InduBala

    I check from LBWE maintenance structure column, and the fields are there on the left hand side for the selection criteria.
    How would I check "..<i>fields you have enhaced are ready to use</i>...." from LBWE.
    From RSA6, I would doubleclick on the LIS datasource, and I see no enhanced fields and therefore could not see if they are hidden.
    "<i>Did you check in LBWE if your strcutures have the fields ready to use?" </i>How would I do this? Maybe this is the problem.
    Thanks
    Message was edited by:
            NoNoNo ...

  • Data view and data structure

    whats the difference between a data view and a data structure

    Hi
    <b>View:</b>
    Data about an application object is often distributed on several tables.
    By defining a view, you can define an application-dependent view that combines this data.
    The structure of such a view is defined by specifying the tables and fields used in the view.
    Fields that are not required can be hidden, thereby minimizing interfaces.
    A view can be used in ABAP programs for data selection.
    http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ecf9446011d189700000e8322d00/frameset.htm
    <b>Structures:</b>
    A structure (structured type) comprises components (fields).
    Types are defined for the components.
    A component can refer to an elementary type (via a data element or by directly specifying
    the data type and length in the structure definition), another structure or a table type.
    A structure can therefore be nested to any depth.
    Structures are used to define the data at the interface of module pools and screens
    and to define the parameter types of function modules.
    http://help.sap.com/saphelp_47x200/helpdata/en/ac/3547360f2ea61fe10000009b38f839/frameset.htm
    Kindly assign points for useful answers!
    Best regards,
    Thangesh

  • About Transparent Tables and Views..

    Greetings SAP Gurus...
    How does one differentiate between Tables, Views (are they the same as table views) and logical views?  What are the differences, if ever?
    Why is it better to create a view rather that create a table?
    Cheers!
    Philips

    Hi Phillips,
    The Different Types of SAP Tables
    What is transparent, cluster and pool table? Where and when we use these tables?
    Transparent Table : Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
    Pooled Table : Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
    Cluster Table : Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
    Could anyone tell me what is the major difference between Standard tables, Pooled tables and Clusterd Tables?
    A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.
    Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.
    A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
    One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
    But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
    All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
    Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.
    For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
    A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
    A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.
    Regards

Maybe you are looking for

  • HT201263 How can i get the itunes logo off my ipad? i can not turn it on or shut it off.. i cant get past the itunes logo

    My ipad is stuck on a screen that shows to plug it into itunes.. i dont know why its there or what happened but i can not get it to go away.... i can not turn it on or off.. iv tried to hold just the power button .. which it shows the apple logo but

  • Buffering Problem?

    9-10 seconds into every song, it appears there is a buffering problem as the song doesn't really skip as much as it garbles. I have updated audio drivers, Active X, deselected sound enhancer, tried small-med-large streaming buffer size, removed Music

  • SPLIT Valuation Error!!!

    Hi Gurus... I am getting an Error in Split valuation. I'm using ECC 6.0 I have cofigured all steps in Split valuation While creating material ..initially after entering valuation category its asking for valuation class as mandatory field. without ent

  • The backend of system SAP_R3_UWL is not configured for optimized delta pull

    Hi All, I used the below to configure the Enabling Delta Pull Mechanism in UWL. http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm uwl_service user created and assigened role SAP_BC_UWL_SERVICE with the help

  • How to resize a image? Please come in

    I want to load a picture from E:\abc.jpg, then resize,and save to disk E:\xyz.jpg. Who can give me a demo? Thanks a lot.