Scrren gets refreshed after using onClientClick

Hello All,
Once again a very strange behaviour that I've noticed in an application that we are developing....
First of all, we have a set of DDLB, which generates a table....and we have set some initial conditions on the DDLB selections....
In the tableView, after the user selects a row, there is a button to open related data....But we required a pop-up only, and not navigation to next page...
So what i m doing is i write a few javascript variables equal to a few abap variables...and then use <b>window.open</b> using <b>onClientClick</b>.....
This is working fine....
But the problem is that whenever i do that, then if i try and deselect a row or do any other event, then it resets all the variables to the initial including the DDLB's and then the user needs to select everything....again...also since the itab is getting cleared....no tableView is appearing....
What i have also found is that whenever i do onClientClick, then on any event, it goes to the onCreate event, which ideally should not happen.....
Is there a way that I can set it not to do so...???Please advise....
Thanks in advance..
Tatvagna.

Hi Max,
Thanks a lot for your reply, but i did solved this one eventually....the problem is that the called page was stateless and the calling page was statefull.....
Now when i was using window.open by onClientClick, i don't know why, but the calling page was also losing its state....
Now both the pages are statefull and the issue is resolved...
Thanks,
Tatvagna.

Similar Messages

  • Selection Screen getting refreshed after execution..

    Hello All,
    I have a strange problem..
    My selection-screen values are getting refreshed after execution and come back to selection screen. I am using normal ALV Fm to display the values. Can some suggest a possible reason?
    Many thanks,
    V Nair

    No .. I have checked it..Selection variables are not getting refreshed.
    My Code Below
    REPORT  yhr_icm_exception_report.
    Type Pool declarations
    TYPE-POOLS: slis,                                     "For AlV
                sdydo,                                    "Dynamic Documents
                icon.                                     "For ICON
    Table declarations
    TABLES : yhr_icm_exp_log,                             "ICM Exceptions Log
             yhr_icm_exp_hist.                            "ICM Exception History
    Include Constants
    INCLUDE   yhr_icm_constants .                         "Program to hold constants
    Types declarations
    *-To hold return field
    TYPES: BEGIN OF ty_returntab.
            INCLUDE STRUCTURE ddshretval.                 "Interface Structure
    TYPES: END OF ty_returntab.
    *-To hold deletion records
    TYPES : BEGIN OF ty_icm_del,
               tab_name      TYPE yhr_tabname,            "Internal table name
               objid         TYPE hrobjid,                "Object ID
               begda         TYPE begda,                  "Begin Date
               otype         TYPE otype,                  "Object Type
            END OF ty_icm_del.
    *-Message details to be displayed
    TYPES : BEGIN OF ty_message,
              msgnr          TYPE  msgno,                 "System message number
              text           TYPE  yhr_icm_exp_log-msgxx, "Message Text
            END OF ty_message.
    *-To hold exception log
    TYPES : BEGIN OF ty_icm_exp_log,
             msgno           TYPE msgnr,                  "Message number
             run_id          TYPE yhr_icm_erun_id,        "Exception Run ID
             delta_id        TYPE yhr_icm_run_id,         "Run ID
             record_type     TYPE yhr_icm_exp_type,       "Record Type
             otype           TYPE yhr_otype,              "Object Type
             objid           TYPE hrobjid,                "Object ID
             begda           TYPE begda,                  "Begin Date
             msgxx           TYPE msgxx,                  "Message
             status          TYPE yhr_icm_icon,           "Status
             delta_relevance TYPE yhr_delta_rel,          "Delta Relevance
            END OF ty_icm_exp_log.
    *-To hold email attachment
    TYPES: BEGIN OF ty_attach,
               text(500)     TYPE c,                      "Text
    END OF ty_attach.
    *To hold object type & text
    TYPES :BEGIN OF ty_objid_text,
              objid          TYPE objid,                  "Object ID
              text           TYPE emnam,                  "Object Text
           END OF ty_objid_text.
    *-To hold counter values - Exp , Del & historical
    TYPES :BEGIN OF ty_count,
              exp(10)        TYPE c,                      "Exceptions
              del(10)        TYPE c,                      "Deletions
              hist(10)       TYPE c,                      "Historical Deletions
           END OF ty_count.
    *- To hold lock details
    TYPES : BEGIN OF ty_lock,
              live           TYPE c,                      "Live Callidus Program
              genr           TYPE c,                      "Generation Program
              exp            TYPE c,                      "Exception Program
            END OF ty_lock.
    Range Declarations
    RANGES :
           gr_objid          FOR hrp1001-objid,           "Range for Object ID
           gr_pernr          FOR pa0000-pernr.            "Range for Employee number
    Internal Table Declarations
    DATA : gt_records        TYPE STANDARD TABLE OF yhr_icm_exp_report,
           gt_objid_text     TYPE STANDARD TABLE OF ty_objid_text,
           gt_icm_exp_log    TYPE STANDARD TABLE OF ty_icm_exp_log,
           gt_returntab      TYPE STANDARD TABLE OF ty_returntab,
           gt_t777o          TYPE STANDARD TABLE OF t777o,
           gt_diff_tab       TYPE STANDARD TABLE OF yhr_icm_diff,
           gt_del_tab        TYPE STANDARD TABLE OF ty_icm_del, "#EC *
           gt_iattach        TYPE STANDARD TABLE OF ty_attach,
           gt_message        TYPE STANDARD TABLE OF ty_message,
           gt_fieldcat       TYPE slis_t_fieldcat_alv,
           gt_heading        TYPE slis_t_listheader,
           gt_exceptions     TYPE yhr_icm_exp_list_t,
           gt_events         TYPE slis_t_event.
    Structure Declarations
    DATA : gs_objid_text     TYPE ty_objid_text,
           gs_icm_exp_log    TYPE ty_icm_exp_log,
           gs_records        TYPE yhr_icm_exp_report,
           gs_exceptions     TYPE yhr_icm_exp_list,
           gs_count          TYPE ty_count,
           gs_fieldcat       TYPE slis_fieldcat_alv,            "#EC *
           gs_returntab      TYPE ty_returntab,
           gs_icm_exp_hist   TYPE yhr_icm_exp_hist,
           gs_iattach        TYPE ty_attach,
           gs_message        TYPE ty_message,                   "#EC *
           gs_layout         TYPE slis_layout_alv,
           gs_t777o          TYPE t777o,
           gs_lock           TYPE ty_lock.
    Constant declarations
    CONSTANTS:
           c_yes             TYPE string        VALUE 'YES',
           c_no              TYPE string        VALUE 'NO',
           c_true            TYPE c             VALUE 'X',
           c_deletions       TYPE c             VALUE 'D',
           c_delta_no        TYPE c             VALUE 'N',
           c_delta_yes       TYPE c             VALUE 'Y',
           c_historical      TYPE c             VALUE 'H',
           c_a               TYPE c             VALUE 'A',
           c_error           TYPE c             VALUE 'E',
           c_equal(2)        TYPE c             VALUE 'EQ',
           c_participants    TYPE c             VALUE 'P',
           c_include         TYPE c             VALUE 'I',
           c_position        TYPE c             VALUE 'S',
           c_organization    TYPE c             VALUE 'O',
           c_runlock         TYPE string        VALUE 'RUN_LOCK',
           c_parameter       TYPE string        VALUE 'P',
           c_selfield        TYPE string        VALUE 'SEL_FIELD' ,
           c_type            TYPE string        VALUE 'TYPE',
           c_topofpage       TYPE string        VALUE 'TOP_OF_PAGE',
           c_rectype         TYPE string        VALUE ' S_RECTYPE',
           c_objectkey       TYPE string        VALUE 'OBJECTKEY1',
           c_icon_green      TYPE string        VALUE '@08@',
           c_icon_red        TYPE string        VALUE '@0A@',
           c_icon_amber      TYPE string        VALUE '@09@',
           c_green           TYPE string        VALUE 'GREEN',
           c_amber           TYPE string        VALUE 'AMBER',
           c_red             TYPE string        VALUE 'RED',
           c_tabname         TYPE slis_tabname  VALUE 'GT_RECORDS',
           c_structname      TYPE dd02l-tabname VALUE 'YHR_ICM_EXP_REPORT' ,     
           c_siwb_wallpaper  TYPE sdydo_key     VALUE 'SIWB_WALLPAPER',
           c_user_command    TYPE slis_formname VALUE 'F01_ALV_EVENT_USER_COMMAND',
           c_genname         TYPE trdir-name    VALUE 'YHR_ICM_GENERATE_EXCEPTIONS',
           c_expname         TYPE trdir-name    VALUE 'YHR_ICM_EXCEPTION_REPORT',
           c_pf_status       TYPE slis_formname VALUE 'SET_PF_STATUS',
           c_msg_class       TYPE string        VALUE 'YHR_ICM'.
    Global Variable Declarations
    DATA:  gv_email_error    TYPE c,
           gv_email_sent     TYPE c,
           gv_exit           TYPE c.
    Selection Screen - Block I
    SELECTION-SCREEN:   BEGIN OF BLOCK b3 WITH FRAME TITLE text-s07.
    SELECT-OPTIONS:
    *-  Run ID
        s_run_id             FOR yhr_icm_exp_hist-run_id,
    *-  Exception Type
        s_rectyp             FOR yhr_icm_exp_log-record_type NO INTERVALS,
    *-  Object Type
        s_otype              FOR yhr_icm_exp_log-otype NO INTERVALS,
    *-  Object ID
        s_objid              FOR yhr_icm_exp_log-objid NO INTERVALS,
    *-  Start Date
        s_begda              FOR yhr_icm_exp_log-begda,
    *-  Message number
        s_msgno              FOR yhr_icm_exp_log-msgno,
    *-  Message Text
        s_msgxx              FOR yhr_icm_exp_log-msgxx.
    SELECT-OPTIONS:
    *- Delta Relevance
       s_relv                FOR yhr_icm_exp_log-delta_relevance NO INTERVALS.
    PARAMETERS:
    *- Long Text
       p_ltext               AS   CHECKBOX DEFAULT ' '.
    SELECTION-SCREEN:   END OF BLOCK b3.
    Selection Screen - Block II
    SELECTION-SCREEN:   BEGIN OF BLOCK b2 WITH FRAME TITLE text-s08.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(14) text-033.
    *-Sucess
    PARAMETERS:
      p_stat_s               AS CHECKBOX.                  "D11K917251
    SELECTION-SCREEN COMMENT 24(14) text-034.
    *-Warning
    PARAMETERS:
      p_stat_w               AS CHECKBOX.                  "D11K917251
    SELECTION-SCREEN COMMENT 48(15) text-035.
    PARAMETERS:
    *-Error
      p_stat_e               AS CHECKBOX .                 "D11K917251
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN:   END OF BLOCK b2.
    Selection Screen - Block III
    SELECTION-SCREEN:   BEGIN OF BLOCK b4 WITH FRAME TITLE text-s09.
    *-Email Details
    PARAMETERS:
      p_email(128)            TYPE c.
    SELECTION-SCREEN:   END OF BLOCK b4.
                 Selection Screen on value request.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_msgno-low.
      PERFORM f4_message.
                 Selection Screen Output.
    AT SELECTION-SCREEN OUTPUT.
      CHECK gt_returntab[] IS NOT INITIAL.
      REFRESH s_msgno.
      s_msgno-option = c_equal.
      s_msgno-sign = c_include.
      LOOP AT gt_returntab INTO gs_returntab.
        s_msgno-low = gs_returntab-fieldval.
        s_msgno-high = space.
        APPEND s_msgno.
      ENDLOOP.
    At Selection Screen for Validation
    AT SELECTION-SCREEN.
      CLEAR gv_email_error.
    *-Validate Object Type
      PERFORM validate_objecttype.
    *-Validate Exception ID
      PERFORM fetch_exp_header.
    *-Validate Exception Type
      PERFORM validate_exptype.
    *-Validate Message Number
      PERFORM validate_msgno.
    *-Validate Message Type
      PERFORM validate_msgtype.
    *-Validate Delta
      PERFORM validate_delta.
    *-Validate Email ID
      PERFORM validate_email USING p_email
                             CHANGING gv_email_error.
      IF gv_email_error IS NOT INITIAL.
        MESSAGE e000(yhr_icm) WITH text-027.
      ENDIF.
    Initialization
    INITIALIZATION.
    Initialization
      PERFORM initialization.
    Start Of Selection
    START-OF-SELECTION.
      CLEAR : gv_email_error,
              gv_email_sent,
              gv_exit,
              gs_lock.
    Try locking the main program
      PERFORM lock_generation_program.
      CHECK gs_lock IS INITIAL.
    *-Fetch the messages stored in table
      PERFORM fetch_item_records.
    Read object type text.
      PERFORM read_text.
    Get Object Text
      PERFORM get_object_text.
    *-Fetch the current SAP messages
      PERFORM fetch_records.
    *-Update Delta Flag
      PERFORM update_delta_flag.
    *-Compare messages in table & in SAP
      PERFORM compare_message.
    If receiver is not blank, try sending out mail
      PERFORM send_mail USING p_email.
    End Of Selection
    END-OF-SELECTION.
      IF gv_exit IS NOT INITIAL.
        EXIT.
      ENDIF.
    *-Display ALV
      PERFORM display_alv.
    *-Build the event table for ALV display
      PERFORM build_eventtab CHANGING gt_events[].
    *-Fill the layout details
      PERFORM layout_build .
    Release all locks
      PERFORM release_locks.
    *-Finally call the grid display
      PERFORM display_data.
    *&      Form  set_pf_status
          text
         -->RT_EXTAB   text
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.        "#EC *
    Set PF Status
      SET PF-STATUS 'STANDARD'.
    ENDFORM. "Set_pf_status
    *&      Form  DISPLAY_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv .
    *- Use FM to create field catalog
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = c_tabname
          i_structure_name       = c_structname
        CHANGING
          ct_fieldcat            = gt_fieldcat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 1
          OTHERS                 = 1.
      IF sy-subrc = 1.
        MESSAGE i000(yhr_icm) WITH text-001.
        EXIT.
      ENDIF.
    *- Remove SEL Field Column as it is not required
      DELETE gt_fieldcat WHERE fieldname = c_selfield.
    *-If user chooses long text, activate icon
      IF p_ltext IS INITIAL.
        LOOP AT gt_fieldcat INTO gs_fieldcat WHERE fieldname = c_type.
          gs_fieldcat-icon = c_true.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    *&      Form  BUILD_EVENTTAB
          text
         <--P_GT_EVENTS[]  text
    FORM build_eventtab CHANGING    p_events  TYPE slis_t_event.
      DATA: ls_event TYPE slis_alv_event.
    *-Get the list of event for alv
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = p_events.
    *-Add top of page event to event list
      READ TABLE p_events
            WITH KEY name = slis_ev_top_of_page
             INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_topofpage TO ls_event-form.
        APPEND ls_event TO p_events.
      ENDIF.
    ENDFORM.                    " BUILD_EVENTTAB
    *&      Form  LAYOUT_BUILD
          text
    -->  p1        text
    <--  p2        text
    FORM layout_build .
      gs_layout-zebra                = c_true.
      gs_layout-colwidth_optimize    = c_true.
      gs_layout-detail_popup         = c_true.
      gs_layout-detail_initial_lines = c_true.
      gs_layout-detail_titlebar      = text-044.
      gs_layout-box_fieldname        = c_selfield.
    ENDFORM.                    " LAYOUT_BUILD
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
    *-Display ALV display
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_user_command  = c_user_command
          i_background_id          = c_siwb_wallpaper
          i_callback_program       = sy-repid
          i_callback_pf_status_set = c_pf_status
          i_default                = c_true
          i_save                   = c_a
          is_layout                = gs_layout
          it_fieldcat              = gt_fieldcat
          it_events                = gt_events
        TABLES
          t_outtab                 = gt_records.
    ENDFORM.                    " DISPLAY_DATA
    *&      Form  FETCH_RECORDS
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_records .
      REFRESH : gt_diff_tab,
                gt_del_tab,
                gr_pernr,
                gt_exceptions.
      CLEAR:    gs_icm_exp_log.
    *-Get Employee details
      PERFORM get_person_data.
    *-Get Position Details
      PERFORM get_position_data.
    *-Get Organization Details
      PERFORM get_org_data.
    *-Get Exception current SAP exception list.
      PERFORM get_exception_list.
    *-Add deletion records
      PERFORM filter_deletions.
    ENDFORM.                    " FETCH_RECORDS
    *&      Form  top_of_page
          text
    FORM top_of_page.                                           "#EC *
      PERFORM build_comment   USING    gt_heading.
    *-Display Use FM to display Top Of Page
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = gt_heading[].
      CLEAR gt_heading.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  build_comment
          text
         -->P_HEADING  text
    FORM build_comment USING p_heading TYPE slis_t_listheader.
      DATA: ls_hline     TYPE slis_listheader,
            lv_text(120) TYPE c.
    *-Display report title
      ls_hline-typ  = c_historical.
      WRITE text-006 TO lv_text.
      ls_hline-info = lv_text.
      APPEND ls_hline TO p_heading.
      CLEAR ls_hline.
      ls_hline-typ  = c_s.
    *-Remove leading & trailing spaces
      CONDENSE : gs_count-del,  gs_count-exp,  gs_count-hist.
    *-If the count is space then pass 0
      IF gs_count-del = space.
        gs_count-del = 0.
      ENDIF.
      IF gs_count-exp = space.
        gs_count-exp = 0.
      ENDIF.
      IF gs_count-hist = space.
        gs_count-hist = 0.
      ENDIF.
      IF gs_lock IS INITIAL.
    *-Display Deletion, Exception, Historical Count
        CONCATENATE  text-037 gs_count-del
                     text-032 gs_count-exp
                     text-039 gs_count-hist
                INTO ls_hline-info SEPARATED BY space.
      ELSEIF gs_lock-live IS NOT INITIAL.
        ls_hline-info = text-007.
      ELSEIF gs_lock-genr IS NOT INITIAL.
        ls_hline-info = text-008.
      ELSEIF gs_lock-exp IS NOT INITIAL.
        ls_hline-info = text-009.
      ENDIF.
      APPEND ls_hline TO p_heading.
      CLEAR ls_hline.
    ENDFORM.                    "BUILD_COMMENT
    *&      Form  INITIALIZATION
          text
    -->  p1        text
    <--  p2        text
    FORM initialization .
    Read Previous run
    SELECT MAX( run_id )
       INTO s_run_id-low
       FROM yhr_icm_exp_hist.                                  "#EC *
    s_run_id-option = c_equal.
    s_run_id-sign = c_include.
    APPEND s_run_id.
    s_rectyp-option = c_equal.
    s_rectyp-sign = c_include.
    s_rectyp-low = c_error.
    APPEND s_rectyp.
    s_rectyp-low = c_deletions.
    APPEND s_rectyp.
      PERFORM restrict_selections.
    *Get the message from Message Class YHR_ICM
      SELECT msgnr
             text
        FROM t100
        INTO TABLE gt_message
       WHERE arbgb = c_msg_class  AND
             msgnr GT '000'.                                    "#EC *
    ENDFORM.                    " INITIALIZATION
    *&      Form  F4_MESSAGE
          text
         <--P_P_MSGNO  text
    FORM f4_message.
    F4 Help - Display all messages
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'MSGNR'
          dynpprog        = sy-cprog
          dynpnr          = sy-dynnr
          dynprofield     = 'S_MSGNR'
          window_title    = text-045
          value_org       = c_s
          multiple_choice = c_true
        TABLES
          value_tab       = gt_message
          return_tab      = gt_returntab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 1.
      IF sy-subrc = 1.
        MESSAGE i000(yhr_icm) WITH text-002.
        EXIT.
      ELSEIF sy-subrc = 2.
        MESSAGE i000(yhr_icm) WITH text-003.
        EXIT.
      ENDIF.
    ENDFORM.                    " F4_MESSAGE
    *&      Form  VALIDATE_OBJECTTYPE
          text
    -->  p1        text
    <--  p2        text
    FORM validate_objecttype .
      CHECK s_otype-low IS NOT INITIAL.
      CONDENSE s_otype-low.
    Validate object type to check whether user has entered only S, P or O
      IF  s_otype-low NE c_organization AND
            s_otype-low NE c_position AND
              s_otype-low NE c_participants  .
        MESSAGE e000(yhr_icm) WITH 'Enter either S(Position), P(Person) or O(Org Unit)'(021).
      ENDIF.
    ENDFORM.                    " VALIDATE_OBJECTTYPE
    *&      Form  VALIDATE_OBJECTTYPE
    FORM f01_alv_event_user_command USING r_ucomm LIKE sy-ucomm
                                          rs_selfield TYPE slis_selfield."#EC *
      DATA : lv_answer TYPE c,
             lt_fields TYPE STANDARD TABLE OF sval,
             ls_fields TYPE sval.
    *-Get the row user has selected in ALV list
      READ TABLE gt_records INTO gs_records INDEX rs_selfield-tabindex.
      CASE r_ucomm.
        WHEN 'DISP'.
          CASE gs_records-otype.
            WHEN 'S'.
              SET PARAMETER ID 'POT' FIELD gs_records-otype.
              SET PARAMETER ID 'PON' FIELD gs_records-objid.
              CALL TRANSACTION 'PP01_DISP' AND SKIP FIRST SCREEN.
            WHEN 'P'.
              SET PARAMETER ID 'PER' FIELD gs_records-objid.
              CALL TRANSACTION 'PA20' AND SKIP FIRST SCREEN.
            WHEN 'O'.
              SET PARAMETER ID 'POT' FIELD gs_records-otype.
              SET PARAMETER ID 'PON' FIELD gs_records-objid.
              CALL TRANSACTION 'PP01_DISP' AND SKIP FIRST SCREEN.
          ENDCASE.
        WHEN 'CHNG'.
          CASE gs_records-otype.
            WHEN 'S'.
              SET PARAMETER ID 'POT' FIELD gs_records-otype.
              SET PARAMETER ID 'PON' FIELD gs_records-objid.
              CALL TRANSACTION 'PP01' AND SKIP FIRST SCREEN.
            WHEN 'P'.
              SET PARAMETER ID 'PER' FIELD gs_records-objid.
              CALL TRANSACTION 'PA30' AND SKIP FIRST SCREEN.
            WHEN 'O'.
              SET PARAMETER ID 'POT' FIELD gs_records-otype.
              SET PARAMETER ID 'PON' FIELD gs_records-objid.
              CALL TRANSACTION 'PP01' AND SKIP FIRST SCREEN.
          ENDCASE.
        WHEN 'EMAIL'.
    *-    Check whether email has already been sent
          IF  gv_email_sent = c_true.
    *-      If yes, then display pop up to confirm for mailing again
            CALL FUNCTION 'POPUP_TO_CONFIRM'
              EXPORTING
                text_question  = text-041
                text_button_1  = text-042
                text_button_2  = text-043
              IMPORTING
                answer         = lv_answer
              EXCEPTIONS
                text_not_found = 1
                OTHERS         = 1.
            IF sy-subrc = 1.
              MESSAGE i000(yhr_icm) WITH text-004.
              EXIT.
            ENDIF.
    *-     Continue only if user has selected Yes
            CHECK lv_answer = '1'.
          ENDIF.
    *-      Add Email Field & Table
          ls_fields-tabname = 'SZA5_D0700'.
          ls_fields-fieldname =  'SMTP_ADDR'.
          APPEND ls_fields TO lt_fields.
    *-      Use FM to get new Email ID
          CALL FUNCTION 'POPUP_GET_VALUES'
            EXPORTING
              popup_title     = text-s09
              start_column    = '5'
              start_row       = '5'
            TABLES
              fields          = lt_fields
            EXCEPTIONS
              error_in_fields = 1
              OTHERS          = 1.
          IF sy-subrc = 1.
            MESSAGE i000(yhr_icm) WITH text-004.
            EXIT.
          ENDIF.
    *-    Get the Email user has entered
          READ TABLE lt_fields INTO ls_fields INDEX 1.
    *-      Validate Email ID
          PERFORM validate_email USING ls_fields-value
                         CHANGING gv_email_error.
    *-    If the flag is not initial, indicates possible error
          IF  gv_email_error IS NOT INITIAL.
            MESSAGE i000(yhr_icm) WITH text-027.
            EXIT.
          ELSE.
          If no error, then try ending email
            PERFORM send_mail USING ls_fields-value.
          ENDIF.
        WHEN 'REFRESH'.
    *-    Fetch the current SAP messages
          PERFORM fetch_records.
    *-    Update Delta Flag
          PERFORM update_delta_flag.
    *-    Compare messages in table & in SAP
          PERFORM compare_message.
    *-    Refresh alv which is already displayed
          rs_selfield-refresh = c_true.
      ENDCASE.
    ENDFORM.                    "F01_ALV_EVENT_USER_COMMAND
    *&      Form  RESTRICT_SELECTIONS
          text
    -->  p1        text
    <--  p2        text
    FORM restrict_selections .
      TYPE-POOLS sscr.
      STATICS: lt_restrict TYPE sscr_restrict,
               lt_opt_list TYPE sscr_opt_list,
               ls_***      TYPE sscr_***.
    Restrict the wage type selection so the user can only enter
    values with the 'EQ' clause.
      CLEAR lt_opt_list.
      MOVE c_objectkey TO lt_opt_list.
      MOVE c_true TO: lt_opt_list-options-eq,
                      lt_opt_list-options-bt,
                      lt_opt_list-options-cp,
                      lt_opt_list-options-eq,
                      lt_opt_list-options-ge,
                      lt_opt_list-options-gt,
                      lt_opt_list-options-le,
                      lt_opt_list-options-lt.
      APPEND lt_opt_list TO lt_restrict-opt_list_tab.
      MOVE: c_s         TO ls_***-kind,
            c_rectype   TO ls_***-name,
            c_include         TO ls_***-sg_main,
            space       TO ls_***-sg_addy,
            c_objectkey TO ls_***-op_main.
      APPEND ls_***     TO lt_restrict-***_tab.
    *-Restrict the values OTYPE
      MOVE  'S_OTYPE'    TO ls_***-name.
      APPEND ls_***      TO lt_restrict-***_tab.
    *-Restrict the values OBJID
      MOVE    'S_OBJID'  TO ls_***-name.
      APPEND ls_***      TO lt_restrict-***_tab.
    *-Use FM to restrict the values
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          restriction = lt_restrict.
    ENDFORM.                    " RESTRICT_SELECTIONS
    *&      Form  GET_PERSON_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM get_person_data .
      DATA : lt_del_tab TYPE STANDARD TABLE OF yhr_icm_diff.
      SORT gt_icm_exp_log BY msgno .
      gr_pernr-sign = c_include.
      gr_pernr-option = c_equal.
      LOOP AT gt_icm_exp_log INTO gs_icm_exp_log WHERE otype = c_participants AND
                                                       record_type = c_error.
    *-  Sort the table based on msgno and collect pernr
        gr_pernr-sign = c_include.
        gr_pernr-option = c_equal.
        gr_pernr-low = gs_icm_exp_log-objid.
        APPEND gr_pernr.
        CLEAR gr_pernr-low.
        AT END OF msgno.                                        "#EC *
    *-    For the list of Pernr having same PERNR get the current exp details
          IF  gs_icm_exp_log-msgno = c_msg_100.
    *-      Export the pernr list to memory id & import in the below FM
    *-      Selection of records should be based on values exported from here
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0001'.
          Get Org Assignment 0001 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0001_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
        ELSEIF  gs_icm_exp_log-msgno = c_msg_101. "Y_HR_DIFF_PERNR_0001_ORG_DATA
          ELSEIF  gs_icm_exp_log-msgno = c_msg_102 .
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0000'.
          Get Actions 0000 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0000_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_103.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0002'.
          Get Personal Details 0002 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0002_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_104.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0004'.
          Get Disability 0004 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0004_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_105.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0006'.
          Get Addresses 0006 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0006_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_106.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0007'.
          Get Planned Time 0007 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0007_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_107.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0016'.
          Get Contract Element 0016 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0016_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_108.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0077'.
          Get Additional Personal 0077 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0077_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_109 .
            EXPORT gr_pernr TO MEMORY ID 'PERNR_0105'.
          Get Communications 0105 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_0105_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda
                refresh      = space
                UPDATE       = space
              TABLES
                diff_tab     = gt_diff_tab
                del_tab      = lt_del_tab.
          ELSEIF  gs_icm_exp_log-msgno = c_msg_110.
            EXPORT gr_pernr TO MEMORY ID 'PERNR_2001'.
          Get Absences 2001 Data
            CALL FUNCTION 'Y_HR_DIFF_PERNR_2001_DATA'
              EXPORTING
                period_begda = gs_icm_exp_hist-begda
                period_endda = gs_icm_exp_hist-endda

  • Why my macbook pro getting hot after using it 10 mins

    in these days, i fond my new macbook pro would get hot after using it 10 mins

    Hi kifan lin,
    If you have concerns about the temperature of your MacBook Pro, you may find the following article helpful:
    Mac notebooks: Operating temperature
    http://support.apple.com/kb/HT1778
    Regards,
    - Brenden

  • [SOLVED] Getting freezes after using dwm for some time and exiting it

    Hello, I have an Asus Ux51, with a fresh (less than a month) arch installation. If I recall correctly I had a couple of freezes in other occasions but I don't remember much about those so I rather focus on the only freeze I can more or less reproduce and I've been having lately. After using dwm for some time with a couple of programs opened (rTorrent, browser, and some terminals for instance), if I close dwm or just press the power button to shut down, it starts closing everything and either stays with a black screen, or hangs while X prints the log information. It's not always though, for example, if I just boot it, open dwm and close it without giving it much use it usually closes fine.
    Tried googling a bit to see the usual ways to troubleshoot this but didn't get really far.
    This is my /var/log/Xorg.0.log
    [ 7.573]
    X.Org X Server 1.14.2
    Release Date: 2013-06-25
    [ 7.573] X Protocol Version 11, Revision 0
    [ 7.573] Build Operating System: Linux 3.9.7-1-ARCH x86_64
    [ 7.574] Current Operating System: Linux arch 3.10.3-1-ARCH #1 SMP PREEMPT Fri Jul 26 11:26:59 CEST 2013 x86_64
    [ 7.574] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=74e92d67-41b6-4911-8ceb-009ae8c9cdab ro quiet add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 "acpi_osi=!Windows 2012"
    [ 7.574] Build Date: 01 July 2013 10:48:42AM
    [ 7.574]
    [ 7.574] Current version of pixman: 0.30.0
    [ 7.574] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 7.574] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 7.574] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 10 19:08:34 2013
    [ 7.574] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 7.575] (==) No Layout section. Using the first Screen section.
    [ 7.575] (==) No screen section available. Using defaults.
    [ 7.575] (**) |-->Screen "Default Screen Section" (0)
    [ 7.575] (**) | |-->Monitor "<default monitor>"
    [ 7.575] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 7.575] (==) Automatically adding devices
    [ 7.575] (==) Automatically enabling devices
    [ 7.575] (==) Automatically adding GPU devices
    [ 7.578] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 7.578] Entry deleted from font path.
    [ 7.578] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 7.578] Entry deleted from font path.
    [ 7.578] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 7.578] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 7.578] Entry deleted from font path.
    [ 7.578] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 7.578] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/
    [ 7.578] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 7.578] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 7.578] (II) Loader magic: 0x7fdc20
    [ 7.578] (II) Module ABI versions:
    [ 7.578] X.Org ANSI C Emulation: 0.4
    [ 7.578] X.Org Video Driver: 14.1
    [ 7.578] X.Org XInput driver : 19.1
    [ 7.578] X.Org Server Extension : 7.0
    [ 7.578] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 7.579] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 7.580] (--) PCI:*(0:0:2:0) 8086:0166:1043:15a7 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
    [ 7.580] (--) PCI: (0:1:0:0) 10de:0fd1:1043:15a7 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 7.580] Initializing built-in extension Generic Event Extension
    [ 7.580] Initializing built-in extension SHAPE
    [ 7.580] Initializing built-in extension MIT-SHM
    [ 7.580] Initializing built-in extension XInputExtension
    [ 7.580] Initializing built-in extension XTEST
    [ 7.580] Initializing built-in extension BIG-REQUESTS
    [ 7.580] Initializing built-in extension SYNC
    [ 7.580] Initializing built-in extension XKEYBOARD
    [ 7.580] Initializing built-in extension XC-MISC
    [ 7.580] Initializing built-in extension SECURITY
    [ 7.580] Initializing built-in extension XINERAMA
    [ 7.580] Initializing built-in extension XFIXES
    [ 7.580] Initializing built-in extension RENDER
    [ 7.581] Initializing built-in extension RANDR
    [ 7.581] Initializing built-in extension COMPOSITE
    [ 7.581] Initializing built-in extension DAMAGE
    [ 7.581] Initializing built-in extension MIT-SCREEN-SAVER
    [ 7.581] Initializing built-in extension DOUBLE-BUFFER
    [ 7.581] Initializing built-in extension RECORD
    [ 7.581] Initializing built-in extension DPMS
    [ 7.581] Initializing built-in extension X-Resource
    [ 7.581] Initializing built-in extension XVideo
    [ 7.581] Initializing built-in extension XVideo-MotionCompensation
    [ 7.582] Initializing built-in extension XFree86-VidModeExtension
    [ 7.583] Initializing built-in extension XFree86-DGA
    [ 7.583] Initializing built-in extension XFree86-DRI
    [ 7.584] Initializing built-in extension DRI2
    [ 7.584] (II) LoadModule: "glx"
    [ 7.585] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 7.586] (II) Module glx: vendor="X.Org Foundation"
    [ 7.586] compiled for 1.14.2, module version = 1.0.0
    [ 7.586] ABI class: X.Org Server Extension, version 7.0
    [ 7.586] (==) AIGLX enabled
    [ 7.587] Loading extension GLX
    [ 7.587] (==) Matched intel as autoconfigured driver 0
    [ 7.587] (==) Matched nouveau as autoconfigured driver 1
    [ 7.587] (==) Matched nvidia as autoconfigured driver 2
    [ 7.587] (==) Matched nv as autoconfigured driver 3
    [ 7.587] (==) Matched intel as autoconfigured driver 4
    [ 7.587] (==) Matched vesa as autoconfigured driver 5
    [ 7.587] (==) Matched modesetting as autoconfigured driver 6
    [ 7.587] (==) Matched fbdev as autoconfigured driver 7
    [ 7.587] (==) Assigned the driver to the xf86ConfigLayout
    [ 7.587] (II) LoadModule: "intel"
    [ 7.588] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 7.592] (II) Module intel: vendor="X.Org Foundation"
    [ 7.592] compiled for 1.14.2, module version = 2.21.12
    [ 7.592] Module class: X.Org Video Driver
    [ 7.592] ABI class: X.Org Video Driver, version 14.1
    [ 7.592] (II) LoadModule: "nouveau"
    [ 7.592] (WW) Warning, couldn't open module nouveau
    [ 7.592] (II) UnloadModule: "nouveau"
    [ 7.592] (II) Unloading nouveau
    [ 7.592] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 7.592] (II) LoadModule: "nvidia"
    [ 7.592] (WW) Warning, couldn't open module nvidia
    [ 7.592] (II) UnloadModule: "nvidia"
    [ 7.592] (II) Unloading nvidia
    [ 7.592] (EE) Failed to load module "nvidia" (module does not exist, 0)
    [ 7.592] (II) LoadModule: "nv"
    [ 7.592] (WW) Warning, couldn't open module nv
    [ 7.592] (II) UnloadModule: "nv"
    [ 7.592] (II) Unloading nv
    [ 7.592] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 7.592] (II) LoadModule: "vesa"
    [ 7.593] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [ 7.593] (II) Module vesa: vendor="X.Org Foundation"
    [ 7.593] compiled for 1.14.0, module version = 2.3.2
    [ 7.593] Module class: X.Org Video Driver
    [ 7.593] ABI class: X.Org Video Driver, version 14.1
    [ 7.593] (II) LoadModule: "modesetting"
    [ 7.593] (WW) Warning, couldn't open module modesetting
    [ 7.593] (II) UnloadModule: "modesetting"
    [ 7.593] (II) Unloading modesetting
    [ 7.593] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 7.593] (II) LoadModule: "fbdev"
    [ 7.593] (WW) Warning, couldn't open module fbdev
    [ 7.593] (II) UnloadModule: "fbdev"
    [ 7.593] (II) Unloading fbdev
    [ 7.593] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 7.593] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), HD Graphics, HD Graphics 4600,
    Haswell Desktop (GT3), HD Graphics, HD Graphics 4600,
    Haswell Mobile (GT3), HD Graphics, HD Graphics P4600/P4700,
    Haswell Server (GT3), Haswell (GT1), Haswell (GT2), Haswell (GT3),
    HD Graphics, Haswell (GT2), Haswell (GT3), Haswell SDV Desktop (GT1),
    Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT3),
    Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
    Haswell SDV Mobile (GT3), Haswell SDV Server (GT1),
    Haswell SDV Server (GT2), Haswell SDV Server (GT3),
    Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
    Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
    Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
    Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4400,
    HD Graphics 5000, Haswell ULT Server (GT1), Haswell ULT Server (GT2),
    Iris(TM) Graphics 5100, Haswell ULT (GT1), Haswell ULT (GT2),
    Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4200,
    Iris(TM) Graphics 5100, Haswell CRW Desktop (GT1), HD Graphics 4600,
    Iris(TM) Pro Graphics 5200, Haswell CRW Mobile (GT1),
    HD Graphics 4600, Iris(TM) Pro Graphics 5200,
    Haswell CRW Server (GT1), Haswell CRW Server (GT2),
    Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
    Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
    Iris(TM) Pro Graphics 5200, ValleyView PO board
    [ 7.594] (II) VESA: driver for VESA chipsets: vesa
    [ 7.594] (++) using VT number 1
    [ 7.594] (WW) Falling back to old probe method for vesa
    [ 7.594] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 7.594] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 7.594] (==) intel(0): RGB weight 888
    [ 7.594] (==) intel(0): Default visual is TrueColor
    [ 7.594] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2)
    [ 7.594] (**) intel(0): Relaxed fencing enabled
    [ 7.594] (**) intel(0): Wait on SwapBuffers? enabled
    [ 7.594] (**) intel(0): Triple buffering? enabled
    [ 7.594] (**) intel(0): Framebuffer tiled
    [ 7.594] (**) intel(0): Pixmaps tiled
    [ 7.594] (**) intel(0): 3D buffers tiled
    [ 7.594] (**) intel(0): SwapBuffers wait enabled
    [ 7.594] (==) intel(0): video overlay key set to 0x101fe
    [ 7.594] (II) intel(0): Output eDP1 has no monitor section
    [ 7.595] (--) intel(0): found backlight control interface /sys/class/backlight/acpi_video1
    [ 7.596] (II) intel(0): Output VGA1 has no monitor section
    [ 7.596] (II) intel(0): EDID for output eDP1
    [ 7.596] (II) intel(0): Manufacturer: LGD Model: 323 Serial#: 0
    [ 7.596] (II) intel(0): Year: 2012 Week: 0
    [ 7.596] (II) intel(0): EDID Version: 1.4
    [ 7.596] (II) intel(0): Digital Display Input
    [ 7.596] (II) intel(0): 6 bits per channel
    [ 7.596] (II) intel(0): Digital interface is DisplayPort
    [ 7.596] (II) intel(0): Max Image Size [cm]: horiz.: 35 vert.: 19
    [ 7.596] (II) intel(0): Gamma: 2.20
    [ 7.596] (II) intel(0): No DPMS capabilities specified
    [ 7.596] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
    [ 7.596] (II) intel(0): First detailed timing is preferred mode
    [ 7.596] (II) intel(0): Preferred mode is native pixel format and refresh rate
    [ 7.596] (II) intel(0): redX: 0.629 redY: 0.350 greenX: 0.349 greenY: 0.614
    [ 7.596] (II) intel(0): blueX: 0.154 blueY: 0.112 whiteX: 0.313 whiteY: 0.329
    [ 7.596] (II) intel(0): Manufacturer's mask: 0
    [ 7.596] (II) intel(0): Supported detailed timing:
    [ 7.596] (II) intel(0): clock: 138.0 MHz Image Size: 345 x 194 mm
    [ 7.596] (II) intel(0): h_active: 1920 h_sync: 1952 h_sync_end 1988 h_blank_end 2088 h_border: 0
    [ 7.596] (II) intel(0): v_active: 1080 v_sync: 1085 v_sync_end 1090 v_blanking: 1102 v_border: 0
    [ 7.596] (II) intel(0): LG Display
    [ 7.596] (II) intel(0): LP156WF4-SPB1
    [ 7.596] (II) intel(0): EDID (in hex):
    [ 7.596] (II) intel(0): 00ffffffffffff0030e4230300000000
    [ 7.596] (II) intel(0): 00160104952313780a25b5a159599d27
    [ 7.596] (II) intel(0): 1c505400000001010101010101010101
    [ 7.596] (II) intel(0): 010101010101e83580a8703816402024
    [ 7.596] (II) intel(0): 550059c2100000180000000000000000
    [ 7.596] (II) intel(0): 00000000000000000000000000fe004c
    [ 7.596] (II) intel(0): 4720446973706c61790a2020000000fe
    [ 7.596] (II) intel(0): 004c503135365746342d535042310069
    [ 7.596] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
    [ 7.597] (II) intel(0): Printing probed modes for output eDP1
    [ 7.597] (II) intel(0): Modeline "1920x1080"x60.0 138.00 1920 1952 1988 2088 1080 1085 1090 1102 -hsync -vsync (66.1 kHz eP)
    [ 7.597] (II) intel(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
    [ 7.597] (II) intel(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
    [ 7.597] (II) intel(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
    [ 7.597] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
    [ 7.597] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 7.597] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 7.597] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 7.598] (II) intel(0): EDID for output VGA1
    [ 7.598] (II) intel(0): Output eDP1 connected
    [ 7.598] (II) intel(0): Output VGA1 disconnected
    [ 7.598] (II) intel(0): Using exact sizes for initial modes
    [ 7.598] (II) intel(0): Output eDP1 using initial mode 1920x1080
    [ 7.598] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 7.598] (II) intel(0): Kernel page flipping support detected, enabling
    [ 7.598] (==) intel(0): DPI set to (96, 96)
    [ 7.598] (II) Loading sub module "fb"
    [ 7.598] (II) LoadModule: "fb"
    [ 7.598] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 7.599] (II) Module fb: vendor="X.Org Foundation"
    [ 7.599] compiled for 1.14.2, module version = 1.0.0
    [ 7.599] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 7.599] (II) Loading sub module "dri2"
    [ 7.599] (II) LoadModule: "dri2"
    [ 7.599] (II) Module "dri2" already built-in
    [ 7.599] (II) UnloadModule: "vesa"
    [ 7.599] (II) Unloading vesa
    [ 7.599] (==) Depth 24 pixmap format is 32 bpp
    [ 7.599] (II) intel(0): [DRI2] Setup complete
    [ 7.599] (II) intel(0): [DRI2] DRI driver: i965
    [ 7.599] (II) intel(0): Allocated new frame buffer 1920x1080 stride 7680, tiled
    [ 7.599] (II) UXA(0): Driver registered support for the following operations:
    [ 7.599] (II) solid
    [ 7.599] (II) copy
    [ 7.599] (II) composite (RENDER acceleration)
    [ 7.599] (II) put_image
    [ 7.599] (II) get_image
    [ 7.599] (==) intel(0): Backing store disabled
    [ 7.599] (==) intel(0): Silken mouse enabled
    [ 7.600] (II) intel(0): Initializing HW Cursor
    [ 7.600] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 7.600] (==) intel(0): DPMS enabled
    [ 7.600] (==) intel(0): Intel XvMC decoder enabled
    [ 7.600] (II) intel(0): Set up textured video
    [ 7.600] (II) intel(0): [XvMC] xvmc_vld driver initialized.
    [ 7.600] (II) intel(0): direct rendering: DRI2 Enabled
    [ 7.600] (==) intel(0): hotplug detection: "enabled"
    [ 7.613] (--) RandR disabled
    [ 7.634] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 7.634] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 7.634] (II) AIGLX: enabled GLX_ARB_create_context
    [ 7.634] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 7.634] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 7.634] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 7.634] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 7.634] (II) AIGLX: Loaded and initialized i965
    [ 7.634] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 7.634] (II) intel(0): Setting screen physical size to 508 x 285
    [ 7.669] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
    [ 7.669] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 7.669] (II) LoadModule: "evdev"
    [ 7.669] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 7.670] (II) Module evdev: vendor="X.Org Foundation"
    [ 7.670] compiled for 1.14.2, module version = 2.8.1
    [ 7.670] Module class: X.Org XInput Driver
    [ 7.670] ABI class: X.Org XInput driver, version 19.1
    [ 7.670] (II) Using input driver 'evdev' for 'Video Bus'
    [ 7.670] (**) Video Bus: always reports core events
    [ 7.670] (**) evdev: Video Bus: Device: "/dev/input/event9"
    [ 7.670] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 7.670] (--) evdev: Video Bus: Found keys
    [ 7.670] (II) evdev: Video Bus: Configuring as keyboard
    [ 7.670] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10/event9"
    [ 7.670] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
    [ 7.670] (**) Option "xkb_rules" "evdev"
    [ 7.670] (**) Option "xkb_model" "pc104"
    [ 7.670] (**) Option "xkb_layout" "us"
    [ 7.684] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
    [ 7.684] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 7.684] (II) Using input driver 'evdev' for 'Video Bus'
    [ 7.684] (**) Video Bus: always reports core events
    [ 7.684] (**) evdev: Video Bus: Device: "/dev/input/event8"
    [ 7.684] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 7.684] (--) evdev: Video Bus: Found keys
    [ 7.684] (II) evdev: Video Bus: Configuring as keyboard
    [ 7.684] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/LNXVIDEO:00/input/input9/event8"
    [ 7.684] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 7.684] (**) Option "xkb_rules" "evdev"
    [ 7.684] (**) Option "xkb_model" "pc104"
    [ 7.684] (**) Option "xkb_layout" "us"
    [ 7.684] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 7.685] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 7.685] (II) Using input driver 'evdev' for 'Power Button'
    [ 7.685] (**) Power Button: always reports core events
    [ 7.685] (**) evdev: Power Button: Device: "/dev/input/event2"
    [ 7.685] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 7.685] (--) evdev: Power Button: Found keys
    [ 7.685] (II) evdev: Power Button: Configuring as keyboard
    [ 7.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
    [ 7.685] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 7.685] (**) Option "xkb_rules" "evdev"
    [ 7.685] (**) Option "xkb_model" "pc104"
    [ 7.685] (**) Option "xkb_layout" "us"
    [ 7.685] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
    [ 7.685] (II) No input driver specified, ignoring this device.
    [ 7.685] (II) This device may have been added with another device file.
    [ 7.685] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
    [ 7.685] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 7.685] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 7.685] (**) Sleep Button: always reports core events
    [ 7.685] (**) evdev: Sleep Button: Device: "/dev/input/event3"
    [ 7.685] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 7.685] (--) evdev: Sleep Button: Found keys
    [ 7.685] (II) evdev: Sleep Button: Configuring as keyboard
    [ 7.685] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event3"
    [ 7.685] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [ 7.685] (**) Option "xkb_rules" "evdev"
    [ 7.685] (**) Option "xkb_model" "pc104"
    [ 7.685] (**) Option "xkb_layout" "us"
    [ 7.685] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 7.685] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 7.686] (II) config/udev: Adding input device USB2.0 HD UVC WebCam (/dev/input/event6)
    [ 7.686] (**) USB2.0 HD UVC WebCam: Applying InputClass "evdev keyboard catchall"
    [ 7.686] (II) Using input driver 'evdev' for 'USB2.0 HD UVC WebCam'
    [ 7.686] (**) USB2.0 HD UVC WebCam: always reports core events
    [ 7.686] (**) evdev: USB2.0 HD UVC WebCam: Device: "/dev/input/event6"
    [ 7.686] (--) evdev: USB2.0 HD UVC WebCam: Vendor 0x4f2 Product 0xb36e
    [ 7.686] (--) evdev: USB2.0 HD UVC WebCam: Found keys
    [ 7.686] (II) evdev: USB2.0 HD UVC WebCam: Configuring as keyboard
    [ 7.686] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input6/event6"
    [ 7.686] (II) XINPUT: Adding extended input device "USB2.0 HD UVC WebCam" (type: KEYBOARD, id 10)
    [ 7.686] (**) Option "xkb_rules" "evdev"
    [ 7.686] (**) Option "xkb_model" "pc104"
    [ 7.686] (**) Option "xkb_layout" "us"
    [ 7.686] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event5)
    [ 7.686] (II) No input driver specified, ignoring this device.
    [ 7.686] (II) This device may have been added with another device file.
    [ 7.686] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 7.686] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 7.686] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 7.686] (**) AT Translated Set 2 keyboard: always reports core events
    [ 7.686] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 7.686] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 7.686] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 7.686] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 7.686] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 7.686] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
    [ 7.686] (**) Option "xkb_rules" "evdev"
    [ 7.686] (**) Option "xkb_model" "pc104"
    [ 7.686] (**) Option "xkb_layout" "us"
    [ 7.686] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event7)
    [ 7.686] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
    [ 7.686] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
    [ 7.687] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
    [ 7.687] (II) LoadModule: "synaptics"
    [ 7.687] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 7.687] (II) Module synaptics: vendor="X.Org Foundation"
    [ 7.687] compiled for 1.14.1, module version = 1.7.1
    [ 7.687] Module class: X.Org XInput Driver
    [ 7.687] ABI class: X.Org XInput driver, version 19.1
    [ 7.687] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
    [ 7.687] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 7.687] (**) Option "Device" "/dev/input/event7"
    [ 7.810] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3260 (res 32)
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 2119 (res 32)
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
    [ 7.810] (**) Option "TapButton1" "1"
    [ 7.810] (**) Option "TapButton2" "2"
    [ 7.810] (**) Option "TapButton3" "3"
    [ 7.810] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    [ 7.810] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 7.810] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 7.853] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input8/event7"
    [ 7.853] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 12)
    [ 7.853] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
    [ 7.853] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
    [ 7.853] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.051
    [ 7.853] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
    [ 7.853] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
    [ 7.853] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
    [ 7.853] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
    [ 7.853] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 7.853] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
    [ 7.853] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
    [ 7.853] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
    [ 7.853] (II) No input driver specified, ignoring this device.
    [ 7.853] (II) This device may have been added with another device file.
    Found this recent thread in the forums, I'll give REISUB a try late, but the times it freezed I remember trying to blindly reboot it, or switching off virtual console and couldn't.
    In case it's of any use, this is my # uname -a
    Linux arch 3.10.3-1-ARCH #1 SMP PREEMPT Fri Jul 26 11:26:59 CEST 2013 x86_64 GNU/Linux
    Could it have something to do with the nvidia optimus setup that this laptop has? When installing arch I found out that there was no support yet for it so I'm just using the intel drivers (following what the arch wiki said).
    Any ideas or advice to point me in the right direction would be very much appreciated.
    Thanks in advance.
    Last edited by contiver (2013-08-16 20:25:34)

    I don't start st in my .xinitrc. I launch it from dmenu and usually everything is fine. If I launch it from dwm's internal command using Alt-Shf-Return, X freezes 100% of the time. A workaround was suggested by st's main developer to call st like this:
    static const char *termcmd[] = { "/bin/sh", "-c", "st", NULL };
    but it didn't work for me.
    Very rarely X will freeze anyway. I haven't been able to pin it down. When X fails, my journal returns this:
    BUG: unable to handle kernel paging request at ffffc90014ce8000
    IP: [<ffffffff812bfe7f>] bitfill_aligned+0x8f/0x140
    PGD 7c00b067 PUD 7c018067 PMD 7b3eb067 PTE 0
    Oops: 0002 [#1] PREEMPT SMP
    Modules linked in: nls_cp437 vfat fat snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi snd_seq_device snd_pcm snd_page_alloc snd_timer
    CPU: 1 PID: 7520 Comm: X Not tainted 3.10.5-1-ck #1
    Hardware name: /D410PT, BIOS MOPNV10N.86A.0155.2009.1106.0430 11/06/2009
    task: ffff88007aa786b0 ti: ffff8800797ee000 task.ti: ffff8800797ee000
    RIP: 0010:[<ffffffff812bfe7f>] [<ffffffff812bfe7f>] bitfill_aligned+0x8f/0x140
    RSP: 0018:ffff8800797efaa8 EFLAGS: 00010212
    RAX: 0000000003ffff5c RBX: 0000000000000000 RCX: 0000000000000000
    RDX: 0000000003ffff5c RSI: ffffc90014901520 RDI: ffffc90014ce7fe0
    RBP: ffff8800797efab8 R08: 00000000ffffd700 R09: 0000000003f83204
    R10: 0000000000000000 R11: ffffc90014ce7fd8 R12: ffffffffffffffff
    R13: ffffc90014901520 R14: ffffffff812bfdf0 R15: 0000000000000320
    FS: 00007fb350033880(0000) GS:ffff88007ea80000(0000) knlGS:0000000000000000
    CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    CR2: ffffc90014ce8000 CR3: 000000007b104000 CR4: 00000000000007e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Stack:
    0000000000000000 ffff88007a4d3000 ffff8800797efb28 ffffffff812bfbb9
    ffffffff00000000 ffff88007c00c000 0000000000000000 ffffffff8186f240
    0000000000000000 ffffffff00000006 ffffd700797efb58 ffff88007a4d3000
    Call Trace:
    [<ffffffff812bfbb9>] cfb_fillrect+0x1c9/0x400
    [<ffffffff812ba2e5>] bit_clear_margins+0x165/0x190
    [<ffffffff812b3633>] fbcon_clear_margins+0x63/0x90
    [<ffffffff812b7a9f>] fbcon_switch+0x3df/0x570
    [<ffffffff813200bd>] redraw_screen+0x17d/0x240
    [<ffffffff812b6eeb>] fbcon_blank+0x20b/0x2d0
    [<ffffffff81320767>] do_unblank_screen+0xa7/0x1b0
    [<ffffffff813175d1>] vt_ioctl+0x10d1/0x1170
    [<ffffffff8130b407>] tty_ioctl+0x277/0xb90
    [<ffffffff8118fb21>] ? mntput_no_expire+0x41/0x150
    [<ffffffff81183a3e>] do_vfs_ioctl+0x2de/0x4c0
    [<ffffffff8117328e>] ? ____fput+0xe/0x10
    [<ffffffff8107766c>] ? task_work_run+0x9c/0xe0
    [<ffffffff81183ca3>] SyS_ioctl+0x83/0xa0
    [<ffffffff814bab9d>] system_call_fastpath+0x1a/0x1f
    Code: 08 45 01 d8 31 d2 44 89 c0 41 f7 f1 83 f8 07 89 c2 76 4f 44 8d 08 48 8d 3e 0f 1f 00 4c 89 17 4c 89 57 08 4c 89 57 10 4c 89 57 18 <4
    RIP [<ffffffff812bfe7f>] bitfill_aligned+0x8f/0x140
    RSP <ffff8800797efaa8>
    CR2: ffffc90014ce8000
    ---[ end trace aff6cb5ad5097aef ]---

  • Toplink Cache not getting refreshed after executing UpdateAllQuery

    After executing UpdateAllQuery, the records in the database are getting updated, however the Toplink cache is not getting refreshed with the new data, it still has stale data which is causing issues.
    We're also setting
    updateQuery.setCacheUsage(UpdateAllQuery.INVALIDATE_CACHE);
    Thanks.

    Toplink version is 10.1.3.0.0
    Here is the code
    UpdateAllQuery updateQuery = new UpdateAllQuery(RegisterImpl.class);
    updateQuery.setCacheUsage(UpdateAllQuery.INVALIDATE_CACHE);
    ExpressionBuilder registerBuilder = updateQuery.getExpressionBuilder();
    updateQuery.addArgument("userIdArg");
    updateQuery.addArgument("channelArg");
    updateQuery.addArgument("tokenArg");
    updateQuery.addArgument("dateArg");
    updateQuery.addArgument("businessFuncIdArg");
    Expression reservedDetailRegExp = registerBuilder.get("reservedDetail");
    // build expressions
    Expression userIdExp = reservedDetailRegExp.get("userId").equal(
    registerBuilder.getParameter("userIdArg"));
    Expression channelExp = reservedDetailRegExp.get("channel").equal(
    registerBuilder.getParameter("channelArg"));
    Expression tokenExp = reservedDetailRegExp.get("token").equal(
    registerBuilder.getParameter("tokenArg"));
    Expression dateExp = reservedDetailRegExp.get("date").equal(
    registerBuilder.getParameter("dateArg"));
    Expression busFuncExp = registerBuilder.get("businessFuncId").equal(
    registerBuilder.getParameter("businessFuncIdArg"));
    // set selection criteria
    updateQuery.setSelectionCriteria(userIdExp.and(channelExp.and(tokenExp.and(dateExp
    .and(busFuncExp)))));
    // substitute the values
    updateQuery.addUpdate(reservedDetailRegExp.get("userId"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("channel"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("token"), "");
    updateQuery.addUpdate(reservedDetailRegExp.get("date"), "");
    updateQuery.addUpdate(registerBuilder.get("businessFuncId"), "");
    In the object model for the query, the RegisterImpl has an aggregate mapping (ReservedDetail), which in turn has a number of direct-to-field mappings and an one-to-one mapping to businessFunction (for our query we use a direct query key "businessFuncId")

  • Report is not getting refreshed after changing prompts once again?

    HI,
    I am running some webi and deski reports using webi sdk also i'm handling the prompts of
    report.
    Problem is that if i ran the parametrized webi or deski report then my application shows the prompt page
    then i fill all the prompt for the report it shows the data for selected prompt values.
    But if i once again changed prompt values it shows data of previously selected prompt values not for
    the currently changed prompt values. means reports not getting refreshed.
    sometimes its work correctly.
    What will be problem?
    How can i resolve this issues?
    Please help me
    Thanks in advance
    Harshad

    The workflow is:
    1. Refresh
    2. Set Prompts
    3. Get View.
    then repeat.
    Are you refreshing before setting prompts?
    Sincerely,
    Ted Ueda

  • Approver gets refreshed after the contract is released

    Hi All,
    I am facing a problem while creating GOA i have activated the one step approval workflow WS 14000088 and have the agent assignment based on standard roles. I can see the approver picked up correctly in approval preview but when i release the contract or keep it in held status the approval preview gets refreshed and displays document approved and the approval workflow doesn't start. Also i tried with the N step approval for contract and the workflow behaviour is same in this case. Also in workflow diagnosis i could see error in task  WS14500051 and TS14507950 error message 'Recipient not found'.
    Please do let me know possible solution so as to get rid of this problem.
    Thanks in Advance.
    Anirban

    Hi,
    The problem  may be due to the roles which you have assigned to the Contract Creator and Contract Approver.
    Check whether you have assigned the role purchase manager to both the users i.e.
    1.  Contract Creator
    2.  Contract Approver
    Try to Assign the role Strategic Purchaser to Contract Creator and Assign the Role Purchase Manager to Contract Approver .
    System may be  identifying a role which was assigned to two or more persons and as the Creator is already having this role so it is neglecting the Approver.
    BR,
    Disha.
    Do reward points  for  useful answers.

  • Why page is getting refresh after submitting the order

    when i am clicking on submit order button in newScale request center tool.The form is getting refresh again and again.it is not procedding furhter.This is happening for a particular service.Please help me in this case.if someone had faced the same problem.                  

    You may want to open a case with the TAC on this one.  This sounds like it might be a browser compatability issue.  What browser are you using?  Did you try a different one?
    Also, this is forum is for discussion administartive issues for specific bugs or the bug tools.  Specific experts on each products will be in other forums. 
    newScale issues are better discussed in one of the forums here:
    https://supportforums.cisco.com/community/netpro/data-center

  • ADF Region not getting refreshed after Commit

    Hi everyone!
    I'm having some trouble with a region that is disturbing me for more than 2 weeks, its true guys, I tried everything!!
    My parent page is a normal ADF .jspx page that contains inside it a task-flow call. The first task-flow activity is a router, after sending a String
    to router it chooses the region activity that fits the page (in this example I always pass the same value, same String).
    After the router is called then it delegates to "ExecuteWithParams" method call before calling my final region that have its query executed with
    parameter set inside task-flow.
    The region is refreshed (refresh="ifNeeded") when I change row inside a table in ParentPage, all fine here.
    The problem is:
    - After any Commit (with navigation case or executable binding) is issued inside Region the region save its state and does not refresh anymore, even if task-flow parameters change.
    Already tried CacheResults="false" on iterator too.
    I'm using Jdeveloper 11.1.2.1.
    Thanks in advance!!

    Hi,
    so I think the shirt summary of your problem is that an ADF region doesn't refresh after it issued a commit. Sounds like a bug to me if this reproduces in a test case. Do you have a testcase based on the Oracle HR schema ? If so, send it my way in a zip file you rename to ".unzip". My mail address is in my OTN profile. Note that bugs I file are not visible to customers. So if you need to keep track of any state of the issue, you need to file a service request with support yourself.
    Frank

  • Table space not getting cleaned after using free method (permanent delete)

    Hi ,
    We are using the free method of the LIB OBJ, to permanently delete the objects. As per documentation, the ContentGarbageCollectionAgent will be cleaning the database which runs in a scheduled mode. But the log of that ContentGargabageCollectionAsgent shows, all zero for objects without reference, objects cleared,etc. I.e the table space remains the same before and after deleteing all the contents in the cmsdk database. But the agent is running as per the schedule but just comes out doing nothing.
    Can anbody put some light on this issue.
    thanks
    Raj.

    Hi Matt,
    Thanks for replying. It's been a very long time waiting for you ;)
    ---"Are you running the 9.2.0.1, 9.2.0.2, or 9.2.0.3 version of the Database?"
    we are using 9.2.0.1
    ---"If you installed the CM SDK schema in the "users" tablespace ......."
    Yes we are using USERS tablespace for our Development.
    I ran the query. The result is:
    SYSTEM MANUAL NOT AFFECTED
    USERS MANUAL NOT AFFECTED
    CTXSYS_DATA MANUAL NOT AFFECTED
    CMSDK1_DATA MANUAL NOT AFFECTED
    (USERS belongs to develpoment cmsdk schema. And CMSDK1 for Prod CMSDK schema)
    From the results I see only "Manual", but still I don't see the tablespace size being coming down. Both table space sizes (USER and CMSDK1) always grows higher and higher.
    Also to let you know, We use ORACLE EM Console (Standalone) application to see the oracle databse information online. Will there be any thing to do with the tool we use to see the table space sizes. We make sure we always refresh it before making a note.
    So is there anything else I can see. Once I saw the ContentGarbageCollection agent to free 1025 objects and deleted 0 objects. But I don't see any change in the table space size. I am little confused b/w freed and deleted.
    thanks once again for your response Matt.
    -Raj.

  • Cube does not get refreshed after maitainence

    Hi
    I have a cube in a schema that was existing.
    I have added new data to the fact table that is mapped to the cube.
    I maintained the cube by using the complete refresh option in the analytical workspace manager.
    After maintaining the cube and selecting from the cube view I do not see the new data that I have added.
    I have even tried dropping and recreating the cube but still it does not work.
    I have also tried adding the clean step for all measures and yet it does not work.
    Creating the cube with a different view name is a solution but that is not what I want. I want to be able to refresh the same view.
    Please advise / suggest
    Edited by: CelestialCitizen on Sep 4, 2011 9:53 PM

    Hi All
    The above is a false alarm.
    Basically it turned out that one of the keys in the fact table was not a leaf node in the dimension.
    After rectifying that all works fine now.

  • Hand Tool Getting stuck after using spacebar shortcut

    I have dumped the PS prefs, zapped the PRAM, fixed the permissions. It will work fine for a few minutes and then get stuck again. Even when retarting PS, the problem the hand tool is still stuck. It takes a complete reinstall to get it go back to other tools, then gets stuck again after several minutes of use
    I'm on a Mac running Lion 10.9 with a Cintiq monitor. This had never been an issue until  I installed CC.
    It's driving me nuts. I cannot work in any productive manner.

    All I can say is that we see a lot of Cintiq problems on this forum, and don't generally come up with answers.  I'd say you are better going to eh Cintic forum on the Wacom site
    http://forum.wacom.eu/

  • Video gets SOFT after using export/ media/match sequence settings

    Never had this on any other version of PP.  PC based 64bit Win 7
    EX: I get a job delivered to me that was shot on mini dv (now on a HD) & the clips are all seperated as they were shot.
    I put them on the TL & want to make 1 long clip out of them.
    I export-media-match sequence settings & the video gets 25% softer. Yes my sequence settings are correct.
    I have tryed  using "max render quality" button but made no difference.
    Does cs5 have a problem in this area? The video looks terrible!
    Please advise

    Just drag your footage to the New Item button and will create a sequence that matches your footage.
    There isnt a preset for that size but you can use the Desktop setting and create one that way too.
    GLenn

  • What can I do if all HTML links refresh site instead of redirecting properly (FF only, HTML 1.0 Strict valid, no plugins) just after using autocompleted url?

    I was testing a XHTML 1.0 Strict valid website on my localhost. It had URL "http://localhost/visaita/tictactoe/Web/index.php?item_id=8&game_password=73|55fc84c0c432ad625a901caaa13108aa&chat_code=74|50b3b60c8be203.98819772#.ULO2EnC23XQ". If I click in URL field between 8 and ?. Then pres shift + end and delete the rest of URL, I get a drop down of suggestions. Then I press arrow left in my keyboard - suggestions dissappear. I press enter and my URL is immediately reset to initial one (with all arguments) even though I wanted to delete them. Server receives all the arguments, so this is not the case of a back-end redirection (tested).
    The most interesting effect is that after such refresh ALL HTML LINKS stop working. They refresh page instead of redirecting. Even if I click on a link redirecting to another domain, page still gets refreshed and not redirected. I see it as an obvious and serious bug which happens in very special conditions.
    All FF plugins and add-ons disabled. Tested in safe mode as well. One interesting fact is that this page is opened by a redirect from another page (JavaScript performs redirect), but the page where error happens does not contain any JavaScript redirection code. Error console is also empty.
    During these redirects FireBug (when enabled) displays interesting stuff. It shows that request without arguments is pending infinitely while immediately after it another request is launched with all unwanted arguments.
    Another interesting fact is that page is using late polling AJAX technique (not sure whether it has any impact).
    It seems that it is some caching bug.

    Autocompleted URL does not seem to be related in order to provoke the bug. If I press Esc and then immediately press on links, they all work fine. Without pressing Esc, if long polling is in action, all links redirect the same page. Long polling request happens for no longer that 2 minutes and then there is a 1 second JS delay before the next one. If links are pressed between calls, they work fine.
    The strange thing though is that my friend has prepared a simple script which is generating a long polling request and has a link to Google. This test works, so I am trying to understand whether there is any additional factor which is causing the problem. Perhaps it can be due to having redirects and 2 simultaneous long polling requests at the same time. Doing my best to understand the problem. Not sure what is happening although I am quite sure that problem is caused by the FF browser somehow. Tested everything back and forth.

  • Lenovo solution center shows warranty expires today while it gets okay after refreshing.

    Lenovo solution center shows warranty expires today while it gets okay after refreshing. I need to refresh this every time i reboot my machine i.e. T430.

    LSC has not been working for a long time. Each release seems to have bugs in it as far a warranty access is concerned. After the last update I ran which still could not access the server. I seems to have uninstalled itself. The startup is gone everywhere on my systems. I haven't checked Control Panel for it since it still is a garbage tool now. ThinkVantage thread in the community still has posters indicating the problem is continuing. Each time you launch it if there is an update it wants to install it. LOL But that software is of little use anyway. The diagnostics is poor as well.
    T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
    Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
    Windows 7 Home Prem - 64bit w/8GB DDR3

Maybe you are looking for

  • XML with HTML Tags... (easy points) 11g question

    Dear Programming Gods, I have been researching this for about 2 weeks now, and I have hit the final road block. Using BI Publisher 11.1.1 In APEX 4.0 I have a Rich Text Field. The data from the Rich Text Field is store in CLOB. The data has HTML form

  • Adobe guideline on design documents when working with freelance team members or agencies

    Adobe guideline when working with freelance team members or agencies: should the publisher recieve a copy of the documents (Indesign etc) used to publish it's magazine? Our client has an ongoing discussion with a freelance designer who was hired to m

  • I reset my iphone 4 but i tunes doesnt see it

    I reset my iphone4 after the reset it tells me to plug my iphone into the computer. when i do this I notice the phone charges but the phone doesnt show up in itunes. now I cant access my music app etc. please help me Im going mad.

  • Trouble with DataGrid's last column width

    I have a datagrid with thirty columns. When I use the mouse to drag the window and resize its size,the last column width becomes more and more wide,and the previous column width is squeezed small. If anybody else came accross the same problem,can you

  • Themes - Customer Folder missing

    Hello, We have a brand new NW2004s Portal installed and I am trying to create a new theme. 1. The <b>Portal Content > themes > Customer folder is missing</b> in the Content Administration. And I am unable to create my own folder in the "themes" folde