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.

Similar Messages

  • Relevant datasource for ANLA and ANLC tables?

    Hi,
    In breif these are the relevant tables
    ANLA and ANLC , in this i can able to find the datasources for ANLC i.e, 0fi_aa_11, but my requirenet is to have both tables in one datasource. And more as far as my search there is no relevant datasource for ANLA table, if  not how to acheive this?
    Thanks in Advance
    vas

    Or else you can use two datasources for this purpose. Check here:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erpfi/overview%252bbw%252bdelta%252bextraction
    Thanks...
    Shambhu

  • Select Query info req for ZMKPFMSEG: View of MSEG and MKPF table

    Hi
    I am fetching 7-8 records frm ZMKPFMSEG: View of MSEG and MKPF table,which based on matnr,werks & budut,which is taking a large time,there is no index in the table,so can nay one tell me how to fetch the data,to make code more effictient.
    SELECT  budat
              matnr
              menge
              bwart
              meins
              bwtar
              waers
              dmbtr
              shkzg
              matkl
              FROM  zmkpfmseg
              INTO  CORRESPONDING FIELDS OF TABLE it_mseg
              WHERE budat GE r_ytd-low
                AND matnr IN so_matnr
                AND werks = p_werks
                AND lgort IN so_lgort
                AND matkl IN so_matkl.
    plz tell me what changes have to be done in where condtion to make it run fast.
    regds

    Hi,
    Try the alternate Methods,
    ACCESS VIA SUBQUERY.
    SELECT * FROM MKPF AS M INTO CORRESPONDING FIELDS OF SWAP
                                        WHERE  BUDAT IN BUDAT AND
                                               MBLNR IN MBLNR AND
                                               VGART = 'WA' AND
                                               EXISTS ( SELECT * FROM MSEG
                                                        WHERE MBLNR = M~MBLNR
                                                        AND   MJAHR = M~MJAHR
                                                       AND   WERKS = P_WERKS
    AND matnr IN so_matnr
    AND lgort IN so_lgort
    AND matkl IN so_matkl.
        APPEND SWAP.CLEAR SWAP.
      ENDSELECT.
      LOOP AT SWAP.
        SELECT  * FROM MSEG
                                 WHERE MBLNR = SWAP-MBLNR AND
                                        MJAHR = SWAP-MJAHR AND
          IF SY-SUBRC EQ 0.
            MOVE-CORRESPONDING SWAP TO ITAB.
            MOVE-CORRESPONDING MSEG TO ITAB.
            APPEND ITAB.CLEAR ITAB.
            CLEAR MSEG.
          ENDIF.
        ENDSELECT.
        CLEAR : SWAP,ITAB.
      ENDLOOP.
    Try this,
    SELECT budat
    matnr
    menge
    bwart
    meins
    bwtar
    waers
    dmbtr
    shkzg
    matkl
    FROM zmkpfmseg
    INTO CORRESPONDING FIELDS OF TABLE it_mseg
    WHERE budat GE r_ytd-low
    AND matnr IN so_matnr
    AND lgort IN so_lgort
    AND matkl IN so_matkl.
    delete it_mseg where WERKS NE p_WERKS .
    Reward Points if helpful.
    Regards,
    Balakumar.G

  • The ABAP/4 Open SQL array insert results in duplicate Record in database

    Hi All,
    I am trying to transfer 4 plants from R/3 to APO. The IM contains only these 4 plants. However a queue gets generated in APO saying 'The ABAP/4 Open SQL array insert results in duplicate record in database'. I checked for table /SAPAPO/LOC, /SAPAPO/LOCMAP & /SAPAPO/LOCT for duplicate entry but the entry is not found.
    Can anybody guide me how to resolve this issue?
    Thanks in advance
    Sandeep Patil

    Hi Sandeep,
              Now try to delete ur location before activating the IM again.
    Use the program /SAPAPO/DELETE_LOCATIONS to delete locations.
    Note :
    1. Set the deletion flag (in /SAPAPO/LOC : Location -> Deletion Flag)
    2. Remove all the dependencies (like transportation lane, Model ........ )
    Check now and let me know.
    Regards,
    Siva.
    null

  • What is the use of Database View, maintenace , projection and Help view

    hello friends,
    I created tables..and set check table relation.
    how to create Database View, maintenace , projection and Help view
    phani

    Hi,
    have a look at this.
    4 type of views
    database
    maintainance
    help
    projection view
    check this link as well
    (https://forums.sdn.sap.com/click.jspa?searchID=9904886&messageID=4885135)
    Database views are implemented with an equivalent view on the database.
    Projection views are used to hide fields of a table (only projection).
    Database views should be created if want to select logically connected data from different tables simultaneously.
    Database views implement an inner join.
    Application programs can access the data of a database view using the database interface. (Just as we write select queries on database tables, we can write them for views as well.)
    Includes in Database Views
    An entire table can be included in a database view. In this case all the fields of the included table will become fields of the view (whereby you can explicitly exclude certain fields).
    To include one of the tables in the view, enter character * in field View field, the name of the table to be included in field Table and character * again in field Field name on the View fields tab page of the maintenance screen of the view.
    You can also exclude individual fields of an included table. If you do not want to include a field of the included table in the view, enter - in field View field, the name of the included table in field Table and the name of the field to be excluded in field Field name.
    Inserts with Database Views
    If a database view contains only one single table, data can be inserted in this table with the view .
    You have the following options for the contents of the table fields not contained in the view:
    If the field is defined on the database with NOT NULL as initial value, the field is filled with the corresponding initial value.
    If the field is defined on the database as NOT NULL without initial value, an insert is not possible. This results in a database error.
    If the field is not defined on the database as NOT NULL, there will be a NULL value in this field.
    A maintenance view permits you to maintain the data of an application object together.
    The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be
    changed, deleted, and inserted through the view.
    Read and change: Existing view entries can be changed. However, records
    cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time
    dependent part of the key is the same as that of existing entries may be
    inserted.
    Maintenance View ( SE54 )
    You can use a maintenance view to maintain data, which is distributed over several tables, at the same time.
    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.
    Creating maintenance View:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecdf446011d189700000e8322d00/frameset.htm
    regards,
    vipul

  • How to get Coverflow view for pages and keynote?

    How do I  get Coverflow view for pages and keynote? Thanks.

    Coverflow works by clicking the  Coverflow view and then selecting the file. I've checked with Pages and Keynote both work perfectly. Perhaps you would post more info.

  • View on RESB and MBEW tables

    Hi gurus,
    I want to create view on RESB and MBEW tables. Can any one tell me which field i need to take as delta field in the Generic datasource for this view.
    Thanks in advance.

    Hi,
         Go through this link http://rlaan.mine.nu/SAP-Tables/SAP%20Table%20Listing.htm.
    Regards
    Sridhar

  • How to delete a record in Database View?

    HI All,
    I have created a Database  View using tables LIKP,LIPS,VBUK,VBUP.
    In that view I am getting a extra record which is not exit in any tables
    but its getting in database view.
    I tried buffer memory refresh and even tried SE16n , SE11(thro CODE(DELE))..But record has not been
    deleted.
    Plz suggest wat shud i have to do to delete the record.
    Thanks in advance and help realy appriciate.
    Regards
    Steve

    >
    Steve Johnson wrote:
    > In that view I am getting a extra record which is not exit in any tables
    > but its getting in database view.
    Your intention should be in search of the root of that extra record. Not the deleting it without knowing anything.
    Sure, You have put join conditions correctly?
    Cheers

  • Different Database Behavior for UAT and PRO in same DB

    Hi All,
    The UAT and Production Documentum schemas reside in the same database instance referring to different applications.
    Problem is when I run the same query to production it send me result in a second but in UAT it takes for ever and also its shows the different plan if do explain in UAT and PRO.
    OS windows 64Bit
    DB 10.2.0.3
    There is frequent, automated data load.
    The indexes are rebuilt every other day.
    SQL on UAT
    select all dm_folder.r_object_id, dm_folder.object_name, dm_repeating.i_folder_id, dm_repeating.r_folder_path from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where (dm_folder.r_object_id in (select all dm_repeating.i_ancestor_id from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where ((dm_folder.r_object_id='0b01b3f18000b897') and (dm_folder.a_is_hidden=0)) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id )) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id order by dm_folder.r_object_id
    Explain Plan on UAT
    This sql ran forever. An execution plan was gotten for the SQL. Note the MERGE JOIN CARTESIAN with 404 million rows and 34 GB of data highlighted in red.
    Execution Plan
    Plan hash value: 1131176958
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 132 | 21M (1)| 70:20:41 |
    | 1 | NESTED LOOPS SEMI | | 1 | 132 | 21M (1)| 70:20:41 |
    | 2 | NESTED LOOPS | | 15087 | 1723K| 21M (1)| 70:08:37 |
    | 3 | MERGE JOIN CARTESIAN | | 404M| 34G| 802K (1)| 02:40:32 |
    | 4 | NESTED LOOPS | | 9854 | 606K| 382 (1)| 00:00:05 |
    |* 5 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 22358 | 1026K| 381 (1)| 00:00:05 |
    | 6 | INDEX FULL SCAN | D_1F01B3F180000109 | 26813 | | 5 (0)| 00:00:01 |
    |* 7 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
    | 8 | BUFFER SORT | | 41065 | 1162K| 802K (1)| 02:40:32 |
    | 9 | TABLE ACCESS FULL | DM_FOLDER_R | 41065 | 1162K| 81 (0)| 00:00:01 |
    | 10 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 1 | 25 | 1 (0)| 00:00:01 |
    |* 11 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | | 1 (0)| 00:00:01 |
    |* 12 | VIEW | VW_NSO_1 | 1 | 15 | 4 (0)| 00:00:01 |
    | 13 | NESTED LOOPS | | 2 | 190 | 4 (0)| 00:00:01 |
    | 14 | NESTED LOOPS | | 4 | 304 | 3 (0)| 00:00:01 |
    | 15 | NESTED LOOPS | | 1 | 42 | 2 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
    |* 17 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 26 | 1 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | D_1F01B3F180000109 | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 4 | 136 | 1 (0)| 00:00:01 |
    |* 20 | INDEX RANGE SCAN | DM_FOLDER_R_IND_UT | 4 | | 1 (0)| 00:00:01 |
    |* 21 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | 19 | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    5 - filter("YB_"."I_HAS_FOLDER"=1 AND "YB_"."I_IS_DELETED"=0)
    7 - access("YB_"."R_OBJECT_ID"="OG_"."R_OBJECT_ID")
    11 - access("ZB_"."R_OBJECT_ID"="PG_"."R_OBJECT_ID" AND
    "ZB_"."I_POSITION"="PG_"."I_POSITION")
    filter("ZB_"."R_OBJECT_ID"="YB_"."R_OBJECT_ID")
    12 - filter("YB_"."R_OBJECT_ID"="$nso_col_1")
    16 - access("OG_"."R_OBJECT_ID"='0b01b3f18000b897')
    17 - filter("YB_"."I_HAS_FOLDER"=1 AND "YB_"."I_IS_DELETED"=0 AND "YB_"."A_IS_HIDDEN"=0)
    18 - access("YB_"."R_OBJECT_ID"='0b01b3f18000b897')
    20 - access("PG_"."R_OBJECT_ID"='0b01b3f18000b897')
    21 - access("ZB_"."R_OBJECT_ID"='0b01b3f18000b897' AND "ZB_"."I_POSITION"="PG_"."I_POSITION")
    SQL on Production
    The following sql was run through sqlplus on production. It is identical to the one run on UAT with the exception that a different r_object_id is used.
    select all dm_folder.r_object_id, dm_folder.object_name, dm_repeating.i_folder_id, dm_repeating.r_folder_path from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where (dm_folder.r_object_id in (select all dm_repeating.i_ancestor_id from dm_folder_sp dm_folder, dm_folder_rp dm_repeating where ((dm_folder.r_object_id='0b01b3f080011726') and (dm_folder.a_is_hidden=0)) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id )) and (dm_folder.i_has_folder = 1 and dm_folder.i_is_deleted = 0) and dm_repeating.r_object_id=dm_folder.r_object_id order by dm_folder.r_object_id
    Explain Plan on Production
    This query ran very quickly. The query plan does not contain a MERGE JOIN CARTESIAN.
    Execution Plan
    Plan hash value: 3553258581
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 5 | 650 | 10 (20)| 00:00:01 |
    | 1 | SORT ORDER BY | | 5 | 650 | 10 (20)| 00:00:01 |
    | 2 | NESTED LOOPS | | 5 | 650 | 9 (12)| 00:00:01 |
    | 3 | NESTED LOOPS | | 9 | 936 | 8 (13)| 00:00:01 |
    | 4 | NESTED LOOPS | | 3 | 234 | 7 (15)| 00:00:01 |
    | 5 | NESTED LOOPS | | 3 | 186 | 6 (17)| 00:00:01 |
    | 6 | VIEW | VW_NSO_1 | 3 | 48 | 4 (0)| 00:00:01 |
    | 7 | HASH UNIQUE | | 3 | 279 | | |
    | 8 | NESTED LOOPS | | 3 | 279 | 4 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 5 | 365 | 3 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
    |* 11| INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
    |* 12| TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
    |* 13| INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
    | 14| TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 5 | 175 | 1 (0)| 00:00:01 |
    |* 15| INDEX RANGE SCAN | DM_FOLDER_R_IND | 5 | | 1 (0)| 00:00:01 |
    |* 16| INDEX UNIQUE SCAN | D_1F01B3F08000010A | 1 | 20 | 1 (0)| 00:00:01 |
    |* 17| TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 1 | 46 | 1 (0)| 00:00:01 |
    |* 18| INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
    |* 19| INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
    | 20| TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 3 | 78 | 1 (0)| 00:00:01 |
    |* 21| INDEX RANGE SCAN | D_1F01B3F08000010A | 3 | | 1 (0)| 00:00:01 |
    | 22| TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 1 | 26 | 1 (0)| 00:00:01 |
    |* 23| INDEX UNIQUE SCAN | D_1F01B3F080000144 | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    11 - access("TGB_"."R_OBJECT_ID"='0b01b3f080011726')
    12 - filter("GJ_"."A_IS_HIDDEN"=0 AND "GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
    13 - access("GJ_"."R_OBJECT_ID"='0b01b3f080011726')
    15 - access("VGB_"."R_OBJECT_ID"='0b01b3f080011726')
    16 - access("IJ_"."R_OBJECT_ID"='0b01b3f080011726' AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
    17 - filter("GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
    18 - access("GJ_"."R_OBJECT_ID"="$nso_col_1")
    19 - access("GJ_"."R_OBJECT_ID"="TGB_"."R_OBJECT_ID")
    21 - access("IJ_"."R_OBJECT_ID"="GJ_"."R_OBJECT_ID")
    23 - access("IJ_"."R_OBJECT_ID"="VGB_"."R_OBJECT_ID" AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
    Message was edited by:
    user624068

    I am gathering the statistics for the full database statement is .
    execute dbms_stats.gather_database_stats(ESTIMATE_PERCENT => 99, CASCADE => TRUE)
    I tried to gather the stats on schema but no effect.
    No of indexes are same in UAT and Pro.
    I am still confuse if we have less data do it change the plan and if it did it should be faster.
    Thats the max it got format. is there any other way i can format that or send u.
    Execution Plan
    Plan hash value: 3842135587
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 3 | 384 | 14M (1)| 47:28:20 |
    | 1 | NESTED LOOPS SEMI | | 3 | 384 | 14M (1)| 47:28:20 |
    | 2 | NESTED LOOPS | | 10269 | 1133K| 14M (1)| 47:20:08 |
    | 3 | MERGE JOIN CARTESIAN | | 273M| 22G| 541K (1)| 01:48:20 |
    | 4 | NESTED LOOPS | | 6648 | 383K| 412 (0)| 00:00:05 |
    |* 5 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 6648 | 279K| 411 (0)| 00:00:05 |
    | 6 | INDEX FULL SCAN | D_1F01B3F180000109 | 26592 | | 5 (0)| 00:00:01 |
    |* 7 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
    | 8 | BUFFER SORT | | 41076 | 1163K| 541K (1)| 01:48:20 |
    | 9 | TABLE ACCESS FULL | DM_FOLDER_R | 41076 | 1163K| 81 (0)| 00:00:01 |
    | 10 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 1 | 25 | 1 (0)| 00:00:01 |
    |* 11 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | | 1 (0)| 00:00:01 |
    |* 12 | VIEW | VW_NSO_1 | 1 | 15 | 4 (0)| 00:00:01 |
    | 13 | NESTED LOOPS | | 2 | 182 | 4 (0)| 00:00:01 |
    | 14 | NESTED LOOPS | | 4 | 288 | 3 (0)| 00:00:01 |
    | 15 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | D_1F01B3F180000143 | 1 | 16 | 1 (0)| 00:00:01 |
    |* 17 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | D_1F01B3F180000109 | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 4 | 136 | 1 (0)| 00:00:01 |
    |* 20 | INDEX RANGE SCAN | D_1F01B3F180000144 | 4 | | 1 (0)| 00:00:01 |
    |* 21 | INDEX UNIQUE SCAN | D_1F01B3F18000010A | 1 | 19 | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    5 - filter("RG_"."I_HAS_FOLDER"=1 AND "RG_"."I_IS_DELETED"=0)
    7 - access("RG_"."R_OBJECT_ID"="WQ_"."R_OBJECT_ID")
    11 - access("SG_"."R_OBJECT_ID"="XQ_"."R_OBJECT_ID" AND
    "SG_"."I_POSITION"="XQ_"."I_POSITION")
    filter("SG_"."R_OBJECT_ID"="RG_"."R_OBJECT_ID")
    12 - filter("RG_"."R_OBJECT_ID"="$nso_col_1")
    16 - access("WQ_"."R_OBJECT_ID"='0b01b3f18000b897')
    17 - filter("RG_"."A_IS_HIDDEN"=0 AND "RG_"."I_HAS_FOLDER"=1 AND "RG_"."I_IS_DELETED"=0)
    18 - access("RG_"."R_OBJECT_ID"='0b01b3f18000b897')
    20 - access("XQ_"."R_OBJECT_ID"='0b01b3f18000b897')
    21 - access("SG_"."R_OBJECT_ID"='0b01b3f18000b897' AND "SG_"."I_POSITION"="XQ_"."I_POSITION")
    Production Explan
    Execution Plan
    Plan hash value: 3553258581
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 5 | 650 | 10 (20)| 00:00:01 |
    | 1 | SORT ORDER BY | | 5 | 650 | 10 (20)| 00:00:01 |
    | 2 | NESTED LOOPS | | 5 | 650 | 9 (12)| 00:00:01 |
    | 3 | NESTED LOOPS | | 9 | 936 | 8 (13)| 00:00:01 |
    | 4 | NESTED LOOPS | | 3 | 234 | 7 (15)| 00:00:01 |
    | 5 | NESTED LOOPS | | 3 | 186 | 6 (17)| 00:00:01 |
    | 6 | VIEW | VW_NSO_1 | 3 | 48 | 4 (0)| 00:00:01 |
    | 7 | HASH UNIQUE | | 3 | 279 | | |
    | 8 | NESTED LOOPS | | 3 | 279 | 4 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 5 | 365 | 3 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 38 | 2 (0)| 00:00:01 |
    |* 11 | INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
    |* 12 | TABLE ACCESS BY INDEX ROWID| DM_SYSOBJECT_S | 1 | 22 | 1 (0)| 00:00:01 |
    |* 13 | INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
    | 14 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 5 | 175 | 1 (0)| 00:00:01 |
    |* 15 | INDEX RANGE SCAN | DM_FOLDER_R_IND | 5 | | 1 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | D_1F01B3F08000010A | 1 | 20 | 1 (0)| 00:00:01 |
    |* 17 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_S | 1 | 46 | 1 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | D_1F01B3F080000109 | 1 | | 1 (0)| 00:00:01 |
    |* 19 | INDEX UNIQUE SCAN | D_1F01B3F080000143 | 1 | 16 | 1 (0)| 00:00:01 |
    | 20 | TABLE ACCESS BY INDEX ROWID | DM_SYSOBJECT_R | 3 | 78 | 1 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | D_1F01B3F08000010A | 3 | | 1 (0)| 00:00:01 |
    | 22 | TABLE ACCESS BY INDEX ROWID | DM_FOLDER_R | 1 | 26 | 1 (0)| 00:00:01 |
    |* 23 | INDEX UNIQUE SCAN | D_1F01B3F080000144 | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    11 - access("TGB_"."R_OBJECT_ID"='0b01b3f080011726')
    12 - filter("GJ_"."A_IS_HIDDEN"=0 AND "GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
    13 - access("GJ_"."R_OBJECT_ID"='0b01b3f080011726')
    15 - access("VGB_"."R_OBJECT_ID"='0b01b3f080011726')
    16 - access("IJ_"."R_OBJECT_ID"='0b01b3f080011726' AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
    17 - filter("GJ_"."I_HAS_FOLDER"=1 AND "GJ_"."I_IS_DELETED"=0)
    18 - access("GJ_"."R_OBJECT_ID"="$nso_col_1")
    19 - access("GJ_"."R_OBJECT_ID"="TGB_"."R_OBJECT_ID")
    21 - access("IJ_"."R_OBJECT_ID"="GJ_"."R_OBJECT_ID")
    23 - access("IJ_"."R_OBJECT_ID"="VGB_"."R_OBJECT_ID" AND "IJ_"."I_POSITION"="VGB_"."I_POSITION")
    Message was edited by:
    user624068

  • 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! :)

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

  • Database schema for Warehouse and Logistics Systems

    I am interested in the database design of Warehouse and Logistics Systems. Does any know whether Oracle has some sample database schema for such systems? Thanks.

    Although you have not mentioned the database version,
    Does any know whether Oracle has some sample database schema for such systems? Please review the following links;
    Using DBCA to Create and Configure a Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install003.htm#sthref55
    There are vavious types of templates for databases inlcuding data warehouse.
    If you check on sample schemas. It will establish sample schemas with Example tablespace within the databse being installed. It is an Oracle recommendation.
    You might also view the following link;
    DBCA Templates Provided by Oracle
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install003.htm#CIHJDGDH
    Adith

  • 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.

  • How to read records from Database view

    Hi folks,
    well...let me know, y im getting error as : V_T52EL is not defined in the ABAP dictionary as Table , Projection view or Database view.
    But actually here this View Type is : Maitenance View.
      SELECT  KOART
        from   V_T52EL
        where ENDDA  GE SY-DATUM AND
                 SYMKO  EQ T030-BWMOD.
    plz let me know..guys.
    Regards,
    Kumar

    Hello,
    Maitenace View reocird can be viewed only through Tcode SM30
    Vasanth

  • 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

Maybe you are looking for

  • Backups taking too long

    My Time Capsule backups are taking too long. Time Machine says it is indexing. However, I have had my Time Machine configured since I installed Lion last year and it has been making automatic backups every hour since. Why is it 'indexing' now, and wh

  • Special Stock Indicators

    Hi, Can any body inform us about the special stock indicators available in SAP MNV Ramana

  • Powershell 4.0 on Windows 7 and Windows Server 2008 R2

    I have installed .Net Framework 4.5.1, and Powershell 4.0, and having some issues with some cmdlets; primarily dealing with scheduled tasks.  Is Get-ScheduledTask available when Powershell 4.0 running on Windows 7 or Windows Server 2008 r2?  I can't

  • Validated the currency field in WEB

    Dear all, I have a develop a new WEB SRM screen, but I'm not managing to validate the Currency field when the user puts letters. The field is of type CURR and when the user hits "enter" it puts all letters in CAP but doesn't sends any error message.

  • Keep getting popup coupons - says that it can be deleted by clicking coupon button on menu bar but I don't see one

    Recently started getting a lot of popup coupons - on the coupon it says that you can stop this by clicking on coupon button on menu bar but I do not see a coupon button on any of the menu bars. How do I delete this problem? Thanks