Popup msg

Dear rich, anji, r@a and all  Experts,
i have three t-code zaa1 for create, zaa2 for change, and zaa3 display,
in zaa2 suppose i dont make any chages and click on BACk button then it directly come out from that tcode , and if i make any chages  and click on BACk button then it must show me msg box " Do you want to save ", yes, No .
how to solve this   ?
Point is assured *********************

It is possible,only thing is you need to use system variable
SY - DATAR will tell you if the user changed something on the screen
keep the condition like
when 'BACK'.
if sy-datar = 'X'.
call pop up fm
depend upon FM returns you need to update the data.
suppose user select NO,it should not update
leave to screen 0.
else.
leave to screen 0.
endif.
when 'CANC'.
when 'EXIT.
same code should applicable to EXIT,CANC Buttons.
SY-DATAR = 'X'. something is changed in screen.
Thanks
Seshu

Similar Messages

  • Background job scheduling popup msg

    Hello,
    We have a custom program calling the Function module "MRM_INVOICE_RELEASE_UPDATE".
    If we run the custom program in the foreground I'm getting a popup saying No entries made in reference field
    Now if we run the program in background, How will this be handled as there is no one to OK  the popup.
    Does this have any effect on the job?
    Regards,
    Lucky.

    Hello,
    But this is not a BDC, and it is a normal report which calls this function module.
    does this popup effect the program execution, like data wise or the time wise?
    I'm getting the Log like this in my DEV server.
    09.02.2010 06:22:04 Job started                                                                              00           516          S
    09.02.2010 06:22:04 Step 001 started (program ZFSCAN_PROCESS_GR, variant COMP_3001, user name <&&&&&>)      00           550          S
    09.02.2010 06:22:05 *No entries made in reference field *                                                      F5           866          E
    09.02.2010 06:22:06 Job finished                                                                             00           517          S
    Regards,
    Lucky

  • Event Receiver Popup msg without cancelling the Item

    Hello,
       when user updating an item, I need to show a warning message when there is no item for a particular category. But I have to allow user action to continue. I have custom error page which is working fine when I use  properties.Cancel = true;
    but it is cancelling the action.
    I tried properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl; this also cancels the action
    In simple, I don't want to cancel but need popup message.
    Thanks in advance.

    Hi
    Vijay,
    According to your description, I know you do not want to cancel action when the Event Receiver Updating method 
    throws a warning message.
    You can use
    HttpContext.Current.Response in the Event Receiver Updating method.
    HttpContext.Current.Response.Write("<script>alert('message');</script>");
    More information:
    http://blogs.msdn.com/b/sowmyancs/archive/2008/03/25/can-we-get-the-httpcontext-in-custom-event-handlers-in-sharepoint.aspx
    Best regards,
    Dennis Guo

  • When I open FF, I get a popup msg telling me to update Internet Explorer and I cannot connect to Facebook or Yahool Help!

    This is the message: WARNING! Internet Explorer is currently out of date. Please update to continue.
    I rarely use Explorer, but I did update it using the Microsoft site. I assume this is a virus but scanning with anti-virus software has not solved the problem.

    Whenever you get a message / popup that software / files need to be updated,
    <u>'''''DO NOT USE ANY OF THE PROVIDED LINKS'''''</u>.
    While this may be a legitimate message, it could also be <u>'''''Malware or a Virus'''''</u>.
    Any time you want or need to check for upgrades,
    go to the web site of the <u>'''''True Owner'''''</u> of the program in question.
    For example, to check out Firefox, go to '''''[https://www.mozilla.org Mozilla.org]'''''. {web link}
    You can sent a report to '''The FBI''' via their web site
    '''''[http://www.ic3.gov/complaint/default.aspx Internet Crime Complaint Center (IC3)]''''' {web link}
    You can also report such a site at;
    '''''[http://www.google.com/safebrowsing/report_phish/ Google Report Phishing Page]''''' {web link}
    which is the same when done while on site by going to
    '''''Help > Report Web Forgery'''''
    '''''[http://www.mozilla.org/en-US/legal/fraud-report/ Help us safeguard Mozilla’s trademarks by reporting misuse]''''' {web link}

  • Hi recently I received a popup MSG that iOS6 was available to download for my iPad. This also came with about 6 apps to download. However these Apps have now been installing for over two days, I have tried all sorts to try to stop or cancel them?

    Thought I had already posted a question re frozen installing apps offered with new iOS6?

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • How to display popup messages in webdynpro

    Hi all,
                I have an application which has continue button.if the userclicks on this button a pop has to come with the msg as "Do u want to continue" ..followed by Yes and No....
    how to show popup msgs in my webdynpro application
    Regards
    Padma N

    Hi! padma,
      please go through the following tutorial, you will get a good idea..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#23</a>
    you need to create an object of IWDConfirmationDialog and also the eventHandle.
    regards,
    Mithileshwar Sahu

  • Cash Management - Open interface - raise error

    in Cash Management - Bank Reconciliation, Open interface,
    APPS.CE_999_PKG.clear
    and
    APPS.CE_999_PKG.unclear
    i would like to check and if meet certain condition, i would like to raise error/exception, so that the Reconcile or UnReconcile can not proceed, how can I do that?
    i try to do a plsql 'raise exception', in ebs screen, show
    'FRM-40734: Internal Error: PL/SQl error occurred.'
    anyway to show the error msg in a popup msg box and/or display with more meaningful error message?

    Hi Brian,
    This is because, one payment/receipt cannot be shared by more than one bank statement line. This is why once payment/receipt is reconciled against a bank statement line, you can view this transaction only from reconciled screen.
    Regards,
    Kiran

  • How do I recheck the album artwork box which allows for me to see which albums were not able to receive album artwork?

    When I would download album artwork a popup msg would appear notifying me of all the albums that did not get album artwork.  I checked the box the opted me to not see this notifcation msg again.  Now I actually would like to see this notification.  Does anyone know how to reopt for this message notifier?

    Go to iTunes menu > Preferences > Advanced and click the "Reset all dialog warnings" button.

  • Urgent regarding credit limit

    Hi Gurus
    I have a issue regarding credit limit:
    for a customer "ABC" i have maintained a credit limit for 1000/- in FD32 now when we create a sales order of more than 1000/- for the same customer a popup MSg is comming saying amount has exeeded ...so far so good
    my issue is that the requirements should not pass to MD04 (Stock/Requirement List)
    some of the SAP gurus giving the answer  check out OVB8 and see the requirement 101, i want to know the functionality of requirement "101" and how to go about the issue ..... issue is very urgent
    Regards
    Rajesh

    HI RAJESH
              This can be  done through  go to IMG--> S&D->Basic functions>Availabililty check&transfer of requirements>Transfer of requirements-->block quantity confirmation for delivery blocks. Here u give blocking reason as credit limit,,,,,, Here u find  confirmation block,here u make tick  and save . Here the reason is that even the order is saved,requirements will not be passed to MRP     i.e requirements will not be passed to stock requirement list.
                        Award points if it is helpful for u
                       Regards
                       Prasad.G

  • Jquery/JavaScript to get current browser's name and its version

    Hi,
    I using sharepoint 2010, 
    Is it possible using Jquery/JavaScript to get current browser's name and its version.
    when my sharepoint site home page opens i need to display a popup msg of current browser name and its version.
    can anyone help me on this.
    With Regards,
    RK

    Please use the below code snippet:
    And here is the source code that performed the browser detection:
    var nVer = navigator.appVersion;
    var nAgt = navigator.userAgent;
    var browserName = navigator.appName;
    var fullVersion = ''+parseFloat(navigator.appVersion);
    var majorVersion = parseInt(navigator.appVersion,10);
    var nameOffset,verOffset,ix;
    // In Opera 15+, the true version is after "OPR/"
    if ((verOffset=nAgt.indexOf("OPR/"))!=-1) {
    browserName = "Opera";
    fullVersion = nAgt.substring(verOffset+4);
    // In older Opera, the true version is after "Opera" or after "Version"
    else if ((verOffset=nAgt.indexOf("Opera"))!=-1) {
    browserName = "Opera";
    fullVersion = nAgt.substring(verOffset+6);
    if ((verOffset=nAgt.indexOf("Version"))!=-1)
    fullVersion = nAgt.substring(verOffset+8);
    // In MSIE, the true version is after "MSIE" in userAgent
    else if ((verOffset=nAgt.indexOf("MSIE"))!=-1) {
    browserName = "Microsoft Internet Explorer";
    fullVersion = nAgt.substring(verOffset+5);
    // In Chrome, the true version is after "Chrome"
    else if ((verOffset=nAgt.indexOf("Chrome"))!=-1) {
    browserName = "Chrome";
    fullVersion = nAgt.substring(verOffset+7);
    // In Safari, the true version is after "Safari" or after "Version"
    else if ((verOffset=nAgt.indexOf("Safari"))!=-1) {
    browserName = "Safari";
    fullVersion = nAgt.substring(verOffset+7);
    if ((verOffset=nAgt.indexOf("Version"))!=-1)
    fullVersion = nAgt.substring(verOffset+8);
    // In Firefox, the true version is after "Firefox"
    else if ((verOffset=nAgt.indexOf("Firefox"))!=-1) {
    browserName = "Firefox";
    fullVersion = nAgt.substring(verOffset+8);
    // In most other browsers, "name/version" is at the end of userAgent
    else if ( (nameOffset=nAgt.lastIndexOf(' ')+1) <
    (verOffset=nAgt.lastIndexOf('/')) )
    browserName = nAgt.substring(nameOffset,verOffset);
    fullVersion = nAgt.substring(verOffset+1);
    if (browserName.toLowerCase()==browserName.toUpperCase()) {
    browserName = navigator.appName;
    // trim the fullVersion string at semicolon/space if present
    if ((ix=fullVersion.indexOf(";"))!=-1)
    fullVersion=fullVersion.substring(0,ix);
    if ((ix=fullVersion.indexOf(" "))!=-1)
    fullVersion=fullVersion.substring(0,ix);
    majorVersion = parseInt(''+fullVersion,10);
    if (isNaN(majorVersion)) {
    fullVersion = ''+parseFloat(navigator.appVersion);
    majorVersion = parseInt(navigator.appVersion,10);
    document.write(''
    +'Browser name = '+browserName+'<br>'
    +'Full version = '+fullVersion+'<br>'
    +'Major version = '+majorVersion+'<br>'
    +'navigator.appName = '+navigator.appName+'<br>'
    +'navigator.userAgent = '+navigator.userAgent+'<br>'
    VARIABLES
    DESCRIPTION
    navigator.appCodeName 
    The code name of the browser 
    (e.g. Mozilla) 
    navigator.appName
    The name of the browser 
    (e.g. Netscape or Microsoft Internet Explorer) 
    navigator.appVersion
    The browser version (e.g. 3.0 or 4.0) 
    navigator.userAgent
    The header information for the browser. 
    (e.g. Mozilla/4.0) 
    navigator.platform
    The users operating system
    (e.g. WIN32)
    http://www.w3schools.com/js/js_window_navigator.asp
    Click on Propose as Answer if the solutions works for you.

  • Simple Application - Thread problem

    Hi,
    I created a simple application, which uses a thread to check the current time..if the current time is after the "Quitting Time" then a msg is displayed telling how long its been....anyhow..as soon as i run my application the popup msg is displayed.
    here is my code:
    import java.util.Date;
    import javax.swing.JOptionPane;
    public class CountDown implements Runnable {
    private static final Date QUITTING_TIME = new Date(104, 07, 19, 9, 15);
    private Date startDate;
    private Date originalStartDate;
    public CountDown(Date startDate) {
    this.startDate = startDate;
    this.originalStartDate = new Date(startDate.getTime());
    public void startThread() {
    Thread t = new Thread(this);
    t.start();
    public void run() {
    while(startDate.before(QUITTING_TIME)) {
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e) {
    startDate.setTime(System.currentTimeMillis());
    System.out.println("Time = " + startDate);
    allDone();
    private void allDone() {       
    JOptionPane.showMessageDialog(null, calculateTimeAtWork());
    System.exit(0);
    private String calculateTimeAtWork() {
    int eHours = QUITTING_TIME.getHours();
    int eMin = QUITTING_TIME.getMinutes();
    int eSec = QUITTING_TIME.getSeconds();
    int sHours = originalStartDate.getHours();
    int sMin = originalStartDate.getMinutes();
    int sSec = originalStartDate.getSeconds();
    if (eHours >= sHours) {
    eHours = eHours - sHours;
    if (eMin >= sMin) {
    eMin = eMin - sMin;
    if (eSec >= sSec) {
    eSec = eSec - sSec;
    if (eHours == 0 && eMin == 0 && eSec == 0) {
    return "You did no work today!";
    StringBuffer sb = new StringBuffer();
    sb.append("You worked for: ");
    if (eHours > 0) {
    sb.append(eHours);
    if (eHours == 1) {
    sb.append(" hour");
    else {
    sb.append(" hours");
    sb.append(" ");
    if (eMin > 0) {
    sb.append(eMin);
    if (eMin == 1) {
    sb.append(" minute");
    else {
    sb.append(" minutes");
    sb.append(" ");
    if (eSec > 0) {
    sb.append(eSec);
    if (eSec == 1) {
    sb.append(" second");
    else {
    sb.append(" seconds");
    sb.append(" ");
    return sb.toString();
    public static void main(String[] args) {       
    Date startDate = new Date(System.currentTimeMillis());
    CountDown cd = new CountDown(startDate);
    cd.startThread();
    basically, after the thread is completely done...meaning the current time is after the "QUITTING TIME"...i want the "allDone()" method to be called.
    what's wrong with my code?
    thanks

    Probably the most obvious answer is your start date is after your quitting time. Your quitting time is on Aug 19 09:15 and today is Aug 20 so while ( startDate.before(QUITTING_TIME) will never run and allDone() will get called.
    You could have found this yourself with a simple println("start date = "+startDate);
    I also recommend you look into Calendar class, you are using deprecated constructor and method calls on java.util.Date class
    Cheers
    DB

  • Dreamweaver CS5 with August 2010 Update Applied

    I am trying to get Live View to work.  I am following the Check Magazine tutorial provided by Adobe and in Part 3 Item 6 "Preview the Page" when I select Live View I get the following popup msg - "Flash Plugin was not found.  To view Flash content in Live View install the Netscape/Firefox Flash Plugin from www.adobe.com."  When I go to the link provided it tries to install Flash version 10.1.  I have read in this forum how to do a manual install of Flash version 10.1 as the automatic install did not resolve my Live View issue.  I have completed the manual install and still get the same error when attempting to use Live View.  I have also done a restart after the Flash install was completed but still have the same problem.  Any ideas?  Thanks

    Try deleting your temporary internet files. Otherwise someone on the Flash Forum will likely be able to answer more quickly and correctly than the DW forum.
    Brad Lawryk
    Adobe Community Professional: Dreamweaver
    Northern British Columbia Adobe Usergroup: Manager
    Thompson Rivers University: Dreamweaver Instructor
    My Adobe Blog: http://blog.lawryk.com

  • Please Help-Object Required Error

    I have a page where images are displayed one at a time, with hrefs to move from one picture to the next-each of these pictures has text that I am using in a java tooltip function. When I am at the start or the end of the set of images, I get an error 'Object Expected', and 'onMouseover="popup ('Tuesday','lightyellow')" ' is highlighted in the debugger, but no other information. This only happens either at the start or the end of the set, depending on where in the set you start viewing (near the start-the first image gives the error, but not the last, or if you start near the end the last image gives the error but not the first.) The error seems to be coming out of the popup function, but I can't seem to isolate it. The relevent code is below, any input would be great.
    Thanks
    Mike
    HTML CODE
    <table height=200 width=250>
    <tr>
    <td bgColor=white colspan=2 border=1 align=center>
    <img border=0 src=i\1Hot.jpg>
    </td>
    </tr>
    <tr>
    <td align=center>
    PREVIOUS
    </td>
    <td align=center>
    NEXT
    </td>
    </tr>
    </table>
    JAVA CODE
    Xoffset=-60;
    Yoffset= 20;
    var nav,old,iex=(document.all),yyy=-1000;
    if(navigator.appName=="Netscape")
    (document.layers)?nav=true:old=true;
    if(!old)
    var skn=(nav)?document.dek:dek.style;
    if(nav)document.captureEvents(Event.MOUSEMOVE);
    document.onmousemove=get_mouse;
    function popup(msg,bak)
    var content="<TABLE WIDTH=130 BORDER=1 BORDERCOLOR=black CELLPADDING=4 CELLSPACING=0 "+
    "BGCOLOR="+bak+"><TD ALIGN=left><FONT COLOR=black SIZE=1>"+msg+"</FONT></TD></TABLE>";
    if(old)
    alert(msg);
    return;
    else
    yyy=Yoffset;
    if(nav)
    skn.document.write(content);
    skn.document.close();
    skn.visibility="visible"
    if(iex)
    document.all("dek").innerHTML=content;
    skn.visibility="visible"
    function get_mouse(e)
    var x=(nav)?e.pageX:event.x+document.body.scrollLeft;
    skn.left=x+Xoffset;
    if(nav)var y=e.pageY;
    if(iex)
    y=event.y;
    if(navigator.appVersion.indexOf("MSIE 4"))y+=document.body.scrollTop
    skn.top=y+yyy;
    }

    This is JavaScript code. JavaScript is not Java.

  • Please help on Format Mask...

    Hi everyone,
    I have few question regarding to Format Mask:
    1) I know that if u key-in the invalid format
    (ie: format: dd-mm-yyyy and I key-in 35/21/2001_
    Oracle will display the error message at the Status bar of the
    Form, can I make this error message to displayed as a popup
    msg (like alert) automatically? Or I need to do a checking on
    the error code in ON-ERROR trigger than SHOW_ALERT()?
    2) How to make a Format Mask that will format this:
    60312345678 format to (603)1234-5678
    6031234567 format to (603)1234-567
    I tried this format mask "("999")"999"-"999, it worked for the
    first one but the second one it came out as below:
    6031234567 formated to (60)3123-4567
    Is there a way to overcome this?
    Thank You
    Regards
    Wai Chong

    1.I ussually use on-error trigger at form level and check for
    the error code and use show_alert built in accordingly.
    2.Have you tried adding, if I am not mistaken, FM (fill) mode.
    It will theoretically accept anything that you type. You can
    look on the builder help on format mask topic. Or have you
    tried adding the space after the region code. This is pure
    speculation but you might want to try.
    Hope it help.

  • Where do I access Applications on my iPhone 5S?

    Where do I access Applications on my iPhone 5S?

    Thanks.  I'm trying to follow some advice from another forum posting re what to do when your Mac won't load photos from your iPhone.  The forum advice was to refresh the iPhone (which I did) and then go to Applications and hit Reset Sync or something like that.  So I'm stuck not knowing how to get past Applications.
    I think the real problem is that there is a feature on my iPhone that isn't allowing my Macbook Air access to the phone.  Sometimes when I connect it to a computer to charge I get a popup msg on the phone asking if I want to allow access.  I'd like to figure out how to access that option and select "yes" but the popup isn't appearing when I connect to my Mac.

Maybe you are looking for

  • Junk charecter in SQL Server 2000 varchar

    Hi all, My application works with both SQL Server as well as Oracle.For SQL Server 2000 to create primary key in to one table i am using UuidCreate() function which returns unique key of length 32.But in case of SQL Server 2000, it some times accepts

  • How do i undisable my ipod without i tunes

    i just got my ipod back after a year, and when i turned it on it said it was disabled for 23,500,267 minutes. i dont want to wait that long and how is it possible to even be disabled for that long?

  • For number of records

    which syntax is used to find out the no. of records in internal table

  • MiniDV - Sony vs Panasonic?

    Wow - so glad I checked this forum...almost bought a HDD camcorder this morning. I want to record and edit using iMovie, so it seems like MiniDV is the format for me, right? I've narrowed it to the SOny DCR-HC96 or the Panasonic PV-Gs80 Any thoughts

  • Setting variables during component initialization

    I am loading a component which makes a HTTPService call to get data that will then be used to set certain variables in the component.  I make the HTTPService call in an init() function (for the initialization event) and then set the variables accordi