To display pop up message

In a function module :
     Based on certain validation, I just want to display a pop up message with optional values "yes" and "no".
     When  "yes " is pressed ,then  some processing needs to be done else if "no " is pressed some other processing
     needs to be done.
How can i implement the logic of this pop up message requirement???? Could any one please suggest any ideas??

Hi,
You can use the Standard FM.
GOTO >SE 37>POPUP_TO_DECIDE_INFO
Accordingly you can write the respective code.
Regards
Arbind

Similar Messages

  • Display pop-up message in printed documentation - RH 10

    Hi,
    Is there a way to display a pop-up message in PDF? For example, instead of creating a hyperlink to another section for the word "sample" I would like a pop-up message to display on the PDF if the user clicks or hover on the word.
    Tried this but only works for chm file.
    Thanks!

    Sorry. This can't be done. You could have popup topics in your source that are included in the PDF output but that is it.

  • How to Display pop up message in UI

    Dear All,
    In my workflow, in a step iam using an "Activity step"(using my zmethod). In that method for one condition, in UI it should display a pop up message.
    Can anyone guide me how to do this.
    Regards
    Bhaskar

    Hi,
    Create a Z-method with the following FM. and do the corresponding binding from WF <--->Task containers. You should be able to get the comments.
    ============================
    begin_method popupreasons changing container.
    DATA: ttxwnote LIKE txw_note OCCURS 0.
    swc_get_table container 'TTXWNote' ttxwnote.
    CALL FUNCTION 'TXW_TEXTNOTE_EDIT'
      EXPORTING
        edit_mode = 'X'
      TABLES
        t_txwnote = ttxwnote.
    swc_set_table container 'TTXWNote' ttxwnote.
    end_method.
    =========================
    And while using this container element ttxwnote in further tasks / steps, it will ask you on how you want to display (format) the whole text. You can choose any option like : All lines in one paragraph, all lines each with a ENTER etc.,
    Hope this helps
    Goodluck
    venu

  • Display  Pop up message when  changing and displaying sales orders?

    Hi Friends,
    My client requirement is to display text popup during change sales order VA02 , and  Display sales order VA03.
    Pls find me a answer for this , Thanks.
    Nina.T

    Hello Nina...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types: Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    Thanks,
    Safeer Rahman

  • Display of javascript pop-up messages in NLS

    Does anyone have experience with the following condition?
    Display problems will occur on javascript pop-up messages if using English O/S Browser while the language preference for the user is set for another local language.
    Pop-up messages become unreadable as a result. We are trying to come up with a solution to avoid this.

    Ummm - I don't think you'll get much help for JavaScript here, as it is no relation to Java.

  • How to capture DB Errors and display as pop-up message

    Hi All,
    I am using Jdeveloper 11g Release 2 (11.1.2.3.0).
    In my AppModuleImpl.java, I defined a class to call PL/SQL procedure and exposed the same as Client interface. Pulled this method from data control on to a page a Button. The functionality is working fine.
    Can you suggest me, what is best way to achieve the below functionality.
    1. If there is any DB errors during PL/SQL procedure, how to catch and display the Errors / Warning in Pop-up message.
    2. How to display info message on successful completion in Pop-up.
    regards

    Hi,
    +1. If there is any DB errors during PL/SQL procedure, how to catch and display the Errors / Warning in Pop-up message.+
    Throw a custom exception that extends the JboException class.
    See:
    http://www.oracle.com/technetwork/issue-archive/2013/13-mar/o23adf-1897193.html
    http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html
    +2. How to display info message on successful completion in Pop-up.+
    Option 1.
    you can either return "true" or "false" from the method so that you can call
    OperationBinding plsqlOperationBinding = .... get access to themethod binding to invoke the PLSQL method call ....
    String result = plsqlOperationBinding.execute();
    if(result.equlasIgnoreCase("true"){
    RichPopup popup = ... get reference to popup defined on the page
    RichPopup.PopupHints hints = new RichPopup.PopupHints ();
    popup.show(hints);
    Option 2
    OperationBinding plsqlOperationBinding = .... get access to themethod binding to invoke the PLSQL method call ....
    plsqlOperationBinding.execute();
    if(plsqlOperationBinding.getErrors().size == 0){
    RichPopup popup = ... get reference to popup defined on the page
    RichPopup.PopupHints hints = new RichPopup.PopupHints ();
    popup.show(hints);
    Frank

  • Pop up message unable to display the long text

    hi i have here a situation where in my pop up message does not display the compelete text of my variable
    for example if lv_message = my name is john.
    the pop up message only displays " my name"
    MESSAGE i000 WITH lv_message. -> using this syntax, what might cause thie error?
    thanks

    Hi,
    The message variables are a maximum of 50 characters long (you can see them defined in table SYST), whereas the output from FORMAT_MESSAGE can be longer than this.  This is why the output from the function module is getting truncated when you pass it to a message variable.
    Vinod's suggestion will work, but I'm curious, why are you (presumably) passing all the details for a message (ID, Class, Type, variables) passing them to FORMAT_MESSAGE to turn them into a text string then passing this to a generic message.  Why not just issue the message directly, instead of using the function module?  If the message has long text you will lose this the way you are processing it now.
    Regards,
    Nick

  • 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

  • How can I create a pop up message in MULTILINE on WEB GUI?

    Hi Experts,
    I have gone through several thread to search if I can write pop up message in more than in one line.
    for example...
    title: continue ?
    SDD no12366
    customer name: abc ltm
    lines: 2 lines records
    gr_pers_popup = comp_controller->window_manager->create_popup_2_confirm(
                        iv_title = 'CAUTION - Continue Import ?'
                        iv_text = lv_text "'SDD-1234676; Cust - ABSOLUTE GLASS WORKS; Lines - 2'
                        iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno
        gr_pers_popup->open( ).
        gr_pers_popup->set_on_close_event( iv_event_name = 'Confirm' iv_view = me ).
    Please advise, if any work around available to display multiple line on pop_up_confirm text on WEB UI .
    Thanks in advance.

    Multiline messages cannot be shown on standard Pop Up. In case you need multiline messages then create a new view, use it as a pop up and then you can show text messages as per the business requirement.
    The blog mentioned above (http://wiki.sdn.sap.com/wiki/display/CRM/CallingCustomcomponentaspopupfromastandardcomponentinCRMWEBUI-Part+2) will definately help you
    Rg,
    Harshit

  • How to change font size and window size for a pop-up Message Window?

    Hello,
    I am trying to display a very important message to alert our tester or any user when there is an emergency and they have to stop the test they are doing. I really desire to use larger message window/fonts to do this.
    I have tried Display Message To User and converted it to SubVI, but no luck yet. I thought SubVI might work. But when it's displayed, the original Pop-up Message Window sat right on the SubVI panel. When I then clicked OK to close the Message Window, it closed the SubVI panel as well.
    Are Text Indicator and its Visible Node the only way to make this happen? If yes, could someone teach me how to pause the program execution like Display Message To User when the program is waiting for user to click OK to continue?
    Thanks So Much!
    Shun

    Hello,
    Why don't you create your own vi and customize it.
    See the attached example made for you
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    Main4.vi ‏7 KB
    messagebox.vi ‏15 KB

  • How to get a pop up message in the portal??

    Hi experts,
    I am implementing the Objective setting and appraisals and I am trying to display a pop up message when they press the review button.
    Does anyone have the code for this because it is not working as it does in R/3.
    ( I have succesfully made error messages but I need a pop up with yes or no)!!
    Thanks,

    Hi, try by doing a custom html page based on the page you're using for Performance Mgmt, then add the html+javascript code for a popup display through SE80.
    Regards

  • How to Configure a Pop Up Message in Sales Orders

    Hi,
    How can I display a message when creating or changing sales orders? I need the configuration steps for 4.6.
    Thanks,
    Sai.

    Hi,
    First you need to make an entry of your pop up message in the sales text view of the material master and when the user enters that material, he will be able to see that message. The Config part is in spro/sd/basic func/text control. You need to define the text types, access sequences and the text determ procedures.
    You have to maintain the desired text in the material master sales text editor and turn on the indicator 'Display texts during transfer' under Text control in configuration for the sales order-item for the material sales text. This will display a Pop-up message when booking orders
    Reward points if found helpfull...
    Cheers,
    Siva.

  • To display a popup message alongwith ALV grid

    Hi Experts,
    I have a requirement where I need to display data using ALV Grid. Also, in case there are any errors encountered during the data extraction I need to inform the user about it by using either a popup message or a status message stating that he needs to check the error log. To display the error log I have provided a push button which will take the user to another screen where he can see all the errors encountered.
    Can anyone please let me know as to how to accomplish the task of displaying a status message alongwith a ALV grid display?
    Looking forward to your reply.
    -Warm regards,
    Prajakta K.

    use exception handling and pop up.........
    try following in grid..
    *--Exception handling
    ENDIF .
    ENDIF .
    WHEN 'EU' .
    READ TABLE gt_list INDEX ls_selected_row-row_id .
    IF sy-subrc = 0 .
    CALL FUNCTION 'ZPOPUP_CONV_CURR_AND_DISPLAY'
    EXPORTING monun = 'EU'
    quant = gt_list-paymentsum.
    ENDIF .
    ENDCASE .
    ENDFORM .

  • Trying to make a pop up message for a loan calculator

    Yes this is very basic, but I am very basic. I am using the init() method, and paint() method "classes" as applet to make a loan calculator. I have the calculating all done, and correct, but if someone puts in a nonreal number, or an amount they want to take in less than 0 I want the pop up message tell them they are crazy. How would I create a message popup? The code below is the full code for my loan calculator.
    * Programmer: Carl Finch
    * Program: The Bank of America Loan Calculator(not affiliated with Bank of * America just a goof)
    * Date: 01/12/05
    * Purpose: Learn the paint() function, action performed function, and
    * all their "special methods"
    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import java.applet.*;
    public class Loan extends Applet implements ActionListener
    // Declare the vars
    TextField txtAmo;
    TextField txtRat;
    TextField txtMon;
    TextField txtPay;
    Button btnCal;
    public void init()
    //set the layout of the textfields, layouts, and the big o butotn.
    setLayout(null);
    txtAmo = new TextField (25);
    txtRat = new TextField(5);
    txtMon = new TextField(6);
    txtPay = new TextField(8);
    btnCal = new Button("Calculate");
    txtAmo.setBounds(145,25,80,30);
    txtRat.setBounds(145,65,80,30);
    txtMon.setBounds(145,105,80,30);
    txtPay.setBounds(145,145,80,30);
    btnCal.setBounds(145,200,80,30);
    //add all to applet
    add(txtAmo);
    add(txtRat);
    add(txtMon);
    add(txtPay);
    add(btnCal);
    btnCal.addActionListener(this);
    //Create graphics for the applet
    public void paint(Graphics g)
    // simple text displayed on applet
    g.setColor(Color.white);
    g.fillRect(0, 0, 500, 500);
    g.setColor(Color.blue);
    g.drawString("Bank of America Loan Calculator", 145, 20);
    g.setColor(Color.blue);
    g.drawString("Loan Amount",30,35);
    g.drawString("APR (%)", 30,75);
    g.drawString("Months to Repay",30,115);
    g.drawString("Monthly Payment:",30,155);
    //Adding image method
    Image money;
    money = getImage(getDocumentBase(), "money.jpg");
    g.drawImage(money, 300,50, this);
    //Action Performed
    public void actionPerformed(ActionEvent ae)
    //Declaring the vars needed.
    //try
    DecimalFormat money = new DecimalFormat("$#.00");
    double a = Double.valueOf(txtAmo.getText()).doubleValue();
    double r = Double.valueOf(txtRat.getText()).doubleValue();
    int m = Integer.parseInt(txtMon.getText().trim());
    r=r/1200;
    //The math of the monthly payment
    double p=a*r/(1-Math.pow(1/(1+r),m));
    txtPay.setText(""+money.format(p));
    /*catch(ArithmeticException error)
    //Find option for java.awt
    //Adding some error messages for the technology inleterates.
    Sorry I had to display the code, but I don't know how to do attachements

    javax.swing.JOptionPane.showMessageDialog(null, "Message here");

  • Why pop up message comes now if i use find my iphone to locate my family phone added with same id

    I was using find my iphone app to locate my kids as all my iphones were registred against one ID. They never come to know that I am locating their location and know where they are. Now I come to know that when i tried to locate them pop message comes to their phones that someone has tried to search your location. This is really not good. even if phone lost and other person can find out that we are trying to search the location. How to close this pop up messages or what is the solution?

    Once again - check that out:
    http://support.apple.com/kb/TS4006
    "With iCloud and iOS 5 or later you can locate, play a sound on, display a message on and remotely lock, or erase your iPhone, iPad, iPod touch, or Mac. If these features do not work as expected, use the troubleshooting steps below. "
    Translation: if you didn't mess up by clicking "play sound" or "display message", then your kids just got you. They already disabled location services I bet.
    Another translation if first was too subtle, there is no message if you just locating.

Maybe you are looking for

  • How to store multiple format text file in a oracle table

    Hi, I want to store a file which has multiple format for field separation so is it possible in Oracle data integrator if yes then how ..... Waiting for reply regards palash

  • Server 2012 R2 password policy

    None of the users on the domain are capable of changing their passwords. the group policy appears to be pushing out the correct policy settings which are: 24 passwords remembered max password age: 60 days min password age: 30 days  min password lengt

  • Back button page cache

    Hi I have a page where a portal report is exposed to the users. When user clicks on logout button and clicks back user able to see the report. But when refresh the same page login page is being shown. I presume the reason is caching. How to set the c

  • Spool List not available

    I am not able to see the spool when i run my program in background. I run it by executing the program in se38 choosing the option as execute in background. I am of the idea that SAP creates a spool on its own when i run any program that has a list ou

  • Delete entries in table LATP_ENQ

    Hi I have a problem with some incorrect entries in table LATP_ENQ. Dose anybody know how I am able to delete them? We are using SAP ECC 6.0 Kind Regards Anna