How to trigger the exit event of a subform?

hi there,
we added some code to the exit event of a subform to do some validation, but we found out that
if the user save the form after filling it and without clicking somewhere outside the subform,
the exit event will not be trigger, so the code will not check ,then the form got saved with errors.
could you pls tell us how to solve this?
br.
zj

Hi,
Instead of writin code in Subform just write the code in exit of the individual field.
thanks,
Amish.

Similar Messages

  • How to trigger the "click" event using javascript in LC8?

    I have 2 button in the form. I don't want the user to click the button1 directly (invisible now). but I want the user click the button2 and then do some checking. after checking is finisined,  the script will continue to trigger the button1 "click" event. How to trigger the button1 "click" event through javascript in LC 8? Thanks.

    button2.execevent("click");

  • How to trigger the valuechange event on button

    Hi All,
    I am working on ADF Application and i have a requirement where i have a valuechange event function associated with the textbox andthe requirement is like the user will enter the value in text box and he/she will press the submit button directly without tab out .I want to trigger my value change event first and if all validation goes right then it should trigger the button event but user will press the butto only once.
    Please reply !!!
    Urgent !!
    Thanks..

    public int validate(){
    int result=0;
    if (value == null){
    //do something
    result=1;
    return result;
    on button click call this
    public String commandButton1_action() {
    if(validate()!=0){
    return null;
    //do rest...
    }

  • How to define custom event and how to trigger the defined event

    hi,guys
    hurry issue....................hope get help.
    I am using oracle weblogic 10gr3 portal.and we choiced java portlet.as of now,we got some question about custom Event.hope you can give some idea....
    thank you so much.
    question detail:
    1.for java portlet ,how to define custom event.
    2.how to trigger this event.
    3 about the data,may be sometime need to transit Biz data.
    auctully,I just want to implements between two portlets communicate.
    for example:
    existing portletA,portletB.
    portletA is a list,like:
    A AA <button>
    after I click this buttom,then portletB will be effect,it means they are interact with each other.
    does anybody hit this issue before,if you solved pls share me .
    thank you for you help....

    Hello,
    Please note that everything below applies to JSR168 portlets ONLY- JSR286 portlets and other portlet types handle events a little differently.
    From inside your JSR168 portlet you can send an event during processAction or when receiving another event by using the PortletBackingContext object, such as:
    import javax.portlet.ActionResponse;
    import javax.portlet.ActionRequest;
    import javax.servlet.http.HttpServletRequest;
    import com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext;
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
    HttpServletRequest httpRequest = (HttpServletRequest) actionRequest.getAttribute("javax.servlet.request");
    PortletBackingContext portletBackingContext = PortletBackingContext.getPortletBackingContext(httpRequest);
    portletBackingContext.fireCustomEvent("customEvent", "This is a custom event");
    To receive an event, in your .portlet file you just need to put in a "handleCustomEvent" tag specifying which method to call when the event is received, such as:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:javaPortlet title="Listening Portlet" definitionLabel="yourPortletName">
    <netuix:handleCustomEvent event="customEvent" eventLabel="customEvent" filterable="true" description="custom event handler">
    <netuix:invokeJavaPortletMethod method="processCustomEvent"/>
    </netuix:handleCustomEvent>
    </netuix:javaPortlet>
    </portal:root>
    Then, in your receiving portlet the method "processCustomEvent" would receive the event, such as:
    public void processCustomEvent(ActionRequest actionRequest, ActionResponse actionResponse, Event event)
    The event payload can be any Serializable object you want, but for forward-compatibility with JSR286 it would be ideal if it had a valid JAXB binding.
    Kevin

  • Does changing a KeyValuePair trigger the PropertyChanged event in ObservableDictionary?

    I am using the ObservableDictionary class available at:
    http://blogs.microsoft.co.il/shimmy/2010/12/02/observabledictionaryof-tkey-tvalue-vbnet/
    I will, for most of my code, be modifying KeyValuePair items that have already been added, and want an event to be triggered when I make these modifications. Both the Keys and Values properties are there, and they obviously change when a KeyValuePair
    is modified, but will that trigger the PropertyChanged event? I was having trouble figuring out when the PropertyChanged event would get triggered, since the only place I could find in the code that raised the event was from inside the OnCollectionChanged
    methods. Will the PropertyChanged event be triggered when I modify a KeyValuePair, or do I need to add PropertyChanged events to the KeyValuePair items myself? Any help would be appreciated. Thanks.
    Nathan Sokalski [email protected] http://www.nathansokalski.com/

    But I don't want to comment on it, I want to ask a question. Look at the existing comment: No reply to that (unless it was done privately).
    Nathan Sokalski [email protected] http://www.nathansokalski.com/
    So you are saying a comment about something can not be a question? When did that become some kind of planet earth law? And who's enforcing that?
    Since the comment capability asks for a name and email address then perhaps shimmy would respond to your comment. You do understand your comment could be something like "If I use your class will changing a key/value pair cause the property changed event
    to receive an event?".
    But no, perhaps that would be too easy to contact the person that created the class in the first place to ask a question or communicate with on the product.
    Since you are using the class then you should be able to determine if an event occurs when a key/value pair is altered. Or do you want somebody here to download and use the class and then provide you with information on how the class works or something?
    It's not a simple class to run through. But I'll post it.
    It seems to me the OnPropertyChanged sub gets called by the  Private Sub OnCollectionChanged(ByVal action As NotifyCollectionChangedAction, ByVal newItems As IList) which seems relatively simple to figure out.
    Imports System.ComponentModel
    Imports System.Collections.Specialized
    Public Class ObservableDictionary(Of TKey, TValue)
    Implements IDictionary(Of TKey, TValue), INotifyPropertyChanged, INotifyCollectionChanged
    #Region "Constructors"
    Public Sub New()
    m_Dictionary = New Dictionary(Of TKey, TValue)
    End Sub
    Public Sub New(ByVal dictionary As IDictionary(Of TKey, TValue))
    m_Dictionary = New Dictionary(Of TKey, TValue)(dictionary)
    End Sub
    Public Sub New(ByVal comparer As IEqualityComparer(Of TKey))
    m_Dictionary = New Dictionary(Of TKey, TValue)(comparer)
    End Sub
    Public Sub New(ByVal capacity As Integer)
    m_Dictionary = New Dictionary(Of TKey, TValue)(capacity)
    End Sub
    Public Sub New(ByVal dictionary As IDictionary(Of TKey, TValue), ByVal comparer As IEqualityComparer(Of TKey))
    m_Dictionary = New Dictionary(Of TKey, TValue)(dictionary, comparer)
    End Sub
    Public Sub New(ByVal capacity As Integer, ByVal comparer As IEqualityComparer(Of TKey))
    m_Dictionary = New Dictionary(Of TKey, TValue)(capacity, comparer)
    End Sub
    #End Region 'Constructors
    #Region "Fields"
    Private Const CountString As String = "Count"
    Private Const IndexerName As String = "Item[]"
    Private Const KeysName As String = "Keys"
    Private Const ValuesName As String = "Values"
    Public Event PropertyChanged(ByVal sender As Object, ByVal e As PropertyChangedEventArgs) _
    Implements INotifyPropertyChanged.PropertyChanged
    Public Event CollectionChanged(ByVal sender As Object, ByVal e As NotifyCollectionChangedEventArgs) _
    Implements INotifyCollectionChanged.CollectionChanged
    Private m_Dictionary As IDictionary(Of TKey, TValue)
    #End Region 'Fields
    Protected ReadOnly Property Dictionary As IDictionary(Of TKey, TValue)
    Get
    Return m_Dictionary
    End Get
    End Property
    Public Overloads Sub Clear() Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Clear
    If Dictionary.Count > 0 Then
    Dictionary.Clear()
    OnCollectionChanged()
    End If
    End Sub
    Public Sub Add(ByVal item As KeyValuePair(Of TKey, TValue)) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Add
    Insert(item.Key, item.Value, True)
    End Sub
    Public Sub Add(ByVal key As TKey, ByVal value As TValue) Implements IDictionary(Of TKey, TValue).Add
    Insert(key, value, True)
    End Sub
    Public Sub AddRange(ByVal items As IDictionary(Of TKey, TValue))
    If items Is Nothing Then Throw New ArgumentNullException("items")
    If items.Count > 0 Then
    If Dictionary.Count > 0 Then
    If items.Keys.Any(Function(key) Dictionary.ContainsKey(key)) Then
    Throw New ArgumentException("An item with the same key has already been added.")
    Else
    For Each i In items
    Dictionary.Add(i)
    Next
    End If
    Else
    m_Dictionary = New Dictionary(Of TKey, TValue)(items)
    End If
    OnCollectionChanged(NotifyCollectionChangedAction.Add, items.ToArray)
    End If
    End Sub
    Private Function Remove(ByVal item As KeyValuePair(Of TKey, TValue)) As Boolean _
    Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove
    Return Remove(item.Key)
    End Function
    Public Function Remove(ByVal key As TKey) As Boolean Implements IDictionary(Of TKey, TValue).Remove
    If key Is Nothing Then Throw New ArgumentNullException("key")
    Dim item As TValue
    Dictionary.TryGetValue(key, item)
    Dim removed = Dictionary.Remove(key)
    If removed Then OnCollectionChanged() 'FieldsNotifyCollectionChangedAction.Remove, New KeyValuePair(Of TKey, TValue)(key, item)
    Return removed
    End Function
    Default Public Property Item(ByVal key As TKey) As TValue Implements IDictionary(Of TKey, TValue).Item
    Get
    Return Dictionary(key)
    End Get
    Set(ByVal value As TValue)
    Insert(key, value, False)
    End Set
    End Property
    Private Sub Insert(ByVal key As TKey, ByVal value As TValue, ByVal add As Boolean)
    If key Is Nothing Then Throw New ArgumentNullException("key")
    Dim item As TValue
    If Dictionary.TryGetValue(key, item) Then
    If add Then Throw New ArgumentException("An item with the same key has already been added.")
    If Equals(item, value) Then Exit Sub
    Dictionary(key) = value
    OnCollectionChanged(NotifyCollectionChangedAction.Replace, New KeyValuePair(Of TKey, TValue)(key, value),
    New KeyValuePair(Of TKey, TValue)(key, item))
    Else
    Dictionary(key) = value
    OnCollectionChanged(NotifyCollectionChangedAction.Add, New KeyValuePair(Of TKey, TValue)(key, value))
    End If
    End Sub
    #Region "ReadOnly methods and properties"
    Public Overloads Sub CopyTo(ByVal array() As KeyValuePair(Of TKey, TValue), ByVal arrayIndex As Integer) _
    Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo
    Dictionary.CopyTo(array, arrayIndex)
    End Sub
    Public Overloads ReadOnly Property Count As Integer Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Count
    Get
    Return Dictionary.Count
    End Get
    End Property
    Public ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly
    Get
    Return Dictionary.IsReadOnly
    End Get
    End Property
    Public ReadOnly Property Keys As ICollection(Of TKey) Implements IDictionary(Of TKey, TValue).Keys
    Get
    Return Dictionary.Keys
    End Get
    End Property
    Public ReadOnly Property Values As ICollection(Of TValue) Implements IDictionary(Of TKey, TValue).Values
    Get
    Return Dictionary.Values
    End Get
    End Property
    Public Function Contains(ByVal item As KeyValuePair(Of TKey, TValue)) As Boolean _
    Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains
    Return Dictionary.Contains(item)
    End Function
    Public Function ContainsKey(ByVal key As TKey) As Boolean Implements IDictionary(Of TKey, TValue).ContainsKey
    Return Dictionary.ContainsKey(key)
    End Function
    Public Function ContainsValue(ByVal value As TValue) As Boolean
    Return Dictionary.Values.Contains(value)
    End Function
    Public Function TryGetValue(ByVal key As TKey, ByRef value As TValue) As Boolean _
    Implements IDictionary(Of TKey, TValue).TryGetValue
    Return Dictionary.TryGetValue(key, value)
    End Function
    Public Overloads Function GetEnumerator() As IEnumerator(Of KeyValuePair(Of TKey, TValue)) _
    Implements IEnumerable(Of KeyValuePair(Of TKey, TValue)).GetEnumerator
    Return Dictionary.GetEnumerator
    End Function
    Private Function GetIEnumerableEnumerator() As IEnumerator Implements IEnumerable.GetEnumerator
    Return DirectCast(Dictionary, IEnumerable).GetEnumerator
    End Function
    Private Sub OnPropertyChanged()
    OnPropertyChanged(CountString)
    OnPropertyChanged(IndexerName)
    OnPropertyChanged(KeysName)
    OnPropertyChanged(ValuesName)
    End Sub
    Protected Overridable Sub OnPropertyChanged(ByVal propertyName As String)
    RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
    End Sub
    Private Sub OnCollectionChanged()
    OnPropertyChanged()
    RaiseEvent CollectionChanged(Me, New NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset))
    End Sub
    Private Sub OnCollectionChanged(ByVal action As NotifyCollectionChangedAction,
    ByVal changedItem As KeyValuePair(Of TKey, TValue))
    OnPropertyChanged()
    RaiseEvent CollectionChanged(Me, New NotifyCollectionChangedEventArgs(action, changedItem))
    End Sub
    Private Sub OnCollectionChanged(ByVal action As NotifyCollectionChangedAction, ByVal newItem As KeyValuePair(Of TKey, TValue),
    ByVal oldItem As KeyValuePair(Of TKey, TValue))
    OnPropertyChanged()
    RaiseEvent CollectionChanged(Me, New NotifyCollectionChangedEventArgs(action, newItem, oldItem))
    End Sub
    Private Sub OnCollectionChanged(ByVal action As NotifyCollectionChangedAction, ByVal newItems As IList)
    OnPropertyChanged()
    RaiseEvent CollectionChanged(Me, New NotifyCollectionChangedEventArgs(action, newItems))
    End Sub
    #End Region 'ReadOnly methods and properties
    End Class
    La vida loca

  • How to use the ONF4 event in REUSE_ALV_GRID_DISPLAY?

    I am able to use the methods for BUTTON_CLICK and HOTSPOT_CLICK for a report that outputs ALV Grid using REUSE_ALV_GRID_DISPLAY.
    But I am not able to trigger the ONF4 event.
    How to enable this?
    Thanks,

    hi look at the code ...may be helpful for u..
    TYPE-POOLS SLIS.
    DATA: BEGIN OF T_OUT_FOR_F4 OCCURS 0,
            BUKRS LIKE T001-BUKRS,
            BUTXT LIKE T001-BUTXT,
          END   OF T_OUT_FOR_F4.
    PARAMETERS: P_BUKRS TYPE BUKRS.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BUKRS.
      PERFORM F4_FOR_BUKRS.
    *&      Form  F4_FOR_BUKRS
          text
    -->  p1        text
    <--  p2        text
    FORM F4_FOR_BUKRS.
      DATA: IT_FIELDCAT TYPE  SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
            IT_REPORT   TYPE  SY-REPID,
            ES_SELFIELD TYPE  SLIS_SELFIELD.
    Get data
      SELECT BUKRS BUTXT FROM T001 INTO TABLE T_OUT_FOR_F4
      WHERE BUKRS = '0001' OR BUKRS = 'US01'.
    Get field
      IT_REPORT = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME     = IT_REPORT
                I_INTERNAL_TABNAME = 'T_OUT_FOR_F4'
                I_INCLNAME         = IT_REPORT
           CHANGING
                CT_FIELDCAT        = IT_FIELDCAT[].
      LOOP AT IT_FIELDCAT.
        IT_FIELDCAT-KEY = SPACE.
        IF IT_FIELDCAT-FIELDNAME = 'BUTXT'.
          IT_FIELDCAT-KEY = 'X'.
        ENDIF.
        MODIFY IT_FIELDCAT.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
        I_TITLE                       =
        I_SELECTION                   = 'X'
        I_ZEBRA                       = ' '
        I_SCREEN_START_COLUMN         = 0
        I_SCREEN_START_LINE           = 0
        I_SCREEN_END_COLUMN           = 0
        I_SCREEN_END_LINE             = 0
        I_CHECKBOX_FIELDNAME          =
        I_LINEMARK_FIELDNAME          =
        I_SCROLL_TO_SEL_LINE          = 'X'
          I_TABNAME                     = 'T_OUT_FOR_F4'
        I_STRUCTURE_NAME              =
          IT_FIELDCAT                   = IT_FIELDCAT[]
        IT_EXCLUDING                  =
        I_CALLBACK_PROGRAM            =
        I_CALLBACK_USER_COMMAND       =
        IS_PRIVATE                    =
        IMPORTING
          ES_SELFIELD                   = ES_SELFIELD
        E_EXIT                        =
        TABLES
          T_OUTTAB                      = T_OUT_FOR_F4
       EXCEPTIONS
         PROGRAM_ERROR                 = 1
         OTHERS                        = 2
      IF SY-SUBRC  0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        READ TABLE T_OUT_FOR_F4 INDEX ES_SELFIELD-TABINDEX.
        P_BUKRS = T_OUT_FOR_F4-BUKRS.
      ENDIF.
    ENDFORM.                    " F4_FOR_BUKRS

  • How to trigger Business Transaction Event "WEIGH" in WM?

    How to trigger the Business Transaction Event "WEIGH" in WM from a user program?
    This "WEIGH" Business Transaction Event is supposed to modify the status in "status Management System" of SAP.
    Appreciate some feedback.

    Hi Ashutosh, if you are trying to raise a custom event you first must define the event within your business object, using TC SWO1.  If you like you can extend an existing business object or create a new one.  Once your business object is activated and your event is released you should be able to trigger it with the FM 'SWE_EVENT_CREATE'.
    P.S  If you are extending an existing business object, for example BUS2105 and your extended name is ZMBUS2105, refer to the original name, i.e. BUS2105 for the objtype field in the call to 'SWE_EVENT_CREATE'.
    Hope that helps,
    Kevin

  • How to trigger Alert with Event Linkage?

    Hi,
    Can any one tell me the process how to trigger alerts with event linkage? I am successul in triggering by calling function module SALRT_CREATE_API.
    my scenario is...
    when a purchase order is cancelled, i have to trigger an alert to the concerned department head throgh Alert Inbox and external mail also.
    Plese guide me..
    Regards,
    Dhanunjaya Reddy

    Hi,
    now i am getting alerts from Event Linkage.
    Here i take the scenario Sales order change.
    BOR object : BUS2032
    Event          : Changed
    Receiver type : <my alert>
    Receiver call  : Function Module
    Receiver Functiona Module : SALRT_CREATE_VIA_EVENT
    Linkage is activated.
    when a sales order is changed receiver function module triggering the alert which is defined in Receiver type. That i am getting in my alert inbox. Upto this.. it is cleared.
    Now the scenario is.. about Alert Container
    in alert container i take element is BOR Object type BUS2032.
    the questions are..
    1. Is it correct to defined BOR object here to get data when Sales order has been changed.
    2. What are the properties i have to take in Properties tab?
    3. How to use alert container parameters in short and long text?
    Here my clear intention is when a sales order is changed.. i have to get the data related to that sales order and it has to show in Alert.

  • How to trigger the Process Chains in BI from ECC

    HI Friends,
    Can let me know  How to trigger the Process Chains in BI from ECC. Please let me know.........

    Hi,
    1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
    2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
    3) In BW schedule the PC..........and in the Start variant use this Event..........
    http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
    It can be help full
    Regards,
    Edited by: subba2010 on Aug 19, 2010 6:51 AM

  • How to trigger window minimize event manully

    in my program i've two jframes, i want to hide one frame when clicking a button in another frame.
    I achieved it thro frame.setVisible(false) but i want native minimize transition and than hide.It's just like when a user clicks the button other frame must minimize and than hide.
    so i need to trigger the minimize event thro program, how can i do that

    Juz execute this code armi, it works fine... tell me after that... the previously attached code was wrong... use this...
    import java.awt.BorderLayout;
    import java.awt.Rectangle;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class Class7 extends JFrame implements ActionListener
      private JPanel jPanel1 = new JPanel();
      private JButton jButton1 = new JButton();
      public Class7()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      public static void main(String[] ar)
        Class7 c = new Class7();
      private void jbInit() throws Exception
        jPanel1.setLayout(null);
        jButton1.setBounds(new Rectangle(115, 215, 175, 35));
        jButton1.setText("jButton1");
        jButton1.addActionListener(this);
        jPanel1.add(jButton1,null);
        this.getContentPane().add(jPanel1, BorderLayout.CENTER);
        this.setSize(400,400);
        this.setVisible(true);
      public void actionPerformed(ActionEvent ae)
      if(ae.getSource() == jButton1)
        this.setExtendedState(this.ICONIFIED);
    }Hope this helps u...
    Regards,
    Ciya

  • How could control the scroll events in ALV OO?

    Hello experts!
    I'm programing a report, inside there is a field that need time of processing. I'm using ALV OO.
    I have thought that it could only calculate the field for the lines that visualize.
    How could control the scroll events to calculate the field of the visualized lines?
    I'm using CL_SALV_TABLE class and cl_salv_events_table to control the events, but there aren't any event to control the scroll.
    best regards!

    Hi Sriram,
    I did view the information that you was attaching, but this don't resolve my problem. With methods get_scroll_info_via_id and set_scroll_info_via_id, we can get and put information of selection and view rows in the screen but we don't control when the user click in the scroll for advance or to back down a page.
    I would like to refresh the data in ALV when the user view news rows.
    I want your genial ideas.
    Best regards!

  • How to see the wait events info. after excute a select query

    Hi
    How to see the wait events info. after execute a select query. Are there any parameter to set for this option?
    And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right?
    SELECT * FROM emp, dept
    WHERE emp.deptno = dept.deptno;
    call   count      cpu    elapsed     disk    query current    rows
    Parse      1     0.16      0.29         3       13       0       0
    Execute    1     0.00      0.00         0        0       0       0
    Fetch      1     0.03      0.26         2        2       4      14
    Misses in library cache during parse: 1
    Parsing user id: (8) SCOTT Regards
    Arpitha

    $ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 20 15:29:33 2011
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> SHOW PARAMETER dump
    NAME                                 TYPE        VALUE
    background_core_dump                 string      partial
    background_dump_dest                 string      /user/oracle/app/oracle/admin/
                                                     orclsb/bdump
    core_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/cdump
    max_dump_file_size                   string      UNLIMITED
    shadow_core_dump                     string      partial
    user_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/udump
    SQL> ALTER SESSION SET EVENTS='10046 trace name context forever, level 12';
    Session altered.
    SQL> SELECT * FROM emp WHERE deptno=20;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000
            20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7876 ADAMS      CLERK           7788 23-MAY-87       1100
            20
          7902 FORD       ANALYST         7566 03-DEC-81       3000
            20Now
    $ pwd
    /user/oracle/app/oracle/admin/orclsb/udump
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     622 Apr 20 11:35 orclsb_ora_949.trc
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    $ tkprof  orclsb_ora_1255.trc  orclsb_ora_1255.txt
    TKPROF: Release 10.2.0.2.0 - Production on Wed Apr 20 15:32:17 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    -rw-r--r--   1 oracle   oinstall   26872 Apr 20 15:32 orclsb_ora_1255.txtThis orclsb_ora_1255.txt contains the required information.

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • How to create the Exit Variable

    Dear all,
    I want to create the exit Variables  for query.
    But How to create the exit variables.
    Dose Anyone could share some document?
    Thanks
    Best regards,
    Leon

    Hi,
    Check this out:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
    assign points if useful ***
    oops this is for authorization in BW reports***
    anyways keep this,.. it may be help for you though this may not answer your Qn. on exit variable.
    Thanks,
    Raj
    Message was edited by: Raj

  • Can not trigger the null event!

    Page newPage = new Page("ListAffirmSubmit_Java");
    EventResult result = new EventResult(newPage);
    return result;
    This way can not trigger the null event in the 'newPage'.I want to call the null event to init the viewobject in the 'newPage'.
    Can you tell me the reason or another way to init it?

    I have found a way from the help on line:
    Page nextPage = new Page("ListAffirmSubmit_Java");
    Page redirectPage = RedirectUtils.getRedirectPage(context, nextPage);
    return new EventResult(redirectPage);

Maybe you are looking for

  • How to process a bunch of files

    I am attempting to write a program that will take a list of files to process & process them each in turn. At the moment I have 2 Files declared: File inputFile=new File("default.asc"); File outputFile=new File("default.txt"); The idea is that the use

  • CC and Extension builder

    What is the upgrade path to cs extension built with extension builder 2.0 on CC versions? Do we have to wait for the next version of Extension Builder ? Does an extension built for version 6.0 (InDesign) will be OK for Indesign CC if we do not put a

  • Preview fails to resize Photoshop JPEGs

    I have a 2013 Retina MBP on Yosemite, with a licensed copy of Photoshop CC. My problem is, Preview cannot deal with JPEGs I am creating in Photoshop. Preview is really sluggish when it loads the images, and is unable to resize them. It appears to do

  • What is Orchestration Framework

    Hello All, One of the differences between OIM 10g and 11G is Orchestration Framework. Just out of curiosity I want to learn more about this. Please help me by referring to any useful docs or web-links. Thanks in advance. Manohar

  • Techinical assistance in Documaker

    I'm new to documaker and working on version 12.3. Need help to resolve the below issues. Please let me know if you need any more details on the question. Thanks in advance ! 1. Claim details is generated for multiple customers in single document and