FND_LOG_MESSAGES
Hi All,
I like to disable FND_LOG_MESSAGES entries.
FND_LOG_MESSAGES table is logging details of concurrent requests submitted by a particular user.
I would like to disable that
I verified all FND:Debug profiles ,but its not set .
Anyone have any idea why its generating FND_LOG_MESSAGE for that user.
Is there any way to disable that?
My EBSO version is 11.5.10.2
OS : AIX
And my program 'Purge Debug Log And System Alerts ' is running everyday deleting 7 days old message
Can anyone help me to disbale FND_LOG_MESAGE entry?
Thanks
Hi;
I like to disable FND_LOG_MESSAGES entries.
FND_LOG_MESSAGES table is logging details of concurrent requests submitted by a particular user.
I would like to disable that
I verified all FND:Debug profiles ,but its not set .
Anyone have any idea why its generating FND_LOG_MESSAGE for that user.
Is there any way to disable that?
My EBSO version is 11.5.10.2
OS : AIX
And my program 'Purge Debug Log And System Alerts ' is running everyday deleting 7 days old message
Can anyone help me to disbale FND_LOG_MESAGE entry?I belive if you run Purge state and delete files which is more than stay 7 days on your system, its not neccesary for disable FND_LOG_MESSAGE,becouse somehow you need to check this log file when its neccessary. By the way please check this to see for some user debug mode is on or not.
Please also see below link:
How to obtain tax debug logfile when using application version 12 or higher [ID 417238.1] (it for r12 but can gives you idea)
Depot Repair Debug Log file Instructions [ID 333658.1]
Regard
Helios
Similar Messages
-
ORA-1653: unable to extend table APPLSYS.FND_LOG_MESSAGES by 128 in
ORA-1653: unable to extend table APPLSYS.FND_LOG_MESSAGES by 128 in tablespace FND_TAB
as this getting in alert log.........Hi,
Please implement the solutions outlined in the following document.
Note: 743785.1 - How I resolved ORA-1653 on APPS_TS_TX_DATA tablespace
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743785.1
Regards,
Hussein -
How to debug using fnd_log_message
Hi All,
I am new to oaf.I am to debugging through fnd debug logging.for that i have followed
http://oracle.anilpassi.com/fnd-debug-log-debugging-oracle-apps-code.html link.
but things are not clear to me
I have followed following step.
I have added following line into code.
trxn.writeDiagnostics(this,"Into my method",OAFwkConstants.STATEMENT);
I am sure that above lines are executing but I am not getting this into fnd_log_message table.
newbieif(pageContext.isLoggingEnabled(1))
pageContext.writeDiagnostics(this, "org id" +pageContext.getOrgId(), 1);
The above code will log into fnd log messages table. Please check. -
Unable to write diagonostic mesages into the fnd_log_messages table
Hi,
I have written a small piece of code to write diagonostic messages in the fnd_log_messages table. The code is -->
if (am.getOADBTransaction().isLoggingEnabled(1))
am.getOADBTransaction().writeDiagnostics(this, "Testing download" , 1);
I have also enabled my fnd_debug profile and set "FND: Debug Log Level" = "statment".
Still I dont see the diagonostic message in fnd_log_messages table.
Please suggest whether I am mising something here...
Regards,
AmitAmit,
That is correct, System.out.println will come only in the jserv.log(that too when the jserv log is enabled = true).
Could you please add
pageContext.writeDiagnostics(this, "test message", 1);
in your controller and check the message is comming in the screen and in the fnd_log_messages.
And put this message before you do any action in the ProcessRequest and ProcessFormRequest.
Make sure this statement is getting executed.
Add to that, I am not sure this your custom page or not, if it is a custom page,
run in Jdeveloper and check your System.out.println is working fine.
Thanks,
With regards,
Kali.
OSSI.
Edited by: Kali V on Feb 25, 2011 1:54 AM -
Truncate FND_LOG_MESSAGES
Hi all,
I would like to learn if it will be a problem if I truncated the fnd_log_messages table . Due to a concurrent request problem our fnd_log_messages table boomed in two days and we could only notice it when it gave space error. In two days 10 gb data and almost 10 gb index were created. The concurrent to purge this table end with error. I will look into it but I also want to learn about the truncating.
Thanks
BurakHi,
There are some index is usually stored in this tablespace.if the tablespace grows up the index will also grow up accordingly.the extreme growth of fnd_log_messages may affect the size of the listed indexes :
FND_LOG_MESSAGES_N4
DR$FND_LOBS_CTX$I
FND_LOG_MESSAGES_N8
FND_LOG_MESSAGES_N7
CST_RCV_ACQ_COST_DETAILS_N1
DR$FND_LOBS_CTX$X
CST_RCV_ACQ_COST_DETAILS_U1
FND_LOG_MESSAGES_N5
AX_RULE_LINES_N2
you need to investigate a lot to know which table is responsible for this growth.the main reason which is very normal in all the cases is FND debug is set at site level.so the work around should be like:
1)purging obsolete system alert and log messages.
check again the size of apps_tx_ts_idx tablespace if it is still not reduced
*2)truncate table applsys.FND_LOG_MESSAGES;*
it is recommended by oracle(ID 759359.1) also.
thanks. -
FND_LOG_MESSAGES- API?
We are using BPEL to call a plsql procedure. To ensure errors are reported correctly, we decided to use the FND_LOG_MESSAGES table. Is there an API to add errors to this? I can't seem to find it. Thanks!
I believe that fnd_log.string should write messages to the fnd_log_messages table.
-
Hi All,
We have done the sso registration successfully , but sso login functionality is not working as expected.
Please provide some inputs to fix this issue.
Environment
We are on 11gR2 database for both OID and EBS 11.5.10.2.
OID version 11g on web logic server.
SSO server version is 10.1.4.3
In the front end it is showing the below error while login using the SSO URL.
"The Single Sign-On server registration is invalid. Please contact the System Administrator. "
When we run the below query in the backend (EBS R11 DB) it suppose to get the records without any error or it is suppose to show just “no rows selected”, but I got the “ORA-29275” error in the backend
Query: select FROM FND_USER_PREFERENCES WHERE USER_NAME = '#INTERNAL'*
and I ran the FND Log Query, found these messages..."END with errors for getSSOVerion"
Query--> select * from fnd_log_messages where module like '%fnd.sso.FNDSSOLoginRedirect%' order by timestamp desc;
out put:
MODULE,LOG_LEVEL,MESSAGE_TEXT,SESSION_ID,USER_ID,TIMESTAMP,LOG_SEQUENCE,ENCODED,NODE,NODE_IP_ADDRESS,PROCESS_ID,JVM_ID,THREAD_ID,AUDSID,DB_INSTANCE,TRANSACTION_CONTEXT_ID
fnd.sso.FNDSSOLoginRedirect,6,END with errors for getSSOVerion,-1,-1,7/7/2011 5:39:36 PM,16151017,N,agsos186,155.108.22.210,5161,8230:16210,Thread[Thread-17669,10,main],46984138,1,3762242
I have run the below mentioned steps to register the sso with EBS R11.
Registration Steps
txkrun.pl -script=SetSSOReg -registersso=Yes
txkrun.pl -script=SetSSOReg -registeroid=Yes -provtmp=$FND_TOP/admin/template/ProvBiDiNoCreation.tmp (Here basically I don’t want provision/create the users by default in EBS or OID). Even I tried default option its not working ( by default it provision /create in both places EBS and OID)
LOG
Oxxx(APPS2)$txkrun.pl -script=SetSSOReg -registersso=Yes
Enter the host name where Oracle iAS Infrastructure database is installed ? xxxxxxxxx2.com
Enter the Oracle iAS Infrastructure database port number ? 1510
Enter the Oracle iAS Infrastructure database SID ? xxx2eee
Enter Oracle E-Business apps database user password ? xxxxxxx
Enter Oracle iAS Infrastructure database ORASSO schema password ? xxxxxx
Enter Oracle E-Business SYSTEM database user password ? xxxxxxx
Enter E-Business Suite existing SSOSDK schema password or choose a password to use with the new SSOSDK schema if the schema does not exist ? ssosdk
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /aifsd03/ifs/applmgr/xxxxcomn/rgf/xxxxxxxx_agsosxxx/sso/txkSetSSOReg_Fri_Jul_1_13_52_00_2011.log
Program : /aifsd03/ifs/applmgr/Oxxx/fnd/11.5.0/patch/115/bin/txkSetSSOReg.pl started @ Fri Jul 1 13:52:18 2011
*** Log File = /aifsd03/ifs/applmgr/xxxxxxxppl/rgf/xxxxxxxppl_agsos/sso/txkSetSSOReg_Fri_Jul_1_13_52_00_2011.log
######################## WARNING ########################################
This application works with SSOSDK version 9.0.2 or higher. If lower version
(3.0.9) of SSOSDK was installed in your system and you have a registered
partner application, this process will remove the 3.0.9 version of the SSOSDK
schema and install the 9.0.2 version.
######################## WARNING ########################################
Beginning input parameter validation for SSO registration.
Beginning loading SSO SDK into database if necessary.
Loading of SSO SDK into database completed successfully.
Input parameter validation for SSO registration completed.
BEGIN SSO REGISTRATION:
Beginning to register partner application.
Partner application has been registered successfully.
Single Sign-On partner application registered successfully.
End of /aifsd03/ifs/applmgr/xxxxxxxppl/fnd/11.5.0/patch/115/bin/txkSetSSOReg.pl : No Errors encountered
Oxxx(APPS2)$txkrun.pl -script=SetSSOReg -registeroid=Yes-provtmp=$FND_TOP/admin/template/ProvBiDiNoCreation.tmp
Enter the host name where Oracle iAS Infrastructure database is installed ? XXXXXXXXXXXXX2.com
Enter the LDAP Port on Oracle Internet Directory server ? 3010
Enter Oracle E-Business apps database user password ? XXXXX
Enter the Oracle Internet Directory Administrator (orcladmin) Bind password ? XXXXX
Enter the instance password that you would like to register this application instance with ? XXXXXX
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /aifsd03/ifs/applmgr/xxxxxxx0comn/rgf/xxxxxxxxx_agsosxxx/sso/txkSetSSOReg_Fri_Jul_1_13_58_14_2011.log
Program : /aifsd03/ifs/applmgr/xxxxxxxppl/fnd/11.5.0/patch/115/bin/txkSetSSOReg.pl started @ Fri Jul 1 13:59:50 2011
*** Log File = /aifsd03/ifs/applmgr/xxxxxxxppl/rgf/xxxxxxxppl_agsosxxx/sso/txkSetSSOReg_Fri_Jul_1_13_58_14_2011.log
Beginning input parameter validation for OID registration.
Input parameters validation for OID registration completed.
BEGIN OID REGISTRATION:
Beginning to register Application and Service containers if necessary.
Application and Service containers were found and thus not created.
Beginning to register application in Oracle Internet Directory.
Registration of application in Oracle Internet Directory completed successfully.
Beginning to register instance password in Oracle Internet Directory.
Registration of instance password in Oracle Internet Directory completed successfully.
Beginning to test application registration in Oracle Internet Directory.
Testing of application registration in Oracle Internet Directory completed successfully.
Beginning to register provisioning profile in Oracle Internet Directory.
Registration of provisioning profile in Oracle Internet Directory completed successfully.
Application is now registered successfully with provisioning in Oracle Internet Directory.
End of /aifsd03/ifs/applmgr/xxxxxxxppl/fnd/11.5.0/patch/115/bin/txkSetSSOReg.pl : No Errors encountered
Edited by: reddy1198 on Jul 8, 2011 2:36 PMPlease see if (The Single Sign-On server registration is invalid [ID 434752.1]) helps.
Thanks,
Hussein -
Custom Report taking more time to complete Normat
Hi All,
Custom report(Aging Report) in oracle is taking more time to complete Normal.
In one instance, the same report is taking 5 min and the other instance this is taking 40-50 min to complete.
We have enabled the trace and checked the trace file, but all the queries are working fine.
Could you please suggest me regarding this issue.
Thanks in advance!!TKPROF: Release 10.1.0.5.0 - Production on Tue Jun 5 10:49:32 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Sort options: prsela exeela fchela
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
Error in CREATE TABLE of EXPLAIN PLAN table: APPS.prof$plan_table
ORA-00922: missing or invalid option
parse error offset: 1049
EXPLAIN PLAN option disabled.
SELECT DISTINCT OU.ORGANIZATION_ID , OU.BUSINESS_GROUP_ID
FROM
HR_OPERATING_UNITS OU WHERE OU.SET_OF_BOOKS_ID =:B1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.05 11 22 0 3
total 3 0.00 0.05 11 22 0 3
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
3 HASH UNIQUE (cr=22 pr=11 pw=0 time=52023 us cost=10 size=66 card=1)
3 NESTED LOOPS (cr=22 pr=11 pw=0 time=61722 us)
3 NESTED LOOPS (cr=20 pr=11 pw=0 time=61672 us cost=9 size=66 card=1)
3 NESTED LOOPS (cr=18 pr=11 pw=0 time=61591 us cost=7 size=37 card=1)
3 NESTED LOOPS (cr=16 pr=11 pw=0 time=61531 us cost=7 size=30 card=1)
3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=11 pr=9 pw=0 time=37751 us cost=6 size=22 card=1)
18 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK1 (cr=1 pr=1 pw=0 time=17135 us cost=1 size=0 card=18)(object id 43610)
3 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=5 pr=2 pw=0 time=18820 us cost=1 size=8 card=1)
3 INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=2 pr=0 pw=0 time=26 us cost=0 size=0 card=1)(object id 43657)
3 INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=2 pr=0 pw=0 time=32 us cost=0 size=7 card=1)(object id 44020)
3 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=52 us cost=1 size=0 card=1)(object id 330960)
3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=2 pr=0 pw=0 time=26 us cost=2 size=29 card=1)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 11 0.01 0.05
asynch descriptor resize 2 0.00 0.00
INSERT INTO FND_LOG_MESSAGES ( ECID_ID, ECID_SEQ, CALLSTACK, ERRORSTACK,
MODULE, LOG_LEVEL, MESSAGE_TEXT, SESSION_ID, USER_ID, TIMESTAMP,
LOG_SEQUENCE, ENCODED, NODE, NODE_IP_ADDRESS, PROCESS_ID, JVM_ID, THREAD_ID,
AUDSID, DB_INSTANCE, TRANSACTION_CONTEXT_ID )
VALUES
( SYS_CONTEXT('USERENV', 'ECID_ID'), SYS_CONTEXT('USERENV', 'ECID_SEQ'),
:B16 , :B15 , SUBSTRB(:B14 ,1,255), :B13 , SUBSTRB(:B12 , 1, 4000), :B11 ,
NVL(:B10 , -1), SYSDATE, FND_LOG_MESSAGES_S.NEXTVAL, :B9 , SUBSTRB(:B8 ,1,
60), SUBSTRB(:B7 ,1,30), SUBSTRB(:B6 ,1,120), SUBSTRB(:B5 ,1,120),
SUBSTRB(:B4 ,1,120), :B3 , :B2 , :B1 ) RETURNING LOG_SEQUENCE INTO :O0
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 20 0.00 0.03 4 1 304 20
Fetch 0 0.00 0.00 0 0 0 0
total 21 0.00 0.03 4 1 304 20
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
1 LOAD TABLE CONVENTIONAL (cr=1 pr=4 pw=0 time=36498 us)
1 SEQUENCE FND_LOG_MESSAGES_S (cr=0 pr=0 pw=0 time=24 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 4 0.01 0.03
SELECT MESSAGE_TEXT, MESSAGE_NUMBER, TYPE, FND_LOG_SEVERITY, CATEGORY,
SEVERITY
FROM
FND_NEW_MESSAGES M, FND_APPLICATION A WHERE :B3 = M.MESSAGE_NAME AND :B2 =
M.LANGUAGE_CODE AND :B1 = A.APPLICATION_SHORT_NAME AND M.APPLICATION_ID =
A.APPLICATION_ID
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.03 4 12 0 2
total 5 0.00 0.03 4 12 0 2
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
1 NESTED LOOPS (cr=6 pr=2 pw=0 time=15724 us cost=3 size=134 card=1)
1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=20 us cost=1 size=9 card=1)
1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
1 TABLE ACCESS BY INDEX ROWID FND_NEW_MESSAGES (cr=4 pr=2 pw=0 time=15693 us cost=2 size=125 card=1)
1 INDEX UNIQUE SCAN FND_NEW_MESSAGES_PK (cr=3 pr=1 pw=0 time=6386 us cost=1 size=0 card=1)(object id 34367)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 4 0.00 0.03
DELETE FROM MO_GLOB_ORG_ACCESS_TMP
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.02 3 4 4 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.02 3 4 4 1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
0 DELETE MO_GLOB_ORG_ACCESS_TMP (cr=4 pr=3 pw=0 time=29161 us)
1 TABLE ACCESS FULL MO_GLOB_ORG_ACCESS_TMP (cr=3 pr=2 pw=0 time=18165 us cost=2 size=13 card=1)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 3 0.01 0.02
SET TRANSACTION READ ONLY
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.01 0 0 0 0
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
begin Fnd_Concurrent.Init_Request; end;
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 148 0 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 148 0 1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
log file sync 1 0.01 0.01
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
declare X0rv BOOLEAN; begin X0rv := FND_INSTALLATION.GET(:APPL_ID,
:DEP_APPL_ID, :STATUS, :INDUSTRY); :X0 := sys.diutil.bool_to_int(X0rv);
end;
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 9 0 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 9 0 1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 8 0.00 0.00
SQL*Net message from client 8 0.00 0.00
begin fnd_global.bless_next_init('FND_PERMIT_0000');
fnd_global.initialize(:session_id, :user_id, :resp_id, :resp_appl_id,
:security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id,
:conc_program_id, :conc_request_id, :conc_priority_request, :form_id,
:form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id,
:server_id); fnd_profile.put('ORG_ID', :org_id);
fnd_profile.put('MFG_ORGANIZATION_ID', :mfg_org_id);
fnd_profile.put('MFG_CHART_OF_ACCOUNTS_ID', :coa);
fnd_profile.put('APPS_MAINTENANCE_MODE', :amm); end;
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 8 0 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 8 0 1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
SELECT FPI.STATUS, FPI.INDUSTRY, FPI.PRODUCT_VERSION, FOU.ORACLE_USERNAME,
FPI.TABLESPACE, FPI.INDEX_TABLESPACE, FPI.TEMPORARY_TABLESPACE,
FPI.SIZING_FACTOR
FROM
FND_PRODUCT_INSTALLATIONS FPI, FND_ORACLE_USERID FOU, FND_APPLICATION FA
WHERE FPI.APPLICATION_ID = FA.APPLICATION_ID AND FPI.ORACLE_ID =
FOU.ORACLE_ID AND FA.APPLICATION_SHORT_NAME = :B1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 0 7 0 1
total 4 0.00 0.00 0 7 0 1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
1 NESTED LOOPS (cr=7 pr=0 pw=0 time=89 us)
1 NESTED LOOPS (cr=6 pr=0 pw=0 time=93 us cost=4 size=76 card=1)
1 NESTED LOOPS (cr=5 pr=0 pw=0 time=77 us cost=3 size=67 card=1)
1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=19 us cost=1 size=9 card=1)
1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
1 TABLE ACCESS BY INDEX ROWID FND_PRODUCT_INSTALLATIONS (cr=3 pr=0 pw=0 time=51 us cost=2 size=58 card=1)
1 INDEX RANGE SCAN FND_PRODUCT_INSTALLATIONS_PK (cr=2 pr=0 pw=0 time=27 us cost=1 size=0 card=1)(object id 22583)
1 INDEX UNIQUE SCAN FND_ORACLE_USERID_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 22597)
1 TABLE ACCESS BY INDEX ROWID FND_ORACLE_USERID (cr=1 pr=0 pw=0 time=7 us cost=1 size=9 card=1)
SELECT P.PID, P.SPID, AUDSID, PROCESS, SUBSTR(USERENV('LANGUAGE'), INSTR(
USERENV('LANGUAGE'), '.') + 1)
FROM
V$SESSION S, V$PROCESS P WHERE P.ADDR = S.PADDR AND S.AUDSID =
USERENV('SESSIONID')
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 0 0 1
total 3 0.00 0.00 0 0 0 1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 173 (recursive depth: 1)
Rows Row Source Operation
1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1883 us cost=1 size=108 card=2)
1 HASH JOIN (cr=0 pr=0 pw=0 time=1869 us cost=1 size=100 card=2)
1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1059 us cost=0 size=58 card=2)
182 FIXED TABLE FULL X$KSLWT (cr=0 pr=0 pw=0 time=285 us cost=0 size=1288 card=161)
1 FIXED TABLE FIXED INDEX X$KSUSE (ind:1) (cr=0 pr=0 pw=0 time=617 us cost=0 size=21 card=1)
181 FIXED TABLE FULL X$KSUPR (cr=0 pr=0 pw=0 time=187 us cost=0 size=10500 card=500)
1 FIXED TABLE FIXED INDEX X$KSLED (ind:2) (cr=0 pr=0 pw=0 time=4 us cost=0 size=4 card=1)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
asynch descriptor resize 2 0.00 0.00
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 6 0.00 0.00 0 0 0 0
Execute 6 0.01 0.02 0 165 0 4
Fetch 1 0.00 0.00 0 0 0 1
total 13 0.01 0.02 0 165 0 5
Misses in library cache during parse: 0
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 37 0.00 0.00
SQL*Net message from client 37 1.21 2.19
log file sync 1 0.01 0.01
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 49 0.00 0.00 0 0 0 0
Execute 89 0.01 0.07 7 38 336 24
Fetch 29 0.00 0.09 15 168 0 27
total 167 0.02 0.16 22 206 336 51
Misses in library cache during parse: 3
Misses in library cache during execute: 1
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
asynch descriptor resize 6 0.00 0.00
db file sequential read 22 0.01 0.14
48 user SQL statements in session.
1 internal SQL statements in session.
49 SQL statements in session.
0 statements EXPLAINed in this session.
Trace file compatibility: 10.01.00
Sort options: prsela exeela fchela
1 session in tracefile.
48 user SQL statements in trace file.
1 internal SQL statements in trace file.
49 SQL statements in trace file.
48 unique SQL statements in trace file.
928 lines in trace file.
1338833753 elapsed seconds in trace file. -
Re: Error in submitting Import Standard Purchase orders from Pl/Sql
Hi All,
Iam using the following code to submit a concurret program
"Import Standard Purchase orders" from pl/sql
Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
My instance R12
My Code
======
DECLARE
v_request_id VARCHAR2 (100);
BEGIN
mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
mo_global.init ('PO'); -- sets the application
FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
v_request_id :=
fnd_request.submit_request (application => 'PO',
program => 'POXPOPDOI',
description => NULL,
start_time => NULL, -- To start immediately
sub_request => FALSE,
argument1 => '31348', -- Buyer_ID
argument2 => 'STANDARD', -- Doc Type
argument3 => '', -- doc subtype
argument4 => 'N', -- update items
argument5 => '', -- create sourcing rules not used
argument6 => 'INCOMPLETE', -- Approval status
argument7 => '', -- release generation method
argument8 => '1021387', -- batch_id
argument9 => '', -- operating unit null
argument10 => '', -- global agreement null
argument11 => '', -- enable sourcing null
argument12 => '', -- sourcing level null
argument13 => '', -- inv org enabled null
argument14 => '' -- inv org null
DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line (
'Request set submission failed - unknown error: ' || SQLERRM
END;
output
=====
when i check output i am getting the follwing error
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 133
Log message
==========
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
31348
STANDARD
N
INCOMPLETE
1021387
Start of log messages from FND_FILE
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 945297
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
End of log messages from FND_FILE
Thanks
Manoj kumarPass NULL instead of ''
Check the flag
SELECT multi_org_category
FROM fnd_concurrent_programs
WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
Otherwise,
Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
HTH
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
ESYU: Importing Standard Purchase Orders에서 문제 발생시 진단 방법
Purpose
Oracle Purchasing - Version: 11.5.10.2 to 12.0.6
Information in this document applies to any platform.
ConcurrentProgram:POXPOPDOI - Import Standard Purchase Orders
이 문서는 reader게 Importing Standard Purchase Orders 실행 중 갑자기 발생하는 issue에 대해 어떻게
대응하는지에 대한 자세한 정보를 제공한다.
Instroduction
Purchase Document Open Interface는 다량의 Standard Purchase Order는 Oracle Purchasing으로 빨리
import 할 수 있게 한다. Import process는 import 되어야 하는 document information을 PO interface tables에
넣어주는 작업을 필요로하며, data를 validate 하고 application에 PO를 생성하거나 error message를 return 하는
Import Standard Purchase Orders concurrent program을 실행한다.
이 문서의 목적은 Importing Standard Purchase Orders에 관련된 process를 이해하거나 갑자기 발생한 문제의
원인을 찾는데 도움을 주기 위함이다. PO import 문제는 일반적으로 interface tables에 입력된 불일치하는 data가
원인이며, 일단 문제가 확인되면 Metalink는 비슷한 문제를 찾아주거나 Oracle Support에 Service Request를 log
할 수 있다.
Test case Information
1. 아래 insert 문장을 이용하여 PO interface tables에 data를 입력:
INSERT INTO po.po_headers_interface
(interface_header_id,
action,
org_id,
document_type_code,
currency_code,
agent_id,
vendor_name,
vendor_site_code,
ship_to_location,
bill_to_location,
reference_num)
VALUES
(apps.po_headers_interface_s.NEXTVAL,
'ORIGINAL',
207, -- Seattle
'STANDARD',
'USD', -- Your currency code
24, -- Your buyer id stock
'Advanced Network Devices',
'FRESNO',
'V1- New York City', -- Your ship to
'V1- New York City', -- Your bill to
'Currency test') -- Any reference num
INSERT INTO po.po_lines_interface
(interface_line_id,
interface_header_id,
line_num,
shipment_num,
line_type,
item,
uom_code,
quantity,
--unit_price,
promised_date,
ship_to_organization_code,
ship_to_location)
VALUES
(po_lines_interface_s.nextval,
po_headers_interface_s.currval,
1,
1,
'Outside processing',
'Flooring OSP',
'Ea',
1,
--17.50,
'10-APR-2009',
'V1',
'V1- New York City' )
INSERT INTO po.po_distributions_interface
(interface_header_id,
interface_line_id,
interface_distribution_id,
distribution_num,
quantity_ordered,
charge_account_id)
VALUES
(po_headers_interface_s.currval,
po.po_lines_interface_s.CURRVAL,
po.po_distributions_interface_s.NEXTVAL,
1,
1,
12975) -- Your Charge Account Id
2. Interface tables에 data가 insert 되었다면 import progra을 실행전 정보를 확인하기 위해 아래 query 문을 이용한다.
a - Select * from PO_HEADERS_INTERFACE where INTERFACE_HEADER_ID=&headerid
b - Select * from PO_LINES_INTERFACE where INTERFACE_HEADER_ID=&headerid
c - Select * from PO_DISTRIBUTIONS_INTERFACE where INTERFACE_HEADER_ID=&headerid
3. Data를 review 했으면 Import Standard Purchase Orders program을 실행한다.
Parameter >>
Default Buyer: Null
Create or Update Items: No
Approval Status: INCOMPLETE
Batch Id: Null
4. 만일 program에 문제가 있어 error가 발생한다면 error의 원인을 제공하기 위해 Purchasing Interface Error Report를
실행할 수 있다.
Parameter >>
Source Program: PO_DOCS_OPEN_INTERFACE
Purge Data: No
만일 PO가 import 되지 않았다면 Puchasing Interface Errors Report와 동일한 정보를 보기 위해 Interface Errors table을
아래 SQL을 이용하여 조회할 수 있다.
SELECT * FROM PO_INTERFACE_ERRORS WHERE INTERFACE_TRANSACTION_ID ='&recordsinterfacetransid';
Diagnostics
Import Standard Purchase ORder process의 troubleshoot 도움을 위해 아래 Diagnostics과 Reports를 이용한다.
1. Diagnostics Tool : Oracle Purchasing Purchasing Documents Open Interface Data Collection Test
(please refer to Note 224887.1 for assistance)
이 Diagnostics는 import program에 의해 import 되는 data를 validate 할 것이며 missing 되거나 맞지않는 정보를 highlight 한다.
이 Tool은 interface tables에 있는 맞지 않거나 불완전한 data의 자세한 정보를 제공할 수 있다.
Error는 PO를 import 할 때 발생한 문제 분석을 시도하는데 매우 유익하므로 SR을 log시 이 Diagnostic output을 upload 하는
것을 권장한다.
2. Purchasing Interface Errors Report
이 report는 Oracle Purchasing에서 사용가능하며 Import Standard Purchase Orders program을 실행시 발생하는
error를 강조한다.
Tracing
11.5.10 이상의 version에서 Import Standard Purchase Orders program의 trace를 생성:
1. Navigate to System Administrator responsibility
2. Navigate to Profiles->System
3. Query the Profile Option Concurrent: Allow Debugging and set it to Yes at User level
4. Navigate to Purchasing responsibility
5. From the Requests form, choose the Import Standard Purchase Orders program and set the required Parameters
6. Click the Debug button
7. Check the SQL Trace checkbox and specify Trace with Binds and Waits
8. Submit the Concurrent program
9. Retrieve the trace file created.
Logging
Import Standard Purchase Orders program의 FND Deug Log 생성:
1. Log_seq를 아래 SQL을 이용하여 확인.
select max(log_sequence) from fnd_log_messages;
2. Set the following profiles at the user level:
FND: Debug Log Enabled = YES
FND: Debug Log Filename = NULL
FND: Debug Log Level = STATEMENT
FND: Debug Log Module = %
3. Run Import Standard Purchase Orders program
4. Using a SQL client run the following query :
Select * from fnd_log_messages
where log_sequence > &log_seq_noted_above
order by log_sequence;
이 query의 output은 Import Standard Purchase Orders program이 실행 중 발생한 error를 표시한다.
Reference
Note 781351.1 -
Hi All
We are creating POs from interface program "Import Standard Purchase Order Program". Only for few of the POs, we are encountering the error 'Warning: An error occurred during tax calculation
. Please correct the problem or contact your system administrator.'
This error is happening for few PO's, other POs with same vendor, ship to and bill to location created successfully by the program
Any inputs on how to resolve this error is greatly appreciated.
Regards,
BrajeshHi Hussein,
Thank for the prompt response.
We have already applied the patch related to doc 1272684.1.
Below are the environment detail.
Database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Application : 12.1.3
Diagnostic tool output :-
INTERFACE_
TRANSACTION_ID
INTERFACE_TYPE
COLUMN_NAME
PROCESSING_DATE
TABLE_NAME
ERROR_MESSAGE_NAME
ERROR_MESSAGE
100148
PO_DOCS_OPEN_INTERFACE
09-Aug-2013
PO_HEADERS_INTERFACE
PO_PDOI_TAX_CALCULATION_ERR
Warning: An error occurred during tax calculation. Please correct the problem or contact your system administrator.
Log file :-
+---------------------------------------------------------------------------+
Purchasing: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
POXPOPDOI module: Import Standard Purchase Orders
+---------------------------------------------------------------------------+
Current system time is 09-AUG-2013 21:09:04
+---------------------------------------------------------------------------+
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
STANDARD
N
INCOMPLETE
12805
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 12076063
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
Output file size:
69
+------------- 1) PRINT -------------+
Printing output file.
Request ID : 55116524
Number of copies : 0
Printer : noprint
+--------------------------------------+
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 09-AUG-2013 22:27:42
+---------------------------------------------------------------------------+
Brajesh -
Creating a Credit Memo in AR and Saving Causes Error Message
Hi to All,
When attempting to save a Credit Memo in AR, we get a generic error message: "An unexpected error has occurred. Please contact your system administrator" in credit transaction form.
Ran a Diag on the AR transaction and we show no errors.
Looking for additional assistance on how to resolve.FYI, Issue has been resolved via running Debug using the following
Set profile
* FND: Debug Log Enabled : Yes
* FND: Debug Log Level : Statement
* FND: Log Module : %
Get the current log sequence in the FND table.
select max(log_sequence) from fnd_log_messages ; -- start
Run sequence to generate error
Get the log sequence in the FND table after error
select max(log_sequence) from fnd_log_messages ; -- end
Get the FND log data
select * from fnd_log_messages where log_sequence between <start> and <end>;
Once getting the sequence, you can preform update on the column need. -
Error while creating application user in EBS R12 through sysadmin
Hi
I am using SSO/OID, while creating user it is giving following error in oracle apps R12:-
Unable to call fnd_ldap_wrapper.create_user due to the following reason:-
ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:-
An unexpected error occurred: please contact your system
adminstrator..(USER_NAME=MURTHY4)
Thanks
JILHi Jil,
Pls. complete the following step:-
1) what's your R12 RUP version ?
2) As user 'MURTHY4' do not exist in FND_USERS, please do the following:
Enable Log Debug for E-Business Suite
Connected as System Administrator, modify the following system profiles:
FND: Debug Log Enabled Yes
FND: Debug Log Filename <empty>
FND: Debug Log Level STATEMENT
FND: Debug Log Mode Asynchronous with Cross-Tier Sequencing
FND: Debug Log Module % or fnd%
There is no need to stop and restart E-Business Suite.
All log information will be created in the table FND_LOG_MESSAGES.
Make sure nobody access the system or else it will put redundant entries in fnd_log_messages.
Truncate the table first using command:
truncate table applsys.fnd_log_messages; commit;
then perform the steps as described below
As soon as you finished reproducing the problem, run the following query :
select timestamp,module,message_text from fnd_log_messages order by log_sequence asc;
then save the O/P in an excel spread sheet and upload the RESULTS for review.
Revert the debug settings
Regards,
Naveen -
Error While submitting Import Standard Purchase Order Concurrent Program
Hello All,
When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
and from backend,I am getting Following error.
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 27810853
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
difference is Parameter Operating Unit. It not get submitted while program calling from backend.
Please anybody tell me solution for this. for setting this parameter.
(Also I have applied for patch 13001705 as per Metalink suggested).
Thanks in advance.
Regards
Ravi Raj.
Edited by: Ravi Raj on Jan 23, 2013 10:50 PMPlease paste the code here.. there may be some parameter issue while submission.
-
Error while submitting standard import purchase order program
Hi,
iam submitting Standard import purchase order concurrent program, iam getting
error in view - output like
Enter value for 12: EXEC FND_CONC_STAT.COLLECT;
Enter value for 14:
in view-log like
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 10451963
can any one help me?
Regards
BhaskarPlease paste the code here.. there may be some parameter issue while submission.
Maybe you are looking for
-
Connect to Mac from Windows Vista issue
Hi I want to view some files that are on my Mac from my PC (Windows Vista). Here's what I did so far: On my Mac I enabled file sharing, I selected the folders that I want to share. Now here's the part that confuses me, it asks me to add the users to
-
CS4 - Layers Display Issue and more
I am running XP64 and have CS4-32 and CS4-64bit installed (using the updated and correct master collection installer) CS4-32 is basically unusable to me because I cannot see what I am doing as changes are being made to layers. It does it does not dis
-
I'm new with AS3 and am designing a tween that will have 6 or more tweens that loop continuously in a series. How do I create the stop and go between each tween series, but still in a continous loop? Please view this similar example Thanks and I'll
-
Formatting table (similar to html table)
I have a data table which has following format: column1 column2 column3 column4 column5 A--BCD-- E I need to display this data in the table using the following format: column1 column2 column3 A--BC-- row1 D--E-- row2
-
Dear all, Since Windows 2008 we had a bug with the PDC and ntp service. Migrated thru R2, 2012 adn now 2012 R2 I must fix this NTP probleme as we have regularly many probleme with the time driffting on the different dc in the domain (dfs sccm abd oth