Urget: Regarding user logon Trigger

hi all
please help me my problem is
trigger is like
CREATE OR REPLACE TRIGGER USERMODE_USERMST_A_LOGON_TRG
AFTER LOGON OR STARTUP
ON DATABASE
BEGIN
UPDATE SCOTT.USER_MASTER SET STATUS = 'S';     
commit;
END;
it execute successfully . but when i log on scott then it give me following error
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-04092: cannot COMMIT in a trigger
ORA-06512: at line 3
can we don't commit in database trigger...
Thanks
Singh

hi
SQL> CONNECT scott/tiger@irfan
Connected.
SQL> SELECT * FROM emp;
    EMPNO ENAME        JOB             MGR HIREDATE        SAL      COMM    DEPTNO A
7901 SMITH CLERK 7902 17-DEC-80 1000 20
     7499 ALLEN        SALESMAN       7698 20-FEB-81      1000       300        30
     7521 WARD         SALESMAN       7698 22-FEB-81      1000       500        30
     7566 JONES        MANAGER        7839 02-APR-81      1000                  20
     7654 MARTIN       SALESMAN       7698 28-SEP-81      1000      1400        30
     7698 BLAKE        MANAGER        7839 01-MAY-81      1000                  30
     7782 CLARK        MANAGER        7839 09-JUN-81      1000                  10
     7788 SCOTT        ANALYST        7566 19-APR-87      1000                  20
     7839 KING         PRESIDENT           17-NOV-81      1000                  10
     7844 TURNER       SALESMAN       7698 08-SEP-81      1000         0        30
     7876 ADAMS        CLERK          7788 23-MAY-87      1000                  20
     7900 JAMES        MANAGER        7698 03-DEC-81      1000                  30
     7902 FORD         ANALYST        7566 03-DEC-81      1000                  20
     7934 MILLER       CLERK          7782 23-JAN-82      1000                  10
     7999 ABCDEFGH     JOB            7839 09-FEB-06      1000         0        10
       16                                                 1000
       15                                                 1000
17 rows selected.
SQL> CREATE  OR REPLACE  TRIGGER USERMODE_USERMST_A_LOGON_TRG
  2  AFTER LOGON OR STARTUP ON DATABASE
  3  DECLARE
  4  PRAGMA AUTONOMOUS_TRANSACTION;
  5  BEGIN
  6  UPDATE EMP SET SAL =0 WHERE empno=7901;
  7  commit;
  8  END;
  9  .
SQL> /
Trigger created.
SQL> DISCONNECT
SQL> CONNECT scott/tiger@irfan
Connected.
[pre]
SQL> SELECT * FROM emp;
    EMPNO ENAME        JOB             MGR HIREDATE        SAL      COMM    DEPTNO A
7901 SMITH CLERK 7902 17-DEC-80 0 20     7499 ALLEN        SALESMAN       7698 20-FEB-81      1000       300        30
     7521 WARD         SALESMAN       7698 22-FEB-81      1000       500        30
     7566 JONES        MANAGER        7839 02-APR-81      1000                  20
     7654 MARTIN       SALESMAN       7698 28-SEP-81      1000      1400        30
     7698 BLAKE        MANAGER        7839 01-MAY-81      1000                  30
     7782 CLARK        MANAGER        7839 09-JUN-81      1000                  10
     7788 SCOTT        ANALYST        7566 19-APR-87      1000                  20
     7839 KING         PRESIDENT           17-NOV-81      1000                  10
     7844 TURNER       SALESMAN       7698 08-SEP-81      1000         0        30
     7876 ADAMS        CLERK          7788 23-MAY-87      1000                  20
     7900 JAMES        MANAGER        7698 03-DEC-81      1000                  30
     7902 FORD         ANALYST        7566 03-DEC-81      1000                  20
     7934 MILLER       CLERK          7782 23-JAN-82      1000                  10
     7999 ABCDEFGH     JOB            7839 09-FEB-06      1000         0        10
       16                                                 1000
       15                                                 1000
17 rows selected.Would you paste yours code here??
Khurram

Similar Messages

  • Multiple logon trigger for a user

    Hi,
    can I create two (or more) distinct logon trigger for a user? If yes, this situation is "clean"? Both triggers are executed on logon time?

    If you don't know what the wrapped source does
    and you don't care about the order
    then
    clean := false ;-)
    You filter access, but what if the unknkown wrapped source logs database access in some table on a user before your trigger DENIES access for that user/program?
    You would try to find out what the already existing trigger does (third party software?), if you really want to be clean.

  • Restrict User Connections Using Logon Trigger

    Hi all,
    Now I am restricting user connections from selected terminals, using following logon trigger.
    It allows users with DBA privileged user.
    How to restrict DBA Privileged users users ?
    Note:- As per my application needs DBA privilege.
    CREATE OR REPLACE TRIGGER on_logon
    AFTER LOGON
    ON DATABASE
    DECLARE
    VPROGRAM VARCHAR2(30);
    Vusername VARCHAR2(30);
    VTERMINAL VARCHAR2(30);
    CURSOR user_prog IS
    SELECT UPPER(program),UPPER(username),NVL(TERMINAL,'X') FROM v$session
    WHERE audsid=sys_context('USERENV','SESSIONID');
    BEGIN
    OPEN user_prog;
    FETCH user_prog INTO Vprogram,Vusername,VTERMINAL;
    IF VTERMINAL NOT IN ( 'APP1','APP2','APP3')+
    and Vusername='ABUL'+
    THEN
    RAISE_APPLICATION_ERROR(-20001, 'You are not allowed to login');
    END IF;
    CLOSE user_prog;
    END;
    Thanks i Advance
    Abk

    Your application needs the DBA role? That is a terrible design-- it violates every principle of secure coding.
    Login triggers don't fire for users with the DBA role, so you won't be able to use a login trigger here. You could ditch the login trigger and configure invited and excluded nodes in the listener's sqlnet.ora file, i.e.
    tcp.validnode_checking = yes
    tcp.excluded_nodes = (hostname1,hostname2,hostname3)You'll have to restart the listener after making that change.
    Justin

  • Autotrace with logon trigger?

    Hi,
    I've a view and the view is be reading by an external program.
    How can i see how and how long do they communicate ?
    Thanks in advance.
    With best regards
    Nicole

    Hi:
    If you have a testing environment (that is definitely a must have) and can modify sources the simplest way to activate trace is add a 'alter session set sql_trace=true' at the beginning of the application, then run it, and then evaluate results.
    Using a logon trigger for the user the application is connecting to is another way to accomplish the same, useful when the application cannot be modified. This is an example of the same:
    CREATE TRIGGER
    schema_owner.logon_tg AFTER LOGON ON schema_owner.SCHEMA
    BEGIN
    EXECUTE IMMEDIATE 'alter session set sql_trace=true';
    END;
    This will produce a trace file containing all of the statements executed by the session:
    Trace files go to USER_DUMP_DEST, and need to be parsed with TKPROF in order to produce readable output.
    Also, check to have timed_statistics=true, so it will report timing in the trace files.
    Try to produce trace files, and post if you need assistance in interpreting results.
    ciao
    Andrea

  • Newbie question for LogOn trigger and Connection String

    Hi,
    I would like to set certain session variables in the logon trigger. Is there a connection string attribute or some other way to pass a string or some data to the session.
    regards
    Stefan

    Hi,
    my concrete problem is that our application only uses one user. eg. appuser . During the login process of the application the "real" user name, language and other attributes are set in a packag as global variables.
    This works fine, but as soon as a usr logs on the DB without our application login then these are ofcourse not filled. My idea was to maybe to be able to enhance the connection string and to be able to pass some more information to the logon trigger.
    regards
    Stefan

  • Logon Trigger setting NLS_SESSION_PARAMETERS not working

    Hello,
    I have a problem with a logon trigger setting session parameters:
    create or replace
    TRIGGER standard.after_logon_trg
    AFTER LOGON ON STANDARD.SCHEMA
    BEGIN
      DBMS_APPLICATION_INFO.set_module(USER, 'Initialized');
      EXECUTE IMMEDIATE ('ALTER SESSION SET current_schema=standard');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_DATE_LANGUAGE=''AMERICAN''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_TERRITORY=''AMERICA''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_TIMESTAMP_FORMAT=''HH24:mi:ss''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_DATE_FORMAT=''YYYY-MM-DD''');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_COMP=LINGUISTIC');
      EXECUTE IMMEDIATE ('ALTER SESSION SET NLS_SORT=BINARY_CI');
      insert into standard.testcc (bezeichnung, datum) values ('logontrigger', SYSDATE);
    END;After I log in, the new row is added to the table, but the session parameters are completely untouched.
    select * from NLS_SESSION_PARAMETERS says:
    NLS_LANGUAGE     GERMAN
    NLS_TERRITORY     GERMANY
    NLS_CURRENCY     €
    NLS_ISO_CURRENCY     GERMANY
    NLS_NUMERIC_CHARACTERS     ,.
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD.MM.RR
    NLS_DATE_LANGUAGE     GERMAN
    NLS_SORT     GERMAN
    NLS_TIME_FORMAT     HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT     DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT     HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD.MM.RR HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY     €
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSEIf I execute the ALTER SESSION statements in the sql console (as user standard) they work perfectly, so this seems to be no permission issue.
    Whats wrong with the trigger?
    Thanks and regards
    Christian
    Edited by: 853536 on 20.04.2011 00:31
    OK, I've traced the entire database, and found out that my parameters are overwritten. So after my trigger has been executed, the NLS Session parameters are altered, for example:
    =====================
    PARSING IN CURSOR #4 len=386 dep=0 uid=40 oct=3 lid=40 tim=4721509708 hv=302297662 ad='ab275c28'
    select parameter,value from nls_session_parameters
    union all SELECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL
    union all SELECT 'SESSION_TIMEZONE' name, SESSIONTIMEZONE value FROM DUAL
    union all SELECT 'SESSION_TIMEZONE_OFFSET' name, TZ_OFFSET(SESSIONTIMEZONE) value from DUAL
    union all SELECT parameter, value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET'
    END OF STMT
    PARSE #4:c=0,e=3962,p=0,cr=4,cu=0,mis=1,r=0,dep=0,og=1,tim=4721509705
    EXEC #4:c=0,e=21,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721509816
    FETCH #4:c=0,e=111,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=4721509976
    FETCH #4:c=0,e=132,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=4721510598
    FETCH #4:c=0,e=204,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,tim=4721511118
    STAT #4 id=1 cnt=21 pid=0 pos=1 obj=0 op='UNION-ALL  (cr=3 pr=0 pw=0 time=264 us)'
    STAT #4 id=2 cnt=17 pid=1 pos=1 obj=0 op='FIXED TABLE FULL X$NLS_PARAMETERS (cr=0 pr=0 pw=0 time=128 us)'
    STAT #4 id=3 cnt=1 pid=1 pos=2 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=1 us)'
    STAT #4 id=4 cnt=1 pid=1 pos=3 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us)'
    STAT #4 id=5 cnt=1 pid=1 pos=4 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=1 us)'
    STAT #4 id=6 cnt=1 pid=1 pos=5 obj=96 op='TABLE ACCESS FULL PROPS$ (cr=3 pr=0 pw=0 time=194 us)'
    =====================
    PARSING IN CURSOR #3 len=41 dep=0 uid=40 oct=42 lid=40 tim=4721512239 hv=2321140216 ad='ab275184'
    alter session set NLS_TERRITORY='GERMANY'
    END OF STMT
    PARSE #3:c=0,e=329,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=4721512236
    EXEC #3:c=0,e=48,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721512424
    =====================
    PARSING IN CURSOR #2 len=35 dep=0 uid=40 oct=42 lid=40 tim=4721513208 hv=2785092162 ad='ab274e88'
    alter session set NLS_SORT='GERMAN'
    END OF STMT
    PARSE #2:c=0,e=283,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=4721513205
    EXEC #2:c=0,e=20,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=4721513370
    =====================
    ...This explains why they are overwritten, but I still don't know why the session parameters are altered after my trigger at all. Any idea?
    Edited by: 853536 on 20.04.2011 01:24
    Problem solved: I was using Oracle SQL Developer to edit my trigger and to try it - and SQL Developer seems to ovewrite the NLS_Session parameters. Duh.
    Edited by: 853536 on 20.04.2011 02:04

    Yes, SQL Developer will usually override the settings. It should not do this if you go to Tools->Preferences->Database->NLS and check "Skip NLS Settings".
    But, any program using JDBC OCI will also override most of the settings. Therefore, you should not rely on the database to fix the NLS settings. It is applications' job to prepare the NLS environment correctly (if the standard initialization based on the O/S settings and/or NLS_LANG is not satisfactory).
    -- Sergiusz

  • Logon-Trigger, TOO_MANY_ROWS exception

    Hi,
    for a NLS check there is a need for a logon trigger which is implemented for half a year. It works fine but very seldom the following select throws a TOO_MANY_ROWS exception:
    SELECT *
    FROM v$session
    WHERE audsid = USERENV('SESSIONID')
    I can state that this happens only for a user who is connected to the database by a virtual machine. Don´t know how I can fix it ... How can I reduce the number of rows to a level that I only get one row ...?!
    Any ideas or hints for me?
    Thanks in advance,
    Michael

    Hi,
    following statement is the nls-check.
    SELECT n.VALUE
    FROM nls_session_parameters n
    WHERE n.parameter = 'NLS_TERRITORY'
    If another Territory occurs than supposed I will write a mail to get to know on which seat and for which user I have to change the setting.
    For the mail I need to know which user, session, machine, etc. ..
    With regards,
    Michael

  • Gui status (AT USER-COMMAND) trigger at first

    Hello all,
    I wrote a basic list  shown below.
    In it , AT USER-COMMAND and AT LINE-SELECTION events are used all.
    when i double click on line in the list, I think the at line-selection should be trigger at first. but  in fact ,the AT USER-COMMAND trigger.
    and the sy-ucomm get the first button value in the GUI-STATUS BAR(There's only one button on it).
    how can i solve it .
    any answers should be appreciated.
    START-OF-SELECTION.
      SET PF-STATUS 'ZSATMM24F1'.
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'TO_a'.
          PERFORM to_a.
      ENDCASE.
    AT LINE-SELECTION.
      write : 'test'.
    best regards,
    daniel.

    Please make sure to add the fcode PICK to the F2 function code in your gui status and try again.
    Regards,
    Rich Heilman

  • Insufficient privileges using execute immediate in after logon trigger

    I have an after logon trigger that executes a package/procedure in the schema it was created in.
    One of the procedures runs the following:
    EXECUTE IMMEDIATE 'AUDIT INSERT TABLE, UPDATE TABLE, DELETE TABLE, EXECUTE PROCEDURE BY ' || USER;
    The procedure is throwing an insufficient privileges error when executing this.
    However - the schema owner has audit any and audit system privileges and - the statement works fine independently.
    When I login as another user this issue arises. The package/procedure are created with definers rights... So - i'm not sure why this is happenening.
    Any help is appreciated.

    privileges acquired via ROLE do NOT apply within named PL/SQL procedures.
    SQL> SET ROLE NONE
    SQL> --issue AUDIT again now                                                                                                                                                                                                                                                               

  • Apply the default user logon picture to all users

    Hi
    I applied gpo "apply the default user logon picture to all users"
     Computer Configuration\Administrative Templates\Control Panel\User Accounts\Apply the default user logon picture to all users
    C:\programdata\Microsoft\User Account Pictures\user.bmp  --> renamed my company log to user.bmp.
    Taken backup of old user.bmp.
    But policy is not working.
    Environment:
    Windows Server 2008 R2
    Clients:Windows 7 and Windows 8

    Hi S.Vijay Kumar,
    Based on my understanding, the GPO which configured the
    Apply the default user logon picture to all users would not apply successfully. What’s more, you have customized the default user logon picture
    %ProgramData%\Microsoft\User Account Pictures\user.bmp. Right?
     Firstly, please check if the scope of this GPO and the setting of Filtering are correct.
    Secondly, please follow the steps below to check if the GPO is applied to these Windows XP clients:
    Click Start, type rsop.msc in the search box to access
    Resultant set of policy.
    Check if the GPO is applied to these clients and the setting of the GPO is correct.
    In addition, it would be helpful for future troubleshooting if you could help to collect the following information:
    Did the GPO fail to apply for all the computers or only some computers?
    Can you set the user.bmp as the user logon picture
    manually?
    Regards,
    Lany Zhang

  • User logon history date and time details

    Hi,
    can any  tell me the user logon history tables,
        as usr02 is only having the present log on details

    use below Function module
    CALL FUNCTION '<b>RSAU_READ_FILE</b>'.
    it will solve your problem...
    =====================================
    Use BAPIS there are very useful BAPIS to get the user's info.
    BAPI_USER_CHANGE               Change User                                                              
    BAPI_USER_CLONE                Create User with Template in Another System                              
    BAPI_USER_CREATE               Create a User                                                            
    BAPI_USER_CREATE1              Create a User                                                            
    BAPI_USER_DELETE               BAPI to Delete a User                                                    
    BAPI_USER_DISPLAY              Display users                                                            
    BAPI_USER_EXISTENCE_CHECK      Check a user exists                                                      
    BAPI_USER_GET_DETAIL           Read User Details                                                        
    BAPI_USER_LOCACTGROUPS_ASSIGN  Change Activity Group Assignment for Dependent Systems from Central System
    BAPI_USER_LOCACTGROUPS_DELETE  Delete Activity Group Assignments in the Dependent Systems               
    BAPI_USER_LOCK                 Lock User                                                                
    BAPI_USER_LOCPROFILES_ASSIGN   Change Profile Assignment for Dependent Systems from Central System      
    BAPI_USER_LOCPROFILES_DELETE   Delete Profile Assignments for Dependent Systems                         
    BAPI_USER_PROFILES_ASSIGN      User: Assign profiles                                                    
    BAPI_USER_PROFILES_DELETE      User: Delete All Profile Assignments                                     
    BAPI_USER_UNLOCK               Unlock user                                      
    ===================================
    U can see tables:
    USR01 User master record (runtime data)
    USR02 Logon data
    USR03 User address data
    USR05 User Master Parameter ID
    USR12 User master authorization values
    <b>Reward Points if it is useful..</b>
    Thanks & Regards
    ilesh 24x7

  • Logon trigger setting nls_date_format over ridden by sql developer?

    Problem: Developers are inserting a Date record into a varchar field. I can't change this process right now. Non-Date info is stored here also. Would require a code change.
    To simplify this, I wanted to get all the developers to insert using the same 'nls_date_format'. I had hoped to be able to centralize this by having Oracle set it in the database. I tried this by setting the database nls_date_format and with a logon trigger.
    See test below. Seems to be over ridden.
    Test case is with SQL Developer. Noticed the same thing when developers use Websphere. I think we reduce the chance for errors, if I can handle this in the database. However, my nls_date_format settings are getting over ridden.
    1. s et database parameter nls_date_format to YYYY-MM-DD HH24:MI:SS , this gets over riden by SQL Developer/Websphere
    2. Created a trigger with an 'alter session', but this seems to get over ridden also.
    Please see test case below:
    Oracle 11.2.0.3
    test logging: SQLPLUS locally on the unix server, then log in using SQL Developer which is installed on my laptop.
    SQL Developer NLS_DATE_FORMAT : YYYY-MON-DD HH24:MI:SS , This is different for test purposes
    I have auditing turned turned on to db,extended with 'audit all by 'user' by access;' for test purposes to get more info.
    create table test (username varchar2(30),sid number,mytest varchar2(300),insert_date date);
    create or replace
    TRIGGER LOGINTRG
    AFTER LOGON ON DATABASE
    BEGIN
    insert into test select user,   sys_context('USERENV','SID') ,value,sysdate from v$parameter where name = 'nls_date_format';
    EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT=''YYYY-MM-DD HH24:MI:SS''';
    insert into test select user,   sys_context('USERENV','SID') ,value,sysdate from v$parameter where name = 'nls_date_format';
    commit;
    END LOGINTRG;
    /Results/Questions
    1. When I select from 'test', I confirm that my NLS_DATE_FORMAT is the same both before and after the alter session.
    2. select value from v$parameter where name = 'nls_date_format'
    output: YYYY-MON-DD HH24:MI:SS (so sql developer is over riding this);
    3. select * from dba_audit_trail where username = 'MYUSER' order by timestamp desc;
    The SQLs from the logon trigger are not captured. how do I capture logon trigger sqls? Not a huge deal, just curious
    4. I do not see any alter sessions issued by my user. shouldn't audit all by access capture that? how could my session nls_date_format change without an alter session?
    Edited by: Guess2 on Apr 22, 2013 10:44 AM

    >
    Problem: Developers are inserting a Date record into a varchar field.
    >
    No - they aren't. That is physically impossible. The only thing that can be stored in a 'varchar field' is a string. Oracle considers ANYTHING stored in a character column to be a string.
    Date values are stored in DATE columns. Perhaps you meant that developers are converting DATE values to strings and then storing the string in a 'varchar field'?
    >
    I can't change this process right now. Non-Date info is stored here also.
    >
    WONDERFUL! Why use a column to stored just one type of data? That is extremely wasteful. Hopefully you store strings that represent numbers in that same column also? It makes the data model so much easier to understand if developers only need to learn one datatype.
    >
    Would require a code change.
    >
    The horror!
    You should never, ever, EVER use a code change to fix a problem if there is even the slightest possibility that you can change the ENTIRE DATABASE instead.
    I've got good news though. You are now on version Oracle 11.2.0.3 and Oracle, after months of protests by some of their largest clients, has finally dropped the exhorbitant license fees for using some of the more esoteric datatypes like DATE and NUMBER.
    You should suggest to your manager that they use some of the license fee money saved to hire developers that already know how to design proper data models and use those new-fangled datatypes.
    Trust me - once you've made it up that steep learning curve your code will have fewer of those pesky 'dirty data' issues to deal with.
    Sure - it means less job security for your current developers. But sometimes you just have to 'take one for the team'!

  • AUTHENICATE SSO RAD INFO IN LOGON TRIGGER IN 10G FORM?

    I've been trying to add a LOGON Trigger to my Oracle 10g Form to check my RADs after logging into SSO.
    I'm having a problem setting up multiple Config's for multiple RADs. I have about 7different applications that I would like to log into but would like to log into the SSO just once. But for some reason each application is asking for a SSO log in.

    Hi!
    This is a webutil-restriction.
    You cannot use webutil in triggers that fires before the form has complete focus.
    Like pre-form, when-new-form-instance and on-logon triggers.
    In a when-new-form-instance trigger create a timer, let's say 200 millisconds long.
    In a when-timer-expired trigger you can call webutil.
    May you put your configuration-file on the server and use d2kwut !
    Regards.

  • How to create a user defined trigger and execute my form

    Hi All,
    I am working with oracle Apps r12 and oracle forms 10g.
    I have created a custom form. So i need to create a special menu and when the user click the menu it need to open a new block and query it accordingly.
    I have followed this link
    http://egeapp.egeseramik.com:8000/pls/prod/fndgfm/fnd_help.get/us/fnd/@g_special#g_special
    and created a special menu in my custom form
    In PRE_FORM trigger i have coded this
    APP_SPECIAL.INSTANTIATE('SPECIAL3','&ACTION HISTORY DETAILS',NULL,TRUE,'LINE');
    and IN PRE_BLOCK i have coded this
    APP_SPECIAL.ENABLE('SPECIAL3',PROPERTY_ON);.
    Now the special menu is enabled when i press it shows error
    that frm-40700 no such trigger:special3.
    Now i came to know that we need to create a user defined trigger put the code and when we press special menu it need to query it accordingly.
    Can any one tell the steps that how to do that accordingly.
    Thanks & regards
    Srikkanth

    Hi ,
    The problem is fixed, the link mentioned below might be use full for doing this.
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T457083.htm
    regards
    Srikkanth

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
    session.
    As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
    Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.

    Hi,
    What if we change the user name of user account, will it have impact on roaming profiles.
    Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
    Here is an related article below for you:
    How to Rename a Windows 7 User Account and Related Profile Folder
    http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
    Best Regards,
    Amy

Maybe you are looking for

  • Webutil and Forms 10g

    Hi, I'm currently converting a forms 6.0 application to forms 10g. My application has the file upload and download functionality. I researched the webutil 9i beta version, but my infrastructure team would not allow this to be installed in the 10g app

  • Urgent Problem - Flash Player does not display movies correctly.

    Hi. I have an urgent problem that I need help with. I installed Flash Player 9 on my computer and everything was o.k. The I installed Flash 8 and it asked if I wanted to install the player and I selected yes. Then when I went on the Web, I noticed on

  • Need to transfer slide show/movie to my iMac

    I created a slide show using iPhoto on my Mac Book Pro the slide show was converted into a movie file which I transferred to my iPad Air.  The slide show is now in the movies section of my iPad.  I need to share this slide show with 30 other people,

  • Raw profile Nikon D610

    How can i get the raw profile of a Nikon D610, it's not included in the newest file 8.0.0.137 for phtoshop elements 12?

  • Window resizing and repaint()

    hiya all. I was wondering what specifically was called when resizing a JFrame. Im assuming that repaint() is called as when i resize my JFrame the paintComponant method is run, but is there anything else? The reason i am asking is that i have an appl