Popup only once ?? (Raised by message)

Hi there,
I have configured and coded, when a message is raised in PCUI, the message will then trigger a popup. This is OK, but when i do it the second time, and raise the message (after deleting it), the pop up doesn't appear.
But if check on the application log error list, when I click on the message, the pop up will appear. I would like this popup to appear everytime the message is raised.
Any ideas why this popup isn't showing after the first time?
Thanks,
J

Hi,
How to place data in Popup.
I want to display for input help where i can show some initiative and select them in a popup format.
Please help me.  I was able to raise popup by message but I am unable to place any data i am unable to reach the class of the popup.
thanks
Naveen

Similar Messages

  • How to use postback property for JSF to reneder a popup only once

    Hi All,
    I'm using java script function to show a JSF page as popup. I have called the javascript function on page load of another JSF page.
    How do i make sure that the popup is getting rendered only once and not everytime the page is getting refreshed .
    Can i use postback property in JSF page for this purpose ?
    Thanks in Advance.

    try postback..
            Boolean postBackValue = (Boolean)resolveExpression("#{adfFacesContext.postback}");
            Boolean defaultBooleanValue = new Boolean("false");
            if (postBackValue.equals(defaultBooleanValue)) {
      public static Object resolveExpression(String expression) {
        FacesContext ctx = FacesContext.getCurrentInstance();
        Application app = ctx.getApplication();
        ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = ctx.getELContext();
        ValueExpression valueExp = elFactory.createValueExpression(elContext,expression,Object.class);
        return valueExp.getValue(elContext);
      }

  • Invoking A popup Only Once.

    Hi Guys/Dolls
    I've got the following piece of code but it's not behaving as I expect it to - Can any of you shed some light on it for me.
    I have an executable program but prior to the main selection screen being displayed I'm asking the user to check to see if they have done the pre-work as required, done via the use of TR_POPUP_TO_CONFIRM.
    If they select Yes the program carries on as normal but when they press the back arrow key (i.e. the big green one on SAP) the popup appears again I don't want it to as they have already answered "Yes" to the pre-work question. Can any of you gurus shed any light on this as I am literally going around in circles.
    REPORT zh055rep LINE-SIZE 132 LINE-COUNT 65 NO STANDARD PAGE HEADING.
    INITIALIZATION.
      PERFORM prework_check.
    ... remainder of program
    FORM prework_check.
    Declare a static variable to show us how many times we have invoked the application.
      STATICS app_invokation TYPE i.
    Application invoked thus increment the counter.
      app_invokation = app_invokation + 1.
      IF app_invokation = 1.
      Check to see if the user has done his/her pre-work prior to proceeding.
        CALL FUNCTION 'TR_POPUP_TO_CONFIRM'
          EXPORTING
            iv_titlebar           = 'Pre Work Warning'
            iv_text_question      = ' Have you done your pre-work? check documentation'
            iv_text_button1       = 'Yes'
            iv_text_button2       = 'No'
            iv_with_cancel_button = 'X'
          IMPORTING
            ev_answer             = v_ev_answer.
        IF the answer is No or the Cancel button haul his/her *** out of the program.
          IF v_ev_answer = '2' OR v_ev_answer = 'A'.
            LEAVE.
          ENDIF.
      ENDIF.
    ENDFORM.                    " PREWORK_CHECK
    Any help would be appreciated.
    Many thanks in advance.
    Raj

    Hi!
    You can use the global sap memory to this, but the variable here are living only until you are within the transaction.
    IMPORT app_invokation FROM MEMORY ID 'ZZMY_APP_INVOKATION'.
    IF app_invokation IS INITIAL.
    MOVE 'X' TO app_invokation.
    EXPORT app_invokation TO MEMORY ID 'ZZMY_APP_INVOKATION'.
    ENDIF.
    If it is not enough, you have to store it in a Z-table, for each user maybe...
    Regards
    Tamá

  • Show popup screen only once

    Hi Friends,
    We have the following problem: our application should print some document (a Smartform) for all selected
    documents in an ALV Grid control. So the application does a loop over an internal table and calls every time
    the function for the Smartform, passing it some data to print.
    For every function call the user sees a popup screen where he/she can choose the printer, whether or not to
    print directly, print preview etc. The problem is - if the user selects 20 documents to print he/she will see
    that screen 20 times, and that's not nice. It would be better if the user saw the popup screen only once and
    the settings he chose were passed to all the calls of the smartform in the loop.
    Any idea how to do it?
    Thanks a lot in advance.

    Hi,
    Thanks a lot..  i have used in the below way....
             wa_cparam-no_open = 'X'.
              wa_cparam-no_close = 'X'.
             wa_output-tdnoprev = 'X'.
              wa_output-tddest = printer.
              AT FIRST.
                wa_cparam-no_open = ' '.
              ENDAT.
              AT LAST.
                wa_cparam-no_close = ' '.
              ENDAT.
    it is working fine but only one problem. I want to supress the pop up to enter printer name there..  i mean i want print directly, dont want that pop up to enter printer i will send that printer in my program.
    What option i have to use in the output option parameters, do i need to use control parameters option?
    Thanks,

  • Popup with window.open should arise only once onclick

    i want a popup that should arise only once onclick but i am getting that popup how many times i am clicking

    That's a JavaScript problem. This forum is about Java. Java and JavaScript don't have anything in common apart from the first 4 letters of the name and a superficial similarity in syntax.
    You'll get better help in a JavaScript forum.

  • I want Error message at last only once

    In my Vi there are total 2 types of error occurring.
    5001- missing column end in column 2 and column 4(in this example)
    5002- element 0(or any)in column 1 and 3 missing any of these parameters ) _ (
    How can we modify so it want show errors in between while vi is running and also it shows all the errors only once in the end. I tried some ways but not working, so posting if anyone knows. Thank you. There is .xls file attached to put in file path of Vi.Message Edited by Amy222000 on 04-29-2005 11:57 AM
    Attachments:
    test1.xls ‏16 KB
    find_error_each_column 2.2_temp_2.vi ‏132 KB

    My VI is trying to rearrange the 2D array that I read from test.xls file, so that each function is get separated with there data in it.
    Look over the test.xls file that I have attached. It has 2 columns. Both contains couple functions designated with ) and (. So, ACU_PGM is considered a function. I have rearranged the data so when ACU_PGM (or PGM is selected) the data following it is data for PGM before another function starts, which is KEY and 500 in this case. Same way for all other functions. Each column always ends by );
    )ACU_PGM( )CAB_INP(
    KEY WRITE
    500 50
    )ACU_DIA( 3
    DM1 0
    1010.1 )CAB_CLC(
    0 WRITE
    PROTECT 50
    DM2 3
    101.23 0
    10 NA
    NA )CAB_CRX(
    ); TEMP_1
    3
    0
    The problem with my current design is I am initializing array with 0x0 size, once it gets the 1st function it gets initialized with that same size of that function array for that entire column's fnction, so it want take more elements if 2nd function in same column have more elements like in this case. ACU_DIA has 8 elements but it will only take 2 elements as ACU_PGM has 2 in it.
    Please look over the Get_function.Vi only half portion. I have instructions in text in Vi also. I saw that columns are not lookin good after I submit the question so please open test.xlx file to see actual data Thank you.Message Edited by Amy222000 on 06-02-2005 03:08 PM
    Message Edited by Amy222000 on 06-02-2005 03:10 PM
    Attachments:
    test.xls ‏14 KB
    Get_function.vi ‏163 KB

  • Need print popup to display only once

    Hi Experts ,
    I have a customer account statement in smartform . For multiple customers the clients wants the print dialog to be displayed only once and the options mentioned in the first display to be carried for other customer accounts . Please any suggestions for the same .

    Hi,
    If using a custom print program you can achieve this using functions SSF_OPEN and SSF_CLOSE:
    [Printing Several Forms in One Print Request|http://help.sap.com/saphelp_nw70/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm]
    This way the print dialog will be displayed only once no matter how many times the smartform is called.
    Che.

  • Transition executed only once in a TableRow

    h1. SCENARIO
    h3. Model
    /* Model is a Person containing a flag active */
    class Person {
       private Boolean active = false;
       /* more fields and methods */
    h3. View
    /* The View is implemented in FXML */
    class View extends TableView<Person> {  }-----
    h3. Service backend
    class Service implements Observable {
       public void run(){
          Person person = new Person();
          person.setActive( Math.random() > 0.5 ? true : false );
          setChanged();
          notifyObservers(person);
    h3. AS IS ViewController
    /* ViewController observes the service which sends back Person with a randomly changed flag [true or false] */
    class ViewController implements Observer {
    TableView table;
    public void initialize(URL url, ResourceBundle rb){
    /* some code before */
    /* Implemented with datafx library */
    table.setRowFactory(new Callback<TableView<Person>, TableRow<Person>>() {
                @Override
                public TableRow<Person> call(TableView<Person> p) {
                    final CSSTableRow rowCell = new CSSTableRow() {
                        @Override
                        public void getCssState(List s) {
                            super.getCssState(s);
                            if(getItem() == null || s == null){
                                return;
                            if ( !((Person) getItem()).isActive() ) {
                                s.add("active");
                                FadeTransition fadeTransition = FadeTransitionBuilder.create()
                                        .duration(Duration.seconds(2))
                                        .node(this)
                                        .fromValue(0.1)
                                        .toValue(1)
                                        .build();
                                fadeTransition.play();
                    rowCell.getStyleClass().add("table-row");
                    return rowCell;
    /* some code after */
    }h4. Main Problem in AS-IS:
    <font color="green" face="courier" size="3"> The animation animates for every event occurs in the table (click on a row, hover on a row and so on) </font>
    h3. WANNA BE ViewController
    <font color="blue" face="courier" size="3">
    <li>Apply the transition when the service sends the updated Person.</li>
    <li>Apply the transition to the row which this person belongs to.</li>
    </font>
    class ViewController implements Observer {
        public void update(Observable obj, Object message) {
            if (message instanceof Person) {
                Person p = (Person) message;
    /* ----> 1. Find the row of this current person sent by service */
    /* ----> 2. Apply the transition only once in the row found */
    }Edited by: valerio.massa on 29-ago-2012 2.51

    I just dont want to raise the animation via rowfactory, is that possible?
    I would like to find a "better" (stylish) way to launch the animation (for example in the update(){} method, which is better theoretically speaking)

  • How to raise error message from PAI of oops ALV report

    Hi All,
    I have a requirement to raise error message form editable oops alv . After entering the data and then press SAVE button .
    Please help.
    Thanks in Advance

    HI SK,
    Write a Local class (Event Handeler) to handel the events. In Editable ALV once the user enter a value, CL_GUI_ALV_GRID will raise an event called DATA_CHANGED.
    1. Define and Implement a local class to handle that event.
    In the implementation of this class you need to get data from imported object to an internal table, then compare the same with the ALV output table.
    * Local Class to handler the events raised from the ALV Grid
    CLASS LCL_EVENT_HANDLER DEFINITION.
    PUBLIC SECTION.
    * Method to handel EDIT event, DATA_CHANGED of CL_GUI_ALV_GRID
      METHODS : ON_DATA_CHANGE FOR EVENT DATA_CHANGED OF CL_GUI_ALV_GRID
                           IMPORTING ER_DATA_CHANGED.
    ENDCLASS.
    * Event handler class Implementation
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
      METHOD ON_DATA_CHANGE.
        DATA : LT_MODIFY TYPE LVC_T_MODI,
                   LS_MODIFY TYPE LVC_S_MODI.
    * Copying changed data into intenal table from Object
        LT_MODIFY = ER_DATA_CHANGED->MT_MOD_CELLS.
    * Modifying the ouptut table with the changed values
        IF LT_MODIFY[] IS NOT INITIAL.
              *Compare the ALV Output table with LT_MODIFY
        ENDIF.
      ENDMETHOD.
    ENDCLASS.
    Then raise  a message on required condition in the same method.
    Note: To trigger the above method, you need to set event handler before displaying ALV (before calling method SET_TABLE_FOR_FIRST_DISPLAY)
    * Creating object for the Local event handler class
      CREATE OBJECT GR_HANDLER.
    * Set handler (call method of Event_handler) to handler Edit event
      SET HANDLER GR_HANDLER->ON_DATA_CHANGE FOR  GR_GRID.
    Regards,
    Vijay

  • How to display field value only once in REUSE_ALV_GRID_DISPLAY

    hi experts,
                   i am using REUSE_ALV_GRID_DISPLAY, for alv outpur display.but i want one of the field in output ,not to display the value which is of same, it have to be displayed only once, I mean i have a number which contains multiple line items corresponding, here i want to display the field value only once when it is repeating , for the same header number, how can i achieve it

    Hi,
    check the sample code,
    REPORT  Z_ALV.
    Database table declaration
    TABLES:
      sflight.
    Typepool declaration
    TYPE-POOLS:
      slis.
    Selection screen elements
    SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS:
      s_carrid FOR sflight-carrid.
    SELECTION-SCREEN END OF BLOCK blk_1.
    Field string to hold sflight data
    DATA:
      BEGIN OF fs_sflight ,
        carrid   TYPE sflight-carrid,      " Carrier Id
        connid   TYPE sflight-connid,      " Connection No
        fldate   TYPE sflight-fldate,      " Flight date
        seatsmax TYPE sflight-seatsmax,    " Maximum seats
        seatsocc TYPE sflight-seatsocc,    " Occupied seats
      END OF fs_sflight.
    Internal table to hold sflight data
    DATA:
      t_sflight LIKE
       STANDARD TABLE
             OF fs_sflight .
    Work variables
    DATA:
      t_fieldcat TYPE  slis_t_fieldcat_alv,
      fs_fieldcat LIKE
             LINE OF t_fieldcat.
    *START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_data_sflight.            " Getting data for display
      PERFORM create_field_cat.            " Create field catalog
      PERFORM alv_display.
    *&      Form  create_field_cat
          Subroutine to create field catalog
          There is no interface paramete
    FORM create_field_cat .
      PERFORM fill_fieldcat USING   'Carrier Id'    'CARRID'   '2'.
      PERFORM fill_fieldcat USING   'Connection No' 'CONNID'   '1'.
      PERFORM fill_fieldcat USING   'Flight Date'   'FLDATE'   '3'.
      PERFORM fill_fieldcat USING   'Maxm.Seats'    'SEATSMAX' '4'.
      PERFORM fill_fieldcat USING   'Seats Occ'     'SEATSOCC' '5'.
    ENDFORM.                                    "create_field_cat
    *&      Form  fill_fieldcat
          Subroutine to fill data to field column
         -->p_seltext      Column label
         -->p_fieldname    Fieldname of database table
         -->p_col_pos      Column position
    FORM fill_fieldcat  USING
                        p_seltext    LIKE fs_fieldcat-seltext_m
                        p_fieldname  LIKE fs_fieldcat-fieldname
                        p_col_pos    LIKE fs_fieldcat-col_pos.
      fs_fieldcat-seltext_m  = p_seltext.
      fs_fieldcat-fieldname  = p_fieldname.
      fs_fieldcat-col_pos    = p_col_pos.
      APPEND fs_fieldcat TO t_fieldcat.
      CLEAR fs_fieldcat.
    ENDFORM.                    " fill_fieldcat
    *&      Form  get_data_sflight
          Subroutine to fetch data from database table
          There is no interface parameter
    FORM get_data_sflight .
      SELECT carrid
             connid
             fldate
             seatsmax
             seatsocc
        FROM sflight
        INTO TABLE t_sflight
       WHERE carrid IN s_carrid.
    ENDFORM.                    " get_data_sflight
    *&      Form  alv_display
          Subroutine for ALV display
          There is no interface parameter
    FORM alv_display .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          it_fieldcat   = t_fieldcat
        TABLES
          t_outtab      = t_sflight
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " alv_display
    End of code

  • I am having an issue where whenever I am at the document list and do edit, to copy or delete a document the iPad locks up. Happens for both pages and numbers. Also happens on my iPhone, but only once in a while. Help.

    I am having an issue with both Pages and Numbers on my iPad. Whenever I am at the document list page and use "edit" to make a copy of a document or delete it, the iPad locks up. Happens almost every time. Also happens on my iPhone but only once in a while. Thought of completely redoing the iPad, but if it happens on the phone as well, won't help. ???

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Password self-service errors -  Password can be changed only once in a day

    Hi experts,
    We've been using password resets without issues for several months. Recently we upgraded from version 5.3 SP12 to SP14.
    I've read the CUP release note that explains that how password resets now validates against the ABAP system parameter for login/password_change_waittime.
    The errors we are experiencing happen even when the users' password is reset for the first time in a day.
    Error message:
    X Unable to reset password in the following system(s): ECDCLNT100. Password can be changed only once in a day
    Please advise if you have experienced this error, if there is a resolution, and/or if there is a way to disable the parameter check.
    FYI - We are only using password resets in our non-production systems and are not concerned with multiple daily password resets.
    Thanks.

    Hello
    Are you using PSS with a CUA system?
    Then you can try to upgrade the CUA to virsanh sp16.
    or maybe this note: 1552707
    KSM

  • Trigger Process chains only once in a day

    Hi All,
    I have a requirement where a process chain triggers on arrival of some files.Now I want this chain to trigger only once in a day even if file arrives before the start of next day.How can i acheive this.
    Reagrds,
    Raj

    Hi,
    Please use below:
    REPORT  ZCHECKPCNEW.
    TABLES : RSPCLOGCHAIN.
    DATA : IT_TAB TYPE TABLE OF RSPCLOGCHAIN,
           WA_TAB TYPE RSPCLOGCHAIN.
    FIELD-SYMBOLS <FS> LIKE LINE OF IT_TAB.
    PARAMETERS :LV_CHAIN TYPE RSPCLOGCHAIN-CHAIN_ID.
    SELECT * FROM RSPCLOGCHAIN INTO TABLE IT_TAB
    WHERE CHAIN_ID  = LV_CHAIN
    AND DATUM = SY-DATUM.
    SORT IT_TAB DESCENDING BY DATUM ZEIT.
    READ TABLE IT_TAB INDEX 1 ASSIGNING <FS>.
    IF SY-SUBRC = 0.
      IF <FS>-ZEIT < SY-UZEIT.
      MESSAGE E000(SABAPDOCU) WITH 'Error'.
      ELSE.
      MESSAGE I162(00) WITH 'Successful'.
      ENDIF.
    ELSE.
    MESSAGE I162(00) WITH 'Successful'.
    ENDIF.
    -Vikram

  • Only Once in A day

    Can anbody help me to write the code for following task
    i have to create a program Zabc which can be run only once in a day
    if you run Zabc second time you should get message that you can run this program only once in a day
    very urgent

    hi
    good
    if you are running the program manually than it is not possible to fulfill your requirement, yes if you r scheduling the job once in a day than it will run once in a day but if someone run the same report manually than you cant do anything, or if anybody from different id try to schedule the job second time in a same day than you might dispaly a error message, for that you can refer the table TBTCS which will help you to give the details of the user who has again schedule the job int he same day and by giving a condition you can display a message for the user other than your username.
    thanks
    mrutyun^

  • How to set a payload field value only once for multiple instances selected?

    The user needs to set a payload field value and then he can approve the task so the task can continue through the process, that's fine when the user selects one instance and sets the value in the task details section and then clicks the approve button, but how do we achieve the same behavior in a multiple way?, I mean the user can select multiple tasks in the workspace (in this case the details task page is not available and instead the following label appear "Multiple tasks selected") then if the user clicks the Actions drop down -> APPROVE he only gets the message "your request was processed successfully", so how can the user modify the payload field value only once for all the selected tasks so when he clicks APPROVE the value is populated in all the instances selected.
    Thanks,
    Carlos.

    In the action which displays the edit page just set the form idx value before displaying the jsp.

Maybe you are looking for

  • Logging through sockets

    Hi I'm trying to send logging information through sockets using log4j. My configuration file is : log4j.rootLogger=Debug, Socket log4j.appender.Socket=org.apache.log4j.net.SocketAppender log4j.appender.Socket.Port=12345 log4j.appender.Socket.RemoteHo

  • WebService for Document Structure (BOM)

    Hi, can someone tell me if there is a Webservices for DocumentStructures? Thanks a lot, Biagio

  • Events missing and photos in new iPhoto update

    Events missing and photos in new iPhoto update

  • Process order issue on conformation

    Hi I have conform process order through cork... at the conformation all raw material are issued automaticallt..throgh backflush... it ok.. but heer some times ... rawmaterial not available in the storage location  ..means insufficent qty  availble fo

  • Please read question of carefully how to perform in SQLplus10g (dont give ans for 11g or previous release)

    There is table called department Depno  Employee_id  salary 101         E12             1000 101         E13             1000 101         E14             3000 101         E15             5000 102         E16             4000 102         E17