Message Pool
I have created some messages in the message pool.
Now how do I use them according to the requirement.
How do we use the messages in the message pool.
Thanks,
Sneha Singh.
Hi Sneha
1)Goto "WebDynpro Components">"Your Component">Message Pool
2)Add Message
a) Message Key -- >this is the name of the message
b) Message Type ->error/standard/warning/text -->choose the appropriate one
c)Message Text--> this is the message tobe displayed when error occurs
3) Create a UIElement "Message Area" (Click on error message to navigate to error)
following is the code to display the error message
IWDMessageManager manager = null;
IWDAttributeInfo attibute = wdContext.getNodeInfo().getAttribute(IPrivateXXXView.IContextElement.xx);
String message = wdComponentAPI.getTextAccessor().getText(IMessageXX.UR_MESSAGEKEY);
manager.raiseInvalidContextAttributeException(wdContext.currentContextElement(), attibute, message, true);
manager.raisePendingException();// this statement will not allow the pointer to go to next,until it satisfies the condition
Regards
Chaitanya.A
Similar Messages
-
Regarding Message Pool In web Dynpro
Hi
I have created the InputForm application for error handling.... In that i have created the Message Pool. A class IMessage<ComponentName> has been genrated automatically. Inside this class whether i have to write the code for create CONSTANT keys or else it will automatically create ... Because i am not getting code inside... its generating empty class.....
like
public class IMessageSimpleErrorsForm{
but i have gone through one application which is already created and deployed.... In that I found the following class for creating CONSTANT keys
public interface IMessageSimpleErrors {
ErrorMessage <code>"Please enter a valid date for field {0}. You entered , which is a date in the future and therefore not a valid date of birth."</code> using
key "DateIsInFuture".
public static final IWDMessage DATE_IS_IN_FUTURE = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "DateIsInFuture", WDMessageType.ERROR);
Warning <code>"You did not enter an e-mail address. Therefore, you will not be informed about product news and special offers."</code> using
key "DesiredEMail".
public static final IWDMessage DESIRED_E_MAIL = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "DesiredEMail", WDMessageType.WARNING);
ErrorMessage <code>": Entry of a valid is required for proceeding with the requested service."</code> using
key "MissingInput".
public static final IWDMessage MISSING_INPUT = new WDMessage( "com.sap.tc.webdynpro.tutorial.errorbehavior.IMessageSimpleErrors" , "MissingInput", WDMessageType.ERROR);
please help me
Thanks & Reagards
Ravi Shankar BHi Ravi,
Pay attention that constant are generated only for messages types Standart, Warning and Error but not for Text.
Best regards, Maksim Rashchynski. -
How to read messages in message pool from a java file
Hi All,
I want to read a message that is defined in a message pool of a webdynpro component.
This reading should be done from a java file present in the "src" folder.
How can I get the handle to the IWDComponent?
Or is there any other way?
Or is there any way of reading localized messages in a java file of a webdynpro component?
Can you kindly guide me out of this issue?
Thanks and regards
RBHello,
my approach is more simple: how can I read within component A the message pool of another webdynpro component B ? Component A has a usage relation to component B .
I tried this within component A:
<b>this.wdThis.wdGetBInterface().wdGetAPI().getComponent().getTextAccessor().getText("ANY_TEXT");</b>
I got the exeption:
<b>java.lang.UnsupportedOperationException: Embedded Components are black boxes. You should not access parts which are not in their interface</b>.
Is there any way to share message pools ?
Thanks
Kerstin -
How to bold a word in message pool?
I have a message string created in message pool "Hello World".
Is there a way that I can bold the word "World" only?Please look at the below thread
message manager -
Message.messagekey is coming instead of message text of message pool
Hi All.
I am facing one problem , I have created one error message in message pool ,and
I am validating the field but when I am trying to use this ,Its highlighting the fields but
message is not coming instead message.messagekey is coming.
I am using the following code:
ai=wdContext.getNodeInfo().getAttribute(IPrivateVEmployeeRequestView.IContextElement.DATE_OF_RESIGNATION);
messageMgr.reportContextAttributeMessage(wdContext.currentContextElement(),ai,IMessageCEmployeeRequest.MSG, new Object[]{" resignation date is a non-working day. Please select a working day"},true);
Thanks in Advance.
Regards
Abhishekh SinghHi Abhishekh,
Could you please check the message pool entry for the error, refer below example:-
Message Key Message Type Message Text
MissingInput error : Entry of a valid is required for proceeding with the requested service.
Deepak!!! -
How to display the Message Pool Messages in CE 7.2
Hi Experts,
Please let me know how to display the Message Pool Messages in CE 7.2.
I have tried with reportContextAttributeMessage, but it is deprecated in CE 7.2.
Please do the needful.Its Urgent.
Thanks & Regards,
SatheshKumar RHi Sathesh,
Do the following steps:
1.) After creating a component, under it you will see Message Pools. Double click and open it.
2).Click "Add Message" and add a new message. (Give a message key, type of message (either warning, error etc ) and message text).
3). Save the metadata.
4). Raise this message where all you want by using following code(For example, on click of a button) :
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessage<component name>.<message>,null,true);
For example, I have a component name TestAppComp and under message pool I have message called message1, then use lik this:
IWDMessageManager msgnr = wdThis.wdGetAPI().getComponent().getMessageManager();
msgnr.reportMessage(IMessageTestAppComp.MESSAGE1,null,true);
Reply me if you any doubt.
Regards,
Jithin -
I have a program that it functions perfectly in the environment of Development, but when I carry to Quality, the messages of the Message Pool do not appear more. Just the "Message Key" appears instead of the "Message Text".
Hi Bruno,
can you please check this thread for much similer problem.
Problems with Message Pool
Regards,
Sukalyan. -
How to display Dynamic Message in Message Pool.
HI All,
I want to display the Error Message in Message Pool Dynamically.
By creating only one Message in Message Pool of Type Error.
I.E If user leaves the First Name and Last Name Field Blank then
Error Message Should appear as:
Please Enter First Name.
Please Enter Last Name.
How could i achieve this.....
Regards,
Dhruv ShahHi Dhruv,
In the Message Pool create a new Message of Type error and the Text Please enter the .
And on the action of Your Submit button write the following code :-
String strFirstName = wdContext.currentContextElement().getFirstName();
IWDMessageManager msgMgr = WdComponentAPI().getMessageManager();
IWDAttributeInfo <ObjectName> = this.wdContext.getNodeInfo.getAttribute("FirstNameField");
if( strFirstName == null || strFirstName.length() == 0)
msgMgr.reportContextAttributeMessage(wdContext.currentContextElement,<ObjectName>,IMessage<componentName>.<MessageKey>,new Object[] {"First Name"},true); -
Using Message Pool of a common component
Hello All,
We are trying to use the message pool of a common DC in all other DCs to keep single point of change.
We used the public part of common DC in all other DCs.
Currently we are using direct connection between views and the used Interface Controller of common DC. I want to avoid this because i feel view should interact to external interfaces via component controller.
So is there any way we can use the message pool of common DC in views via component controller?
Thanks
ShobhanHi Shobhan,
You can create a context attribute in the Component Controller and populate the value using the message pool. Then you can access the Component controllers context element from the view (create a context attribute in the View Controller and link this with the Component Controller) making your controllers work proper according to the MVC principles.
xxxxxxxxxxxxxxxx
Cheers,
Mohan
Edited by: Armin Reichert on Apr 26, 2008 7:10 PM -
Message pool cannot be resolved - importing a project to nwdi dc component
Hello guys,
I'm trying import a project to the nwdi structure, but I'm passing by a lot of problems.
At first I cant compile my application. The message pool class IMessage[ComponentName] arent been generated in the directory .\DCs\[vendor]\atr\_comp\gen_wdp\packages\[package name]\wdp. I try reload, repair, open and close, upgrade the IDE (now Im with 2.0.12). I tried until put the file manually, I generated by the previous project (out of the nwdi/dc/structure) and I tried put it in the actual solution, however its deleted each build.
Second, I'd like to know how create a dependency to an external jar (for example mail.jar) in the CBS. Should I only put the jar in the lib directory and upload in the dtr? Or should I put it in the CMS dependencies - how to?For the first problem.
Import the project in the NWDI. Then navigate to the component where message pool belongs to. There will be a action Repair in the component. Execute that.It seems the metadata is corrupt and hence generation halts. This will correct the metadata and then generation should work correctly.
For the second problem.
You can create a external jar dc. And put the jar in lib folder of that dc.
Submit this dc.Create dependecy to this dc to access the jar.
See these bolgs for creation of external dc's
/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Regards,
Ashwani Kr Sharma -
Problem with accessing message pool text messages
Hi,
Getting the text defined in the message pool using
wdComponentAPI.getTextAccessor().getText("TXT_SELECTED_ITEMS_COUNT")
with key TXT_SELECTED_ITEMS_COUNT, the text is
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}"
After checking with the debug, wdComponentAPI.getTextAccessor().getText("TXT_SELECTED_ITEMS_COUNT") is giving me the text as
"You have selected " instead of
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}"
Can somebody help?
I need to get this text as
"You have selected {0,choice,0# no P.O. line items to accept|1#one P.O. line item to accept|1<{0,number,'#'} P.O. line items to accept}" so that my messageformat.format works correctly when i display on the screen.
Thanks
SirishHi,
Tried what you suggested i didn't get what i wanted, message displayed completely as below if
paramter is 1 (selected one row)
You have selected 1 ,choice, 1 no P.O. line items to accept| one P.O. line item to accept 1<1 P.O. line items to accept"
for message as below in the pool
You have selected ,choice, no P.O. line items to accept| one P.O. line item to accept 1< P.O. line items to accept"
But, what i wanted to display (as per choice pattern) the message is
You have selected no PO. line items to accept -> if don't select any rows
You have selected one P.O. line item to accept -> if i select one row in the grid
You have selected 2 P.O. line items to accept -> if i select more than one row in the grid
number 2 , is passed as argument to messageformat.format(string,args)
where string is the message text from message pool
Thanks
Sirish -
Message Pool for more than a component?
Hi,
is there a possibility to use something like a message pool for a whole application or even better for all applications on a WAS? I have many strings whicht are used in more than one component...
regards,
MarkusHi Markus,
If you want to have a centralised dump for all the messages, it is possible.Suppose if there are two components A and B,and if A contains the message pool.Create a method in the interface controller of component A say getMessPool()
In it access the message manager like
wdComponentAPI.wdGetMessageManager.raiseException(e);
Like that create for all messages in component A
Include the component in "used components" of B.
Then you can access the messages
It should be like this
wdthis.getAinterface.getMessPool().....
Hope this helps you
Regards
Rohit -
Hallo all,
I add 3 error messages in the MessagePool of the WebDynpro Project and want to fire those in coding, but it doesn't work. The coding looks like follows...
<i>IWDMessageManager msgMgr = wdThis.wdGetAccountController().wdGetAPI().getMessageManager();
msgMgr.reportContextAttributeMessage(wdThis.wdGetContext().currentContextElement(),infoName,IMessageAccount.ERROR__NAME,new Object[] ,false);</i>
When I organize the imports, it can't find the interface IMessageAccount (account is the name of the controller).
Can anyone help me, please?
Best regards
Petra RimkusHi,
Here IMessageAccount is your controller name.
Have you added this controller into the view in which you have written this coding?
If not then go to properties tab of the view and there add your controller- IMEssageAccount in required controller.
I hope it helps you. If it works fine then reward points and close the thread.
Regards,
Bhavik -
Dynamic message using message pool
Hi all,
I want to print the number of rows in the message using message manager.
any pointers regarding same will be highly appreciated.
thanks and regards
anandhi
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/ec/1415b06e76584ca6b92fe565206fed/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3c/f2674039c6c549e10000000a1550b0/frameset.htm
Thanks -
Explain one query in 256M shared pool and ORA-4031 .
Hi,
looks like Oracle 9.2.0.8 got some problems with explaining huge (1000 lines) queries, here
goes ORA-4031 dump, shared pool is about 256 M but there are no other sessions in that DB only mine .
I can reproduce that in 1GB shared pool as well .
*** 2010-09-06 09:43:24.005
*** SESSION ID:(13.24) 2010-09-06 09:43:23.997
=================================
Begin 4031 Diagnostic Information
=================================
The following information assists Oracle in diagnosing
causes of ORA-4031 errors. This trace may be disabled
by setting the init.ora parameter _4031_dump_bitvec = 0
======================================
Allocation Request Summary Information
======================================
Current information setting: 00654fff
Dump Interval=300 seconds SGA Heap Dump Interval=3600 seconds
Last Dump Time=09/06/2010 09:43:22
Allocation request for: qknAllocate : qkn
Heap: 70000002aa6f4e8, size: 640
HEAP DUMP heap name="sga heap" desc=700000000000058
extent sz=0xfe0 alt=200 het=32767 rec=9 flg=-126 opc=0
parent=0 owner=0 nex=0 xsz=0x0
HEAP DUMP heap name="sql area" desc=70000002aa6f4e8
extent sz=0x1040 alt=32767 het=32 rec=0 flg=2 opc=2
parent=700000000000058 owner=0 nex=0 xsz=0x1
Subheap has 102506016 bytes of memory allocated
====================
Process State Object
====================
SO: 7000000222fe540, type: 2, owner: 0, flag: INIT/-/-/0x00
(process) Oracle pid=12, calls cur/top: 700000021736ba0/700000021736ba0, flag: (0) -
int error: 0, call error: 0, sess error: 0, txn error 0
(post info) last post received: 199 0 4
last post received-location: kslpsr
last process to post me: 7000000222fca88 1 6
last post sent: 0 0 16
last post sent-location: ksasnd
last process posted by me: 7000000222fca88 1 6
(latch info) wait_event=0 bits=0
Process Group: DEFAULT, pseudo proc: 7000000212e7290
O/S info: user: oracle, term: UNKNOWN, ospid: 6766752
OSD pid info: Unix process pid: 6766752, image: oracle@prod3 (TNS V1-V3)
=========================
User Session State Object
=========================
SO: 7000000226ee540, type: 4, owner: 7000000222fe540, flag: INIT/-/-/0x00
(session) trans: 0, creator: 7000000222fe540, flag: (100045) USR/- BSY/-/-/-/-/-
DID: 0001-000C-00000002, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 50, prv: 0, sql: 70000002aa7fbf8, psql: 0, user: 2622/INSTALL
program: sqlplus.exe
application name: SQL*Plus, hash value=3669949024
last wait for 'db file sequential read' blocking sess=0x0 seq=93 wait_time=11432
file#=1, block#=106e8, blocks=1
temporary object counter: 0
=========================
Current Parent KGL Object
=========================
LIBRARY OBJECT HANDLE: handle=70000002aa7fbf8
name=
explain plan for
select *
from salda
where saldo <> 0
and konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
'394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
hash=ff099bfd timestamp=09-06-2010 09:41:45
namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
kkkk-dddd-llll=0000-0001-0001 lock=N pin=X latch#=7
lwt=70000002aa7fc28[70000002aa7fc28,70000002aa7fc28] ltm=70000002aa7fc38[70000002aa7fc38,70000002aa7fc38]
pwt=70000002aa7fc58[70000002aa7fc58,70000002aa7fc58] ptm=70000002aa7fce8[70000002aa7fce8,70000002aa7fce8]
ref=70000002aa7fc08[70000002aa7fc08, 70000002aa7fc08] lnd=70000002aa7fd00[70000002aa7fd00,70000002aa7fd00]
LIBRARY OBJECT: object=70000002aa6fc98
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
CHILDREN: size=16
child# table reference handle
0 70000002aa6ff08 70000002aa6fbc0 70000002aa6f7a0
==================
Current KGL Object
==================
LIBRARY OBJECT HANDLE: handle=70000002aa6f7a0
namespace=CRSR flags=RON/KGHP/PN0/[10010000]
kkkk-dddd-llll=0000-0000-0000 lock=N pin=X latch#=7
lwt=70000002aa6f7d0[70000002aa6f7d0,70000002aa6f7d0] ltm=70000002aa6f7e0[70000002aa6f7e0,70000002aa6f7e0]
pwt=70000002aa6f800[70000002aa6f800,70000002aa6f800] ptm=70000002aa6f890[70000002aa6f890,70000002aa6f890]
ref=70000002aa6f7b0[70000002aa6fbc0, 70000002aa6fbc0] lnd=70000002aa6f8a8[70000002aa6f8a8,70000002aa6f8a8]
LIBRARY OBJECT: object=70000002aa6f3b8
type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
===========================
Current Instatiation Object
===========================
INSTANTIATION OBJECT: object=1102fa2e0
type="cursor"[2] lock=70000002865ffe0 handle=70000002aa7fbf8 body=0 level=0
flags=FST[60] executions=0
cursor name:
explain plan for
select *
from salda
where saldo <> 0
and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
'394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
'414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
'470','471','472','473','474','475','476','477','478','479','480','481')
and (
(umowa = lpad('2169725150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2170639147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2170815147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2170991138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2173034150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2173821138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2174491138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2176065138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2177180150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2178183150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2178609150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2180241147',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2180252147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2180377148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2180787148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2181011148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2183314150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2187754150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189036150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189362150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189685150',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2191061124',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2194768150',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2195063150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2195568150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2196774143',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2196872143',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2196964143',10) and nr_klasy = lpad('7',3)) or
.... a lot off similar lines
child pin: 0, child lock: 70000002865fb18, parent lock: 70000002865ffe0
xscflg: 4004, parent handle: 70000002aa7fbf8, xscfl2: 0
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksm_4031_dump+065c bl ksedst 110006450 ?
ksmasg+0084 bl ksm_4031_dump FFFFFFFFFFF5F60 ? 10299AAF8 ?
000000000 ? 70000002A9007F8 ?
000000000 ? 000000000 ?
kghnospc+0178 bl _ptrgl
kghalp+00f0 bl kghnospc FFFFFFFFFFF6150 ?
422222247FFFFFFC ?
100107620 ? 080000000 ?
000000000 ?
kksalc+0048 bl kghalp 100107620 ? 000000000 ?
FFFFFFFFFFF62C0 ? 000000000 ?
000000080 ? 000000003 ?
qknAllocate+0040 bl kksalc 70000002AC2E1C0 ?
70000002C873DD8 ?
70000002AC2E1C0 ?
qknltAllocate+00d0 bl qknAllocate FFFFFFFFFFF65C0 ?
7000000345292A0 ? 000000000 ?
000000003 ?
qkatab+0ec8 bl qknltAllocate 000000000 ? 000000000 ?
000000000 ? 000000000 ?
000000000 ? 000000000 ?
000000000 ? 000000000 ?
70000002C874170 ?
qkajoi+0b30 bl qkatab 000000000 ? 110378F00 ?
000000000 ? 000000042 ?
100002100050000 ? 110378530 ?
qkaqkn+08d0 bl qkajoi 000000000 ? 000000000 ?
000000000 ? 000000000 ?
000000000 ? 000000000 ?
000000000 ? 000000000 ?
qkadrv+07a0 bl qkaqkn 000000000 ? 10299B690 ?
===============================
Memory Utilization of Subpool 1
===============================
Allocation Name Size
"free memory " 148632616
"miscellaneous " 3998104
"qmps connections " 1454200
"errors " 0
"txncallback " 246640
"PL/SQL MPCODE " 506520
"enqueue " 6054632
"KSXR pending messages que" 853952
"KQR L PO " 221192
"parameters " 1064
"Checkpoint queue " 1026560
"1M buffer " 528384
"db_block_hash_buckets " 589824
"fixed allocation callback" 1112
"sim trace entries " 196608
"KGLS heap " 374728
"KGK heap " 552
"channel handle " 780672
"MTTR advisory " 34088
"DML lock " 1022032
"trigger source " 2288
"trigger defini " 280
"dictionary cache " 2137216
"table definiti " 456
"KQR X PO " 28352
"transaction " 2747760
"constraints " 824960
"library cache " 2030512
"message pool freequeue " 213264
"sql area " 1546168
"sessions " 4467008
"replication session stats" 1004720
"event statistics per sess" 18791304
"KQR S SO " 5632
"sim memory hea " 157768
"PL/SQL DIANA " 80104
"KQR M PO " 141320
"messages " 624000
===============================
Memory Utilization of Subpool 2
===============================
Allocation Name Size
"free memory " 6285488
"miscellaneous " 8927008
"log_buffer " 1056800
"FileOpenBlock " 16270720
"sim memory hea " 162008
"KQR S SO " 9472
"transaction " 3297312
"PL/SQL DIANA " 0
"KGLS heap " 47776
"table definiti " 0
"db_handles " 3480000
"KQR L PO " 213056
"Temporary Tables State Ob" 775488
"trigger inform " 0
"message pool freequeue " 558720
"trigger defini " 0
"fixed allocation callback" 1168
"branch " 1180120
"ktlbk state objects " 1948360
"PLS non-lib hp " 2088
"KGK heap " 6448
"KQR M SO " 1024
"dictionary cache " 2137216
"parameters " 0
"Checkpoint queue " 1026560
"trigger source " 0
"enqueue resources " 768192
"library cache " 1798152
"KSXR receive buffers " 1034000
"sql area " 105380864
"processes " 4104000
"sessions " 4469712
"joxs heap init " 4240
"errors " 0
"event statistics per sess" 18779936
"PL/SQL MPCODE " 0
"KQR M PO " 173592
"UNDO INFO SEGMENTED ARRAY" 649856
LIBRARY CACHE STATISTICS:
namespace gets hit ratio pins hit ratio reloads invalids
CRSR 3184 0.874 12550 0.950 97 11
TABL/PRCD/TYPE 1917 0.871 2293 0.811 0 0
BODY/TYBD 52 0.788 52 0.788 0 0
TRGR 33 0.939 33 0.939 0 0
INDX 74 0.514 43 0.140 0 0
CLST 353 0.977 489 0.980 0 0
OBJE 0 0.000 0 0.000 0 0
PIPE 0 0.000 0 0.000 0 0
LOB 0 0.000 0 0.000 0 0
DIR 0 0.000 0 0.000 0 0
QUEU 0 0.000 0 0.000 0 0
OBJG 0 0.000 0 0.000 0 0
PROP 0 0.000 0 0.000 0 0
JVSC 0 0.000 0 0.000 0 0
JVRE 0 0.000 0 0.000 0 0
ROBJ 0 0.000 0 0.000 0 0
REIP 0 0.000 0 0.000 0 0
CPOB 0 0.000 0 0.000 0 0
EVNT 8 0.750 91 0.978 0 0
SUMM 0 0.000 0 0.000 0 0
DIMN 0 0.000 0 0.000 0 0
CTX 0 0.000 0 0.000 0 0
OUTL 0 0.000 0 0.000 0 0
RULS 0 0.000 0 0.000 0 0
RMGR 0 0.000 0 0.000 0 0
IFSD 0 0.000 0 0.000 0 0
PPLN 0 0.000 0 0.000 0 0
PCLS 0 0.000 0 0.000 0 0
SUBS 0 0.000 0 0.000 0 0
LOCS 0 0.000 0 0.000 0 0
RMOB 0 0.000 0 0.000 0 0
RSMD 0 0.000 0 0.000 0 0
JVSD 0 0.000 0 0.000 0 0
ENPR 0 0.000 0 0.000 0 0
RELC 0 0.000 0 0.000 0 0
STREAM 0 0.000 0 0.000 0 0
APPLY 0 0.000 0 0.000 0 0
APPLY SOURCE 0 0.000 0 0.000 0 0
APPLY DESTN 0 0.000 0 0.000 0 0
TEST 0 0.000 0 0.000 0 0
CUMULATIVE 5621 0.874 15551 0.928 97 11
Permanent space allocted for Load Locks
LATCH:0 TOTAL SPACE: 4248
FREELIST CHUNK COUNT:59 OBJECT SIZE:72
Permanent space allocted for KGL pins
LATCH:0 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:13 OBJECT SIZE:128
LATCH:1 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:15 OBJECT SIZE:128
LATCH:2 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:18 OBJECT SIZE:128
LATCH:3 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:19 OBJECT SIZE:128
LATCH:4 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:21 OBJECT SIZE:128
LATCH:5 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:27 OBJECT SIZE:128
LATCH:6 TOTAL SPACE: 4224
FREELIST CHUNK COUNT:16 OBJECT SIZE:128
Permanent space allocted for KGL locks
LATCH:0 TOTAL SPACE: 4216
FREELIST CHUNK COUNT:11 OBJECT SIZE:136
LATCH:1 TOTAL SPACE: 4216
FREELIST CHUNK COUNT:13 OBJECT SIZE:136
LATCH:2 TOTAL SPACE: 4216
FREELIST CHUNK COUNT:16 OBJECT SIZE:136
...<snipped>...any ideas ?GregG wrote:
Thanks,
but I'm interested in what is the particular problem. Looks like sql area is short on free chunks .I can't say if it is an oracle bug so feel free to ignore my post.
select *
from salda
where saldo 0
and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
'394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
'414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
'470','471','472','473','474','475','476','477','478','479','480','481')
and (
(umowa = lpad('2169725150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2170639147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2170815147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2170991138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2173034150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2173821138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2174491138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2176065138',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2177180150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2178183150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2178609150',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2180241147',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2180252147',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2180377148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2180787148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2181011148',10) and nr_klasy = lpad('13',3)) or
(umowa = lpad('2183314150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2187754150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189036150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189362150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2189685150',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2191061124',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2194768150',10) and nr_klasy = lpad('27',3)) or
(umowa = lpad('2195063150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2195568150',10) and nr_klasy = lpad('9',3)) or
(umowa = lpad('2196774143',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2196872143',10) and nr_klasy = lpad('7',3)) or
(umowa = lpad('2196964143',10) and nr_klasy = lpad('7',3)) or
.... a lot off similar linesThis looks like an ideal candidate for using a Global Temporary table (if you can).
So if you can insert all combination of valid values for "umowa" and "nr_klasy" columns in a GTT,
you can simplify your query as
select *
from salda
where saldo 0
and nr_konta in ('361','362','363','371','372','373','380','381','382','383','384','385','386','387','388','389','390','391','392','393',
'394','395','396','397','398','399','400','401','402','403','404','405','406','407','408','409','410','411','412','413',
'414','432','450','453','454','455','456','457','458','459','460','461','462','463','464','465','466','467','468','469',
'470','471','472','473','474','475','476','477','478','479','480','481')
and (umowa, nr_klasy) in (select lpad(col1,10), lpad(col2,3) from gtt_temp)
Maybe you are looking for
-
Problem accessing an adjacent remote network over VPN (2 asa5505)
Hello all, I have 2 ASA5505 (CORP and remote) connected via VPN. The remote site contains 2 subnets (192.168.1.0/24 and 192.168.0.0/24 (for remote VPN users)). The corp site has 192.168.2.0/24 directly connected to ASA5505 and an adjacent network con
-
CRM 2007 and Custom ISA 4.0 application interoperability
Hi, We are in the process to upgrade our CRM 4.0 back end system to CRM 2007, in fact we already performed the BASIS upgrade in our sandbox system to estimate the effort required for the upgrade on different areas. One of this areas is related with t
-
Place an mp3 on my home page and have it play automatically?
might there be a way to place an mp3 on my home page and have it play automatically? thanks bobby
-
Jumpy mouse on 27" imac when using 2nd monitor
Exactly as my post suggests, I'm using an acer AL2016 20" monitor via a mini displayport to DVI adaptor at 1680x1050. What's weird is it isn't always jumpy, just sometimes. But only when the second monitor is connected does this happen. I've tried th
-
Question in MM for telephonic interview??
hi experts in MM Can somebody give me some telephonic technical interview question in MM . Please share with me your own exeperienced question ( functional, technical , techno functional questions) I hope many experts will be their , so they can sha