Need to set module name same as  username in V$sqlarea

Hi Gurus,
I tried to set module name same as schema name in v$sqlarea, generally it was sql*plus. For that i created one after database logon trigger, but it didn't work for all users, it is only working for SYS schema only.
CREATE OR REPLACE TRIGGER LOGIN_USERS_TRIG_NEW
AFTER LOGON ON DATABASE
declare
v_dbuser varchar2(32) ;
begin
select sys_context('USERENV','SESSION_USER') into v_dbuser from dual;
dbms_application_info.set_module(v_dbuser);
end;
result will verify from
select module , parsing_schema_name from v$sqlarea;
so if i am logging with scott user then in v$sqlarea table module name should be scott only. so whatever queries was executed from scott all queries module name should scott only.
Like that for all users. Please suggest is there any other option.
If i execute the same plsql code in scott session , it is working, but when i set with logon trigger it didn't set.
see if i execute:
SQL> exec DBMS_APPLICATION_INFO.set_module(USER, 'Initialized');
PL/SQL procedure successfully completed.
SQL> SELECT sys_context('USERENV', 'MODULE') FROM DUAL;
SYS_CONTEXT('USERENV','MODULE')
SCOTT
but the same with trigger it didn't set. Any idea.
Thanks in advance,

hi i take a trace of the session. in that trace statement is showing.
-bash-3.00$ cat orcl_ora_4407.trc
Trace file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_4407.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1
System name: Linux
Node name: localhost.localdomain
Release: 2.6.9-42.0.0.0.1.ELsmp
Version: #1 SMP Sun Oct 15 14:02:40 PDT 2006
Machine: i686
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 20
Unix process pid: 4407, image: [email protected] (TNS V1-V3)
*** 2011-10-04 23:07:35.726
*** SESSION ID:(43.19) 2011-10-04 23:07:35.726
*** CLIENT ID:() 2011-10-04 23:07:35.726
*** SERVICE NAME:(SYS$USERS) 2011-10-04 23:07:35.726
*** MODULE NAME:(SYS) 2011-10-04 23:07:35.726
*** ACTION NAME:() 2011-10-04 23:07:35.726
CLOSE #1:c=0,e=93,dep=1,type=1,tim=1317749855723627
=====================
PARSING IN CURSOR #2 len=47 dep=1 uid=0 oct=3 lid=0 tim=1317749855729023 hv=2145557917 ad='47aca488' sqlid='049t4sdzy57cx'
select dummy from dual where USER = 'SCOTT'
END OF STMT
PARSE #2:c=1000,e=969,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3752461848,tim=1317749855729018
EXEC #2:c=1000,e=1434,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3752461848,tim=1317749855732048
FETCH #2:c=0,e=15,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3752461848,tim=1317749855732153
STAT #2 id=1 cnt=0 pid=0 pos=1 obj=0 op='FILTER (cr=0 pr=0 pw=0 time=0 us)'
STAT #2 id=2 cnt=0 pid=1 pos=1 obj=116 op='TABLE ACCESS FULL DUAL (cr=0 pr=0 pw=0 time=0 us cost=2 size=2 card=1)'
CLOSE #2:c=0,e=11,dep=1,type=1,tim=1317749855734625
=====================
PARSING IN CURSOR #1 len=47 dep=1 uid=84 oct=3 lid=84 tim=1317749855737092 hv=2145557917 ad='47aca488' sqlid='049t4sdzy57cx'
select dummy from dual where USER = 'SCOTT'
END OF STMT
PARSE #1:c=1999,e=1933,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=3752461848,tim=1317749855737087
EXEC #1:c=0,e=51,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=3752461848,tim=1317749855737654
FETCH #1:c=0,e=14,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=3752461848,tim=1317749855738075
STAT #1 id=1 cnt=0 pid=0 pos=1 obj=0 op='FILTER (cr=0 pr=0 pw=0 time=0 us)'
STAT #1 id=2 cnt=0 pid=1 pos=1 obj=116 op='TABLE ACCESS FULL DUAL (cr=0 pr=0 pw=0 time=0 us cost=2 size=2 card=1)'
CLOSE #1:c=0,e=7,dep=1,type=1,tim=1317749855738544
XCTEND rlbk=0, rd_only=1, tim=1317749855744024
XCTEND rlbk=0, rd_only=1, tim=1317749855745025
*** 2011-10-04 23:07:40.799
=====================
PARSING IN CURSOR #2 len=406 dep=0 uid=0 oct=47 lid=0 tim=1317749860799353 hv=4178600252 ad='478e46c0' sqlid='8z5gn0mwj0s9w'
declare
v_dbuser varchar2(32) ;
var_sid NUMBER;
var_serial NUMBER;
begin
select sys_context('USERENV','SESSION_USER') into v_dbuser from dual;
SELECT SID, serial#
INTO var_sid, var_serial
FROM v$session
WHERE SYS_CONTEXT ('USERENV', 'SESSIONID') = audsid;
sys.dbms_application_info.set_module(v_dbuser, null);
SYS.DBMS_SYSTEM.set_sql_trace_in_session (var_sid, var_serial, TRUE);
end;
END OF STMT
PARSE #2:c=76988,e=109996,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=1317749860799344
=====================
PARSING IN CURSOR #1 len=54 dep=1 uid=0 oct=3 lid=0 tim=1317749860821371 hv=552310686 ad='4793b5d0' sqlid='2yzdahhhfr5wy'
SELECT SYS_CONTEXT('USERENV','SESSION_USER') FROM DUAL
END OF STMT
PARSE #1:c=19997,e=19894,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,plh=1388734953,tim=1317749860821362
EXEC #1:c=0,e=39,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=1388734953,tim=1317749860822306
FETCH #1:c=0,e=58,p=0,cr=0,cu=0,mis=0,r=1,dep=1,og=1,plh=1388734953,tim=1317749860822419
STAT #1 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
CLOSE #1:c=1000,e=687,dep=1,type=3,tim=1317749860823263
=====================
PARSING IN CURSOR #1 len=86 dep=1 uid=0 oct=3 lid=0 tim=1317749860845379 hv=3278699504 ad='4793b444' sqlid='dv6dxh31qtyzh'
SELECT SID, SERIAL# FROM V$SESSION WHERE SYS_CONTEXT ('USERENV', 'SESSIONID') = AUDSID
END OF STMT
PARSE #1:c=21996,e=22022,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,plh=644658511,tim=1317749860845371
EXEC #1:c=0,e=76,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=644658511,tim=1317749860846365
FETCH #1:c=1000,e=1085,p=0,cr=0,cu=0,mis=0,r=1,dep=1,og=1,plh=644658511,tim=1317749860847543
STAT #1 id=1 cnt=1 pid=0 pos=1 obj=0 op='NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=0 size=117 card=1)'
STAT #1 id=2 cnt=1 pid=1 pos=1 obj=0 op='NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=0 size=104 card=1)'
STAT #1 id=3 cnt=1 pid=2 pos=1 obj=0 op='FIXED TABLE FULL X$KSUSE (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)'
STAT #1 id=4 cnt=1 pid=2 pos=2 obj=0 op='FIXED TABLE FIXED INDEX X$KSLWT (ind:1) (cr=0 pr=0 pw=0 time=0 us cost=0 size=26 card=1)'
STAT #1 id=5 cnt=1 pid=1 pos=2 obj=0 op='FIXED TABLE FIXED INDEX X$KSLED (ind:2) (cr=0 pr=0 pw=0 time=0 us cost=0 size=13 card=1)'
CLOSE #1:c=0,e=8,dep=1,type=3,tim=1317749860848409
EXEC #2:c=46992,e=47145,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=0,tim=1317749860848519
*** 2011-10-04 23:07:48.446
CLOSE #2:c=0,e=44,dep=0,type=0,tim=1317749868446462
=====================
PARSING IN CURSOR #1 len=36 dep=0 uid=0 oct=47 lid=0 tim=1317749868452507 hv=4128301241 ad='43cc3bbc' sqlid='5t10uu7v11s5t'
BEGIN DBMS_OUTPUT.ENABLE(NULL); END;
END OF STMT
PARSE #1:c=5999,e=5409,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=1317749868452500
EXEC #1:c=1000,e=1082,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=0,tim=1317749868454166
CLOSE #1:c=0,e=27,dep=0,type=0,tim=1317749868456571
=====================
PARSING IN CURSOR #2 len=48 dep=1 uid=0 oct=3 lid=0 tim=1317749868460092 hv=2334772408 ad='4c94ceb4' sqlid='cjk1ffy5kmm5s'
select obj# from oid$ where user#=:1 and oid$=:2
END OF STMT
PARSE #2:c=1000,e=1645,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1964104430,tim=1317749868460085
EXEC #2:c=1000,e=531,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1964104430,tim=1317749868461643
FETCH #2:c=1999,e=1461,p=0,cr=3,cu=0,mis=0,r=1,dep=1,og=4,plh=1964104430,tim=1317749868463587
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=500 op='TABLE ACCESS BY INDEX ROWID OID$ (cr=3 pr=0 pw=0 time=0 us cost=2 size=24 card=1)'
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=501 op='INDEX UNIQUE SCAN I_OID1 (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)'
CLOSE #2:c=0,e=7,dep=1,type=3,tim=1317749868464199
=====================
PARSING IN CURSOR #1 len=54 dep=1 uid=0 oct=3 lid=0 tim=1317749868465603 hv=2201826955 ad='4c97e470' sqlid='0m78skf1mudnb'
select audit$,properties from type_misc$ where obj#=:1
END OF STMT
PARSE #1:c=1000,e=422,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3506511888,tim=1317749868465597
EXEC #1:c=0,e=39,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3506511888,tim=1317749868466196
FETCH #1:c=0,e=726,p=0,cr=3,cu=0,mis=0,r=1,dep=1,og=4,plh=3506511888,tim=1317749868467149
STAT #1 id=1 cnt=1 pid=0 pos=1 obj=502 op='TABLE ACCESS CLUSTER TYPE_MISC$ (cr=3 pr=0 pw=0 time=0 us cost=2 size=46 card=1)'
STAT #1 id=2 cnt=1 pid=1 pos=1 obj=3 op='INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)'
CLOSE #1:c=0,e=144,dep=1,type=1,tim=1317749868467616
=====================
PARSING IN CURSOR #2 len=185 dep=1 uid=0 oct=3 lid=0 tim=1317749868469076 hv=1850944673 ad='4c9d8f00' sqlid='3ktacv9r56b51'
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_obj#, nvl(property,0),subname,type#,d_attrs from dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#
END OF STMT
PARSE #2:c=1000,e=478,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=4184428695,tim=1317749868468625
EXEC #2:c=999,e=923,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=4184428695,tim=1317749868470434
FETCH #2:c=3000,e=2985,p=0,cr=7,cu=0,mis=0,r=1,dep=1,og=4,plh=4184428695,tim=1317749868473470
FETCH #2:c=0,e=571,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=4184428695,tim=1317749868474130
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=0 op='SORT ORDER BY (cr=7 pr=0 pw=0 time=0 us cost=11 size=327 card=3)'
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=0 op='NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=0 us cost=10 size=327 card=3)'
STAT #2 id=3 cnt=1 pid=2 pos=1 obj=104 op='TABLE ACCESS BY INDEX ROWID DEPENDENCY$ (cr=4 pr=0 pw=0 time=0 us cost=4 size=81 card=3)'
STAT #2 id=4 cnt=1 pid=3 pos=1 obj=106 op='INDEX RANGE SCAN I_DEPENDENCY1 (cr=3 pr=0 pw=0 time=0 us cost=3 size=0 card=3)'
STAT #2 id=5 cnt=1 pid=2 pos=2 obj=18 op='TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=0 pw=0 time=0 us cost=2 size=82 card=1)'
STAT #2 id=6 cnt=1 pid=5 pos=1 obj=36 op='INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 time=0 us cost=1 size=0 card=1)'
CLOSE #2:c=0,e=10,dep=1,type=1,tim=1317749868474627
=====================
PARSING IN CURSOR #2 len=56 dep=1 uid=0 oct=3 lid=0 tim=1317749868475584 hv=3993603298 ad='4c9d8298' sqlid='8swypbbr0m372'
select order#,columns,types from access$ where d_obj#=:1
END OF STMT
PARSE #2:c=1000,e=926,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=893970548,tim=1317749868475577
EXEC #2:c=0,e=50,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=893970548,tim=1317749868476239
FETCH #2:c=0,e=132,p=0,cr=2,cu=0,mis=0,r=0,dep=1,og=4,plh=893970548,tim=1317749868476597
STAT #2 id=1 cnt=0 pid=0 pos=1 obj=105 op='TABLE ACCESS BY INDEX ROWID ACCESS$ (cr=2 pr=0 pw=0 time=0 us cost=3 size=161 card=7)'
STAT #2 id=2 cnt=0 pid=1 pos=1 obj=108 op='INDEX RANGE SCAN I_ACCESS1 (cr=2 pr=0 pw=0 time=0 us cost=2 size=0 card=7)'
CLOSE #2:c=0,e=12,dep=1,type=1,tim=1317749868477440
=====================
PARSING IN CURSOR #2 len=47 dep=1 uid=0 oct=3 lid=0 tim=1317749868481084 hv=1023521005 ad='4ca12498' sqlid='cb21bacyh3c7d'
select metadata from kopm$ where name='DB_FDO'
END OF STMT
PARSE #2:c=1000,e=830,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3452538079,tim=1317749868481079
EXEC #2:c=0,e=54,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3452538079,tim=1317749868481617
FETCH #2:c=1000,e=385,p=0,cr=2,cu=0,mis=0,r=1,dep=1,og=4,plh=3452538079,tim=1317749868482481
STAT #2 id=1 cnt=1 pid=0 pos=1 obj=552 op='TABLE ACCESS BY INDEX ROWID KOPM$ (cr=2 pr=0 pw=0 time=0 us cost=1 size=108 card=1)'
STAT #2 id=2 cnt=1 pid=1 pos=1 obj=553 op='INDEX UNIQUE SCAN I_KOPM1 (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)'
CLOSE #2:c=0,e=11,dep=1,type=1,tim=1317749868482607
=====================
PARSING IN CURSOR #5 len=406 dep=0 uid=0 oct=47 lid=0 tim=1317749868920033 hv=4178600252 ad='478e46c0' sqlid='8z5gn0mwj0s9w'
declare
v_dbuser varchar2(32) ;
var_sid NUMBER;
var_serial NUMBER;
begin
select sys_context('USERENV','SESSION_USER') into v_dbuser from dual;
SELECT SID, serial#
INTO var_sid, var_serial
FROM v$session
WHERE SYS_CONTEXT ('USERENV', 'SESSIONID') = audsid;
sys.dbms_application_info.set_module(v_dbuser, null);
SYS.DBMS_SYSTEM.set_sql_trace_in_session (var_sid, var_serial, TRUE);
end;
END OF STMT
PARSE #5:c=3000,e=2993,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=0,tim=1317749868920026
=====================
PARSING IN CURSOR #6 len=54 dep=1 uid=0 oct=3 lid=0 tim=1317749868921319 hv=552310686 ad='4793b5d0' sqlid='2yzdahhhfr5wy'
SELECT SYS_CONTEXT('USERENV','SESSION_USER') FROM DUAL
END OF STMT
PARSE #6:c=1000,e=234,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=1388734953,tim=1317749868921314
EXEC #6:c=0,e=33,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=1388734953,tim=1317749868921426
FETCH #6:c=0,e=37,p=0,cr=0,cu=0,mis=0,r=1,dep=1,og=1,plh=1388734953,tim=1317749868921496
STAT #6 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
CLOSE #6:c=0,e=8,dep=1,type=3,tim=1317749868922312
=====================
PARSING IN CURSOR #6 len=86 dep=1 uid=0 oct=3 lid=0 tim=1317749868922414 hv=3278699504 ad='4793b444' sqlid='dv6dxh31qtyzh'
SELECT SID, SERIAL# FROM V$SESSION WHERE SYS_CONTEXT ('USERENV', 'SESSIONID') = AUDSID
END OF STMT
PARSE #6:c=0,e=38,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=644658511,tim=1317749868922408
EXEC #6:c=0,e=523,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=1,plh=644658511,tim=1317749868923008
FETCH #6:c=1000,e=1034,p=0,cr=0,cu=0,mis=0,r=1,dep=1,og=1,plh=644658511,tim=1317749868924071
STAT #6 id=1 cnt=1 pid=0 pos=1 obj=0 op='NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=0 size=117 card=1)'
STAT #6 id=2 cnt=1 pid=1 pos=1 obj=0 op='NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=0 size=104 card=1)'
STAT #6 id=3 cnt=1 pid=2 pos=1 obj=0 op='FIXED TABLE FULL X$KSUSE (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)'
STAT #6 id=4 cnt=1 pid=2 pos=2 obj=0 op='FIXED TABLE FIXED INDEX X$KSLWT (ind:1) (cr=0 pr=0 pw=0 time=0 us cost=0 size=26 card=1)'
STAT #6 id=5 cnt=1 pid=1 pos=2 obj=0 op='FIXED TABLE FIXED INDEX X$KSLED (ind:2) (cr=0 pr=0 pw=0 time=0 us cost=0 size=13 card=1)'
CLOSE #6:c=0,e=7,dep=1,type=3,tim=1317749868925014
EXEC #5:c=5000,e=4799,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=0,tim=1317749868925309
=====================
PARSING IN CURSOR #6 len=52 dep=0 uid=0 oct=47 lid=0 tim=1317749868931018 hv=1029988163 ad='47885f94' sqlid='9babjv8yq8ru3'
BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;
END OF STMT
PARSE #6:c=2000,e=1998,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=1317749868931012
=====================
PARSING IN CURSOR #7 len=132 dep=1 uid=0 oct=3 lid=0 tim=1317749868933509 hv=2328831744 ad='4c975250' sqlid='ga9j9xk5cy9s0'
select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece from idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece#
END OF STMT
PARSE #7:c=0,e=199,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1697022209,tim=1317749868933503
EXEC #7:c=0,e=121,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1697022209,tim=1317749868934465
FETCH #7:c=1000,e=975,p=0,cr=4,cu=0,mis=0,r=1,dep=1,og=4,plh=1697022209,tim=1317749868935481
FETCH #7:c=0,e=28,p=0,cr=3,cu=0,mis=0,r=1,dep=1,og=4,plh=1697022209,tim=1317749868936446
FETCH #7:c=0,e=37,p=0,cr=1,cu=0,mis=0,r=0,dep=1,og=4,plh=1697022209,tim=1317749868937047
STAT #7 id=1 cnt=2 pid=0 pos=1 obj=227 op='TABLE ACCESS BY INDEX ROWID IDL_SB4$ (cr=6 pr=0 pw=0 time=0 us cost=3 size=18 card=1)'
STAT #7 id=2 cnt=2 pid=1 pos=1 obj=238 op='INDEX RANGE SCAN I_IDL_SB41 (cr=4 pr=0 pw=0 time=9 us cost=2 size=0 card=1)'
CLOSE #7:c=0,e=14,dep=1,type=1,tim=1317749868937451
=====================
PARSING IN CURSOR #7 len=132 dep=1 uid=0 oct=3 lid=0 tim=1317749868938386 hv=4260389146 ad='4c9747c4' sqlid='cvn54b7yz0s8u'
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece from idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece#
END OF STMT
PARSE #7:c=1000,e=902,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3246118364,tim=1317749868938380
EXEC #7:c=0,e=537,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=3246118364,tim=1317749868939041
FETCH #7:c=1000,e=365,p=0,cr=4,cu=0,mis=0,r=1,dep=1,og=4,plh=3246118364,tim=1317749868939444
FETCH #7:c=0,e=19,p=0,cr=1,cu=0,mis=0,r=0,dep=1,og=4,plh=3246118364,tim=1317749868939513
STAT #7 id=1 cnt=1 pid=0 pos=1 obj=224 op='TABLE ACCESS BY INDEX ROWID IDL_UB1$ (cr=4 pr=0 pw=0 time=0 us cost=3 size=44 card=2)'
STAT #7 id=2 cnt=1 pid=1 pos=1 obj=235 op='INDEX RANGE SCAN I_IDL_UB11 (cr=3 pr=0 pw=0 time=0 us cost=2 size=0 card=2)'
CLOSE #7:c=0,e=10,dep=1,type=1,tim=1317749868940075
=====================
PARSING IN CURSOR #7 len=135 dep=1 uid=0 oct=3 lid=0 tim=1317749868940494 hv=1115215392 ad='4c973d38' sqlid='c6awqs517jpj0'
select /*+ index(idl_char$ i_idl_char1) +*/ piece#,length,piece from idl_char$ where obj#=:1 and part=:2 and version=:3 order by piece#
END OF STMT
PARSE #7:c=999,e=390,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1319326155,tim=1317749868940488
EXEC #7:c=1000,e=269,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=1319326155,tim=1317749868941383
FETCH #7:c=0,e=592,p=0,cr=4,cu=0,mis=0,r=1,dep=1,og=4,plh=1319326155,tim=1317749868942015
FETCH #7:c=0,e=20,p=0,cr=1,cu=0,mis=0,r=0,dep=1,og=4,plh=1319326155,tim=1317749868942341
STAT #7 id=1 cnt=1 pid=0 pos=1 obj=225 op='TABLE ACCESS BY INDEX ROWID IDL_CHAR$ (cr=4 pr=0 pw=0 time=0 us cost=3 size=20 card=1)'
STAT #7 id=2 cnt=1 pid=1 pos=1 obj=236 op='INDEX RANGE SCAN I_IDL_CHAR1 (cr=3 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
CLOSE #7:c=0,e=10,dep=1,type=1,tim=1317749868942446
=====================
PARSING IN CURSOR #7 len=132 dep=1 uid=0 oct=3 lid=0 tim=1317749868943358 hv=1684122946 ad='4c9732ac' sqlid='39m4sx9k63ba2'
select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece from idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece#
END OF STMT
PARSE #7:c=1000,e=883,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=2317816222,tim=1317749868943351
EXEC #7:c=0,e=549,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=2317816222,tim=1317749868944005
FETCH #7:c=2000,e=1322,p=1,cr=4,cu=0,mis=0,r=1,dep=1,og=4,plh=2317816222,tim=1317749868945367
FETCH #7:c=0,e=28,p=0,cr=3,cu=0,mis=0,r=1,dep=1,og=4,plh=2317816222,tim=1317749868945473
STAT #7 id=1 cnt=2 pid=0 pos=1 obj=226 op='TABLE ACCESS BY INDEX ROWID IDL_UB2$ (cr=5 pr=1 pw=0 time=0 us cost=3 size=40 card=2)'
STAT #7 id=2 cnt=2 pid=1 pos=1 obj=237 op='INDEX RANGE SCAN I_IDL_UB21 (cr=3 pr=0 pw=0 time=9 us cost=2 size=0 card=2)'
CLOSE #7:c=0,e=540,dep=1,type=1,tim=1317749868946060
EXEC #6:c=22996,e=23633,p=1,cr=49,cu=0,mis=1,r=1,dep=0,og=1,plh=0,tim=1317749868955046

Similar Messages

  • Need to set module name = username in V$sqlarea

    Hi All,
    I tried to set module name same as schema name in v$sqlarea, generally it was sql*plus. For that i created one after database logon trigger, but it didn't work for all users, it is only working for SYS schema only.
    CREATE OR REPLACE TRIGGER LOGIN_USERS_TRIG_NEW
    AFTER LOGON ON DATABASE
    declare
    v_dbuser varchar2(32) ;
    begin
    select sys_context('USERENV','SESSION_USER') into v_dbuser from dual;
    dbms_application_info.set_module(v_dbuser);
    end;
    result will verify from
    select module , parsing_schema_name from v$sqlarea;
    so if i am logging with scott user then in v$sqlarea table module name should be scott only. so whatever queries was executed from scott all queries module name should scott only.
    Like that for all users. Please suggest is there any other option.
    Thanks in advance,

    user583843 wrote:
    Hi All,
    I tried to set module name same as schema name in v$sqlarea, generally it was sql*plus. For that i created one after database logon trigger, but it didn't work for all users, it is only working for SYS schema only.
    CREATE OR REPLACE TRIGGER LOGIN_USERS_TRIG_NEW
    AFTER LOGON ON DATABASE
    declare
    v_dbuser varchar2(32) ;
    begin
    select sys_context('USERENV','SESSION_USER') into v_dbuser from dual;
    dbms_application_info.set_module(v_dbuser);
    end;
    result will verify from
    select module , parsing_schema_name from v$sqlarea;
    so if i am logging with scott user then in v$sqlarea table module name should be scott only. so whatever queries was executed from scott all queries module name should scott only.
    Like that for all users. Please suggest is there any other option.
    Thanks in advance,in which schema's context, is trigger fired & run?
    with Oracle everything is denied; except that which is explicitly GRANTed.
    is SCOTT allowed to EXECUTE TRIGGER?
    is SCOTT allowed to access SYS_CONTEXT?
    etc.

  • Setting module name in OCI program

    Hi,
    I have been struggling with setting the module name from my OCI program. Below is the code in which
    I create the environment, connect, attempt to set the module attribute, wait for key input, and clean up
    and exit after getting the key input.
    That I can tell, I have called OCISetAttr as the documentation says I should and none of my return values
    indicate a problem. Yet when I v$session, I get what I presume is the default value of the module
    and not the value I set in the code("moduletest").
    The programs physical filename is oci101.exe. It also connects to the Oracle instance as a user named
    oci101. I check v$session with this query:
    select username, module from v$session where username is not null;
    And the output is this:
    USERNAME MODULE
    OCI101 oci101.exe
    SYSTEM SQL*Plus
    I should see a MODULE column value of "moduletest" for the OCI101 user.
    Not sure what I'm missing. Any ideas?? Here is the code:
    // Begin code:
    OCIEnv* envhp;
    ub2 charset_id = 0;
    ub2 ncharset_id = 0;
    ub4 mode = OCI_DEFAULT;
    const sword env_rc = OCIEnvNlsCreate(
    &envhp, mode,
    (void*)0, // user-defined context for custom memory allocation
    (void* (*)(void*, size_t))0, // user-defined malloc
    (void* (*)(void*, void *, size_t))0, // user-defined realloc
    (void(*)(void*, void*))0, // // user-defined free
    (size_t)0, // extra user memory
    (void **)0,
    charset_id, ncharset_id
    OCIError* errhp;
    const sword err_rc = OCIHandleAlloc(
    (dvoid *) envhp, (dvoid **) &errhp,
    OCI_HTYPE_ERROR, (size_t) 0, (dvoid **) 0
    checkerr(err_rc, errhp);
    OCISvcCtx* svchp = 0;
    const sword l2rc = OCILogon2(
    envhp, errhp, &svchp,
    (const OraText*)zusername, (ub4)strlen(zusername),
    (const OraText*)zpassword, (ub4)strlen(zpassword),
    (const OraText*)zdatabase, (ub4)strlen(zdatabase),
    mode
    checkerr(l2rc, errhp);
    // Set the module attrbute
    // Extract the session handle into sessionhp.
    OCISession *sessionhp = 0;
    ub4 sh_size = 0;
    sword oci_attr_get_status = OCIAttrGet ( svchp,
    OCI_HTYPE_SVCCTX,
    &sessionhp,
    &sh_size,
    OCI_ATTR_SESSION,
    errhp );
    checkerr(oci_attr_get_status, errhp);
    // Set the module
    sword oas_rc = OCIAttrSet(sessionhp, OCI_HTYPE_SESSION,(void *)"moduletest",
    strlen("moduletest"), OCI_ATTR_MODULE, errhp);
    checkerr(oas_rc, errhp);
    getchar();
    // Cleanup:
    if (svchp) { // 0 when already disconnected
    OCISvcCtx*const tmp_svchp = svchp;
    svchp = 0; // reset svchp on error or not
    const sword lorc = OCILogoff(tmp_svchp, errhp);
    checkerr(lorc, errhp);
    const sword rc = OCIHandleFree(envhp, OCI_HTYPE_ENV);
    // End Code.
    Thanks for any help . . .
    Karl

    Hi Karl,
    I'm certainly not an OCI expert, but after setting the module attribute the value is updated upon the next statement execution in my experience. There may be other ways in which this can happen, but I have not seen those cases.
    Here is a short example:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <oci.h>
    int main(int argc, char *argv[]) {
      OCIEnv      *envhp = NULL;  /* OCI Environment handle     */
      OCIError    *errhp = NULL;  /* OCI Error handle           */
      OCISvcCtx   *svchp = NULL;  /* OCI Service Context handle */
      OCISession  *usrhp = NULL;  /* OCI User Session handle    */
      OCIStmt     *stmtp = NULL;  /* OCI Statement handle       */
      /* the statement to execute   */
      /* this is purely for example */
      oratext *sqlstmt = "begin null; end;";
      /* connection information */
      oratext *username = "scott";
      oratext *password = "tiger";
      oratext *database = "orademo";
      /* used to hold the results of each OCI call */
      sword result = 0;
      /* Initialize and create a default environment */
      result = OCIEnvCreate(&envhp,
                            OCI_DEFAULT,
                            (dvoid *) 0,
                            0,
                            0,
                            0,
                            (size_t) 0,
                            (dvoid **) 0);
      /* allocate an error handle */
      result = OCIHandleAlloc((dvoid *) envhp,
                              (dvoid **) &errhp,
                              OCI_HTYPE_ERROR,
                              0,
                              (dvoid **) 0);
      /* create connection */
      result = OCILogon2(envhp,
                         errhp,
                         &svchp,
                         username,
                         (ub4) strlen(username),
                         password,
                         (ub4) strlen(password),
                         database,
                         (ub4) strlen(database),
                         OCI_DEFAULT);
      /* get the user session handle */
      result = OCIAttrGet(svchp,
                          OCI_HTYPE_SVCCTX,
                          (void *) &usrhp,
                          NULL,
                          OCI_ATTR_SESSION,
                          errhp);
      /* set the module attribute */
      result = OCIAttrSet(usrhp,
                          OCI_HTYPE_SESSION,
                          (void *) "My Module",
                          (ub4) strlen("My Module"),
                          OCI_ATTR_MODULE,
                          errhp);
      /* allocate the statement handle */
      result = OCIHandleAlloc((dvoid *) envhp,
                              (dvoid **) &stmtp,
                              OCI_HTYPE_STMT,
                              0,
                              (dvoid **) 0);
      /* prepare the statement for execution */
      result = OCIStmtPrepare(stmtp,
                              errhp,
                              sqlstmt,
                              (ub4) strlen((char *) sqlstmt),
                              OCI_NTV_SYNTAX,
                              OCI_DEFAULT);
      /* execute the statement - after execution the */
      /* MODULE value should be updated in v$session */
      result = OCIStmtExecute(svchp,
                              stmtp,
                              errhp,
                              (ub4) 1,
                              (ub4) 0,
                              (CONST OCISnapshot *) NULL,
                              (OCISnapshot *) NULL,
                              OCI_DEFAULT);
      /* print a simple prompt    */
      /* view session in SQL*Plus */
      printf("program paused, ENTER to continue...");
      getchar();
      /* disconnect from the server */
      result = OCILogoff(svchp,
                         errhp);
      /* deallocate the environment handle */
      /* OCI will deallocate child handles */
      result = OCIHandleFree((void *) envhp,
                             OCI_HTYPE_ENV);
      return OCI_SUCCESS;
    }When the program is paused I see this in SQL*Plus in my test:
    SQL> select sid, username, program, module from v$session where username = 'SCOTT';
           SID USERNAME         PROGRAM                          MODULE
           136 SCOTT            OCIModuleTest.exe                My ModulePerhaps that is a bit of help.
    Regards,
    Mark
    Edited by: Mark Williams on Dec 22, 2008 11:06 AM
    Tidied up the sample a bit.

  • Need Appointment Function Module Name to Read any Opportunity  No.

    Hello Gurus
    Can anyone  tell me the Appointment  type Function Module Name where Header_guid and  Appt_type are to be supplied .
    Means i want to only read(not to change or create)  an opportunity no for a particular Appointment type(Date_type).  I tried for the following FMs:
    1.CRM_APPOINTMENT_READ_OW
    2.CRM_APPOINTMENT_DETERMINE_OW
    3.CRM_APPOINTMENT_CHECK_OW
    thanks in advance
    Madhusudan

    Hello Madhusudan,
    for the activities you can use the following coding (example):
    -Beginn-
      CALL FUNCTION 'BAPI_ACTIVITYCRM_GETDETAILMULT'
        TABLES
          guid   = lt_guid
          header = lt_header
          date   = lt_bapibus20001_app_dis.
      CALL FUNCTION '/DKVES/SM_ACTIVITY_GETFROMBUPA'
        EXPORTING
          iv_partner  = lv_partner
        TABLES
          et_contacts = lt_sm_activity_simple.
      LOOP AT lt_sm_activity_simple INTO ls_sm_activity_simple.
        CLEAR ls_bapibus20001_app_dis.
        READ TABLE lt_bapibus20001_app_dis INTO ls_bapibus20001_app_dis
        WITH KEY ref_guid = ls_sm_activity_simple-activity_guid appt_type = 'ORDERPLANNED'.
          ls_order_aktiv-date_from = ls_bapibus20001_app_dis-date_from.
        APPEND ls_order_aktiv TO lt_order_aktiv.
      ENDLOOP.
    -end-
    If you want the other 'one order Objects' you can perhaps modify the selection.
    I hope that helps
    Torsten

  • Do we need to set up Name Server?

    Hi all,
    I am creating a Software Component in the SLD. During one of the steps, it request us to setup the Name Server. May I know what is the use for this name server? Can we do without the Name Server? And if we cannot, how do we configure the Name Server? And how do we know what type of name server to create?
    Thanks in advance.
    Regards

    Hi,
    You can leave it. It is used declaring it as the name server for the development infrastructure. In this case, the role of the server must be name server. The name server checks the <b>uniqueness of names and enables you to define name prefixes</b>. The name server is a role of a SLD. The other role is the landscape server role. The setup of the name server takes place in the same way as the setup of the SLD server.
    So when you create your project in NWDS using NWDI track then the name will come as the prefix of the project. If you want to use name server you need to registerit. For more information see the note SAP Note 710315. Here is a link I think it will clear you enough.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/e9905fe1582d53e10000000a422035/content.htm
    Thanks
    Chandan

  • I need the function module name

    i got the requirement to post data to FBS1 FB01 FBV1 transaction before posting the data to transaction i need to check the data in the iternal table for validity . this can be hadled by function modules or bapi
    if any now the name please reply

    hi  santaliestra.
    XBLNR(16) TYPE C,                  " Reference
    BLDAT(10) TYPE C,                  " Document date
    BUDAT(10) TYPE C,                  " Posting date
    BKTXT(25) TYPE C,                  " Short text
    BLART(2)  TYPE C,                  " Document type
    WAERS(5)  TYPE C,                  " Currency
    BUKRH(4)  TYPE C,                  " Company code in Header
        STODT(10) TYPE C,                  " Reversal date
        STGRD(2)  TYPE C,                  " Reason
        BUKRS(4)  TYPE C,                  " Company code
        GSBER(4)  TYPE C,                  " Business area
        HKONT(10) TYPE C,                  " Account number
        KOSTL(10) TYPE C,                  " Cost center
        AUFNR(12) TYPE C,                  " Order number
        PROJK(8)  TYPE C,                  " Wbs
        NPLNR(12) TYPE C,                  " Network
        VORNR(4)  TYPE C,                  " Network activity
        PRCTR(10) TYPE C,                  " Profit center
        ZUONR(18) TYPE C,                  " Assignment number
        PERNR(8)  TYPE C,                  " Personnel number
        VBUND(6)  TYPE C,                  " Trading parnter
        WRBTR(13) TYPE C,                  " Amount
        DMBTR(13) TYPE C,                  " Amount
        MWSKZ(2)  TYPE C,                  " Tax code
        SGTXT(50) TYPE C,                  " Item text
        MATNR(18) TYPE C,                  " Material
        LZBKZ(3)  TYPE C,                  " Bank indicator
        LANDL(3)  TYPE C,                  " Supplying country
        WWCNT(3)  TYPE C,                  " Ship to country
        WWPRL(2)  TYPE C,                  " Product line
        WWPG1(5)  TYPE C,                  " Product group
        WERKS(4)  TYPE C,                  " Plant
        BZIRK(6)  TYPE C,                  " Sales district
        BATR2(3)  TYPE C,                  " Bus. Attr 2
        WWPL4(11) TYPE C,                  " Product level 4
        WWPL5(14) TYPE C,                  " Product level 5
        PRODT(18) TYPE C,                  " Product
        KNDNR(10) TYPE C,                  " Customer
        VKORG(4)  TYPE C,                  " Sales org.
        VTWEG(2)  TYPE C,                  " Distribution channel
        SPART(2)  TYPE C,                  " Division
        VKBUR(4)  TYPE C,                  " Sales office
        INDUS(4)  TYPE C,                  " Industry
        CSGRP(2)  TYPE C,                  " Customer group
        MTNR1(18) TYPE C,                  " Material
        VKGRP(3)  TYPE C,                  " Sales group
        BATR1(18) TYPE C,                  " Bus. Attr 1
        WWPL3(8)  TYPE C,                  " Product level 3
        FKART(4)  TYPE C,                  " Billing type
        MGENT(8)  TYPE C,                  " Management entity
        WWPL6(18) TYPE C,                  " Product level 6
    for these fields i need to check for validity .

  • Urgent ...Need for  function module name.

    I have a requirement to print label using smartforms,in transaction VL02N.In which i need to get the name1(ship to information) information at run time as the
    user can change the Address in Stock transport order (most likely) or at the Delivery at the run time. We need to find a function module that reads the run time structure data (VTTPVB\name1) and gives us the data.
    Any pointers on this regards would be helpful
    With Thanks and Regards
    Arun T
    [email protected]

    Hi Sap Surfer,  
    VTTK and VTTP are the delivery tables here all the details with respect to delivery is stored and retrieved.
    To get the name1 and address fields the partner function plays a vital role and thus you can achieve this from VBPA.
    By selecting the correct partner function the right information can be retrieved.
    The structure contains data only during the transaction or the transaction programs run thus it is not advisible to get data from that so data is usually fetched from Tables.
    Hope this solves your query.
    Reward Points if useful.
    Thanks,
    Tej..

  • I was given a nano and need to set up name and sync under me; how do I do this, undoing the link to the person I got it from?

    I am currently looking at the manual under syncing with itunes, step 2 and it does not pull up for me to automatically to be able to put my info in so I am assuming it is using prior users.

    Hello Jenamin,
    After reviewing your post, I have located an article that can help in this situation. It contains helpful advice concerning restoring devices:
    Restoring iPod to factory settings
    http://support.apple.com/kb/ht1339
    Additional Information
    How to rename your iPod
    iPod does not appear in iTunes or on the desktop, an exclamation point or sad iPod icon appears onscreen
    iPod only shows an Apple logo and doesn't start up
    Your Windows PC doesn't recognize iPod
    iPod doesn't appear in iTunes or on my Mac desktop
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • I need to set the profile path to be system name dependent on linux. I have a set of servers that share home directories, so I can only run 1 copy of firefox on 1 of the servers.

    I have a group of 20 systems running RHEL 5.5 that share home directories. so my profile is located on each machine at /home/<username>/.mozilla/firefox/<unique string>.default
    this path is set by the file /home/<username>/.mozilla/firefox/profiles.ini.
    trying to open firefox on any system other than the first gives the "Firefox is already running, but is not responding." message.
    If I could make the profile sit at /home/<username>/.mozilla/firefox/<sysname>/<unique name >.default, then each system should be able to have 1 browser open at the same time...

    You can create shortcuts to open each instance with an absolute path to a specific profile instead of using profiles.ini
    See:
    * https://developer.mozilla.org/en/Command_Line_Options

  • HOW TO?: Need help setting up 3 different iCloud accounts for my kids (so each has own iMessanger)using same Apple ID (mine) ....they don't have their own separate email addresses to work from...how do I do this?

    Need help setting up 3 different iCloud accounts for my kids (so each has own iMessanger)using same Apple ID (mine) ....they don't have their own separate email addresses to work from...how do I do this?

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?

    Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?  If so, where do I need to change his email address info, so that his calender and contacts remain his?  Thank you

    You can continue to use the current AppleID for iTunes, but your husband can create a new AppleID to use to create a new iCloud account that will be his own and not overlap with yours.  If you do not have another email address to use for an AppleID, just get a free Gmail account and use that.
    You can have as many AppleIDs as you want (or at least, as many as you have email addresses for).  You can use a separate AppleID for the store, another for iCloud, and even another for iMessage if you wish.
    You will want to keep the current one as the shared one for the store as all your previous purchases are permanently tied to it, and thus you need that AppleID to update or redownload your current purchased content.

  • Can I sync my iPhone and my wife's iPhone calenders through the same iCloud account? Or do I need to set up 2 different apple id's anc iCloud's

    Can I sync my iPhone and my wife's iPhone calenders through the same iCloud account? Or do I need to set up 2 different apple id's and iCloud's

    No, I would recommed to use two separate iCloud accounts for mail, calendars, notes, reminders, contacts etc.

  • I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    That's probably not a good idea to try to share apps since you will have to switch ID's each time you update apps and sync apps from iTunes.
    And technically - according to Apple's terms - you cannot share apps using different ID's. You can actually lock yourself out of an ID for 90 days if you switch ID's and if you associate the iPad with another ID.
    The bold type is a copy and paste from the site that I referenced below.
    When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    http://support.apple.com/kb/ht4627

  • HT1311 I have changed the apple ID on my iphone successfully - can I now just connect to the itunes account on our PC which is in my husbands name? as both of our iphones used to connect to it when under his apple account. Or do i need to set up itunes my

    I have successfully changed my apple account using my iphone. Can i now just plug my iphone into my pc using the itunes account in my husbands name (this used to be my apple id too) or do I need to set up a whole new itunes in my name and download all music etc to that from scratch...........i am not very technical so very basic answers would be appreciated!!

    Hello erbim,
    Thanks for using Apple Support Communities.
    The Apple ID you sign in with will allow you access to the purchases made on that ID.
    For more information on this, take a look at this article:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Best of luck,
    Mario

  • Need help in setting file name with special characters in attachment

    Hi
    We have a requirement where we need to set the file name that contains special characters (like Russian) and send mauil using Java mail.
    If we set the file name as such, the attachment in the email contains garbled filename
    Can you pl let me know how to resolve this?
    We should use the file name as attachment name and this will have say special characters. The receiver who gets the mail should get with the correct attachment name
    One important point.. the attachments are opened from MS outlook.
    Thanks and regards
    Ram
    Edited by: 884910 on 13 Sep, 2011 5:00 AM

    Read the FAQ carefully. You don't need to call encodeText unless you're using a really
    old version of JavaMail.
    And, it depends on whether the mail reader you're using is handling encoded parameters
    according to the (new) MIME standard, or according to the (old) non-standard hack.
    Sadly, without knowing what mail reader the recipient is using, it's impossible to use
    encoded filenames that will work everywhere.

Maybe you are looking for

  • Airport Utility will not display any base stations.

    I just had a new hard drive installed in my two year old MAC, since the last one crashed and have Mavericks installed. I have tried to un-install the application so I can re-intall a new one but the system will not let me. I am running a 5th generati

  • Choosing LOV in the table row , clears the rest of the columns

    Hi. I am on Jdev 11g R3 I have a table with several editable columns. One of the columns is LOV I put some data in the NON lov field. Next I choose the value from LOV. As soon as I choose the value in LOV  - the rest of the fields get cleared and app

  • Sony i.LINK support

    I have a Sony MiniDV camcorder and I need software that can capture/edit the video via the i.LINK connection.  Do either of the new versions of Premiere Elements or Pro support this anymore?

  • Iphoto deleted facebook albums

         I deleted some albums from the iPhoto app without realising that they were synchronized to my Facebook acc. in the process i lost 16 albums. 7 years of memories and i have no back up. please help me recover these pictures urgently

  • How to show scorecard indicators Description on SharePoint PPSDashboard

    Hi, I have SharePoint dashboard which has one score card with one indicator with 3 levels "Off Target, Slightly Off Target ,On Target". But the end user does not know the value of each levels. So how should i show that in dashboard. If i would show t