Noftification or warning after change of one database table field

HI
i want to send a warning or notification , when one field in a table changed with a database after update trigger and show the message to user in application layer
in more detaile
when user insert or update table1 then a trigger changes table2. and i want after this change,if the value of one attribute of table2 was equal  to a query result then it send a message to user in application layer
what can i send this message
jdeveloper 11.1.2.2.0
database 11

HI
i want to send a warning or notification , when one field in a table changed with a database after update trigger and show the message to user in application layer
in more detaile
when user insert or update table1 then a trigger changes table2. and i want after this change,if the value of one attribute of table2 was equal  to a query result then it send a message to user in application layer
what can i send this message
jdeveloper 11.1.2.2.0
database 11

Similar Messages

  • How to send  changes in the Database Table Periodically using Change Pointe

    Hi,
           How to send  changes in the Database Table to the external system Periodically using Change Pointers.
    Thanks & Regards,
    Gopi.

    That depends on what table you are referring to.

  • Processing changes in Syabse database table

    Can someone help me understand best way to process changes on a database table using XI?
    I'm crrently doing this using webmethods where webmethods generates a xml document whenever a row is inserted in a database using adapter notification mechanism. Then I can process this document by calling webservice.

    Thx Naveen,
    e.g. I insert a customer record in Sybase system, I would like that XI interface would insert same customer in SAP or another Database system and this should happen as a result in insert in Sybase table.
    Other way I can already achive this is by having XI look in a sybase table periodicaly and see if there are new rows of data added to the table since it last looked and then process those rows accordingly. I don't want to use this approach since it keeps looking at certain intervals and most of the time there won't be anything for it to process. Also when there is something to process, it will not be processed instanteneously but only when XI looks at the table next time around.
    This is whole debate about pushing data v/s polling for changes. I would like to push the info at the time data is inserted in sybase table instead of having to poll for it.
    appreciate your response.

  • To create workflow process which periodically examines one database table??

    hi.......
    plz tell me the complete details that how to create workflow process which periodically examines one database table??
    also it will send email to specific address if certain condition is not fulfilled??
    help is really appreciated
    thanks nd regards
    manish singla

    Hi,
    I'd be wary of using a WAIT activity, since this will essentially have the workflow running forever in the same SQL session. If you ever need to shutdown the database, then you would have to kill the session (or do a shutdown abort), which will rollback all the Workflow transactional data.
    I would leave the polling logic to a process outside the Workflow engine. In an Applications environment, this should be a Concurrent request. If this is standalone Workflow, then schedule something using DBMS_JOB. The job should check the database, and if necessary, initiate a new workflow to send the notification.
    If the notification does not require a response, then I would be inclined to bypass Workflow competely, and have a job which calls UTL_SMTP to send an email.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

  • Populate 2 infoobjects from One database Table

    Hi,
    I have two infoobjects INOBJ1 & INOBJ2 & one database table TABLE1(on SAP systems connected via UDI) having fields F1 F2 & description D1.
    I would like to extract data & populate either INOBJ1 or INOBJ2 with F2,D1 data based on field F1.
      Please let me know the fastest & easiest way to do this.
      Thanks & warm regards,
      Sunil

    Hi sunil,
    Write piece of ABAP code based on what condition you want..to fetch the field F2 from table1..
    Check the standard generic extractor for template..
    your case..
    select F2 D1 from table1...where F1 = "condiiton"..
    Regards
    Manga(Assign points)
    Message was edited by: Manga

  • How to Transfer Database Table Field to Data Type in XI

    Dear All,
    Dear All,
    I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
    While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
    thanks,
    RP

    Hi;
    Edit plus is a tool using which you can edit your file and make changes to it.
    You can download it from net ,just search for it on google.
    this will help you to get in the field names of the table by editing the file .
    Mudit

  • Looking for a value in a list stored in a database table field

    Hello,
    I have a field in a database table that contains a comma
    separated list on numbers. In my CFQUERY I am attempting to extract
    records from the database table where a parsed number is present in
    the comma separated list. I have tried the code below, but it is
    throwing an error.
    variables.publicationID is the number that I am looking for
    in the database table field.
    publicationList is the name of the database table field
    containing the comma separated list of numbers.
    where <cfqueryparam value="#variables.publicationID#"
    cfsqltype="cf_sql_integer"> in publicationList
    Can anybody help?
    Many thanks,
    smnbin

    The only way to do it with the data model you currently have
    is as follows:
    WHERE publicationList LIKE '#variables.publicationID#' OR
    publicationList LIKE '#variables.publicationID#,%' OR
    publicationList LIKE '%,#variables.publicationID#,%' OR
    publicationList LIKE '%,#variables.publicationID#'
    You need to check for 4 cases:
    it's the only ID in the list
    it's the first ID in the list
    it's in the middle of the list
    it's the last ID in the list.
    The better solution would be to replace this comma-delimited
    list with a mapping table, where each row in this mapping table
    contains a reference to the main table as well as a single
    publicationID.

  • Recurring meetings shifted wrongly after change of one occurrence

    Hello everybody,
    I observe an issue with instances of recurring meetings being wrongly shifted in time after changing date of one of the instances in the respective series (repeatedly and for different meetings/meeting series). It looks as if my current "distance" to UTC (including DST adjustment) is "re-applied" to the meeting instance (i.e. the meeting is shifted 2 hours forward compared to the original time; my timezone is GMT+1 and together with the current DST shift it equals to those 2 hours).
    I use Q10 (SQN100-3, SW 10.1.0.1666) together with the BB Enterprise Server (BES) connected to MS Exchange plus MS Outlook 2007 on the desktop.
    I haven't managed to discover all the dependencies and reproduce it reliably but the pattern is as follows:
    - I have a recurring meeting (typically for half a year).
    - I open one of the meeting instances in MS Outlook and change its date (e.g. move it by one week but without changing the starting and end time). An updated meeting invitation is sent to other meeting participants (I can see that it is correct in my "Sent" folder in MS Outlook and it also appears correctly in the MS Outlook calendar).
    - Other meeting participants respond to my update request (I suspect that the problem is related to processing of these responses, but I cannot prove this suspicion).
    - Later on I check my calendar (either on Q10 or MS Outlook) and realize that the meeting is wrongly shifted by 2 hours (or I don't realize it early enough and others start planning other meetings during the original timeslot since it appears free in my schedule on MS Exchange :-((( ). When checking the Sent folder in MS Outlook, there is no message about any further update of the meeting (which means that I couldn't have shifted the meeting by mistake myself, because MS Outlook 2007 simply doesn't allow you to save a meeting with changed times without sending an update request to other attendees); obviously, all the other participants still have the meeting scheduled with the right (original) time in their calendars.
    I should add that this clearly started happening after I changed my BlackBerry device to the new BB10 version - nothing similar ever happened to me with the older BB devices (and corresponding BES version).
    Anyone observing something similar? Is posting this information here sufficient for having someone from the developers having a look at this issue, or is there some other way how to pass it to the right people?
    Thanks
    Tomas

    Hi again,
    I have further analyzed the issue in order to find out dependencies on why it is shifted sometimes and sometimes not:
    First of all, I can confirm that the shift is immediately triggered by opening certain invitation responses on my BlackBerry Q10 (while opening some other invitation responses does not trigger the issue). In other words - if I check the event on BlackBerry calendar just before opening the particular response from BlackBerry Hub and right after opening it, I can observe that it moved in the meantime.
    Apart from the (so far confirmed) fact that it apparently happens only for irregular appointment instances from appointment series (as already indicated in my original submission), I have noticed that even different responses do or do not trigger the issue. In particular, I have noticed that responses from certain e-mail/calendar clients include information about the event with _wrong_ timezone information (as an example, a response from certain Windows Phone client ("PRODID=Microsoft Windows Phone") refers to "TZID=W. Europe Standard Time") and this response does _not_ trigger the issue, whereas a response coming from MS Outlook ("PRODID=Microsoft Exchange Server 2007") and correct timezone information (TZID="(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague") _does_ trigger the issue. Obviously, the main issue is that invitation response should naturally _never_ trigger any update of the original event...
    Hoping that this helps anyone to address the issue soon...
    Tomas

  • Side effect of SQl server upgrade from 2008 R2 to Server 2012, logical name of log file changed for one database

    I came to know that name has changed when I tried to shrink the file. Here is the error message I got:
    Shrink failed for LogFile "Tfs_TESTTFS_Log'. (Microsoft.SqlServer.Smo)
    Additonal information
    An exception occured while executing a Transact-SQL statement or batch.
    (Microsoft.SqlServer.COnnectionInfo)
    Could not locate file 'Tfs_TESTTFS_Log' for database 'Tfs_TESTTFS' in sys.database_files. The file 
    either does not exist, or was dropped. (Microsoft Sql Server, Error: 8995)
    This is test environment upgrade and I checked on production environment which is still on SQL 2008R2, shrink works fine.
    Please help.

    I did in place Upgrade.
    Before Upgrade
    Logical Names
    Database Name: Tfs_TESTTFS
    Database Log: Tfs_TESTTFS_Log
    After Upgrade
    Logical Names
    Database Name: Tfs_TESTTFS
    Database Log: TfsVersionControl_Log
    Thx

  • Is it possible to send email after changing an entry in table maintenance?

    Hello experts,
    I have a new requirement wherein I would send an email whenever changes are made to my z table. If os, how would I do it? Again, thank you guys for all your helpand take care!
    Message was edited by: viraylab

    Hi,
    Yes you can do it, you will have activate the events in the Table Maint. Generator and in the event you can write the code to send a mail.
    You can use EVENT 02 (After Saving to the DATABASE). You can see these in SE11 --> Table Maint
    Got Environment --> Maintenance --> Events and then you can introduce a New entry and write a Form which will fire according to the event.
    Regards,
    Ravi
    Note :Please mark the helpful answers

  • How do I copy recordsets from one database table to another?

    I am using the Database Connectivity Toolset, and would like to copy either one recordset or multiple recordsets from one Access table to a table in a different database. I would like to do it directly with the data in variant form, but I can't get it to work. I can get it to work(on a small test table) if I first convert my source variant data to a cluster, then insert that into the other database table. My real database has many items with a variety of date types. Can I copy directly variant to variant?

    Is it necessary to read all the data back into LabVIEW first? The reason I'm asking is that it is much more efficient to just use SQL statements to get the data you need and write that directly to the second database. I did a quick Google search on it and came up with lots of responses on what the correct syntax is for setting that up. Using an SQL command to copy the data back and forth is analogous to copying data from one file to another using the Copy file function rather than reading the entire contents of the file, converting the file string to the data arrays, converting back to a string, and then writing it back to another file.
    Chapter 5 of the Database Connectivity Toolset User Manual describes how to execute SQL queries.
    If you do need to actually
    see the data in LabVIEW first, then the only way to get it back into the other database is to convert those variants to LV datatypes and then cluster those values again and write them back out to the second database.

  • After creating a customizing database table 'create entries disable'

    After creating the database table i want to add fields through goto-table contents-create entries but "create entries" is in disable mode how can i resolve this?

    Dear Dileep,
    You need to go to "Delivey and Maintainence" tab there you will "Data Browser/Table Maintainence",
    Here you need to select "Display/Maintainence Allowed" in the drop down list.
    Thie will help to find the "create entrie enable".
    Thanks,
    Ananth.

  • **urgent*** -two  combo boxes  -one  database table - ***urgent**

    1. i have one html page - in that two combo boxes are there
    2. first one called--> Bank Name and second one called-->Main Branch
    3. i have a database table like BANK_MASTER(MAIN_BRANCH,BANK_NAME)
    i am giving here some data for the above table:
    (sbi-kurnool, sbi),(sbi-cadapah,sbi),(sbi-chittor,sbi),(ab-rangareddy,ab),(ab-varangal,ab) ..like that every bank has its own main branch in different location.
    MY PROBLEM:
    In HTML page, in the first combo box ie., Bank Name will display all the bank name using the table BANK_MASTER ie.,sbi,ab,cb,sbh ...... (its ok - i too get )
    main Problem: Whenever i select a particular bank name in the first combo box, the second combo box ie.,Main Branch has to display the main branches using the table Bank_Master depending on the Selected bank name from the Bank Name Combo box ( ie., if we select the sbi, it has to display all main branches of sbi's only, but not other bank's main branches)

    Hi friend,
    I had a similar situation and i tried to solve it by using XmlHttpRequest Object(used in AJAX).
    U can checkout the below example just for further reference delete
    UserForm.jsp:
    ==========
    <head>
    <script>
    var xmlHttp
    function showState(str)
    xmlHttp=GetXmlHttpObject()
    if (xmlHttp==null)
    alert ("Browser does not support HTTP Request")
    return
    var url="getState.jsp"
    url=url+"?count="+str
    url=url+"&sid="+Math.random()
    xmlHttp.onreadystatechange=stateChange
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
    function stateChange()
    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
    document.getElementById("state").innerHTML=xmlHttp.responseText
    </head>
    <body>
    <select name='country' onchange="showState(this.value)">
    <option value='india>india</option>
    </select>
    <br>
    <div id='state'>
    <select name='state' >
    <option value='-1'>pickone</option>
    </select>
    </div>
    </body>       
    getState.jsp
    ============
    <%@page language="java" import ="java.util.Hashtable" import ="java.util.Set" %>
    <%
    String country=request.getParameter("count");
    response.setContentType("text/html");
    response.setHeader("Cache-Control","no-cache");
    try{
    Hashtable ht = (Hashtable)session.getAttribute("<ATTRIBUTE_NAME>");
    String buffer="<select name='state'><option value='-1'>Pick One</option>";
    Set s=ht.keySet();
    Object keys[]=s.toArray();
    int size=keys.length;
    for(int i=0; i < size;i++){
    buffer=buffer+"<option value='"+ht.get(keys).toString()+"'>"+ht.get(keys).toString()+"</option>";
    buffer=buffer+"</select>";
    response.getWriter().println(buffer);
    catch(Exception exp){
    response.getWriter().println(exp);
    %> I think u may go upon replacing country with your Main Branch and vice versa

  • Checking of database table field and then update that field

    hello there,
    In my program I want to check the field 'XRUEM' of  database table MARV, If that field is check i.e. 'X' in table then I want to clear that field and then I have to proceed can anyone please guide  me in this.

    Chetan,
    Do you have to clear the field XRUEM from database table MARV if it is 'X'   ???
    or you just want to clear this field in the report?? Please do specify.
    To clear field from database table MARV us UPDATE command (Please be careful... one should not make changes in master tables using reports)
    To clear runtime contents of a filed in the report use CLEAR command.
    Let me know if this doesnt clear your doubt.
    Thanks.

  • Maximum length that a database table field can hold

    Hello All,
    I am creating a database table to store different values corresponding to a particular feature coming under different countries. Some of the values have to hold more than 700characters, which is basically like a paragraph. I have found that the maximum length a table field can hold is 255characters.
    Is there any way by which i can enter more than 500 characters.
    Thanks In Advance,
    Shino

    Hi,
    If the Max length that is required is 700 characters then:
    1) Isn't it possible in your case to divide the same into mutiple Fields of having 255 length each.
    2) In sap there are some tables which store whole Code like table for storing Code for reports in SAP is
        REPOSRC  But the whole code is first stored in Hexadecimal format and not in terms of direct characters.
    May be on same lines you can change the CHARACTER format and then store it and again convertt he same for further use.
    You can have look into the Table REPOSRC . May be it helps.
    Regards,
    Vishal

Maybe you are looking for

  • Logical Database - PNP, PCH, PNPCE

    Hi Experts, Im New to ABAP HR, I would like to know about the logical databases we are using . Logical Database - PNP, PCH, PNPCE, basic principles If any body cud let me know about the differences , requiremnts , associated with these Logical databs

  • How to Clear Cache for an Old Static File in Shared Components

    Hello, I am using Apex 4.1.1.00.23, HTTP Server with mod_plsql, and Oracle Database 10.2.0.5.0. My situation is as follow: I have a CSS static file in the shared components that is used in different applications. I recently modified the CSS file, but

  • Mac Mini Late 2012 OS X 10.9.4 loosing network connectivity

    I haven't found the exact issue on the forums nor outside it so I'm creating a new thread. My Late 2012 Mini started loosing network connectivity after upgrading to 10.9.4, both WiFi and Ethernet. Sometimes it takes around 5 minutes, sometimes more t

  • DYNAMIC BEHAVIOUR OF A OWB MAP..Is it possible?

    hi, i have to implement a logic which goes like this.... A ETL job will run once weekly. The JOB consists of 3 SEQUENTIAL RUNS of the SAME map. In 1st run, map will do some logic, and produce some o/p (a file o/p) In 2nd run SAME MAP will perform som

  • URL coming in bottom of page in report printout

    One doubt i have is that when i take the printout of the report from Internet Explorer(6.0), there is a URL of the report shown at the bottom. To remove this, once i have to go to Internet Explorer page setup and change the header and footer to blank