Keys in Views ..

Hi
Can somebody explain me please how works the keys in a view.
For example, we have some Join for two tables, but we have an existing view just for these both tables so we think tu use the view instead Join in order to improve the performance,  but we don't see keys in the view, so we really do not know wich keys are used for acces the view.
Regards
Frank

Hi Frank,
When you create the View, you will mention the table name and the field name, so if the field is primary key in that table, then that will will become a primary key in the view,
already there will be a check box in the view for primary key, this will be checked automatically if the field is primary key in the corresponding table
Regards
Sudheer

Similar Messages

  • Using arrow keys to view one thumbnail at a time in the Faces corkboard.

    In the faces window, you can wave the mouse over a picture on the corkboard and see all the pictures but the effect can be hard to control. In iPhoto '09 you could, just park the mouse over the corkboard picture and use the right- and left-arrow keys to view one thumbnail at a time. This does not work in iPhoto '11... any way to re-establish this behavior?

    ctrl+a will select all emails currently shown. In delete folder just select mails using ctrl+a and delete them using delete button on your keyboard, or from context menu.

  • Primary Key Materlized View and primary key in master tables

    We are using Oracle 11g2 and I created a materlized view on several master tables. The master tables all have primary key, but I did not include all primary key columns in the defining query.
    According to Oracle Manual e10592 Specify WITH PRIMARY KEY to create a primary key materialized view. This is the default ....
    The master table must contain an enabled primary key constraint, and the defining query of the materialized view
    must specify all of the primary key columns directly.My MV created OK and works. My question is what can be the impact on my MV? Could it hit the performance. It takes 40 minutes for the MV to be created and 5 minutes to refresh for single row insert in each mater table. I would like to see it refresh in seconds.

    Retrieving rows from the mview is purely a function of the number of rows and indexing on the mview itself. Refreshing the mview wall time depends on the quality of the query used to refresh the mview. Whether you include PKs from the source table in the mview is of little, or no, consequence here. What matters is the execution path of the refresh query. Is there proper indexing on the underlying tables to support the joins. Did you use mlog$_s to enable fast refresh - are mlog$_s even usable for your mview. There are a number of possible causes to your problem and we do not have enough information to make an estimate of the problem.
    BTW, if the mview could refresh in seconds w/o mlog$_s, you probably do not need an mview.

  • I inadvertently his a key while view a note and it deletes the note.  This change is then instantly propogated to icloud and to all my devices.  Is there any way to prevent this?

    I inadvertently hit a key whild viewing a note portion of a contact and the note was deleted.  This change was immediately propagated to icloud and to all of my devices.  Is there any way to suppress changes until you are ready to sync them?

    No, it's done exactly what it is intended to do.
    Syncing of notes (contacts, calendars, etc) via iCloud is instantaneous across all connected devices.

  • Key in View  for two primary keys tables

    Hi
    I have some view joining LIKP and LIPS:
    LIKP -   Primary Key MANDT, VBELN
    LIPS -   Primary Key MANDT, VBELN, POSR
    The Key for the LIKP-LIPS View is:
    MANDT      LIKP
    VBELN       LIKP
    MANDT_I    LIPS
    VBELN_I    LIPS
    POSNR_I   LIPS
    So, for that Key, if i need to acces a specify LIPS detail record , must i fill all the keys in the where  (filling VBELN twice) like this:
    WHERE VBELN =  vbvalue AND VBELN_I =  vbvalue AND POSNR_I = posvalue ?
    How must i make the Select for acces this View using its Key ?
    Regards
    Frank

    Hi
    Just as I said:
    SELECT SINGLE * FROM Z<VIEW> WHERE VBELN = <VBELN>
                                                                AND POSNR_I = <POSNR>.
    Anyway it's should be better you correct the view deleting the field MANDT_I, VBELN_I, if you can't, I believe the select above works fine.
    VIEW FIELDS:
    View Field Table Field Key
    MANDT LIKP MANDT Yes
    VBELN LIKP VBELN Yes
    <b>MANDT_I LIPS MANDT Yes <----- WRONG
    VBELN_I LIPS VBELN Yes      <----- WRONG</b>
    POSNR_I LIPS POSNR Yes
    ERNAM LIKP ERNAM
    ERDAT LIKP ERDAT
    VKORG LIKP VKORG
    PSTYV_I LIPS PSTYV
    MATNR_I LIPS MATNR
    WERKS_I LIPS WERKS
    LGORT_I LIPS LGORT
    By this defintion the field MANDT and VBELN are only twice, but it doesn't mean the record is double in the VIEW.
    So it you have the delivery 100 with 3 items in the client 200, in the view you'll see:
    Record 1: MANDT   = 200
                   VBELN    = 0000000100
                   MANDT_I = 200
                   VBELN_I  = 0000000100
                   POSNR_I = 000010
    Record 2: MANDT   = 200
                   VBELN    = 0000000100
                   MANDT_I = 200
                   VBELN_I  = 0000000100
                   POSNR_I = 000020
    Record 3: MANDT   = 200
                   VBELN    = 0000000100
                   MANDT_I = 200
                   VBELN_I  = 0000000100
                   POSNR_I = 000030
    Max

  • Very high LC amounts in GL view and missing posting keys inGL view

    Hi Experts,
    Doc.type : KR
    Transaction: FB60
    Document currency PLN = Local currency PLN
    in general ledger view of a document the items of vendor reconciliation account and of a balance sheet account with currency PLN in master data , have huge amounts which are much more higher than entered amounts in entry view.
    For some items Posting key is missing and the total of items does not balance to zero.
    The expense account items of the document have same amount as entere in the entry view.
    Company code currency is PLN, Document currency and local currency both are PLN.
    Furthermore 2 items of reconciliation account does not have in general ledger view any posting key and the total balance of the items are not balanced to zero in GL view.
    The company have ECC6.0 and document splitting is active and was working fine.
    The company has EUR as hard currency and USD as group currency.
    I look forward to your feedbacks.
    Thanks and Kind Regards

    Hi ,
    Can you Please look at OSS note
    1655571 - Multiple values and multiple/additional line items appearing in the NewGL View when compared to Entry View
    Many Thanks

  • Invalid query key/Mapping View

    Hi,
    I am mapping a view without any primary key to a ValueObject. I am selecting three fields as primary keys such that the values are unique. I am getting an exception like
    EXCEPTION DESCRIPTION: Invalid query key [lookupType] in expression.
    The expression I am having is
    Expression contactTypeExpr = builder.get("lookupType").equal("COUNTRIES");
    constantsCol = tcaServerSession.readAllObjects(ConstantsLookupVO.class, contactTypeExpr);
    Pls help me regarding this problem.
    I have created a new Class mapping in which also I am facing the same problem.
    Is there any other parameters that I have to consider while mapping objects to DB View.
    Regards
    Solomon

    This error generally occurs when the mapping for this attribute does not exists. Please ensure that the attribute you are attempting to use in the expression has a valid mapping.
    --Gordon

  • Primary key on view - ORA-20505

    I'm getting this error when I try to update a form that is based on a view:
    ORA-20505: Error in DML: p_rowid=69, p_alt_rowid=VENDOR_ITEM_ID, p_rowid2=, p_alt_rowid2=. ORA-01779: cannot modify a column which maps to a non key-preserved table
    Error Unable to process row of table SH_PURCHASING_VW.
    OK
    Can you tell me how to add a pk to this view? I'd like to use VENDOR_ITEM_ID or a completely new column.
    CREATE OR REPLACE FORCE VIEW "SH_PURCHASING_VW" ("ITEMNO", "VENDNO", "ITEM_DESC", "VEND_NAME", "PRIORITY", "VEND_ITEMNO", "VEND_ITEM_NOTES", "VENDOR_ITEM_ID", "VENDOR_ID", "VEND_NOTES", "ITEM_NOTES_ID", "ITEMNO_N", "ITEM_NOTES") AS
    select     "SH_VENDOR_ITEM"."ITEMNO" as "ITEMNO",
         "SH_VENDOR_ITEM"."VENDNO" as "VENDNO",
         "SH_VENDOR_ITEM"."ITEM_DESC" as "ITEM_DESC",
         "SH_VENDOR_ITEM"."VEND_NAME" as "VEND_NAME",
         "SH_VENDOR_ITEM"."PRIORITY" as "PRIORITY",
         "SH_VENDOR_ITEM"."VEND_ITEMNO" as "VEND_ITEMNO",
         "SH_VENDOR_ITEM"."VEND_ITEM_NOTES" as "VEND_ITEM_NOTES",
         "SH_VENDOR_ITEM"."VENDOR_ITEM_ID" as "VENDOR_ITEM_ID",
         "SH_VENDOR"."VENDOR_ID" as "VENDOR_ID",
         "SH_VENDOR"."VEND_NOTES" as "VEND_NOTES",
         "SH_ITEM_NOTES"."ITEM_NOTES_ID" as "ITEM_NOTES_ID",
         "SH_ITEM_NOTES"."ITEMNO_N" as "ITEMNO_N",
         "SH_ITEM_NOTES"."ITEM_NOTES" as "ITEM_NOTES"
    from     "SH_ITEM_NOTES" "SH_ITEM_NOTES",
         "SH_VENDOR" "SH_VENDOR",
         "SH_VENDOR_ITEM" "SH_VENDOR_ITEM"
    where "SH_VENDOR_ITEM"."VENDNO"="SH_VENDOR"."VENDNO"
    and     "SH_VENDOR_ITEM"."ITEMNO"="SH_ITEM_NOTES"."ITEMNO_N"
    ORDER BY VENDOR_ITEM_ID
    Thanks in advance!

    Here are the updateable columns
    SPICE_HUNTER1 SH_PURCHASING_VW ITEMNO NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VENDNO NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW ITEM_DESC NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VEND_NAME NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW PRIORITY NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VEND_ITEMNO NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VEND_ITEM_NOTES NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VENDOR_ITEM_ID NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VENDOR_ID NO NO NO
    SPICE_HUNTER1 SH_PURCHASING_VW VEND_NOTES NO NO NO
    VENDOR_ID and ITEM_ID are the pks for those tables. I'm guessing I need to add a VENDOR_ID and an ITEM_ID to the VENDOR_ITEM table, then write a couple of update statements to get those fields popluated with their respective data. I'm reading up on 'key-preserved' tables and it's making sense. You will probably laugh, but I AM the "DBA." I'm actually the report developer for our company and we're trying out APEX to see if we can use it to redo a bunch of old poorly-designed Access databases. I'm flying by the skin of my teeth, the seat of my pants, and a bunch of deep sighs. I went through the basic APEx training about a year ago, am designing tables as I go only through my knowledge of query/report writing and keep coming up against things in APEX that keep me saying, "Huhhhhhhh?"
    Our purchasing department has an old poorly designed Access DB from which they can search vendors or items then see the results on one page. They need to be able to view the three areas of notes based on each search, i.e. they search by item then get this:
    Item # and Description
    Item Specific Notes Text Area
    Vendor # and Name
    Vendor Item Notes Text Area
    Vendor Specific Notes Text Area
    They search by Vendor they get this:
    Vendor # and Name
    Vendor Specific Notes Text Area
    Item # and Description
    Vendor Item NOtes Text Area
    Item Speicfic Notes Text Area
    Then, they need to be able to update those fields with any new information and that needs to update to their respective tables. I'm sure it's easy, and I'm sure it has to do with my LIMITED prowess of setting up my tables and learning that I can't have one form update more than one table (I learned that somewhere on this journey, hence the tries with the view) so I keep getting these ideas of how to do it, then running into snags.
    So thanks for your help!
    Alexandra

  • Create Primary key on View?

    Hi
    Can we create a Primary or Unique key on a simple view? while actual table doesn't have any primary or unique key
    Regards,
    Nasir.

    But what about this Example.
    CREATE VIEW emp_sal (emp_id, last_name,
    email UNIQUE RELY DISABLE NOVALIDATE,
    STRAINT id_pk PRIMARY KEY (emp_id) RELY DISABLE
    NOVALIDATE)
    AS SELECT employee_id, last_name, email FROM
    employees;This creates a view and tells Oracle that the optimizer is free to rely on email and emp_id being unique but that your code will enforce both constraints. Since you know that your data violates these constraints, that basically means that you're lying to the optimizer and allowing it to make incorrect assumptions about the data. That, in turn, permits the optimizer to either generate incorrect query plans or deliver you incorrect data should it happen to rely incorrectly on one of these constraints. Realistically, this sort of view would take an existing data quality issue and layer on a bunch of optimizer issues rather than addressing the root cause and fixing the data.
    Justin

  • Key board viewer for the font tamil 99 is not the same for iPad and macbook pro, why?

    I have ipad 2 and macbook pro purchased in the year 2014.  The character viewer for both iPad and mac book is different causing difficulties while typing.  Is this issue can be resolved?

    If you created your book with iBooks Author, such books can only be read on an iPad or on a Mac running Mavericks or later.
    If you want your book to be available on the iPhone, you have to create it in .epub format.  The Apple app for that is Pages.

  • How to specify key in CDS view?

    I defined a CDS view based on an entity. When I activate, it says:
    Missing specification of keys for view "sap.ms.data::DB.ApplicationView".
    However, I am at a lost how the specify key in CDS View. The developer guide did not mention anything. If I put a key before one of the attribute:
    Cannot find sub artifact "key" in "Application"
    My CDS view is as follows:
    view ApplicationView as select from Application {
      ApplicationId,
      AccountRef.AccountId,
      DisplayName,
      Version

    I found out how to do it, define the key in the service descriptor as:
    service {
    "sap.ms.data::DB.ApplicationView" as "App" key ("ApplicationId", "AcctId");

  • Interactive report based on complex view

    firefox 24 , apex 4.0 , db11gxe ,
    hi all,
    i created an interactive report with this code :
      select c.client_id , c.client_name , c.age , c.email , c.phone ,
    p.payment_date , sum(p.amount) "summary"
    from clients c , payments p
    where c.client_id = p.client_id
    group by c.client_id , c.client_name , c.age , c.email , c.phone ,
    p.payment_date;
    but the problem was i could not delete any of the rows of the report , because there was no checkbox existed , so i created one with "apex_application.checkbox" , and i have got it now , but
    i still can not delete any rows ,
    i created a button to submit the page , and a process with this code
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
       DELETE FROM cp
       WHERE client_id = APEX_APPLICATION.G_F01(i);
    END LOOP;
    and sure nothing was deleted , and i am facing this error
    ORA-01732: data manipulation operation not legal on this view

    What is the object "CP" ?
    It sounds like it is a view. If it's the same you've used for the IR, then check out "key preserved views"
    Oracle doc - http://docs.oracle.com/cd/B28359_01/server.111/b28310/views001.htm#ADMIN11784
    Tom Kyte - http://asktom.oracle.com/pls/asktom/f?p=100:11:6474092145067::::P11_QUESTION_ID:548422757486
    There could be another issue once you address the error - depending on how you've defined apex_application.checkbox2 (the other is deprecated)
    You may not be associating the correct value in g_f01

  • Windows 7 Brightness and Function key not Working Properly

    i have HP 15-af024AU APU Quad Core A8-7410 - (4 GB DDR3,1 TB HDD) Noteboook and it  came with windows 8.1 preinstalled than i installed windows 7 ultimate.
    i have problem in Display Brightness i am not able to change Brightness by function key or by manually from windows settings.
    2. my Function key are not working properly . all key are fliped whiout holding function key it work as function key. 3. bluetooth is not working when i search for new device not able to find any available discouable bluetooth device. 4. wireless button software is not wokring in windows 7 i already updated my bios that available in drivers support and install alll drivers too properly so please give proper drivers for windows 7 for this product that works perfect.

    Sorry that driver didn't work. You can try this graphics driver and if that doesn't work, unfortunately, I won't be able to help you with that issue. This package provides the AMD High-Definition (HD) Graphics Driver and Catalyst Control Center for supported notebook models that are running a supported operating system. For notebooks with switchable graphics modes, this package includes drivers for both graphics processing units (GPUs). Switchable graphics enable users to switch between a power-saving graphics mode (normally used under battery power) and a high-performance graphics mode. If high-definition multimedia interface (HDMI) video output is supported, this package also installs the HDMI Audio Driver. File name: sp71253.exe As far as the Fn keys being 'flipped,' I have no idea what you mean by that, or what to do about it. Did you install the software that controls the funtion keys? This package contains the HP System Event Utility, which enables special function keys on supported notebook models to be programmed. For example, HP System Event Utility enables users to press the Fn+ESC keys to view system information. This software works with the supported operating systems. File name: sp71156.exe

  • Creation of Materialized view and Materialized view log.

    I wanted to create materialized view with 'REFRESH FAST ON COMMIT' option.
    1) Table1 --it is partitioned range + list -- Added primary key
    2) view1   -- having primary keys on view's base table
    Steps:
    1) create materialized view log on Table1 ; -- default primary key
    2) create materialized view log on view1.  --- It is giving below error.
    ORA-00942: table or view does not exist
    i wanted to create Materialized view like below
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1
    where c1 in (select c1 from view1 where ... );
    Question:
    1) As i am getting above error while creating MV log on view. Can we create MV log on view or we have to create MV log on view base table?
    2) To create MV with ''REFRESH FAST ON COMMIT' option , do we need to have primary key on master tables? 
    Any pointers on this will really helpful.
    Thanks
    Prasad

    Also created MV LOG on 3 tables and tried with joins ..
    create materialized view
    REFRESH fast ON commit
    as
    select ...
    ... from table1 , tab2 t2,tab3 t3
    where ....
    and ...
    Get same error ORA-12052: cannot fast refresh materialized view AVSYS.EVENT_LOG_MV
    2052. 00000 -  "cannot fast refresh materialized view %s.%s"
    *Cause:    Either ROWIDs of certain tables were missing in the definition or
               the inner table of an outer join did not have UNIQUE constraints on
               join columns.
    *Action:   Specify the FORCE or COMPLETE option. If this error is got
               during creation, the materialized view definition may have be
               changed. Refer to the documentation on materialized views.

  • Creation of MVIEW with pramary key

    Hi,
    I need to create a materialized view on below querty with primary key on column (fif_if_id).
    But I am not able to create a materialized view with particular column.
    If I chnage the synatx to ' with primary key" the view created successfully. But I need to know on which columns the primary key got created.
    If it is created on master table. How to know which is master table out of all these tables.
    {code}
    SELECT
         /*+ rule */
    ml_level_type fif_ml,
    ifs.if_ml_id fif_ml_id,
    ifs.if_id fif_if_id,
    ifs.if_type fif_if_type,
    ifs.if_min_stock_level fif_min_stock_level,
    ifs.if_max_stock_level fif_max_stock_level,
    ifs.if_mi_id fif_mi_id,
    ifs.if_std_produced_qty fif_if_std_produced_qty,
    ifs.if_lotsize fif_if_lotsize,
    ifs.if_successor_qty fif_successor_qty,
    ifs.if_successor_base_qty fif_successor_base_qty,
    ifs.if_successor_uom fif_successor_uom,
    ifs.if_if_id fif_if_if_id,
    ifs.if_valid_flag fif_valid_flag,
    ifs.if_freeze_fence fif_freeze_fence,
    ifs.if_freeze_fence_date fif_freeze_fence_date,
    ifs.if_freeze_fence_date_old fif_freeze_fence_date_old,
    ifs.if_facility_planning_flag fif_facility_planning_flag,
    ifs.if_deletion_mark fif_if_deletion_mark,
         ifs.if_allocation_fence_date     fif_allocation_fence_date,
    ifs.misr_id fif_misr_id,
    ifs.misr_me_id fif_me_id,
    ifs.item_mat_id fif_item_mat_id,
    ifs.item_prit_id fif_item_prit_id,
    ifs.item_papl_id fif_item_papl_id,
    ifs.item_repi_id fif_item_repi_id,
    ifs.item_tnr fif_item_tnr,
    ifs.item_id fif_item_id,
    ifs.btyp_id fif_btyp_id,
    ifs.btyp_basic_type fif_basic_type,
    sprd_sales_name fif_sprd_sales_name,
    bno_id fif_bno_id,
    bno_baunumber fif_bno,
    bno_deletion_mark fif_bno_deletion_mark,
    bno_demand_level_code fif_bno_demand_level_code,
    pg_id fif_pg_id,
    pl_process_line fif_pl_process_line,
    pl_id fif_pl_id,
    pcl_process_class fif_pcl_process_class,
    pcl_id fif_pcl_id,
    pgp_id fif_pgp_id,
    DECODE(bs1.bs_id, NULL,DECODE(bs2.bs_id, NULL, bs3.bs_id, bs2.bs_id), bs1.bs_id) fif_bs_id,
    DECODE(bs1.bs_business_segment, NULL,
    DECODE(bs2.bs_business_segment, NULL, bs3.bs_business_segment, bs2.bs_business_segment), bs1.bs_business_segment) fif_bs_business_segment,
    fac_id fif_fac_id,
    fac_facility_name fif_fac_name,
    fac_facility_type fif_fac_type,
    fac_usable_from fif_fac_usable_from,
    fac_usable_to fif_fac_usable_to,
    fac_loc_id fif_fac_loc_id,
    loc_location fif_fac_loc_location,
    si1.site_id fif_site_id,
    si1.site_site_name fif_site_name,
    si2.site_id fif_site_id_fm,
    si2.site_site_name fif_site_name_fm,
    sc1.sc_id fif_sc_id,
    sc1.sc_supply_chain_name fif_sc_name,
    sc1.sc_type fif_sc_type,
    sc1.sc_eng_id fif_sc_eng_id,
    sc2.sc_id fif_sc_id_fm,
    sc2.sc_supply_chain_name fif_sc_name_fm,
    sc2.sc_type fif_sc_type_fm,
    sc2.sc_eng_id fif_sc_eng_id_fm,
    pk_id fif_pk_id,
    pk_package_name fif_package_name,
    eng_ignore_key_wc fif_eng_ignore_key_wc,
    dbi_id fif_dbi_id,
    bno_rias_user fif_bno_rias_user,
    bno_production_arranger fif_bno_production_arranger
    , if_merchandise_flag fif_merchandise_flag
    FROM
    (SELECT
    ifsel.*,
    misr_id,
    misr_me_id,
    item_mat_id,
    item_prit_id,
    item_papl_id,
    item_repi_id,
    item_tnr,
    item_id,
    item_sisc_id,
    me_pk_id,
    decode (if_misr_id, null, nvl(btyp2.btyp_id,0), btyp1.btyp_id) btyp_id,
    decode (if_misr_id, null, nvl(btyp2.btyp_basic_type, 'UNDEF.'), btyp1.btyp_basic_type) btyp_basic_type,
    decode (if_misr_id, null, nvl(btyp2.btyp_pl_id, 0), btyp1.btyp_pl_id) btyp_pl_id
    FROM
    basic_types btyp1,
    basic_types btyp2,
    processed_items,
    items,
    mi_subroutes,
    mi_elements,
    item_facilities ifsel
    WHERE
    ifsel.if_item_id = item_id
    AND ifsel.if_misr_id = misr_id(+)
    AND item_prit_id = prit_id (+)
    AND prit_btyp_id = btyp2.btyp_id (+)
    AND misr_me_id = me_id(+)
    AND me_btyp_id = btyp1.btyp_id(+)
    AND ifsel.if_type <> 'K'
    AND
    (item_prit_id is not null
    OR item_repi_id is not null
    OR item_sisc_id is not null)) ifs,
    manufacturing_levels,
    start_item_scs,
    business_segments bs3,
    sites si1,
    supply_chains sc1,
    sites si2,
    supply_chains sc2,
    engines,
    database_instances,
    facilities,
    locations,
    packages,
    representative_items,
    business_segments bs2,
    process_lines,
    process_groups,
    process_classes,
    baunumbers,
    product_groups,
    business_segments bs1,
    sales_products
    WHERE
    ifs.if_ml_id = ml_id
    AND ml_level_type <> 'UNDEF'
    AND ifs.item_sisc_id = sisc_id(+)
    AND sisc_bs_id = bs3.bs_id(+)
    AND ifs.if_site_id = si1.site_id(+)
    AND si1.site_sc_id = sc1.sc_id(+)
    AND si1.site_site_id = si2.site_id(+)
    AND si2.site_sc_id = sc2.sc_id(+)
    AND sc2.sc_eng_id = eng_id(+)
    AND eng_dbi_id = dbi_id(+)
    AND ifs.if_fac_id = fac_id
    AND fac_loc_id = loc_id
    AND ifs.me_pk_id = pk_id(+)
    AND ifs.item_repi_id = repi_id(+)
    AND repi_bs_id = bs2.bs_id(+)
    AND ifs.btyp_pl_id = pl_id(+)
    AND pl_pgp_id = pgp_id (+)
    AND pgp_pcl_id = pcl_id (+)
    AND ifs.if_bno_id = bno_id(+)
    AND bno_pg_id = pg_id(+)
    AND pg_bs_id = bs1.bs_id(+)
    AND ifs.if_bno_id = sprd_bno_id(+)
    AND (bs1.bs_id is not null OR bs2.bs_id is not null OR bs3.bs_id is not null)
    AND (bno_baunumber is not null OR ifs.item_tnr is not null)
    AND (bno_deletion_mark is null OR ml_level_type = 'VKL');
    {code}
    Any help really appreciated
    Thanks in advance

    The primary key created is the same as on the underlying table on which it has been based.
    PS: Posting version numbers and DDL is never a bad thing.

Maybe you are looking for

  • Invoices not flowing to RMCA

    Hello Experts, i had a requirement, where profit center was missing for contract and invoices. I had written a program, now profit center is getting updated succcessfuly but when  in VF02  i am releasing any inovice to RMCA ... i am getting a standar

  • CONVERSION OF 1 TABLE TO ACCOMODATE MORE FIELDS USING TEMP VARIABLE IN STORE PROC

    USE [FacetsXR] GO IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[frdmrpt].[pr_pha_BiometricsSummary]') AND type in (N'P', N'PC')) DROP PROCEDURE [frdmrpt].[pr_pha_BiometricsSummary] GO CREATE PROCEDURE [frdmrpt].[pr_pha_Biometric

  • Error on custom module in Receiver File Adaptor

    You have to add audit log to your code so that you will know after what step it failed. That was the only way the I could come up with while I was working with modules. VJ

  • Determining performance while development

    Dear all, We are creating a new report that selects data from the BSEG and two other tables. There is very little data available on the development server. In such a situation, will the results of SQL trace run on development server be indicative of

  • Desktop Software Crashes While Syncing... after initial reboot

    This not my phone, I only have to make it work here in the office.  Device:  Tour 9630 Carrier:  Sprint OS:  Windows 7 Enterprise, 32-bit Email:  Outlook 2010, 32-bit I can install the desktop software and get the phone to sync with Outlook Calendar