Pls check this select
Hi All,
Pls look this SELECT, this is from Oramag .And can you pls tell me any source/documentation of ORacle where I can find the CASE...WHEN....THEN....OVER... syntex.
select
to_char(snap_time,'yyyy-mm-dd HH24')||':00' datetime,
case
when ts.startup_time = lag(startup_time,1,null) over (partition by startup_time order by snap_time)
then
value - lag(value,1,null) over (partition by startup_time order by snap_time)
when lag(startup_time,1,null) over (partition by startup_time order by snap_time)
is null
then lag(value,1,null)
over(partition by startup_time order by snap_time)
else
value
end as table_fetch_continued_row
from perfstat.stats$sysstat a,
perfstat.stats$snapshot ts
where snap_time > sysdate - &num_days
and a.snap_id = ts.snap_id
and a.name = 'table fetch continued row'
The case expression is explained here:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/expressions5a.htm#1033394
And LAG is one of the analytical functions and explained here
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions56a.htm#SQLRF00652
Similar Messages
-
Settings in Jdeveloper - WebApplication. Mr. Frank Could u Pls check this
Hi Mr. Frank,
I m using Jdeveloper 9i version.
I want to create a web application using Jdeveloper. is there any specified path is there to run suppose i want to run the project. ex: IDS home/J2ee/
Something like that...
Also another doubt. I hv already connected the db with server by configuring the tnsnames.ora file.. Is there any setting i will hv to do for Jdeveloper while i m creating the application.
Here i m facing one error while i run ma application-----
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server reportserver failed
int oracle.reports.jsp.ReportTag.doStartTag()
void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
In this application i used 1 Jsp page(Attached a report created through Report Builder). While run the application I am facing this error.
Could you please clarify this...
Thanks in advance
Jithesh.You might check the Reports related forum like this thread REP-51002: Bind to Reports Server <servername> failed
--olaf -
Error While running the prgram in Second time..Frank Could u pls check this
Hi,
I am using JDeveloper 11g.
I have created a web application using ADF Business Components in JSF pages(Created the Bar Graph). When I am running the first it works fine. But when I try to run the second time it is giving some errors like Error 500 - Internal Server Error.
Kindly help me...
Thanks in Advance
Regards,
Jithesh.So what do you find in the log files, or console output?
--olaf -
Pls check the calc script requirment
Pls check this calc reqirement and do the needful help
we have got 700000/- INR in your bank You can spend the money but there are rules of spending.
1. we can start withdrawing Rs 1000 only in each month.
2. The Money can be withdrawn only from November 2011
3. This facility is only valid upto next 7 months.
At the end of the seventh month your bank Pass book must show:
Jan Feb Mar Apr May June July Aug Sep Oct Nov Dec Jan Feb Mar Apr May June July
1 1 1 1 1 1 1
(1 = 1000 Rupees as required)
Note : Year changes here after December. Take care of this in logic.
You can think of standard dimensions a planning application has :
1. Accounts
2. Period
3. Scenario
4. Version
5. Entity
6. Year
7. And Many more if you wishGG what do you think is the cause of the error of this code below which i used for testing.....
declare
v_alltables varchar2(10000);
begin
for rec in (select TABLE_NAME from all_tables where owner = 'APPS' AND ROWNUM =1)
loop
execute immediate 'SELECT DBMS_METADATA.GET_DDL( '|| '''TABLE'',' ||rec.table_name||',''APPS'') FROM DUAL' into v_alltables;
dbms_output.put_line(v_alltables);
end loop;
end;
it gives this error message when run:
Error report:
ORA-00904: "ADX_PRE_AUTOCONFIG": invalid identifier
ORA-06512: at line 7
00904. 00000 - "%s: invalid identifier"But when i change the rec.table_name into '''ADX_PRE_AUTOCONFIG''' the code works properly.
so i decided to have this code and it works.
SET SERVEROUTPUT ON
declare
v_alltables varchar2(10000);
begin
for rec in (select TABLE_NAME from all_tables where owner = 'APPS' AND ROWNUM =1)
loop
execute immediate 'SELECT DBMS_METADATA.GET_DDL( '|| '''TABLE'',' ||''''||rec.table_name||''''||',''APPS'') FROM DUAL' into v_alltables;
dbms_output.put_line(v_alltables);
end loop;
end;for you newbie, this must also work
SET SERVEROUTPUT ON
declare
v_alltables varchar2(10000);
begin
for i in (select table_name from all_tables where rownum<2)
loop
execute immediate 'SELECT DBMS_METADATA.GET_DDL( '|| '''TABLE'',' ||''''||i.table_name||''''||',''TRNG8305_GC'') FROM DUAL' into v_alltables;
dbms_output.put_line(v_alltables);
end loop;
end;hope it helps..... -
I have a new MacBook Pro with OS10.8.2 and cannot get Contacts to print a list of addresses with pictures showing. There is a check box selecting "picture" which has been checked - but no picture. This worked fine on OS10.7.5. Problem??
First, back up all data immediately, as your boot drive might be failing.
There are a few other possible causes of generalized slow performance that you can rule out easily.
Reset the System Management Controller.
If you have many image or video files on the Desktop with preview icons, move them to another folder.
If applicable, uncheck all boxes in the iCloud preference pane.
Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
Check your keychains in Keychain Access for excessively duplicated items.
If you have more than one user account, you must be logged in as an administrator to carry out this step.
Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
When posting a log extract, be selective. Don't post more than is requested.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long. -
I HAVING A PROBLEM ABOUT THE PHOTO APPS. THIS ISSUE CAUSE ME A LOT PROBLEM IN PRESENTATION, AND I DID CALL TO YOUR SERVICES CENTRE TO COMPLIANT ABOUT THIS ISSUE. PLS CHECK THE CASE NUMBER 530618429.
I'M WAITING FOR THE NEW IOS UPDATE, BUT EVERYTIME UPDATED DIDN'T SOLVE MY PROBLEM.
WHAT IS HAPPENING?
WHO CAN HELP ME?This is a user to user forum: nobody here works for Apple, and we have no access to your case details. You are going to have to explain what your problem is if you want help from here. Please refrain from posting in all capitals.
-
May you check this simple select case...
Guys, please, can you check this stupid code? I'm totally shattered and maybe I don't see the simple thing...
with cte as (
SELECT CORE FROM IMPORTOIL group by core)
,cte2 as
(select core , mps, technology
from cte xx right join GeneratorTypo gt on xx.core=gt.mps)
select core, mps, technology , case core when null then 'Import ' else technology end from cte2
even if I got several core NULL it retrieve for the select case only the technology and never the 'Import'. Pratically, if ( I miss 2012 wit the simple iif) the core is null write the same value that there is in technology otherwise write 'Import'...what's
wrong with that?Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Nothing here is correct!
Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect.
This is minimal polite behavior on SQL forums. You also need to learn the syntax for a CASE expression:
CASE WHEN core IS NULL THEN 'IMPORT ' ELSE technology END
The CASE expression is an *expression* and not a control statement; that is, it returns a value of one data type. SQL-92 stole the idea and the syntax from the ADA programming language. Here is the BNF for a <case specification>:
<case specification> ::= <simple case> | <searched case>
<simple case> ::=
CASE <case operand>
<simple when clause>...
[<else clause>]
END
<searched case> ::=
CASE
<searched when clause>...
[<else clause>]
END
<simple when clause> ::= WHEN <when operand> THEN <result>
<searched when clause> ::= WHEN <search condition> THEN <result>
<else clause> ::= ELSE <result>
<case operand> ::= <value expression>
<when operand> ::= <value expression>
<result> ::= <result expression> | NULL
<result expression> ::= <value expression>
The searched CASE expression is probably the most used version of the expression. The WHEN ... THEN ... clauses are executed in left to right order. The first WHEN clause that tests TRUE returns the value given in its THEN clause. And, yes, you can nest CASE
expressions inside each other. If no explicit ELSE clause is given for the CASE expression, then the database will insert a default ELSE NULL clause. If you want to return a NULL in a THEN clause, then you must use a CAST (NULL AS <data type>) expression.
I recommend always giving the ELSE clause, so that you can change it later when you find something explicit to return.
The <simple case expression> is defined as a searched CASE expression in which all the WHEN clauses are made into equality comparisons against the <case operand>. For example
CASE iso_sex_code
WHEN 0 THEN 'Unknown'
WHEN 1 THEN 'Male'
WHEN 2 THEN 'Female'
WHEN 9 THEN 'N/A'
ELSE NULL END
could also be written as:
CASE
WHEN iso_sex_code = 0 THEN 'Unknown'
WHEN iso_sex_code = 1 THEN 'Male'
WHEN iso_sex_code = 2 THEN 'Female'
WHEN iso_sex_code = 9 THEN 'N/A'
ELSE NULL END
There is a gimmick in this definition, however. The expression
CASE foo
WHEN 1 THEN 'bar'
WHEN NULL THEN 'no bar'
END
becomes
CASE WHEN foo = 1 THEN 'bar'
WHEN foo = NULL THEN 'no_bar' -- error!
ELSE NULL END
The second WHEN clause is always UNKNOWN.
The SQL-92 Standard defines other functions in terms of the CASE expression, which makes the language a bit more compact and easier to implement. For example, the COALESCE () function can be defined for one or two expressions by
1) COALESCE (<value exp #1>) is equivalent to (<value exp #1>)
2) COALESCE (<value exp #1>, <value exp #2>) is equivalent to
CASE WHEN <value exp #1> IS NOT NULL
THEN <value exp #1>
ELSE <value exp #2> END
then we can recursively define it for (n) expressions, where (n >= 3), in the list by
COALESCE (<value exp #1>, <value exp #2>, . . ., n), as equivalent to:
CASE WHEN <value exp #1> IS NOT NULL
THEN <value exp #1>
ELSE COALESCE (<value exp #2>, . . ., n)
END
Likewise, NULLIF (<value exp #1>, <value exp #2>) is equivalent to:
CASE WHEN <value exp #1> = <value exp #2>
THEN NULL
ELSE <value exp #1> END
It is important to be sure that you have a THEN or ELSE clause with a data type that the compiler can find to determine the highest data type for the expression.
A trick in the WHERE clause is use it for a complex predicate with material implications.
WHERE CASE
WHEN <search condition #1>
THEN 1
WHEN <search condition #2>
THEN 1
ELSE 0 END = 1
Gert-Jan Strik posted some exampels of how ISNULL() and COALESCE() on 2004 Aug 19
CREATE TABLE #t(a CHAR(1));
INSERT INTO #t VALUES (NULL);
SELECT ISNULL(a,'abc') FROM #t;
SELECT COALESCE(a, 'abc') FROM #t;
DROP TABLE #t;
He always use COALESCE, with the exception of the following type of
situation, because of its performance consequences:
SELECT ...,
ISNULL((SELECT COUNT(*) -- or other aggregate
FROM B
WHERE B.key = A.key), 0)
FROM A;
Likewise, Alejandro Mesa came up with this example:
SELECT 13 / COALESCE(CAST(NULL AS INTEGER), 2.00); -- promote to highest type (decimal)
SELECT 13 / ISNULL(CAST(NULL AS INTEGER), 2.00); -- promote to first type (integer)
>> if (I miss 2012 with the simple iif) the core is null write the same value that there is in technology otherwise write 'Import'... what's wrong with that? <<
Why do you want to write non_ANSI/ISO dialect? Do you like your spreadsheets that much? :(
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Pls fix this in my title And why dont you support mirroring in other devices than ipad 2 And in ios 5 it keeps crashing
bubbamj wrote:
What is wrong here? Is there something I missed?
Yes, you missed the fact that Mail has NEVER worked the way you describe. OS X is not iOS. There is absolutely no reason not to have Mail running all the time on your machine. I have Mail set to open at login and it stays open all the time. I never quit it. When an email comes in the Mail icon on the dock will reflect that by incrementing a little red number. This is how Mail has always worked. You need to have it open to receive emails. -
Help requested: How to pass the (check box) selected rows data to other scr
Hi friends, Here is a situation where I have to pick only those records data which i select by checking the check boxes and carry on to next screen where I have to display them and do some processing on such selected rows of data. Can any one suggest me how to code this. Thanks in advance.
Hi Subbarao,
One way is to check if the field is selected by checking if the field value = 'X'.
If it is a table control we will have to loop and find out which all records are selected..it is notable that the check box field will mostly be of single character and contain 'X' if it is checked and space if not checked
Based on the structure where the check box is held we may have to implement various logic to retrieve whether the field is checked or not....for instance we can move data to another internal table for which the checkbox is checked and can retrieve it from the next screen
Pls check,revert and reward if helpful
Regards
Byju -
No data Exists for this selection in PSA.
Hi Guys,
I received an Error message with loading of 2lis_03_bf datasource..
Error message when processing in the Business Warehouse
Diagnosis
An error occurred in the SAP BW when processing the data. The error is documented in an error message.
System response
A caller 01, 02 or equal to or greater than 20 contains an error meesage.
Further analysis:
The error message(s) was (were) sent by:
PSA Table
DETAILS Tab: Processing (data packet): Errors occurred
: Data Package 6 ( ? Records ) : Errors occurred
: Update PSA ( 0 Records posted ) : Errors occurred
: No data exists for this selection in PSA
For DataPacket 6 (Records sent :21572 - Records Received : 0)
All other datapackets are updated fine with almost 10,00,000 records..Any help on this ,guys..
Manythanks
ArunHi,
While the load was in progress some one might have deleted the data in PSA or there might be a PSA deletion job running or there might be a PSA deletion chiain which includes this table. Check all these to find out how it got deleted.
In order to load the data again you can do a reload and probably it works fine this time.
Anup. -
How can I enforce automatic spell checking for selected fields of data entered by form users?
I'd like to be able to enforce spell checking of selected fields in the forms that I've created using LiveCycle Designer 8.2 at run time, as opposed to design time. I understand the version LCD 8 has a nifty new spell checker for form designers. But I want to spell check the data entered by users using Acrobat Reader. And I want to enforce the spell checking automatically on selected fields only.
Presently it seems that users filling in my forms, must know how to manually right-click on each field and select "Spell Check" from the resulting dialog box in order to check for spelling errors in the data the user has entered in the form.
I would like to discover a way to enforce spell checking in selected fields, just as I am able to do in forms created using Acrobat Pro. In Acrobat Pro, I can set a property for each field to require spell checking. but that feature seems to be missing in Livecycle Designer.
I've check the Object model for XFA forms hoping that I might find a method I can call with a Javascript, to check spelling based on an event such as onBlur. But I haven't found a spell check method.
Am I missing something simple? Is there a way to set each field to be spell checked when a user is filling in the form using the free Acrobat Reader?
Our users are not sophisticated and requiring them to spell check each field separately just won't cut it...
Any help on this will be greatly appreciated.
Thanks!
-David BartholomewHi David,
Two things...
At design time set the locale of the form to one that Acrobat spell checks. For example English (US) and English (UK) locales have spell checkers; however English (Ireland) does not. Check the Warnings tab to see if spell checking is supported for your locale.
If your form locale supports spell checking then you can go to the button script below.
If you form locale does NOT support spell checking then Stephanie has a great work around to force spell checking (http://forums.adobe.com/message/2233945#2233945).
Bring a regular button onto the form and in the click event have the following:
app.execMenuItem("Spelling:Check Spelling");
Which will open the spell checker for all fields. Thanks to Paul for extracting all of the accessible menu items (http://forums.adobe.com/message/1912914#1912914).
Good luck,
Niall -
Hi
I have a problem with check box selection.I query from the database and based on the output from the query i prepopulate the check box with a tick mark.But when the user goes again and deselects one of the check box that was ticked and submits the form , it also includes the unchecked box.the following is the code I have.
<%
if (itemStr == 00 ){
%>
<td align="center">
<input type="checkbox" name="build">
</td>
<% }
else{ %>
<td align="center">
<input type="checkbox" name="build1" checked >
</td>
Then in my form I do
String[] ar = request.getParameterValues("build1");
how do i ensure if the user unselects from build1 , it doesnt add that item.
Help Needed
ArnNotice that this line
request.getParameterValues("build1");
is getting the value of the check box. The "checked" attribute is not the value, just the attribute.
Oddly enough, I just wrote some code to do this today.
First, add this little javascript method to your page.
<SCRIPT language="JavaScript"> <!-- //Hide contents from older browsers
function setHiddenTagFromCheckbox(checkbox, element) {
if(checkbox.checked) {
element.value="yes";
else {
element.value="no";
// End hiding the contents -->
</SCRIPT> 2) Add a hidden input field for each checkbox field.
<input type="HIDDEN" name="prin2signhidden" value = "no">3) Add an onclick handler for the check box
<input type=checkbox name="prin2sign" onclick="setHiddenTagFromCheckbox(document.formname.prin2sign, document.formname.prin2signhidden)">In your servlet check the value of prin2signhidden instead of the checkbox input.
The forum is doing odd things to this source code. Any place you see a > you should actually have a "greater than" sign. -
Can you pls correct this query :: ( In Oracle Core HRMS )
Dear all,
i have created query get result :: ( In Oracle Core HRMS )
• EE Number
• Forename
• Surname
• Dept
• Start Date
• Leave Date
• Date of Birth
• Address
• Salary (New & Existing Employee)
• Car Allowance
• Effective date (changes/updates)
• Creation Date/Update date
• Email address
• Gender
• Job Description
• Grade
• From and to date for parametres
• Last Modified Date
SELECT
papf.EMPLOYEE_NUMBER emp_no
, papf.FIRST_NAME forname
, papf.LAST_NAME surname
, replace(replace(hou.attribute1,'10-',''), '14-', '') department
, pps.date_start strt_date
, pps.actual_termination_date leave_date
, papf.DATE_OF_BIRTH dob
, pdd.ADDRESS_LINE1||''||pdd.ADDRESS_LINE2||','||pdd.ADDRESS_LINE3 Address
, ppp.proposed_salary_n salary
, papf.EFFECTIVE_START_DATE estart_date
, papf.EFFECTIVE_END_DATE eend_date
, papf.CREATION_DATE crt_date
, papf.EMAIL_ADDRESS mail_addrs
, papf.SEX GENDER
, pj.NAME Job_Des
, substr(pg.name, 1, 1) GRADE
, papf.LAST_UPDATE_DATE Last_Modified_Date
FROM per_all_people_f papf
, per_all_assignments_f paaf
, per_addresses pdd
, per_pay_proposals ppp
, per_grades pg
, pay_payrolls_f pp
, per_jobs pj
, per_periods_of_service pps
, per_person_types ppt
, per_person_type_usages_f pptu
-- , pay_element_entries_f pee
, hr_organization_units hou
WHERE papf.person_id = paaf.person_id
AND papf.person_id = pdd.person_id
AND papf.person_id = pptu.person_id
and papf.person_id = pps.person_id
and pps.period_of_service_id = paaf.period_of_service_id
AND ppp.assignment_id = paaf.assignment_id
-- AND pee.assignment_id = paaf.assignment_id
AND paaf.grade_id = pg.grade_id
AND paaf.payroll_id = pp.payroll_id
AND pptu.person_type_id = ppt.person_type_id
AND paaf.organization_id = hou.organization_id
AND pj.job_id = paaf.job_id
AND ppp.pay_proposal_id = (SELECT MAX (pay_proposal_id)
FROM per_pay_proposals
WHERE assignment_id = paaf.assignment_id)
AND pp.payroll_id = 224
AND pdd.primary_flag = 'Y'
AND pee.element_type_id = 221 for car allowance
AND papf.employee_number <> 'NONE'
AND ppt.user_person_type in ('Employee', 'Ex-employee' ,'Intern')
AND ppt.system_person_type in ('EX_EMP', 'EMP')
AND TRUNC(SYSDATE) between papf.effective_start_date and papf.effective_end_date
AND TRUNC(SYSDATE) between paaf.effective_start_date and paaf.effective_end_date
AND TRUNC(SYSDATE) between pptu.effective_start_date and pptu.effective_end_date ;
can you pls correct this
still i need to add Car Allowance and Bank details in above query pls tell me where i can get dept details in oracle core HR
Thanks all
Edited by: 981527 on Jan 30, 2013 3:41 AM
Edited by: 981527 on Jan 31, 2013 1:22 AM
Edited by: 981527 on Jan 31, 2013 1:30 AM
Edited by: 981527 on Jan 31, 2013 9:03 PM
Edited by: 981527 on Feb 1, 2013 4:50 AMI am taking a guess that 'Dept' is where the employee works, so that will be the column 'NAME' in the table HR_ALL_ORGANIZATION_UNITS; you will need to join with this table on the assignment's organization_id value
Edited to add: Whilst you're testing this, you might want to consider removing the table PAY_ELEMENT_ENTRIES_F from the table list, otherwise you can look forward to potentially large cartesian product of returned rows!
Clive
Edited by: clive_t on 31-Jan-2013 09:59 -
What can i do for removing SINGLE in this select query??
What can i do for removing SINGLE in this select query given below and also NOT USE 'ENDSELECT'??
I have defined g_t_zv7_cachemapping as following ::
DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
kostl LIKE zv7_cachemapping-kostl,
END OF g_t_zv7_cachemapping.
SELECT SINGLE kostl FROM zv7_cachemapping INTO g_t_zv7_cachemapping
WHERE auart = g_t_vbak-auart.
IF sy-subrc = 0 .
ENDIF.Shashank,
DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
AUART LIKE zv7_cachemapping-AUART,
kostl LIKE zv7_cachemapping-kostl,
END OF g_t_zv7_cachemapping.
If not g_t_vbak[] is initial.
SELECT auart kostl
FROM zv7_cachemapping INTO table g_t_zv7
for all entries in g_t_vbak
WHERE auart = g_t_vbak-auart.
Endif.
sort : g_t_zv7 by auart ,
g_t_vbak by auart.
loop at g_t_vbak.
READ TABLE g_t_zv7 WITH KEY AUART = g_t_vbak-AUART
BINARY SEARCH.
IF sy-subrc eq 0.
ENDIF.
endloop.
Pls. reward if useful -
Adhoc Query : Error during selection; check the selection conditions
Hi
We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
Error during selection; check the selection conditions
Message no. PAIS206
I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
Can anything be done to overcome this issue?
Any advice would be much appreciated.
NicolaHi
The message in full is:
Error during selection; check the selection conditions
Message no. PAIS206
Diagnosis
A runtime error occurred during dynamic selection.
System response
The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
Procedure
Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values.
Maybe you are looking for
-
Upgrading from ME to XP Operating System
I have JAVA 2 Standard Edition, Java Plug In 1.3.0, 1.3.0C installed by Dell Computer. The upgrade report says that the current version of Java Plug in will not work with Windows XP. It says to contact the software vendor for the latest updates or XP
-
Axis Compatibility with Oracle 8i
Hi, We have a Java client which calls Webservice using axis 1.3. This java client needs to be included in Oracle 8i environment (JRE V1.2.2) for application purpose. When we load the jar files "axis.jar" file throws reference errors and also "-2.6.2.
-
ITunes not working, ghost in my machine?
itunes keeps opening up on it's own and then is freezes, even if I force quit it opens up on it's own. I can't use my mac at all!
-
Invalid Operation on Forward Result Set.
Hi, I got the ff exception when I tried to call data.beforeFirst(). EXCEPTION DESCRIPTION: java.sql.SQLException: Invalid operation for forward only resultset : last INTERNAL EXCEPTION: java.sql.SQLException: Invalid operation for forward only result
-
BPEL JMS Adpater to publish message to B2B Internal Delivery Channel
We are planning to use the JMS adapter in BPEL to publish message to B2B Internal Delivery channels. But during the JMS Adapter configuration it doesnt list the B2B Internal queues (IP_OUT_QUEUE and IP_IN_QUEUE) in the list of queues. However for AQ