How to create log entry when session exceeded profile's limit ?

Hi all,
is there any way to create entry in log_table (or some log file) when session exceeded its profile's limit (i.e. idle_time) ?
If this entry can be created when session status changes to 'SNIPED', it would be great.
I've tried with trigger "AFTER SERVERERROR" but it doesn't fire on errors like below:
ORA-02396: exceeded maximum idle time, please connect againThank for any help in advance.
Oracle ver: 10.2.0.4 (Windows XP and Linux RH4).
Tomasz K.

Thanks for your reply.
I had audit enabled already,
but there is no real reason logged in audit trail why the session has been disconnected.
ACTION_NAME has only 'LOGOFF' [clear exit] or 'LOGOFF BY CLEANUP' (which includes all "brute" disonnect reasons, as network failure, app failure or "session limit exceeded).
Is there any way to differentiate 'LOGOFF BY CLEANUP' audit entries into more precise descriptions ?
Thanks
Tomasz K.

Similar Messages

  • Create log entries with command-line client?

    I am getting an error message that seems to indicate that it's impossible to create log entries with the command-line client. Can I ask one of you FCS gurus to advise me?
    Note the disturbing error message below: *Entity /log doesn't know how to do create*
    root# ./fcsvr_client create /log --xml < /tmp/logentry.xml
    <?xml version="1.0"?>
    <session>
    <values>
    <value id="CODE">
    <atom>E_NOTSUPP</atom>
    </value>
    <value id="DESC">
    <string xml:space="preserve">Entity /log doesn't know how to do create</string>
    </value>
    <value id="SRC_FILE">
    <string xml:space="preserve">PmdEntity.C</string>
    </value>
    <value id="SRC_LINE">
    <int>2017</int>
    </value>
    <value id="ERROR_TYPE">
    <atom>ET_PERM</atom>
    </value>
    <value id="ADDRESS">
    <string xml:space="preserve">/log</string>
    </value>
    </values>
    </session>
    root# cat /tmp/logentry.xml
    <?xml version="1.0"?>
    <session>
    <values>
    <value id="LOGASSETID">
    <string xml:space="preserve">26</string>
    </value>
    <value id="LOG_DETAIL">
    <string xml:space="preserve">I am your log entry detail.</string>
    </value>
    <value id="LOG_STATUS">
    <string xml:space="preserve">OK</string>
    </value>
    <value id="LOG_TYPE">
    <atom>response</atom>
    </value>
    <value id="LOG_USER">
    <string xml:space="preserve">admin</string>
    </value>
    <value id="LOG_SUMMARY">
    <string xml:space="preserve">Log Summary from Command-Line</string>
    </value>
    </values>
    </session>
    Message was edited by: dpotter-ntc

    Hmm, no, my 1.5.2 instance logs script responses twice- once to say it is executing and again after the process terminates to say that it ran. The second entry is where any stdout is printed. I don't know of any setting that would turn this off, it has always been there for me.
    A typical script response log entry looks like this:
    Summary
    "response \[Response Title] script triggered by Subscription \[Subscription Title] complete"
    Detail
    "response complete, completed command /fcsvrbin/\[scriptname.sh] with arguments { 43, 8 } "
    "stdout would print here, if there is any"
    You probably already tried it, but try filtering your log search for "script triggered" since it can be easy to miss spotting entries on a busy system, and they don't necessarily show up side by side in the logs with the other responses in their respective stack.

  • Function module to create log entry with notification

    Hi All,
      I need to create log entry with respect to functional location and it should be attached to notification in transaction LBK1.
    for creating log entry we have separate function module - DIACL_LOG_ENTRY_CREATE.
    for creating Notification also we have separate function module
    BAPI_ALM_NOTIF_CREATE.
    how to link this notification to log entry.
    is there any function module available.
    Its urgent.
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • How to create an activity when system finds duplicate record!!

    Hi CRM Experts,
    I am working on CRM 5.0. We are uploading contact details to CRM through ELM.
    Here My queries are:
    1) How to create An Activity when system finds duplicate record?
    2) By using ELM we can create BP with Activities and BP with Leads. But Here, my scenario is we have to Create BP with leads and Acivities. can any one help me on these areas?
    Thank in Advance.
    Sree

    Hi Sree,
    I can help you with your first query.
    When the system finds a duplicate record then either the system stops working further or proceeds with the error free record.
    So once the duplicate entry is found only the first record will be considered and not the second or the duplicate record.
    Regards,
    Rekha Dadwal
    Kindly reward with points if usefull !!!!

  • How to create an entry in Badi Filter table T77HAP_FLT_PRP

    How to create an entry in Badi Filter table T77HAP_FLT_PRP

    Hello Rahul,
    Filter types should be created on badi implementations ( in transaction se19 )
    Read my answer on this thread :
    Re: BADI:Filter type un editable
    I hope it helps.
    Bulent

  • How to create an entry TVARVC

    hi how to create an entry...in TVARVC  for a variable...

    is it possible just go to  TVARVC
    utilities----> table contents-> creat entries.
    just check with this .
    Thanks

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How to create TNS entry for db2 database?

    hi,
    I want to create a db2 database tns entry in tnsname.ora file. How do i create?
    thanks

    There seem to be several related threads about this concern.
    Creating dblink for db2 database
    How to create TNS entry for db2 database?
    How to create TNS entry for db2 database?

  • How i create popup menu when button onclick

    how i create popup menu when button onclick

    You try adding a scrip tag in your jsp code, and calling the function in the onclick attribute.
    Example:
    <script><![CDATA[
                    function confirmDelete(){
                    if(confirm("Are you sure you want to delete selected user")){
                    return true;
                    } else{
    return false;
    ]]></script>
    <ui:button action="#{View.delete_action}" binding="#{View.delete}" id="delete" onclick="confirmDelete"/>
    Cheers
    Daniel
    null

  • Husband and i used to share an iTunes account when we exceeded our device limit I started a new account he has 2 movies I purchased  I want them he does not can he transfer - give them to me somehow?

    Husband and I used to share an iTunes account when we exceeded our device limit I started a new account he has 2 movies I purchased  I want them he does not  - can he transfer - give them to me somehow?

    Items purchazed under one account cannot be transferred to another

  • When materials are returned from customer how to create gate entry ?

    I need to create gate entry for customer return materials before doing PGR. Is there any process available in SAP?
    Pls help
    Jaya

    HI
    you can do one thing
    At the time of doing PGR create a new output type and design smart form / Script based on client requirement and take the print out at the time of PGR
    and also if you want to check the stock for Return material you can track in the system by using MB51 you can find out rather than doing manually because one if you done PGR means you received the Stock
    if i am wrong please correct me
    Regards,
    Prasanna

  • How to create a dedicated-server session (to a oracle database)

    Hello!
    I've installed Oracle SQL Developer (Rel.: 2.1.1.64.45) and Oracle Instant Client (Rel.: 11.1.0.7), my Client is configured to enable connections using tnsnames.ora or host-/easy-naming (sqlnet.ora-entry: NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)).
    Regardless how I configure a database-connection in SQL Developer, I allways "only" get a shared-server connection (even when using a tnsnames.ora-entry with "...(SERVER = DEDICATED)...").
    SQL Developer (any release) in combination with ("fat") client 9.2.0.7 (using tnsnames.ora) creates dedicated-server sessions as wanted.
    Is there any setting in SQL Developer which dis- and/or enables dedicated-server sessions or is this a feature/problem of Instant Client 11.1.0.7?
    Any ideas and/or suggestions?
    (Additional Info: There is no difference in this behavior according to the connected database, I work with databases 9.2.0.7, 10.2.0.3, 10.2.0.4, 11.1.0.6 and 11.2.0.1)
    With kind regards
    Klaus

    Hi,
    Take a look at the main [ SQL Developer page on OTN|http://www.oracle.com/technology/products/database/sql_developer/index.html]. There is a link you should find useful, it's the Getting Started link under the Migration section. This explains how to download and setup the drivers you need to correct to non-Oracle databases. There are also links to online demonstrations on how to create connections to these databases. See how you go with that material.
    It should help.
    Sue

  • How to create Infotype entry in table T777D

    Hi All,
    We have undergone Upgrade from 4.6C to ECC 6.0.
    Now we get an error while maintaining certain data infotype 0122 does not exists.
    I looked at the entries in table T777D in both the system. In older system the entry is there but not in the new system.
    When i tried creating the entry in this table the error comes 'Module pool program MP012200 is not present'. This program was there in 4.6C but is not there in ECC 6.0.
    How do we genrate this program or how do we create the entry for this infotype to correct the error.
    Is there any customizing settings that is required?
    Please advice.
    Regards,
    Vidya.

    Look at OSS [Note 546167 - Termination in PA10: Infotype 0122 does not exist|https://service.sap.com/sap/support/notes/546167]
    >Symptom
    >
    >When you edit the master data (transaction PA10) after you upgrade Release 4.6C to Release 4.70 or higher, a termination occurs and an error message is issued informing you that infotype 0122 does not exist.
    >
    >Other terms
    >
    >No entry in table T777D
    >
    >Solution
    >
    >In the 'Infotype attributes (Customizing)' view (extended table maintenance for view V_T582A), delete the entry for infotype 0122.
    >In the 'Infotypes - country-specific settings' view (extended table maintenance for view V_T582L), delete the entry for infotype 0122.
    Regards

  • How to create monitor entries from an update routine?

    Hi,
    Does anyone try to create monitor entries in ABAP routine in update rules?
    I have How-to guide "How to... Create monitor entries from an update routine". I applied code from it.
    RETURNCODE = 1.
    MONITOR-MSGID = 'RSM'.
    MONITOR-MSGTY = 'W'. *** I also tried MONITOR-MSGTY = 'E'
    MONITOR-MSGNO = '799'.
    MONITOR-MSGV1 = 'My message '.
    MONITOR-MSGV2 = COMM_STRUCTURE-<MY_FIELD>.
    append MONITOR.
    EXIT.
    But it doesn't work. I don't see new lines on Details tab in AWB Monitor.
    What's wrong?
    BW 3.0B

    Hi, hope you had a good weekend.
    I tried with MSGTY = 'I' and I didn't get any errors or warnings at load.
    In the monitor, on the detail tab, I find hidden under:
    Processing (data packet)
    -> Data Package x
       -> Transfer rules
          -> Data records for package x
             -> Record 0:
             -> Record 0:
             -> Record 0:
    When I select "Display Message(s)" from the dropdown-menu on one of these "Record 0:" lines, I get to see
    my message text: S:RSM:000 test1 test2
    1) how can I change the text that appears in the monitor tree ("Record 0:") ?
    2) The status of these nodes is always a green led (also with MSGTY = 'W')... shouldn't it be a yellow triangle?
    Like this it is hell to find your warnings/information messages.
    3) I cannot find my monitor messages with transaction SLG1... should I be able to find them there?
    Kind regards,
    Edwin

  • How to create an idoc when the credit memo is generated!

    My requirement is "An idoc will be generated when the credit memo is created "
    What is the possible way to that.
    Please send me steps (with screen shots if possible)
    thnks

    Re: How to create a credit memo !
    Reward point..

Maybe you are looking for