How to get more than one lack record in 1 or 2 seconds
pls help its urgent ,
i need to retrieve more record from different table it have more than one lack record ,and its more than 20 seconds ,how to minimise the time to one seconds
My sql:
SELECT
tl.ProjectID,
pr.jobname,
name as Department_name,
ChargeNum,
(ac.ActivityCode ||':'||ac.SubCode) as ActivityCodeName,
SUM(HoursWorked), (Case When isBilled=1 or billedRate<>0 then BilledRate else ppr.Rate End) as RATE
FROM
TimeLogEntries tl INNER JOIN activitycodes ac on ac.ACTIVITYCODEID=tl.ACTIVITYCODEID INNER JOIN projectrates ppr on tl.ACTIVITYCODEID = ppr.ACTIVITYCODEID and tl.projectid=ppr.projectid ,
projects pr INNER JOIN departments d on d.DEPARTMENTID =pr.REVENUECENTERID
WHERE
to_char(Date_,'yyyy-mm-dd') BETWEEN '2006-01-01' and '2008-12-30'
AND
tl.ProjectID = pr.ProjectID
Group By
tl.ProjectID,
tl.ActivityCodeID,
BilledRate,
ChargeNum,
pr.jobname,
name,
(ac.ActivityCode ||':'||ac.SubCode),
(Case When isBilled=1 or billedRate<>0 then BilledRate else ppr.Rate End)
ORDER BY
tl.ChargeNum;
hi,
even i am searching for some thing similar.
i want to have 3 calendars in one page.
getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
pls help.
Similar Messages
-
How To Get more than one Return Values in LOV ADF
In ADF LOV, I can get only one return value;
How can I Get more than one values like in Oracle Form?
SomeOne can help me?
Thanksyou may add more <set> tag like the following:
<event name="lovSelect">
<set property="inputValue" value="${bindings.Id.inputValue}" target="${data.work_workBusinessViewUIModel.buyCompanyId}"/>
</event>
or you can implement your Action -
How to get more than one airplay on sound menu
When I option-click on the sound icon it drops down a list of Output devices and Input Devices - but it only shows the internal resources or the most recently used airplay device. We have several airplay receivers throughout the house - is there any way for all airplay receivers to show up on this list?
you may add more <set> tag like the following:
<event name="lovSelect">
<set property="inputValue" value="${bindings.Id.inputValue}" target="${data.work_workBusinessViewUIModel.buyCompanyId}"/>
</event>
or you can implement your Action -
How to show more than one record at a form-like style report?
Hi All,
I developed a form-like style report
I want it to show more than one record at once (At the same page)
I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
but when I close the property palete and open it agian the value is returned to 1 !!!
how to show more than one record at the same page?????
Thank uHi,
there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
Regards
Rainer -
How do I get more than one signature option in Fill and sign?
How do I get more than one signature option in Fill and sign?
Hi,
Are you trying to place more than one signature on a PDF document?
Please explain the workflow.
Regards,
Anand -
How can I get more than one firewre port ?
Hello,
how can I get more than one firewire port ? I'd like to be able to connect my canon HV30 camera as well as my firewire external HD at the same time so I can use firewire to upload the videos I've taken. Is this possible?
TIAHi ginestre-
Many FireWire hard drives have 2 firewire ports so that you can daisy-chain devices and connect the camera that way.
Daisy-chaining is not the most reliable method, but it works, so you could buy a FireWire hub.
Luck-
-DP -
RFC to XI File - can NEVER EVER get more than one record in Output file.
Hi guys
This might be related to my other post on File conversion but whatever I do I just can't seem to get more than one record in the output file
the payload from R3==> XI seems fine
for example
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <IP_CUSTOMER_HEADER>
- <item>
<CUSTOMERID>1000001</CUSTOMERID>
<COMPANY>One-time ship-to</COMPANY>
<SHORT_NAME>ONE-TIME</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4 />
...... more data
</item>
then next customer master data and so on
- <item>
<CUSTOMERID>1000005</CUSTOMERID>
<COMPANY>ddfask</COMPANY>
<SHORT_NAME>;LK;L</SHORT_NAME>
<STREET />
<STREET2 />
<STREET3 />
<STREET4/>
etc etc until
<HKUNNR>60000</HKUNNR>
<SALES_REGION />
</item>
</IP_CUSTOMER_HEADER>
</rfc:Z_XI_005_RFC>
All I get on the Output target file
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
<CustomerId>1000001</CustomerId>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
.... more data
</ns1:MT_customer_header>
the <item> and subsequent records all seem to have vanished.
I must be doing something PARTICULARLY stupid as nobody else ever seems to have this problem -- I've tried almost every possible combination but still to no avail
The function module is passing a table to XI in the correct structure and the payload seems to be fine so what on earth is broken here !!!,.
Cheers
JimboThanks everybody -- it's working now
RFC call was passing data correctly
function z_xi_005_rfc.
""Local interface:
*" TABLES
*" IP_CUSTOMER_HEADER STRUCTURE ZAP_CUSTOMER_INFO_2
endfunction.
in debug mode table data was fine -- in this instance 3 records were being passed.
3 errors in mapping etc fixed (with help from SDN - thanks)
1) missing the ITEM level in the Data type (hence mapping)
2) needed 0:unbounded in the occurrence
3) also mapping Item====>Item was missing (sub fields were ok)
Points awarded
final file output ok output now ok (with 3 fields only for testing)
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_customer_header xmlns:ns1="http://avenue.com/xi/test">
- <item>
<Customerid>1000001</Customerid>
<company>One-time ship-to</company>
<shortname>ONE-TIME</shortname>
</item>
- <item>
<Customerid>1000005</Customerid>
<company>ddfask</company>
<shortname>;LK;L</shortname>
</item>
- <item>
<Customerid>1000010</Customerid>
<company>One Time Customer Test</company>
<shortname>SADFIWQEFG</shortname>
</item>
</ns1:MT_customer_header>
Now only the final problem to make file content conversion work.
Once again thanks --sometimes what seem trivial or simple problems take AGES to fix until someone else gives you a clue --that's why boards like SDN are great value.
Cheers
Jimbo -
How to display more than one documents on windows 8 desktop?
how to display more than one documents on windows 8 desktop?
Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store. -
How to add more than one tabular region in a page?...
How to add more than one tabular region in a page?
i have a page, that page contain form and tabular region. when i trying to add another tabular region it showing error
1 error has occurred
Updatable SQL Query already exists on page 2. You can only add one updatable SQL query per page. Select a different page.
but i have to add the tabular in that page.
Is it possible?
pls help...
Thanks and regards,
skudhi,
even i am searching for some thing similar.
i want to have 3 calendars in one page.
getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
pls help. -
How to pass more than one value for one column in procedure
hi
select id, name from col_tab where dept_name in ('ECE','CIVIL');
when i was running this it is working well.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
BEGIN
OPEN ans FOR
select id,name from col_tab where dept_name in char_in ;
END str;
END pack_str;
the package was created.
my doubt is
1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
2. when i was storing the value in string like val = 'ECE,CIVIL' ,
how to get the id,name for ECE and CIVIL.
plz help meHi Rebekh ,
I am recreating your packages for the desired output.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
lv_t varchar2(200);
BEGIN
lv_t := REPLACE(char_in,',',''',''');
lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
OPEN ans FOR lv_t;
END str;
END pack_str;
Note:-
Input Parameter char_in is a comma seperated value for dept_name
-Debamalya -
How to emai more than one person
hi, can someone please post some code on how to send more than one person the same email, i tried what's below but get an error:
// Send message out as email via JavaMail
// Emails for group 1
String namesOne[] = {"[email protected], [email protected]"};
// Vector to store names
Vector namesInGroup = new Vector();
// Add names to vector
for(int i=0; i<namesOne.length; i++) {
namesInGroup.add(namesOne);
Properties props = new Properties();
props.put("mail.smtp.host", "???");
Session s = Session.getInstance(props);
MimeMessage message = new MimeMessage(s);
InternetAddress from = new InternetAddress("[email protected]");
message.setFrom(from);
InternetAddress[] to = new InternetAddress[namesInGroup.size()];
String emailOfPerson;
for(int i=0; i<namesInGroup.size(); i++) {
emailOfPerson = (String)namesInGroup.elementAt(i);
to[i] = new InternetAddress(emailOfPerson);
message.setRecipients(Message.RecipientType.CC, to);
message.setSubject(subjectOfMessage);
String text = mailText.toString();
MimeMultipart mm = new MimeMultipart();
MimeBodyPart mbp = new MimeBodyPart();
mbp.setContent(text,"text/html");
mm.addBodyPart(mbp);
message.setContent(mm);
Transport.send(message);
// End of JavaMail code
the host is fine, ???, just didn't want to write it there, i've been able to email one person but can't get this to work, i get the following error:
[05/Sep/2002:15:27:03] failure (10730): Internal error: exception thrown from the servlet service function (uri=/WriteAndEmail.jsp): javax.servlet.ServletException: Illegal address, stack: javax.servlet.ServletException: Illegal address
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:291)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
, root cause: javax.mail.internet.AddressException: Illegal address in string ``[email protected], [email protected]''
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:66)
at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:243)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
both emails are valid.
Thank you.soni29 wrote:
hi, can someone please post some code on how to send
more than one person the same email, i tried what's
below but get an error:
// Send message out as email via JavaMail
// Emails for group 1
String namesOne[] = {"[email protected],
[email protected]"};
// Vector to store names
Vector namesInGroup = new Vector();
// Add names to vector
for(int i=0; i<namesOne.length; i++) {
namesInGroup.addElement(namesOne);
Properties props = new Properties();
props.put("mail.smtp.host", "???");
Session s = Session.getInstance(props);
MimeMessage message = new MimeMessage(s);
InternetAddress from = new
InternetAddress("[email protected]");
message.setFrom(from);
InternetAddress[] to = new
InternetAddress[namesInGroup.size()];
String emailOfPerson;
for(int i=0; i<namesInGroup.size(); i++) {
emailOfPerson = (String)namesInGroup.elementAt(i);
to[i] = new InternetAddress(emailOfPerson);
message.setRecipients(Message.RecipientType.CC, to);
message.setSubject(subjectOfMessage);
String text = mailText.toString();
MimeMultipart mm = new MimeMultipart();
MimeBodyPart mbp = new MimeBodyPart();
mbp.setContent(text,"text/html");
mm.addBodyPart(mbp);
message.setContent(mm);
Transport.send(message);
// End of JavaMail code
the host is fine, ???, just didn't want to write it
there, i've been able to email one person but can't
get this to work, i get the following error:
[05/Sep/2002:15:27:03] failure (10730): Internal
error: exception thrown from the servlet service
function (uri=/WriteAndEmail.jsp):
javax.servlet.ServletException: Illegal address,
stack: javax.servlet.ServletException: Illegal
address
at
org.apache.jasper.runtime.PageContextImpl.handlePageExc
ption(PageContextImpl.java:384)
at
WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
91)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
e.java:126)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java
826)
at
com.netscape.server.http.servlet.NSServletRunner.Servic
(NSServletRunner.java:533)
, root cause: javax.mail.internet.AddressException:
Illegal address in string ``[email protected],
[email protected]''
at
javax.mail.internet.InternetAddress.<init>(InternetAddr
ss.java:66)
at
WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
43)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
e.java:126)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java
826)
at
com.netscape.server.http.servlet.NSServletRunner.Servic
(NSServletRunner.java:533)
both emails are valid.
Thank you.
try using addElement()method of the vector.
or get all the address as one string represented by _to
where _to = "[email protected], [email protected]";
//set to addresss
InternetAddress to = new InternetAddress() ;
InternetAddress [] toadd = to.parse(_to);
msg.setRecipients(Message.RecipientType.CC,toadd);
i hope this wouldhelp you
thanks and regards,
Suraj Berwal -
How to pass more than one parameter
Hello,
This is my code.
How to pass more than one parameter:
SELECT:responsibility_name responsibility_name,
LPAD(' ', 6*(LEVEL-1))
|| menu_entry.entry_sequence sequence ,
LPAD(' ', 6*(LEVEL-1))
|| menu.user_menu_name SubMenu_Description ,
LPAD(' ', 6*(LEVEL-1))
|| func.user_function_name Function_Description ,
LPAD(' ', 6*(LEVEL-1))
|| menu_entry.prompt prompt
,menu.menu_id ,
func.function_id
--menu_entry.grant_flag Grant_Flag ,
--DECODE( menu_entry.sub_menu_id , NULL, 'FUNCTION' , DECODE( menu_entry.function_id , NULL, 'SUBMENU' , 'BOTH') ) Type
FROM fnd_menu_entries_vl menu_entry ,
fnd_menus_tl menu ,
fnd_form_functions_tl func
WHERE menu_entry.sub_menu_id = menu.menu_id(+)
AND menu_entry.function_id = func.function_id(+)
AND MENU.LANGUAGE(+) = 'US'
AND FUNC.LANGUAGE(+) = 'US'
--AND func.user_function_name LIKE '%Primary Care Providers%'
AND grant_flag = 'Y'
START WITH menu_entry.menu_id =
(SELECT menu2.menu_id
FROM fnd_menus_tl menu2,apps.fnd_responsibility_vl resp
WHERE menu2.menu_id=resp.menu_id
and resp.responsibility_name= :responsibility_name
--and menu2.user_menu_name = ('ATCO HR INQ USER'
AND LANGUAGE = 'US'
CONNECT BY MENU_ENTRY.MENU_ID = PRIOR MENU_ENTRY.SUB_MENU_ID
and menu_entry.function_id not in (select func.function_id
from --fnd_form_functions_vl fnc,
apps.fnd_resp_functions exc,
apps.fnd_responsibility_vl res
where func.function_id = exc.action_id
and res.responsibility_name =:responsibility_name
and res.responsibility_id=exc.responsibility_id)
and menu_entry.sub_menu_id not in (select menu.menu_id
from --fnd_menus_vl imn,
apps.fnd_resp_functions exc,
apps.fnd_responsibility_vl res
where menu.menu_id = exc.action_id
and res.responsibility_name =:responsibility_name
and res.responsibility_id=exc.responsibility_id)
ORDER SIBLINGS BY menu_entry.entry_sequence;
Thank you for your help
ShuishenmingHi, Ming,
One way is to put the "parameters" in a table, and join to that table in your query. If you make it a Global Temporary Table, then multiple sessions can run the query at the same time, and each can be seeing different responsibilities.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data. Since this problem involves parameters, you should give a couple of different sets of parameters, and the results you want from the same sample data for each set.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How to display more than one column with for each
Hi guys,
how to display more than one column with for each like below?
for each
Item1
Item2
Item3
Item4
Item5
Item6
Item7
Item8
Item9
Item10
End for each
for each
Item1 Item2 Item3
Item4 Item5 Item6
Item7 Item8 Item9
Item10
End for eachTake a look at this to see if the solution provided would work for you: https://blogs.oracle.com/xmlpublisher/entry/multi_column_row_woes
Won't you have more than 10 records in your data file ? If you are going to have only 10 items then you may be able to use position() function to limit it to 3 each..
Take a look at this: https://blogs.oracle.com/xmlpublisher/entry/turning_rows_into_columns
Thanks,
Bipuser -
How to input more than one currency field into the transfer rules?
hi experts,
how to input more than one currency as well as unit fields in transfer rules, when i am giving two currency fields in flatfile the same structure could not able to get in transfer rules ( 0currency).
pl give me the procedure to input more than one currency field.
thanks & regards
venkatHi Venkat,
For example - for amount kf - if you have 0currency as ref object and included in transfer rules and for other kf - create a Zcurr object and try to include...hope it works.
Thanks,Ramoji. -
How to add more than one input arguments to the tpcall
Hi
Can any one know how to add more than one input arguments in the tpcall using WTC (Jatmi)?
Par example, I have un service Tuxedo getConsoClient(char* cli_id, char* type)
To call this service, I'm using tpcall("getConsoClient", dataIn, 0);
here, I did't know how to add two parameters in the TypedBuffer object. I'm new to WTC.
Any hints will be greatly appreaciated.
Advanced thanksThanks for you help. But in java Jatmi, I have lot of problem to convert array into TypedBuffer or TypedString. See below code, I'm tried using vector or tableau etc..
But I have always same erreur. :(
public void getClientInfo() {
Context ctx;
TuxedoConnection myTux;
TypedString numinst = new TypedString("1");
TypedString idClient = new TypedString("1003");
TypedString[] dataIn = {numinst,idClient};
//TypedString dataIn = new TypedString(numinst+"\0"+idClient+"\0");
Vector input = new Vector();
input.add(0,numinst);
input.add(1,idClient);
Reply rpy = null;
try{
System.out.println("getClientInfo called : " + dataIn);
TuxedoConnectionFactory tcf;
ctx = new InitialContext();
tcf = (TuxedoConnectionFactory) ctx.lookup("tuxedo.services.TuxedoConnection");
myTux = tcf.getTuxedoConnection();
System.out.println("About to call tpcall cnx = "+myTux);
rpy = myTux.tpcall("LireInfoCli_SE",(TypedBuffer)dataIn, 0);
System.out.println("tpcall successfull!");
TypedFML32 typ = (TypedFML32) rpy.getReplyBuffer();
System.out.println("Reply Type = "+rpy.getReplyBuffer().getType());
System.out.println("Reply toString = "+typ.toString());
while(typ.Fiterator().hasNext()){
System.out.println("Reply toString = "+typ.Fiterator().next().toString());
myTux.tpterm(); // Closing the association with Tuxedo
}catch (TPReplyException tpx) {
// Could not get the tuxedo object, throw TPENOENT
System.out.println("TPReplyException perrno = " + tpx.gettperrno()+" DETAILS "+tpx.gettperrordetail()+" getLocalizedMessage "+tpx.getLocalizedMessage()+" "+tpx.getCause());
tpx.printStackTrace();
}catch (TPException tpx1) {
// Could not get the tuxedo object, throw TPENOENT
System.out.println("TPReplyException perrno = " + tpx1.gettperrno()+" DETAILS "+tpx1.gettperrordetail()+" getLocalizedMessage "+tpx1.getLocalizedMessage()+" "+tpx1.getCause());
tpx1.printStackTrace();
}catch (NamingException ne) {
// Could not get the tuxedo object, throw TPENOENT
System.out.println("Could not get TuxedoConnectionFactory : " + ne.getMessage());
ne.printStackTrace();
}catch(Exception e){
System.out.println("Exception in getClientInfo ->"+e.getMessage());
e.printStackTrace();
return;
}
Maybe you are looking for
-
My iMac g5 won't connect to a wireless network
I just got a new hard drive- and now I can't connect to our wireless network- all our other items are connecting so its not the router- thoughts?
-
Preview.app ignores "Image DPI" when scaling
In 10.4 Tiger, Preview.app did the right thing and would print images according to what would be their correct and natural size. For instance, if I scanned a document at 200dpi, and it was 934px wide, Preview.app would print it to paper so that it wa
-
How do you export the cover layout to print as it does in iphoto
Ok here goes, in iphoto, whilst you have the workspace open, you can right click on the workspace and a drop down list of options opens. If you save to pdf in this window, the cover opens up as a single page double spread layout and this can then be
-
ATM to Gigabit Ethernet Migration
Hi, How do you migrate from ATM to GE running a parallel backbone, from ELAN TO VLANS ? The ATM switches are Madge switches and the GE switches are 6509s. Any help is much appreciated. Thanks, Paul
-
Issue in getting data from popup?
i hav created a popup window called simpleWindow, and a custom event to retrieve data from the popup called "popupMessage" in follwing way. simpleWindow.addEventListener("popupMessage",windowClose); In popup i call the dispatchEvent in following way