Needs pop up message to occur on screen when data ia manipulated...

Hi
In my application(forms 6i/oracle9i), I want pop up message to occur on the screen of application user A when another application user B manipulates the data. Message would be like '2 rows are updated in Branch Master'. Then there should be availabilty( currently from his screen itself) to user A to see those manipulations being done by user B.
Pop up message should occur in following cases
case 1: Just after User A log in to the Application i.e. all master data changes being done after he has logged out the application.
Case 2: During his session i.e. when he is using application, and in case there are changes to the Master Tables being done by other user.(this time pop up should come on the screen on which user is working.)
I am keeping the log of data changes in Audit_Trail_Log table through trigger.
Secondly, application keeps the login time of users in app_login_status. And logout time in app_login_logout_log table.
I hope you get my requirements. Thanks in advance.

can you try the following things:
Case 1
-- Count the number of inserts after the logout time of user
select count(*) from audit_trail_log where
statement_column like '%INSERT%'
and user<>user
and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
-- Count the number of deletions after the logout time of user
select count(*) from audit_trail_log where
statement_column like '%DELETE%'
and user<>user
and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
-- Count the number of updates after the logout time of user
select count(*) from audit_trail_log where
statement_column like '%UPDATE%'
and user<>user
and time_column>=(select max(logouttime) from app_login_logout_log where user=user);
ADD ALL THREE OF THEM. Put it in a variable. Say sum_updates
On when new form instance, write
message('Number of updates since last login : '||sum_updates);
synchronize;
Case 2
create a timer and in when timer expired trigger write the same code as in when new form instance. Put the sum in sum_updates2
find the difference diff_updates := sum_updates2-sum_updates
and in WHEN-TIMER-EXPIRED write:
if diff_updates<>0 then
message('Number of updates in the database in this session : '||diff_updates);
synchronize;
end if;
I guess, you understand the logic.
P.S : Not tested !!

Similar Messages

  • Need pop up message if vendor Credit note is already posted.

    Dear All
    I am from account payable department.
    While processing the Credit notes for a particular vendor even if the Credit note is already posted in SAP. we do not receive any pop message informing the processor that the credit note is already booked, as we get pop up while processing the invoices which is already posted.
    Kinldy assist me how can i set the SAP sytem so that i get a pop up messages for credit note also

    You can maintain the contract in source list. On creating purchase order you can go to environment-source list---there you will see the contract number, item number  and validity.  If the requirement is to see the contract number and item number can  be done in this way without any enhancement.
    REgards
    Sangeeta

  • Pop up message in custom infotype screen

    Hi Expert,
    I have one custom infotype with field zzdest ( destination airport) which show all destination airport like mumbai,delhi etc.this
    airpot are mainatin in an ztable  ZR_HR_DES. while user selecting destination some name will be wrong like mumbay instead of mumbai  in the custom table at that time it should show the pop up message that please select mumbai instead of mumbay.
    can any one suggest me how to do this.
    Regards,
    Mdaddu

    When user give a text that is not in your table, you may try to fill an internal table with similar text and then use this internal table in a popup select FM like REUSE_ALV_POPUP_TO_SELECT.
    Some way to fill the internal table
    - with leftmost part of the name removing rightmost character until you get some records (remove right most character and add wildcard til select returns some records) (will identify incomplete text or error at rightmost characters)
    - converting erroneous input to a range replacing every character by a wildcard (DO length(str)/replace sy-tabix character by wildcard and append to a range) (identify a single mistake on a character)
    - wait til SAP implements a [Levenshtein distance|http://en.wikipedia.org/wiki/Levenshtein_distance] rule in SQL...
    Remarks: why don't you use an "official" airport code like ICAO or IATA to identify an airport, a text like "Bombay",  "Mumbai", "Sahar" or even "Chhatrapati Shivaji" can refer to the same airport, and many cities have more than one airport (eg. Juhu for small private aircraft)
    Regards,
    Raymond

  • Pop up message on the variable screen in portal when report is run

    Hello
    I have a requirement to pop up a message stating " Date should not be entered before 2010 "on the variable screen of the report if date is entered before 2010 by the user when the report is run.
    Please can someone tell me how to implement this?
    thanks

    Hi Tom,
    The logic could be to include code in CMOD forat variable with ISTEP=2.
    IF I_STEP = 2.
    LOOP AT i_t_var_range into wa_t_var_range where vnam = 'Date Varaible'
    <write condition to check the year entered. First, using function module DATE_TO_PERIOD_CONVERT, extract year from Date>
    <   CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
            EXPORTING
              I_DATE               = ZT_SDT
            I_MONMIT             = 00
              I_PERIV              = 'Variant'
           IMPORTING
             E_BUPER              = zbuper
             E_GJAHR              = zbdatj this is the year entered
           EXCEPTIONS
             INPUT_FALSE          = 1
             T009_NOTFOUND        = 2
             T009B_NOTFOUND       = 3
             OTHERS               = 4>
    >
    Then check the year for the condition.
    If correct.
    exit.
    else.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'RSBBS'
    I_TYPE = 'E'
    I_NUMBER = '000'
    I_MSGV1 = 'Date should not be entered before 2010'.
    raise again.
    endif.
    endif.
    endloop.
    Hope this helps you.!
    -Pradnya

  • Pop up message in B2C ISA screen

    Hi All,
    We are using CRM 5.0 ISA application, we have a requirement to provide a pop up window in payment screen of B2C application.
    Please can you suggest whether is it possible to provide pop up window based on the payment type selected and how can this be achieved.
    Thanks
    Neha

    You can write a JavaScript function for the event.
    If I am correct, the payment type is a radiobutton. So, possibly you can use onClick event to open a popup window.
    ... on_Click = "Javascript: window.open ('<URL>','Test popup',
                 'height=250, width=250, scrollbars=yes' ); return true; " ...
    (correct the event name to onClick. SDN wouldn't let me post the correct code

  • Pop-up message 'PhotoshopElementsSyncAgent.exe- No Disk

    Please help me stop this very annoying and extremely bothersome pop-up message that occurs EVERY 30 seconds, over the top of any work [You cannot minimize it nor click on your work to bring work page to the top. I work away a lot and upon turning my computer on and going into Elements 7 I was informed of the transition to Rebel. The opt out date had already gone by. Shortly after I kept getting this annoying warning box pop-up every 30 seconds even when Elements is not running! Inside the box the note says 'There is no disk in the drive. Please insert a disk into drive\Device\Harddisk2\DR2.'    [The other day was exactly same message except Harddisk4\DR4] It is bad enough if this was just with using Elements but it is constant making work impossible and extremely frustrating that Adobe Technicians cannot be reached to and told to refer to forums! When I contacted live help I was told it was beyond their scope!! Please can I have some help so that I may use my computer for work when I am home. I don't want Rebel, I don't want to sync my photos, I have my own storage. I would also like someone from Adobe to get in touch with me. Thanks   

    Hello Steve
    The simple and quick fix is right-clicking on that little Safe icon in the system tray (near the system clock) and choose Stop Backup/Synchronization. Do you see that icon?
    Turn it on and off as needed. Did this work for you?
    Scott

  • Pop up message in Background execution

    Hello everybody!
    I created a Pop up message in AT-SELECTION-SCREEN event and it's working well in online mode. However, when I try to execute the same program in Background mode, the SE37 transaction does not show me the list at spool.
    Question: Does SAP allow the execution in background mode with pop up messages?
    Thanks!
    Michel Khouri
    Mars, Inc

    Hi,
    in at selection-screen generally we will not use the Information Message, so i think in your case it is Error message. so Obviously it will not work.
    i guess you are using error message.
    Regards
    vijay

  • How to prevent the pop-up message that displays the printer is printing? Deskjet F4280

    The pop-up message is kind-a annoying when it shows because it switches my window, i was runnig a fullscreen application then it acts like pressing ALT+TAB which interrups the fullscreen application, anyone knows how to change these settings?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/Troubleshooting+plugins
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Error occurred while writing cube data - PCon

    Hi,
    Could you help me? I have created new application, but when I try to enter and save PCon values, I get a message: "Error occurred while writing cube data.". What could be the reason? I was able to update other data forms.
    Thank you in advance

    It should work, check if this helps. Page 133 http://docs.oracle.com/cd/E12825_01/epm.111/hfm_user.pdf

  • Office Web Apps Issue - "Sorry, something went wrong" message when opening a document (any MS docx,ppt etc) in IE. With Chrome, it pops (Microsoft Office needs your permission) message and on RUN, it opens the document.

    When opening any Microsoft documents ( docx, ppt etc) in SharePoint 2013,
    Internet Explorer behavior : "Sorry, something went wrong" An unexpected error has occurred message and then nothing happens. 
    In Chrome : Pops (Microsoft Office needs your permission) message and on clicking RUN, it opens the document.
    In Firefox : the documents opens, after asking which application do you want to use to open it.
    The feature (Open Documents in Client Applications by Default) is not activate.
    Why the MS documents are not working in IE 10?

    Hi,
    According to your post, my understanding is that you failed to open Microsoft documents in SharePoint 2013.
    I recommend to Run the following PowerShell in OWA Server :
    Remove-OfficeWebAppsHost # To Remove any restriction
    Or
    New-OfficeWebAppsHost -Domain <String> # To allow specific domain Name
    In addition, you can allow OAuth via HTTP using the following commands:
    $config = (Get-SPSecurityTokenServiceConfig)
    $config.AllowOAuthOverHttp = $true
    $config.Update()
    Here are two similar articles for you to take a look at:
    http://blogs.msdn.com/b/fabdulwahab/archive/2013/10/30/office-web-apps-with-sharepoint-2013-issues.aspx
    http://stevemannspath.blogspot.in/2013/03/sharepoint-2013-office-web-apps-issue.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I need help. My ipad 2 was stuck in recovery mode. i tried to connect it to itunes and restore but after downloading the file and extracting the software there is a pop up message that says "the device is full" i dont know what to do. Its been 2 days now.

    I need help. My ipad 2 was stuck in recovery mode. i tried to connect it to itunes and restore but after downloading the file and extracting the software there is a pop up message that says "the device is full. Deleting files and emptying your recycle been will help you restore." how am i going to erase files if i can't open my ipad. i dont know what to do. Its been 2 days now. please help. thanks.

    yes i am sure. This are the exact words... "The iPad "iPad" could not be restored. The disk you are attempting to use is full. (Removing files and emptying the recycle bin will free up additional space". i tried some options, hard reset, redsnow, tinyumbrella but still it's stuck.

  • When I try and open adobe illustrator I get a pop up message saying "To open "Adobe Illustrator CS6" you need to install the legacy Java SE 6 runtime."

    When I try and open adobe illustrator I get a pop up message saying "To open “Adobe Illustrator CS6” you need to install the legacy Java SE 6 runtime." it also says "Click “More Info…” to visit the legacy Java SE 6 download website." When i click more info it transfers me to an apple page which never loads, its just a blank page. I downloaded Java SE 6 like it says it needs but it did nothing. All of my other Adobe programs such as bridge, dreamweaver, lightroom, Photoshop, indesign, and flash all work except for illustrator. What can I do to fix this?

    Go to Apple and look for the Java for OSX 2014-001 link. Download from there and install it.

  • I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."

    I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."  It hasn't, what should I do? Thanks Shawn (Irish Se7en) .

    Can you try to rename (not delete!) the folder named "YOUR_CATALOG_NAME Previews.lrdata" and restart Lightroom?

  • When backing up lightroom 4 catalog, get message "lightroom encountered an error when reading from its preview cache and needs to quit" this occurs during optimization stage of backup

    i upgraded from lightroom 4 to lightroom 5 and installed it on a separate hard drive. Initially had no problems util my computer crashed due to the failure of the drive on which Lightroom 5 was installed. Since having my computer rectified, i am unable to use lightroom 5 getting the message "lightroom encountered an error when reading from its preview cache and needs to quit"
    I can still use lightroom 4, however, i get the same message when i try to backup the catalog. This occurs during the optimisation phase of backup.
    I suspect it is related to Lightroom 5 creating a catalog from the Lightroom 4 files and cannot now locate those files or that they have been corrupted.
    Would appreciate any solutions / suggestions.

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

  • Everytime I open lightroom I get a pop up message saying "Lightroom encountered an error when reading from its preview cache and needs to quit" and it closes. Ive already tried reinstalling, nothing seems to work. Help please!

    Every time I open lightroom I get a pop up message saying "Lightroom encountered an error when reading from its preview cache and needs to quit" and it closes. Ive already tried reinstalling, nothing seems to work. Help please!

    Open the folder containing your catalog. In that folder you will find another folder with the extension .lrdata, and you need to delete that folder. After you do that, Lightroom should start normally and will create a new preview cache.

Maybe you are looking for

  • Ink carrier is not moving when printer is opened

    I have an HP Photosmart Premium Series All-In-One c309.  When I open my printer to replace the ink cartridges the ink carrier does not move out to the midle anymore. I can trick it by printing something and stopping it in the middle to remove the emp

  • Remote Collection Servers "Unavailable"

    I have a customer that has multiple remote collection servers that have been installed on "administration" pc's at remote sites. These pc's are also used by other admins (compounding the issue). The account that was used to install ZAM7.5 (inventory

  • Convert String to Intiger

    Hi All   I have got the sales order history details using following Function CHANGEDOCUMENT_READ_POSITIONS, but i have string field nedd to convert to integer,please help me how to convert this Thanks kanishka

  • Flash video pauses on partial postback

    I'm using asp.net ajax, and I notice during a partial postback that video pauses half a second while audio continues. This is consistantly half a second even if the server is busy for longer. so is this a known issue? and can you suggest a forum for

  • How can u find your lost phone if it is offline? Using find iPhone App?

    Help!!