Déclencher un évènement unique dans un While

Bonjour à tous,
Voici mon problème : Dans mon vi, j'effectue une remontée de données de manière cyclique selon un pas d'échantillonnage à l'aide d'une boucle while qui contient deux séquences. Cependant j'aimerais générer un évènement unique (l'envoi d'un e-mail) selon un booléen (dépassement d'un certain seuil sur les mesures). Jusqu'à présent nous avons réussi à envoyer le mail, mais il s'envoie à chaque itération de boucle... Comment pourrions nous adapter notre vi afin d'envoyer un mail unique ?
Je vous joins une capture du VI en question :
Ne faites pas attention aux éventuelles erreurs (je ne suis pas sur la machine sur laquelle je développe, il manque donc des Sous-vi). Aussi, la fonction envoyer un email appartient normalement à une boucle if qui s'éxécute tant que le booléen est vrai (ce qui est le cas tant que la valeur dépasse le seuil...), on aimerait donc pouvoir envoyer un seul mail si possible.

placer "envoyer email" dans une structure condition.
utiliser un registre à décalage (booléen) qui mémorisera la 1ere action "envoyer",
et qui interdira cette même action lors des itérations suivantes.
ce serait bien aussi de supprimer la structure "séquencse empillées"

Similar Messages

  • Événements disparu dans Calendrier iPhone 5?!

    Bonjour, sur un iPhone 5 32Go avec dernière version OS 6.1.4 j'ai découvert un problème dans mon calendrier : tous mes anciens événements ont disparu. Quand j'essaye d'en rajouter un au mois de février 2013 par exemple, impossible ça me l'efface automatiquement.
    Que faire? J'ai absolument besoin de récupérer mes anciens événements et si je restaure depuis la dernière sauvegarde, celle ci remontera il y a trop longtemps et je ne récupérerai toujours pas ceux dont j'ai vraiment besoin.
    D'avance merci pour votre aide!

    J'ai trouvé la réponse sur un iphone 4S sous ios 6.1.3, dans les réglages dans mails contact calendrier, il y a une option pour synchronyser le calendrier qui est définie sur 1 mois, il suffit de cocher "tous les évenements" et le probleme est résolu

  • Comment obtenir sur iPad les évènements d'iPhoto synchronisés dans l'ordre chronologique, comme ils le sont sur mon Mac..? Lors de la synchro des 2 appareils, les événements sont dans le désordre sur l'iPad..  :(

    Comment obtenir sur mon iPad les évènements d'iPhoto, synchronisés dans l'ordre chronologique, comme ils le sont sur mon Mac..? Lors de la synchro des 2 appareils, les événements se retrouvent dans le désordre sur l'iPad.. 

    Comment obtenir sur mon iPad les évènements d'iPhoto, synchronisés dans l'ordre chronologique, comme ils le sont sur mon Mac..? Lors de la synchro des 2 appareils, les événements se retrouvent dans le désordre sur l'iPad.. 

  • Texte déroulant dans un fond unique dans Muse

    Bonjour à tous,
    J'ai un problème que je n'arrive pas à solutionner.
    j'ai du créer des iframes pour que le texte très long des 4 pages reste dans un format 1190 x 658 (format du site),
    J'aurai préféré éviter de créer ces iframes pour que le texte défile sans allonger le format du site.
    J'ai essayé avec effets de défilement, mais je n'en comprends pas le fonctionnement.
    Voici l'exemple : http://6jan2014-111510-7.businesscatalyst.com/nous-rejoindre.html
    Si vous avez une solution, merci d'avance.

    Bonsoir :
    En fait comme la hauteur et la largeur du header sont impératif : 1190 x 658, j'ai travaillé les 5 pages avec des calques.
    J'ai donc fait une largeur pour toutes les pages de 1190 de large, par contre en hauteur j'ai demandé taille minimum : 2500 pixels.
    - Premier calque : toute la partie qui va permettre de masquer le texte qui passe en dessous, donc 2 parties d'images du ciel + les éléments qui doivent être au dessus, ainsi que le bandeau bleu du bas.
    Calque 2 :
    La partie texte avec un bloc blanc pour masquer le texte. (j'ai mis un fond gris pour l'exemple, sinon vous n'auriez pas vu le texte et le bloc blanc)
    Calque 3 :
    Toute la partie comportant les menus et le fond image.

  • Séquence évènement-Arrêt boucle while interne.

    Bonjour,
    J'ai une séquence évènement lancé par le changement d'état d'un  bouton "Marche".
    Dans cette séquence évènement une boucle While est démarrée et trace des données sur un graph  .
    A partir de ce moment LV ne rend pas la main pour une autre action comme l'arrêt par  "Stop" .
    Peux t'on arrêter cette boucle while ? Si oui, comment ?
    Merci
    Cordialement.
    Pièces jointes :
    Essai1.vi ‏13 KB

    Je suis d’accord avec Rodéric L, tu n’utilises pas la structure évènementiel correctement. Le but est effectivement de programmer des détections d’actions, principalement utilisateur. Le code doit pouvoir réagir rapidement, pour que l’IHM soit réactive, par exemple si appui sur un bouton stop…
    Dans ton cas, l’IHM se bloque car lorsque tu programmes un évènement (édition de l’évènement) par défaut il y a une option « bloque l’IHM tant que le code dans l’évènement n’est pas terminé » (je n’ai pas LV ouvert alors je n’ai pas le texte exacte), mais c’est en bas à gauche dans l’édition de l’évènement.
    Par exemple si tu programmes un évènement sans code mais juste avec un wait de 10 minutes, ton IHM sera bloquée pendant 10 minutes. Par contre si tu désactives l'option d'attendre, alors la structure évènement va exécuter le code d'attendre 10 minutes, mais tu peux toujours agir sur l'IHM, et la structure mémorise les évènements à exécuter.
    Par contre je pense que tu dois pouvoir faire fonctionner ton exemple, en désactivant le blocage de l’IHM tant que l’évènement n’est pas terminé, et comme ton bouton stop est dans le même état….
    >>>> Mais ton code ne sera pas évolutif et il est condamné à ne plus rien faire d’autre.
    La solution réside dans une autre structure de code, par exemple de type producteur consommateur, avec comme producteur la structure évènementielle. Tu peux regarder dans les exemples de NI dans Fichier > nouveaux (je crois, je n’ai toujours pas LV d’ouvert !)
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Unique Key Violation While Doing Multiple Updates And Create in EJB

    Hello All,
    I am using oracle 9i and Weblogic 7.0. I have a table that has a unique key constraint on one column , say 'Col1' and i am using a CMP to read,create and update data in this table. The problem description is as follows.
    I have JTable that display the data from the above said table. The user can modify the existing data and insert new data that will be reflected in the DB using the CMP. Let us say the following are displayed
    ROW1
    Col1 : 3
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    Now the user modifies the above row and inserts a new record. Now the following will be the display
    ROW1 (Modified)
    Col1 : 4
    Col2 : 'ABC'
    Col3 : 1 (Primary key in the table)
    ROW2 (New)
    Col1 : 3
    Col2 : 'DEF'
    Col3 : 2 (Primary key in the table)
    When the above data is saved i do the following in the Code
    a) Session Bean
    For (all the data in the Jtable)
    try
    home.findByPrimaryKey(Col3);
    remote.update(Col1,Col2);
    catch(FinderException fe)
    home.create(Col1,Col2,Col3);
    When the above code is run During the first loop the update runs succesfully (i.e update old value of 3 with 4 ) but during the 2nd loop the create (i.e Insert new value 3) gives me the unique key violated exception. The following is the stack trace
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010049> <EJB Exception in method: ejbPostCreate: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:579)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2130)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2013)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2869)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
    at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:509)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.__WL_create(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1435)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.ejbPostCreate(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1353)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.ejb20.manager.DBManager.create(DBManager.java:1023)
    at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:904)
    at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:180)
    at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop_LocalHomeImpl.create(TerminalPaymentsCMP_kbdoop_LocalHomeImpl.java:73)
    at de.dl.ucs.contract.helperclasses.SubsegmentMaintanence.saveTerminalPayments(SubsegmentMaintanence.java:697)
    at de.dl.ucs.contract.controller.SubsegmentSL.saveSubsegmentDetails(SubsegmentSL.java:570)
    at de.dl.ucs.contract.controller.SubsegmentSL.processFinanceSubsegmentSave(SubsegmentSL.java:1601)
    at de.dl.ucs.contract.controller.SubsegmentSL_kgzv4j_EOImpl.processFinanceSubsegmentSave(SubsegmentSL_kgzv4j_EOImpl.java:498)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.saveSubsegmentDetails(FinanceSubsegmentBEH.java:749)
    at de.dl.ucs.contract.events.FinanceSubsegmentBEH.processEvent(FinanceSubsegmentBEH.java:232)
    at de.dl.ucs.framework.flowcontroller.ControllerBean.delegateAction(ControllerBean.java:229)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl.delegateAction(ControllerBean_riqvk4_EOImpl.java:46)
    at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010051> <EJB Exception during invocation from home: [email protected] threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
    Please help me with this, as far as i am concerned since both update and create is in the same transaction the update on the row must be visible to the create and hence there shouild not be any problem.....
    thanks in advance
    Shanki

    Hi,
    Thanks,
    There are 3 columns involved with that table . Out of whihc one is a Primary Key (string) , The other column (Number) has a unique key constraint defined on it and the last column stores a value corresponding to the 2nd column.
    The reason for me to do a create in the Finder exception is as follows.
    I Loop through the Data present in JTable. As given in the example let us assume that there are 2 rows in the JTable. Out of whihc the First row needs an updation and the second row , which is a new row needs to be created. So During the First iteration of the loop, The findermethod does not throw any exception (Because it is a modfied row) and hence the update gets fired successfully. During the second iteration , since it is a new row the findermethod will throw a finder exception and hence create will get fired.
    I understand that this is not a good coding style but then it is not 100% wrong and i need to find out as to why it is not working.
    Hope am clear in explaining my problem
    Thanks
    Shanki

  • Unique constraint violation while updating a non PK column

    Hi,
    I seem to have found this strange error.
    What I try to do is bulk fetch a cursor in some table arrays. with limit of 1000
    Then using a forall and a save exceptions at the end
    I update a table with the values inside one of the table arrays.
    The column I update is not part of a PK
    I catch the error message: ORA-24381
    by using PRAGMA exception_init(dml_errors, -24381);
    and later on :
    WHEN dml_errors THEN
    errors := SQL%BULK_EXCEPTIONS.COUNT;
    FOR i IN 1..sql%BULK_EXCEPTIONS.count LOOP
    lr_logging.parameters:= 'index = ' || sql%BULK_EXCEPTIONS(i).error_index || 'error = ' ||Sqlerrm(-sql%BULK_EXCEPTIONS(i).error_code) ;
    END LOOP;
    I insert these errors in another table. and i get 956 errors
    first one is :
    index = 3error = ORA-00001: unique constraint (.) violated
    last one is
    index = 1000error = ORA-00001: unique constraint (.) violated
    How can this be.Since i don't update in a PKcolumn.
    FULL CODE IS:
    PROCEDURE Update_corr_values( as_checkdate_from IN VARCHAR2,
    as_checkdate_until IN VARCHAR2,
    as_market IN VARCHAR2
    IS
    LS_MODULE_NAME CONSTANT VARCHAR2(30) := 'update_values';
    lr_logging recon_logging.logrec;
    CURSOR lc_update IS
    SELECT /*+ORDERED*/c.rowid,c.ralve_record_id,d.value,c.timestamp,f.value
    FROM rcx_allocated_values a,
    rcx_allocated_values b,
    meter_histories e,
    rcx_allocated_lp_value c,
    rcx_allocated_lp_value d,
    counter_values f
    WHERE a.slp_type NOT IN ('S89', 'S88', 'S10', 'S30') --AELP
    AND b.slp_type IN ('S89', 'S88') --residu
    AND a.valid_from >= to_date(as_checkdate_from,'DDMMYYYY HH24:MI')
    AND a.valid_to <= to_date(as_checkdate_until,'DDMMYYYY HH24:MI')
    AND a.market = as_market
    AND a.market = b.market
    AND a.ean_sup = b.ean_sup
    AND a.ean_br = b.ean_br
    AND a.ean_gos = b.ean_gos
    AND a.ean_dgo = b.ean_dgo
    AND a.direction = b.direction
    AND a.valid_from = b.valid_from
    AND a.valid_to = b.valid_to
    AND c.ralve_record_id = a.record_id
    AND d.ralve_record_id = b.record_id
    AND c.TIMESTAMP = d.TIMESTAMP
    AND e.ASSET_ID = 'KCF.SLP.' || a.SLP_TYPE
    --AND f.timestamp between to_date(gs_checkdate_from,'ddmmyyyy') and to_Date(as_checkdate_until,'ddmmyyyy')
    AND e.SEQ = f.MHY_SEQ
    AND f.TIMESTAMP =c.timestamp - 1/24
    ORDER BY c.rowid;
    TYPE t_value IS TABLE OF RCX_ALLOCATED_LP_VALUE.VALUE%TYPE;
    TYPE t_kcf IS TABLE OF COUNTER_VALUES.VALUE%TYPE;
    TYPE t_timestamp IS TABLE OF RCX_ALLOCATED_LP_VALUE.TIMESTAMP%TYPE;
    TYPE t_ralverecord_id IS TABLE OF RCX_ALLOCATED_LP_VALUE.RALVE_RECORD_ID%TYPE;
    TYPE t_row IS TABLE OF UROWID;
    ln_row t_row :=t_row();
    lt_value t_value := t_Value();
    lt_kcf t_kcf := t_kcf();
    lt_timestamp t_timestamp := t_timestamp();
    lt_ralve t_ralverecord_id := t_ralverecord_id();
    v_bulk NUMBER := 1000;
    val number;
    kcf number;
    ralve number;
    times date;
    dml_errors EXCEPTION;
    errors NUMBER;
    PRAGMA exception_init(dml_errors, -24381);
    BEGIN
    --setting arguments for the logging record
    lr_logging.module := LS_MODULE_NAME;
    lr_logging.context := 'INFLOW_ALL_VALUES_PARTS';
    lr_logging.logged_by := USER;
    lr_logging.parameters := 'Date time started: ' || TO_CHAR(sysdate,'DD/MM/YYYY HH24:MI');
    -- log debugs
    recon_logging.set_logging_env (TRUE, TRUE);
    recon_logging.log_event(lr_logging,'D');
    OPEN lc_update;
    LOOP
    FETCH lc_update BULK COLLECT INTO ln_row,lt_ralve,lt_value,lt_timestamp,lt_kcf LIMIT v_bulk;
    FORALL i IN NVL(lt_value.first,1)..NVL(lt_value.last,0) SAVE EXCEPTIONS
    UPDATE RCX_ALLOCATED_LP_VALUE
    SET VALUE = VALUE * lt_value(i) * lt_kcf(i)
    WHERE rowid =ln_row(i);
    COMMIT;
    lt_value.delete;
    lt_timestamp.delete;
    lt_ralve.delete;
    lt_kcf.delete;
    ln_row.delete;
    EXIT WHEN lc_update%NOTFOUND;
    END LOOP;
    CLOSE lc_update;
    recon_logging.log_event(lr_logging,'D');
    lr_logging.parameters := 'Date time ended: ' || TO_CHAR(sysdate,'DD/MM/YYYY HH24:MI');
    recon_logging.log_event(lr_logging,'D');
    --to be sure
    COMMIT;
    EXCEPTION
    WHEN dml_errors THEN
    recon_logging.set_logging_env(TRUE,TRUE);
    lr_logging.module := 'updatevalues';
    lr_logging.context := 'exception';
    lr_logging.logged_by := USER;
    lr_logging.parameters := 'in dml_errors';
    recon_logging.log_event(lr_logging);
    errors := SQL%BULK_EXCEPTIONS.COUNT;
    lr_logging.parameters:=errors;
    recon_logging.log_event(lr_logging);
    lr_logging.parameters :=('Number of errors is ' || errors);
    --DBMS_OUTPUT.PUT_LINE('Number of errors is ' || errors);
    FOR i IN 1..sql%BULK_EXCEPTIONS.count LOOP
    lr_logging.parameters:= 'index = ' || sql%BULK_EXCEPTIONS(i).error_index || 'error = ' ||Sqlerrm(-sql%BULK_EXCEPTIONS(i).error_code) ;
    recon_logging.log_event(lr_logging);
    END LOOP;
    --recon_logging.set_logging_env(TRUE,TRUE);
    --recon_logging.log_event(lr_logging);
    commit;
    WHEN OTHERS THEN
    lr_logging.module := 'updatevalues';
    lr_logging.context := 'exception';
    lr_logging.logged_by := USER;
    recon_logging.set_logging_env(TRUE,TRUE);
    lr_logging.parameters := 'in others error=' || SQLERRM;
    recon_logging.log_event(lr_logging);
    commit;--to look which is truly the last (else only commit after 1000)
    --raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    END Update_corr_values;

    Hi,
    No I didn't update a unique constraint.
    But I found out that there is a trigger that causes the unique constraint while updating in the table.
    Silly mistake.Didn't know there was a trigger there.
    Thx anyway.
    Greetz

  • Unique Index Error while running the ETL process

    Hi,
    I have Installed Oracle BI Applications 7.9.4 and Informatica PowerCenter 7.1.4. I have done all the configuration steps as specified in the Oracle BI Applications Installation and Configuration Guide. While running the ETL process from DAC for Execution Plan 'Human Resources Oracle 11.5.10' some tasks going to status Failed.
    When I checked the log files for these tasks, I found the following error
    ANOMALY INFO::: Error while executing : CREATE INDEX:W_PAYROLL_F_ASSG_TMP:W_PRL_F_ASG_TMP_U1
    MESSAGE:::java.lang.Exception: Error while execution : CREATE UNIQUE INDEX
    W_PRL_F_ASG_TMP_U1
    ON
    W_PAYROLL_F_ASSG_TMP
    INTEGRATION_ID ASC
    ,DATASOURCE_NUM_ID ASC
    ,EFFECTIVE_FROM_DT ASC
    NOLOGGING PARALLEL
    with error java.sql.SQLException: ORA-12801: error signaled in parallel query server P000
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    EXCEPTION CLASS::: java.lang.Exception
    I found some duplicate rows in the table W_PAYROLL_F_ASSG_TMP with the combination of the columns on which it is trying to create INDEX. Can anyone give me information for the following.
    1. Why it is trying to create the unique index on the combination of columns which may not be unique.
    2. Is it a problem with the data in the source database (means becoz of duplicate rows in the source system).
    How we need to fix this error. Do we need to delete the duplicate rows from the table in the data warehouse manually and re-run the ETL process or is there any other way to fix the problem.

    This query will identify the duplicate in the Warehouse table preventing the Index from being built:
    select count(*), integration_id, src_eff_from_dt from w_employee_ds group by integration_id, src_eff_from_dt having count(*)>1;
    To get the ETL to finish issue this delete to the W_EMPLOYEE_DS table:
    delete from w_employee_ds where integration_id = '2' and src_eff_from_dt ='04-JAN-91';
    To fix it so this does not happen again on another load you need to find the record in the Vision DB, it is in the PER_ALL_PEOPLE_F table. I have a Vision source and this worked:
    select rowid, person_id , LAST_NAME FROM PER_ALL_PEOPLE_F
    where EFFECTIVE_START_DATE = '04-JAN-91';
    ROWID PERSON_ID
    LAST_NAME
    AAAWXJAAMAAAwl/AAL 6272
    Kang
    AAAWXJAAMAAAwmAAAI 6272
    Kang
    AAAWXJAAMAAAwmAAA4 6307
    Lee
    delete from PER_ALL_PEOPLE_F
    where ROWID = 'AAAWXJAAMAAAwl/AAL';

  • Unique Constraint error while executing statspack.snap procedure

    The following is the error which popped up when i was trying to execute statspack.snap procedure from perfstat user:
    ORA-00001: unique constraint (PERFSTAT.STATS$LATCH_CHILDREN_PK) violated
    ORA-06512: at "PERFSTAT.STATSPACK", line 1619
    ORA-06512: at "PERFSTAT.STATSPACK", line 71
    ORA-06512: at line 1
    How could i resolve such a problem, as all the constraints and objects for this user are created while running the oracle supplied script 'spcreate.sql'.
    If any 1 knows how to handle such a situation , can come forward n please help me out.

    SQL> execute statspack.snap (i_snap_level=>10);
    ERROR at line 1:
    ORA-00001: unique constraint (PERFSTAT.STATS$LATCH_CHILDREN_PK) violated
    ORA-06512: at "PERFSTAT.STATSPACK", line 1619
    ORA-06512: at "PERFSTAT.STATSPACK", line 71
    ORA-06512: at line 1
    Cause
    -- Its because of the bug # 2384758.
    "STATSPACK.SNAP GIVES ORA-1 ON STATS$LATCH_CHILDREN_PK WHEN I_SNAP_LEVEL=>10"
    -- The STATS$LATCH_CHILDREN table has a primary key constraint on (snap_id, dbid, instance_number, latch#, child#).
    Fix
    -- This is fixed in 9.0.2 and will not be backported to earlier versions because the level 10 is not a normal level to be setting unless requested by oracle support.

  • Getting "unique constraint" error while mapping customized jsp

    Hi,
    We are implementing iStore R12 (12.1.3).
    We have customized ibeCCtdMenu.jsp, renamed it as xxibeCCtdMenu.jsp and moved it to $OA_HTML/ folder.
    Now in template manager, we are creating a new source file (xxibeCCtdMenu.jsp) under "Menu generation template".
    However when we select site and language as "All", it gives following error:
    Error in saving logical to physical mapping
    ORA-00001: unique constraint (IBE.IBE_DSP_LGL_PHYS_MAP_U2) violated in Package IBE_PhysicalMap_GRP Procedure save_physicalmap
    All sites and all language exists already exists for deliverable 7670
    How can we overcome this error? Please advise.
    Thanks,
    Vivek

    for a given combination of Site and Language, only one template can exists.
    Default file provided by Oracle is set with combination as All Sites - All Languages, and you will not be able to change it.
    Register your file with combination such as All Sites - English Language
    or <specific site>, All language.
    Then it will work fine.
    Hrishikesh

  • Unique constrain error while  importing xls data

    hello;
    Trying to importing data from Excel file into populated oracle table the following error appears."unique constraint violated"
    The index file has 8 fields.
    search for duplicate records on the Excel file did not indicated any duplications.
    Search for duplicate records on Excel file was conducted by concatenation 8 fields comprising the index file into single string.
    The new imported data differs from the populated data in 2 out of the 8 fields.
    any help?
    thanks

    Try creating an empty table just like the one into which you are importing (use CREATE TABLE table_name AS SELECT ... WHERE 1=2). Make sure it has the same constraints as the original. Then import your spreadsheet into the new table. If there are constraint violations, the duplicates are in your spreadsheet. If this works with no exceptions, you can do INSERT SELECT to copy the data into your real target table. If you now get constraint violations, this means that the spreadsheet contains data that duplicate keys in the target table (which is what I think is happening).
    Also, consider using an EXCEPTION table and the EXCEPTIONS INTO clause to find out which rows are giving you the trouble. See the SQL manual for how to use this.

  • Unique key constraint while refreshing

    We have recently set up master site using Oracle replication 9i and Replication site 8i
    Everything seems working fine so far barring three tables. For this tables we have written one procedures which are called from form. the procedure deletes the record first and insert it. We have also enabled initially deferred constraint. First time when we run the program and insert and refresh happens properly but when we run program second time insertion is reaching first at master site and deletion later. We are not able to make out any reason. please help

    We found the reason ourselves. there is one process which deletes the record and then insert the record. However this was happening both the sites, ( master site and snapshot site) this was creating the problem. For detail write me.

  • Error message 'entry pernr inexistent dans pa0003' while creating new pernr

    Hi experts,
    I created a screen for creating new HR employee (pernr). Whatever FM I used to create the new pernr from the screen there is always the error message: 'entry 1234(pernr to create) doesn't exist in pa0003' when I save it. That's why???
    Thanks!

    When you say you are creating new pernr, are you doing a new hire? You will do this through transaction PA40 that will create a pernr when you do new hire! I will ask the same thing..what FM are you using?
    Mithun

  • Gestion externe d'une boucle d'événement

    Bonjour,
    je souhaite créer une boucle d'événement dans un VI ( déclenchement sur une valeur changée dans un tableau).
    Le problème est que le taleau en question se trouve dans un autre VI.
    Pouvez vous m'indiquer une méthode pour faire le lien entre ces 2 VI.
    Merci de votre réponse.
    Résolu !
    Accéder à la solution.

    @makflai: on ne peut pas utiliser les VP pour déclencher l'evenement. Ce qu'il souhaite faire c'est pouvoir déclencher un évênement alors qu'il s'est produit dans une autre boucle. Sinon avec la VP il peut remonter les valeurs dans l'autre VI mais pas les évenements produits dessus.
    Pour cela il faut utiliser les évenements utilisateurs, il y a un exemple: Programmatically Fire events qui explique les évenements dynamiques, et l'exemple Dynamically Monitor VI's qui correspond un peu au problème. 
    Cordialement,
    Simon D.
    CLA | Certified LabVIEW Architect
    CTA | Certified TestStand Architect

  • Devalider le mode trace dans le "cleanup" après déployement de la séquence TestStand

    Bonjour,
    Sur la station de développement, je trace ma séquence de test uniquement dans le "main", la trace dans "setup" et cleanup" est dévalidée. j'ai le résultat de toutes les sous_séquences visible à la fin de l'exécution.
    Après déployement de la séquence sur un PC en production avec le moteur d'exécution de base, il se trouve que la trace continue jusqu'au "cleanup" empéchant de voir clairement le résultat des tests effectués.
    Comment dévalider la trace dans le "setup" et le "cleanup" de la séquence avec le moteur d'exécution de base?
    Merci pour votre réponse

    Hello,
    You could try calling the TS API "Execution.TracingDisabled()" and "Execution.TracingEnabled()".
    Regards
    Ray Farmer
    Bonjour,
    vous pourriez essayer d'appeler les SOLIDES TOTAUX api "Execution.TracingDisabled()" et" Execution.TracingEnabled()".  Respect
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • My MacBook Pro SAD experience: MUST READ if you are about to get 1.

    Things to clarify at the beginning: 1. im not an english native speaker so try not be too picky for my language. 2. im not a mac hater and i've own a powerbook 17 1.5g as well as a iMac G5 Here we go: 1. I've spent £2000+ to get my top spec MacBook P

  • Trusted function not reffered in PDF file - Adobe reader.

    Am failry new to Adobe scripting. I am trying to generate a jasper report of PDF file format from an online web application MY intension is to automatically save the generated report into my user's hard drive location say /C/Sample/sample.pdf I have

  • Purchase conditions

    Hi My client want to see the report on purchase order condition types wise. like in purchase orders we have condition tabs. In that we mention what are the conditions like Excise duty, vat etc. How can we capture those data in BW. Are there any stand

  • Child table data Recon is not happening

    Hi All, I have a requirement to create a custom scheduler in OIM11g, to generate recon events. -I have one parent field - which is 'required' in the RO recon mapping - Rest 5 fileds are together as one in a child table and again mentioned in RO recon

  • IPS 4260 - how to see enabled signature in CLI and CSM

    How many signatures are enabled.? Can the CSM see how many signatures are enabled? and what is the command in the CLI, where I can see how many signatures I have enabled The IPS Manager Express, it is easy to see how many are enabled. Best regard Ren