Missing Attendance Query.
HI,
I have two tables
1. attendance
2. Emp
In attendance table i have the following colums
Emp_no ,date,Present_flag
In emp table
emp_no
How to find the missing attendance......
for eg: if i pass 01-JUN-10 to 30-JUN-10 as parameter i need to get emp_no and date for which there
is no record in attendance table.
Pls help...
Something like this ?
SQL> ed
Wrote file afiedt.buf
1 WITH EMPl AS (SELECT 1 empno,'A' ename FROM DUAL UNION ALL
2 SELECT 2 empno,'B' ename FROM DUAL
3 )
4 ,Att AS (SELECT 1 empno,to_date('01-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
5 SELECT 1 empno,to_date('02-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
6 SELECT 1 empno,to_date('03-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
7 SELECT 1 empno,to_date('05-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
8 SELECT 1 empno,to_date('06-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
9 SELECT 1 empno,to_date('07-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
10 SELECT 2 empno,to_date('01-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
11 SELECT 2 empno,to_date('02-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
12 SELECT 2 empno,to_date('03-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
13 SELECT 2 empno,to_date('04-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL UNION ALL
14 SELECT 2 empno,to_date('07-JUN-2010','DD-MON-YYYY') dt, 'Y' Present FROM DUAL
15 )
16 ,date_range AS ( select to_date('01-JUN-2010','DD-MON-YYYY')-1 + level dt
17 from dual
18 connect by level <= (to_date('07-JUN-2010','DD-MON-YYYY') -
19 to_date('01-JUN-2010','DD-MON-YYYY')+1 )
20 )
21 SELECT DISTINCT b.empno,a.ename,c.dt FROM EMPL a,Att b,date_range c
22 WHERE c.dt NOT IN (SELECT dt FROM Att inner_b where inner_b.empno=b.empno)
23 AND a.empno=b.empno
24* order by 1
SQL> /
EMPNO E DT
1 A 04-JUN-10
2 B 05-JUN-10
2 B 06-JUN-10
Similar Messages
-
This is the message when I click the logout button. It destroys the session though. It should redirect to login page after clicking logout button.
We are on Apex 4.1
Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /pls/apex/f HTTP-400 Missing '=' in query string or post form
Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server Server at xxxx.xxxxx.edu Port 443
Edited by: 965704 on Oct 30, 2012 11:42 AMIt has been fixed but the new problem is: After signout, if I move back to previous page and click some link using <- sign then I suppose to get the login page, but i am getting
ORA-44004: invalid qualified SQL name error message.
The source for my login page is
wwv_flow_custom_auth_std.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
); -
LOV icon missing in query mode
Hi,
I'm using a LOV in query mode. But in Query mode the button with the 3 dots is missing. I can only enter the LOV by pressing CTRL+L. To improve the easy of use, I want to show the button in the text field (with LOV) as well. How can I realize this?
Regards,
StenI've changed the registry.dat file which I found on the middle tier in the folder
/u01/applmgr/rooscomn/java/oracle/forms/registry/
but without the desired result. When I switch in a form to query mode, there is still no button in the textfield (3 dots).
Thanks in advance! -
Top 10 or 20 sessions Not to miss/attend in OOW 2013
Hi All,
Hope everyone is doing great. Guess most of them in this forum will be attending the Oracle Open World 2013.
And from huge list of many sessions and demos , few would have short listed sessions to attend.
Can you please share some of the sessions not to miss in the OOW2013. It will be very helpful to all.
Thank You,
Baskar.lWhat product ? What level ? What's your speciality ? Too many criteria.
Have a look there and make your own choice :
https://blogs.oracle.com/oracleopenworld/entry/search_for_the_content_you
<mod. action: this is definitely not a technical for Database General question forum, locking this thread>
Nicolas. -
Help: marked of attendance query
dear all.
i have a table with this structure
COD - VARCHAR2(1)
FECH - DATE
i have the next records:
1 20/01/2008
1 21/01/2008
1 24/01/2008
Well. i explain that:
The idea is show "FALTA" when not exists row belongs to the user with code "1", based in the dates.
For example if i query through a report it shows:
CODIGO ASISTENCIA
1 20/01/2008
1 21/01/2008
1 FALTA
1 FALTA
1 24/01/2008
That is because the days 22/01/2008 and 23/01/2008 doesn't exists records and show the word "FALTA".
There are a way to do that? I dont want to do any changes in the table structure.
Thanks a lot.Hi,
You need to outer-join your table to a table that has all the dates of interest.
You probably don't have such a table, but you can generate a result set (like all_dates, below) that will work just as well.
WITH all_dates AS
SELECT TO_DATE (:start_date, 'DD/MM/YYYY') + LEVEL - 1 AS dt
FROM dual
CONNECT BY LEVEL <= 1 + ( TO_DATE (:end_date, 'DD/MM/YYYY')
- TO_DATE (:start_date, 'DD/MM/YYYY')
SELECT cod AS codigo
, NVL ( TO_CHAR (fech, 'DD/MM/YYYY')
, 'FALTA'
) AS asistencia
FROM all_dates ad
LEFT OUTER JOIN table_x tx PARTITION BY (cod)
ON ad.dt = tx.fech
ORDER BY cod
, dt; -
Infoarea missing in query designer
Hi All,
We are using BI 7 analysis authourization, we had a request for one user to add one ods access, we have granted access to the user to ODS via RSA1. But issue is we are not able to see the infoarea and ods in query designer.
Is we need any authourization to use the ods in BEX analyser or any other things need to be followed
Regrads,
AnbuHi Anbu ,
For query we need to assign some roles .Sometime even if we are able to see an infoarea in RSA1 but not able to see the query
Check the role that query is having in RSA1->metadata repository
In BEX analyzer you can check roles assigned to that user .This will tell you which infoarea are accessible to the user .
You can also check in SU01 for roles of a specific user .
Ask your BASIS to check which roles are needed to be assigned by comparing roles of user who can see those infoarea and who cannot .
Hope this will help .
Regards,
Jaya Tiwari -
InfoObject missing in Query Designer
Hi Expert,
I created one DSO which contain contian InfoObject InfoA, InfoB and other fields . and i also create a query against this DSO. But in Query Designer, there is no InfoObject InfoA and InfoB. all other fields can be find in Query Designer! i feel confuse about this ?
Anybody can give some advise about this?
Thanks in advance.Hi Dragon
1. Close query designer.
2. Activate the DSO once again
3. Re-open query designer
Sometimes I also faced refresh issue. but the above steps resolved my problem
Regards
Anindya -
Selection screen is missing when query is executed
Hi Friends,
I am running a query and it gets executed without showing the selection screen. Here it is how I am running the query:
1. Go to Business Explorer (3.x)-->Analyser(3.x)
2. IT ask for SAP Log on
3. I choose system which is 7.0
then it runs without showing any selection screen.
If I run the same query in 3.x system it shows the selection screen and all.
Any idea about it???
Your help will be appreciated in terms of points.
ThanksHi,
We have the same architecture (3.x BEx Explorer and BI 7.0) and we have no such problems (we are at SP 15).
It could be due to the personalisation of variables (if all variables are personalized).
On the other hand it could be the SAP error, have you tried to search for the problem in OSS?
Regards,
Kirill -
Updating/Find Missing *Drive* Query
Good day to you all
I'm looking for a way to apply the "Find Missing Folder.." function to the actual drive. Essentially using the Drive letter as the parent "folder" to sync all subfolders and update all the image paths.
The scenario;
I had all my photos on a local drive "W:".
They are now all on a network drive - we'll call this \\NAS\Photos (where photos is the share name on the network drive)
I can manually go through the "missing" folders from W: in the left pane of the library and "Find Missing Folders.." one at a time. This works.
However, I have about 100 folders so this is very time consuming.
The folder structure is exactly the same, what I would like to do is update the DRIVE path so I can preserve all of the LR edits.
Any ideas?
TIASo what exactly are you doing....are you trying to relink one of the missing folders to the parent folder on the NAS? Is the parent folder showing in the Folders Panel in Lightroom's Library module? If it is, that's the folder you should relink to the equivalent parent on the NAS.
If, however, the parent folder is NOT showing in the Folders Panel, then right-click on any of the "missing" folders and select "Show Parent Folder"....that should add the parent folder to the folders panel, so that you can then relink with a single "Find Missing Folder" command (the ability to show a parent folder for missing folders was a new feature in LR4, you couldn't do that in previous versions). -
I Have 3 tables
dbo.Emp_setting
name data type allownulls
Empset_id int Unchecked
personal_id int Unchecked
DesignationID int Checked
DivisionID int Checked
Emp_status char(1) Checked
Emp_TypeId int Checked
Dept_Id int Checked
Group_Id int Checked
NDIVGRP_CODE bigint Checked
dbo.tempDeviceLogs
name datatype allow nulls
LogsID int Unchecked
Device_Person_id int Unchecked
Device_id int Unchecked
logDateTime datetime Unchecked
logVerifyMode nchar(10) Unchecked
workCodeID int Unchecked
Machin_install_id int Unchecked
data_loaded_dt datetime Checked
Inout int Checked
dbo.persons_profile
[pesonal_id]
,[Emp_Code]
,[Title]
,[First_name]
,[Middle_name]
,[last_name]
,[Father_Husband_Name]
,[Dob]
,[Age]
,[gender]
,[Marital_status]
,[Nationality]
,[bloodGroup]
,[perAddress]
,[PerStreet]
,[PerLocation]
,[PerCity]
,[PerPincode]
,[CorAddress]
,[CorStreet]
,[CorLocation]
,[CorCity]
,[CorPincode]
,[LandlinePhone]
,[cellNo]
,[EmailId]
,[NosofDependendants]
,[Dependendants_details]
,[Emergency_FirstName]
,[Emergency_Middle_name]
,[Emergency_Last_name]
,[Emergency_WithRelation]
,[Emergency_PhoneNo]
,[Emergency_CellNo]
,[Emergency_emailId]
,[Office_PF_ac_no]
,[ESI_ac_no]
,[JoinedDate]
,[Photofile]
,[ReportTo]
,[Brief_Notes]
,[dateofTermination]
,[termination_note]
,[Print_Priority]
,[DeviceEmployeeID]
,[LogsPermitted]
,[Machin_install_id]
,[Designation]
,[Dept]
,[Section]
,[Groups]
,[EmpWorkingTypeT]
Expected output
employeename device_person_id designation emptype Date status
STATUS is emp_status whether employee is present or absent for a specific dayin output if we enter todays date then it should show employee details with whether he is present for entered date or not.
in tempdevicelogs DEVICE_PERSON_ID and in Emp_setting PERSON_ID columns are equal
SELECT b.Device_Person_ID, a.Personal_id, Date1,
CASE WHEN b.Device_Person_id IS NOT NULL THEN 'A' ELSE 'P' END as Emp_Status
FROM Emp_setting a
LEFT OUTER JOIN (SELECT device_person_id, MAX(logDateTime) AS Date1 FROM tempDeviceLogs GROUP BY device_person_id) b
ON a.personal_id = b.device_person_id
with this code am getting output as
Device_Person_ID Personal_id Date1 Emp_Status
879 879 2014-05-23 13:06:23.000 A
92 92 2014-05-23 00:00:00.000 A
501 501 2014-05-23 00:00:00.000 A
971 971 2014-05-23 00:00:00.000 A
384 384 2014-05-23 09:11:54.000 A
802 802 2014-05-23 00:00:00.000 A
407 407 2014-05-23 14:52:13.000 A
762 762 2014-05-23 13:46:20.000 A
616 616 2014-05-24 00:00:00.000 A
487 487 2014-05-23 08:27:10.000 A
109 109 2014-05-23 00:00:00.000 A
650 650 2014-05-24 00:00:00.000 A
773 773 2014-05-23 06:03:40.000 A
556 556 2014-05-24 00:00:00.000 A
630 630 2014-05-23 00:00:00.000 A
530 530 2014-05-23 14:51:01.000 A
301 301 2014-05-24 00:00:00.000 A
387 387 2014-05-23 05:12:03.000 A
550 550 2014-05-23 00:00:00.000 A
942 942 2014-05-23 00:00:00.000 A
985 985 2014-05-23 00:00:00.000 A
95 95 2014-05-24 00:00:00.000 A
521 521 2014-05-23 00:00:00.000 A
782 782 2014-05-24 00:00:00.000 A
264 264 2014-05-23 09:02:32.000 A
951 951 2014-05-23 08:41:22.000 A
172 172 2014-05-23 00:00:00.000 A
527 527 2014-05-24 00:00:00.000 A
229 229 2014-05-23 14:10:37.000 A
364 364 2014-05-24 00:00:00.000 A
1005 1005 2014-05-24 00:00:00.000 A
26 26 2014-05-23 00:00:00.000 A
533 533 2014-05-24 00:00:00.000 A
86 86 2014-05-23 00:00:00.000 A
553 553 2014-05-24 00:00:00.000 A
63 63 2014-05-24 00:00:00.000 A
292 292 2014-05-23 09:30:36.000 A
633 633 2014-05-24 00:00:00.000 A
639 639 2014-05-24 00:00:00.000 A
854 854 2014-05-23 00:00:00.000 A
213 213 2014-05-23 00:00:00.000 A
499 499 2014-05-23 09:18:33.000 A
994 994 2014-05-23 00:00:00.000 A
307 307 2014-05-23 09:21:13.000 A
267 267 2014-05-24 00:00:00.000 A
1006 1006 2014-05-23 08:40:14.000 A
127 127 2014-05-23 00:00:00.000 A
814 814 2014-05-23 00:00:00.000 A
370 370 2014-05-23 00:00:00.000 A
107 107 2014-05-23 00:00:00.000 A
914 914 2014-05-23 00:00:00.000 A
130 130 2014-05-23 00:00:00.000 A
797 797 2014-05-23 00:00:00.000 A
728 728 2014-05-24 00:00:00.000 A
883 883 2014-05-23 00:00:00.000 A
7 7 2014-05-23 00:00:00.000 A
585 585 2014-05-23 00:00:00.000 A
691 691 2014-05-23 00:00:00.000 A
442 442 2014-05-23 08:12:05.000 A
834 834 2014-05-23 00:00:00.000 A
840 840 2014-05-23 00:00:00.000 A
24 24 2014-05-23 00:00:00.000 A
688 688 2014-05-23 00:00:00.000 A
711 711 2014-05-23 00:00:00.000 A
141 141 2014-05-24 00:00:00.000 A
757 757 2014-05-24 00:00:00.000 A
525 525 2014-05-23 00:00:00.000 A
974 974 2014-05-23 00:00:00.000 A
279 279 2014-05-23 00:00:00.000 A
671 671 2014-05-23 08:52:21.000 A
270 270 2014-05-23 00:00:00.000 A
857 857 2014-05-23 14:28:11.000 A
84 84 2014-05-23 14:00:09.000 A
153 153 2014-05-24 00:00:00.000 A
227 227 2014-05-23 08:29:05.000 A
559 559 2014-05-24 00:00:00.000 A
674 674 2014-05-24 00:00:00.000 A
508 508 2014-05-23 08:35:42.000 A
61 61 2014-05-23 00:00:00.000 A
482 482 2014-05-23 00:00:00.000 A
651 651 2014-05-23 00:00:00.000 A
800 800 2014-05-23 00:00:00.000 A
90 90 2014-05-23 00:00:00.000 A
290 290 2014-05-24 00:00:00.000 A
253 253 2014-05-23 09:29:58.000 A
339 339 2014-05-24 00:00:00.000 A
104 104 2014-05-24 00:00:00.000 A
119 119 2014-05-23 00:00:00.000 A
142 142 2014-05-24 00:00:00.000 A
875 875 2014-05-23 09:04:53.000 A
65 65 2014-05-24 00:00:00.000 A
720 720 2014-05-23 00:00:00.000 A
620 620 2014-05-24 00:00:00.000 A
858 858 2014-05-23 00:00:00.000 A
271 271 2014-05-23 13:31:56.000 A
812 812 2014-05-23 08:31:14.000 A
105 105 2014-05-23 00:00:00.000 A
228 228 2014-05-23 00:00:00.000 A
136 136 2014-05-23 00:00:00.000 A
540 540 2014-05-23 00:00:00.000 A
42 42 2014-05-24 00:00:00.000 A
5 5 2014-05-23 14:14:00.000 A
640 640 2014-05-23 00:00:00.000 A
689 689 2014-05-23 00:00:00.000 A
594 594 2014-05-24 00:00:00.000 A
500 500 2014-05-23 00:00:00.000 A
523 523 2014-05-23 08:04:59.000 A
1041 1041 2014-05-23 09:04:58.000 A
1024 1024 2014-05-23 08:18:28.000 A
139 139 2014-05-23 00:00:00.000 A
803 803 2014-05-23 00:00:00.000 A
623 623 2014-05-24 00:00:00.000 A
669 669 2014-05-23 07:50:35.000 A
128 128 2014-05-23 08:27:59.000 A
122 122 2014-05-23 00:00:00.000 A
866 866 2014-05-23 00:00:00.000 A
59 59 2014-05-23 00:00:00.000 A
772 772 2014-05-24 00:00:00.000 A
723 723 2014-05-23 00:00:00.000 A
108 108 2014-05-23 00:00:00.000 A
251 251 2014-05-23 14:00:23.000 A
531 531 2014-05-24 00:00:00.000 A
749 749 2014-05-23 00:00:00.000 A
743 743 2014-05-24 00:00:00.000 A
537 537 2014-05-23 00:00:00.000 A
145 145 2014-05-23 00:00:00.000 A
835 835 2014-05-23 00:00:00.000 A
71 71 2014-05-23 00:00:00.000 A
263 263 2014-05-23 08:40:24.000 A
117 117 2014-05-23 00:00:00.000 A
549 549 2014-05-24 00:00:00.000 A
526 526 2014-05-23 00:00:00.000 A
873 873 2014-05-24 00:00:00.000 A
77 77 2014-05-24 00:00:00.000 A
409 409 2014-05-24 00:00:00.000 A
280 280 2014-05-23 06:51:33.000 A
956 956 2014-05-23 00:00:00.000 A
217 217 2014-05-24 00:00:00.000 A
223 223 2014-05-23 00:00:00.000 A
518 518 2014-05-24 00:00:00.000 A
123 123 2014-05-23 08:26:14.000 A
558 558 2014-05-24 00:00:00.000 A
83 83 2014-05-23 05:41:26.000 A
581 581 2014-05-23 00:00:00.000 A
177 177 2014-05-23 08:22:48.000 A
652 652 2014-05-24 00:00:00.000 A
352 352 2014-05-23 08:57:45.000 A
91 91 2014-05-24 00:00:00.000 A
538 538 2014-05-24 00:00:00.000 A
495 495 2014-05-23 08:26:38.000 A
838 838 2014-05-24 00:00:00.000 A
947 947 2014-05-23 09:13:06.000 A
114 114 2014-05-23 00:00:00.000 A
20 20 2014-05-23 14:05:07.000 A
953 953 2014-05-24 00:00:00.000 A
841 841 2014-05-23 00:00:00.000 A
57 57 2014-05-23 00:00:00.000 A
798 798 2014-05-23 00:00:00.000 A
157 157 2014-05-23 00:00:00.000 A
578 578 2014-05-23 00:00:00.000 A
137 137 2014-05-23 00:00:00.000 A
790 790 2014-05-23 00:00:00.000 A
8 8 2014-05-23 00:00:00.000 A
598 598 2014-05-24 00:00:00.000 A
1039 1039 2014-05-23 00:00:00.000 A
151 151 2014-05-23 00:00:00.000 A
194 194 2014-05-23 09:11:33.000 A
541 541 2014-05-23 08:06:59.000 A
NULL 261 NULL P
NULL 593 NULL P
NULL 925 NULL P -
FS - Error code 3006 from SQL-Query
Hello world!
Can someone inform me which possible errors in a query cause the following error message after the query is activated?
Internal Error (3006) Message [131-183]
Until now I had only error code 1003, which signals syntax errors etc. in the query.
By the way: Does anywhere exists a list of error codes/messages occuring in SAP B1?
Thank you!
Frank RomeniError codes and their description can be found in SDK help files
I have pasted them below for your ref
-39
End of File
-43
File not Found
-47
File is Busy
-50
File Cannot Open
-51
File Corrupted
-99
Division by Zero
-100
Out of Memory
-101
Print Error
-103
Print Canceled
-104
Money Overflow
-111
Invalid Memory Access
-199
General Error
-213
Bad Directory
-214
File Already Exists
-216
Invalid File Permission
-217
Invalid Path
-1001
Data Source - Bad Column Type
-1003
Data Source - Alias Not Found
-1004
Data Source - Value Not Found
-1005
Data Source - Bad Date
-1012
Data Source - No Default Column
-1013
Data Source - Zero/Blank Value
-1015
Data Source - Integer Overflow
-1016
Data Source - Bad Value
-1022
Data Source - Other File Not Related
-1023
Data Source - Other Key Not In Main Key
-1025
Data Source - Array Record Not Found
-1027
Data Source - Value Must Be Positive
-1028
Data Source - Value Must Be Negative
-1029
Data Source - Column Cannot be updated
-1100
Data Source - Cannot Allocate Environment
-1101
Data Source - Bad Connection
-1102
Data Source - Connection Not Opened
-1103
Data Source - DB Already Exists
-1104
Data Source - Cannot Create Database
-1200
Data Source - Data Bind General Error
-2001
Data Source - Bad Parameters
-2003
Data Source - Too Many Tables
-2004
Data Source - Table Not Found
-2006
Data Source - Bad Table Definition
-2007
Data Source - Bad Data Source
-2010
Data Source - Bad Data Source Offset
-2013
Data Source - No Fields In Table
-2014
Data Source - Bad Field Index
-2015
Data Source - Bad Index Number
-2017
Data Source - Bad Alias
-2020
Data Source - Bad Alias
-2022
Data Source - Bad Field Level
-2024
Data Source - Not Matching Data Source
-2025
Data Source - No Keys In Table
-2027
Data Source - Partial Data Found
-2028
Data Source - No Data Found
-2029
Data Source - No Matching Field
-2035
Data Source - Duplicate Keys
-2038
Data Source - Record Lock
-2039
Data Source - Data Was Changed
-2045
Data Source - End of Sort
-2049
Data Source - Not Opened for Write
-2056
Data Source - No Matching With Current Data Source
-2062
Data Source - Bad Container Offset
-3001
Query - Field Not Found
-3003
Query - Bad Data Source
-3004
Query - Bad Token
-3005
Query - Token After End
-3006
Query - Unexpected End
-3008
Query - Too Long Query
-3009
Query - Extra Right Parenthesis
-3010
Query - Missing Right Parenthesis
-3012
Query - No Operation Code
-3013
Query - No Field In Comparison
-3014
Query - Bad Condition
-3015
Query - Bad Sort List
-3017
Query - No String
-3018
Query - Too Many Fields
-3019
Query - Too Many Indexes
-3020
Query - Too Many Tables
-3021
Query - Reference Not Found
-3022
Query - Bad Range Set
-3023
Query - Bad Parsing
-3025
Query - Data Bind is Missing
-3026
Query - Bad Input
-3027
Query - Progress Aborted
-3028
Query - Bad Table Index
-3032
Query - General Failure
-3033
Query - Empty Record
-3036
Query - Bad Parameter
-3037
Query - Missing Table in List
-3040
Query - Bad Operation
-3041
Query - Bad Expression
-3042
Query - Name Already Exists
-3044
Query - Time Expired
3001
Form - Is Not Initialized
3002
Form - Bad Data Source
3003
Form - Exceeded Data Sources Limit
3006
Form - Invalid Form Item
3007
Form - Exceeded Forms Limit
3009
Form - Too Many Saved Data
3012
Form - Invalid Form
3015
Form - Cannot Get Multi-Line Edit
3016
Form - Bad Item Type
3017
Form - Bad Parameter
3023
Form - No Message Callback
3029
Form - Item Is Not Selectable
3031
Form - Bad Value
3033
Form - Item Not Found
4007
Grid - Invalid
4008
Grid - Bad Size
4009
Grid - No Data
4011
Grid - Invalid Parameters
4013
Grid - Not Super Title
4014
Grid - Super Title 2 Exits
4015
Bad Item Unique ID
4016
Grid - Bad Data
4017
Grid - Column is Already Folded
4018
Grid - Column is Already Expanded
4019
Grid - Line Exists
4020
Grid - Not Enough Data
4022
Grid - Super Title Exists
4027
Grid - Row Is Not Collapsible
8004
Status Bar - No Such Info
8005
Status Bar - Info Occupied
8006
Status Bar - No Message Bar
8007
Status Bar - Progress Stopped
8008
Status Bar - Too Many Progress
5001
Graph - Invalid
5002
Graph - Bad Form Item
5005
Graph - Bad Parameters
-7008
Form not found
-7000
Invalid Form
-7031
Form - Reserved /Illegal form Unique ID
-7032
Form - Invalid Mode
-7006
The item is not a user defined item and cannot be manipulated in such manner
-7005
Invalid table name
-7004
XML batch load failed
-7003
Menu operation Add failed
-7002
Function not supported
-7001
Invalid Item
-7034
Could not clear item in group
-7033
Out of boundaries
-7020
This method cannot be invoked by a Cell object
-7019
Invalid form unique ID. Should not begin with an F_ prefix
-7018
Invalid Field Value
-7017
Invalid Field Name
-7016
This datasource object is not a user-defined object
-7015
Invalid Column
-7014
A Column object with the specified unique ID already exists in the system.
-7013
The string value entered should be less then 10 characters.
-7012
An Item object with the specified unique ID already exists in the system.
-7011
The string value entered should be less then 11 characters.
-7010
A form with the requested unique ID already exists in the system.
-7009
The string value entered should be less the 32 characters.
-7040
Cannot Load XML File
-7051
Unexpected usage of the specified XML TAG.
-7050
This action type is not valid or not implemented yet.
-7043
Cannot load the Menu resource from the specified XML file.
-7042
Cannot load the Item resource from the specified XML file.
-7041
Cannot load the Form resource from the specified XML file.
-7071
Failed to create the items group.
-7070
UID
-7069
Failed to change the form current pane level.
-7068
Failed to change the form color.
-7067
Failed to change the Form mode.
-7066
Failed to fix the form default button.
-7065
Failed to change the form Visible state.
-7064
Could not change the form title.
-7063
The change of form dimensions has failed
-7062
Unknown Form attribute
-7061
XML batch resource update is not supported yet.
-7060
Reached Max Number of user data sources.
-7094
Failed to add the items child objects.
-7093
Failed to batch add the items
-7092
Failed to bind the item to the data source
-7091
Wrong Item Attribute
-7090
Unknown Field Type
-7114
Type of Column is Not Supported.
-7113
Failed to add the column child objects.
-7112
Failed to add the new columns.
-7111
Failed to bind the column to a data source
-7110
Invalid column attributes
-7133
The specified menu position is not valid
-7132
Invalid menu type
-7131
Failed to add the menu object
-7130
The specified menu already exists.
-7030
Invalid Row Number
-7029
Operation not supported on system form.
-7028
Out of boundary of DB data source offset.
-7027
The menu item is not a user defined menu item and cannot be manipulated in such manner.
-7026
Menu item was not found
-7025
Unknown Form State
-7024
Failed setting form bounds
-7023
Invalid Target
-7022
Could not commit action because the item is currently in focus.
-7021
Operation could not be set on extended edit text item.
-7200
Your connection string doesn't much UI development work mode.
-7201
The specified connection string is not valid. -
Problem using alias field names in a sql query
Hello,
I have a question regarding a simple Oracle database SQL query writeup:
In the following (badly written but properly working) SQL query:
Query 1:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
(soe.field5 - (soe.field2 + soe.field3)) as field6,
(select comp.parValue*soe.field7
from
CompTable comp) as parValue,
(select soe.field8 - (comp.parValue*soe.field7+ soe.field9)
from
CompTable comp) as field10
from
SomeTable soe
PROBLEM 1:
I am re writing the code (soe.field2 + soe.field3) to get the alias field4 or column name field4 that I have created on the fly in the previously for use with the following fields. Can't I rewrite the query as follows. There is something simple missing!
Query 2:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
soe.field5 - field4 as field6, <<< field4 does not work here
(select
comp.parValue*soe.field7
from
CompTable comp) as parValue,
(select
soe.field8 - (comp.parValue*soe.field7+ soe.field9)
from
CompTable comp) as field10
from
SomeTable soe
PROBLEM 2:
Similar to the above problem, I was thinking to get a field parValue out of the CompTable table and re-use many times rather than the code shown in Query 1:
Query 3:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
soe.field5 - field4 as field6,
soe.field7* (select comp.parValue from CompTable comp) as parValue1,
soe.field8 - (parValue1*soe.field7+ soe.field9) as field10 <<<< parvalue1 does not work here
parValue1*soe.field9 as TaxCondition <<<< parvalue1 does not work here
from
SomeTable soe
See that the query becomes so simple, but the above query does not work. There is something fundamentally wrong in my usage of the alias field names in creating other fields. The Query1 seems to be the only working option but its very slow as I am redoing and re-writing the whole code again and again to get the parValue field out of the CompTable table for use to create many other fields.
I will appreciate if you can guide me in the right direction on this issue.
Thanks and Regards
RamaSELECT tmp.contract_no, tmp.Actual, tmp.Actual - tmp.NbHours
FROM ( SELECT t.contract_no, sum(l.hrs) AS Actual, (c.labour_hours * c.labour_progress_per) / 100 AS NbHours
FROM TASK_DELEGATION t
INNER JOIN COST_CODE c
ON t.cost_code = c.cost_code AND t.contract_no = c.contract_no AND t.is_inactive=0
INNER JOIN Labour.dbo.LABOURALLOT l
ON l.contractNo = c.contract_no AND l.costcode = c.cost_code AND l.pm = 'N'
GROUP BY t.contract_no, c.labour_hours, c.labour_progress_per
) tmp -
Problem in executing query in browser and bex analyzer
i am not able to execute query in browser nor bex analyzer...
problem is that i dont have option to run in bex analyzer in query designer (menu bar seems missing in query designer and how can i get enabled
and when execute the query in browser using bex query designer ..it prompts me with following error
URL http://saperpdev.saperpdev.com:8002/sap/bw/BEx call was terminated because the corresponding service is not available
Note
■The termination occurred in system ERD with error code 403 and for the reason Forbidden.
■The selected virtual host was 0
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:SAPERPDEV_ERD_02-v:0-s:403-r:Forbidden
and i tried to open the query from bex analyzer level
it prompts me as follows
macros are disabled because the security level is set to high and digitally signedtrusted certificate is not attached to the macros,to run the macros change the security level to lower settings
pls suggest mehi suman,
thanks for your response.. but let me be more clear
i am using sap gui 7.20 front end and when i execute rrmx i am able to navigate to BEx analyzer but when i tried to open a report which i create i get following error message..
you do not have sufficient authorization for infoprovider zic_proj
function module /SDF/AL_MAP_TRANSID_LOGH doesnt exit
second thing is that i tried from bex query designer to execute the report ..but i am not able to execute the report...
i hope some connections seems missing..please let me know what to do ASAP..
and where can i post this question to get fast reply -
Hy expert, i'm unable to import a query in test environement.
here are the steps:
we made a copy of the production in test landscape. We had some query that were maintain only in production.
I've succussefully donwload the infoset and the query in dev landscape.
i made some changes in the infoset by adding new fields, i also change the output of the query.
I launched the RSAQR3TR report for the transport.
I released the change request, transported it successuffuly in test landscape.
i launched RSAQR3TR in test to import the query and infoset, insert the crr number, i allowed the overwritting, in the options i choose replace but i have this error:
Compare query C5_NEW /SM <-> InfoSet ZEQC : Field INST_SALES_REP missing
Compare query C5_NEW /SM <-> InfoSet ZEQC : Field CO_SALES_REP missing
Import for query C5_NEW /SM cancelled RC=08
('INST_SALES_REP, CO_SALES_REP) are the fields i have add in the devpt landscape.
did i miss something?i'm still unable to complete the process:
Existing InfoSet is overwritten
Compare query CF /JP <-> InfoSet ZEQC : Length change for field ZCOUNT
Compare query Z_CF_BACKUP /JP <-> InfoSet ZEQC : Length change for field ZCOUNT
Compare query C10_GE_FN /SM <-> InfoSet ZEQC : Field IBASE_SYS_DESC missing
Compare query C10_GE_FN /SM <-> InfoSet ZEQC : Field IBASE_LAB_DESC missing
Compare query C10_GE_FN /SM <-> InfoSet ZEQC : Field IBASE_LAB missing
Import for InfoSet ZEQC canceled
Query C5_NEW of user group SM (import option REPLACE )
Compare query C5_NEW /SM <-> InfoSet ZEQC : Field INST_SALES_REP missing
Compare query C5_NEW /SM <-> InfoSet ZEQC : Field CO_SALES_REP missing
Import for query C5_NEW /SM cancelled RC=08
each time the import is canceled.
i must say that the fields IBASE_SYS_DESC ,IBASE_LAB_DESC, IBASE_LAB are not missing in the infoset while the fields INST_SALES_REP and CO_SALES_REP are the one i have added in dev
i noticed that if want to cancelled all and start from the begining ( downloading the infoset from test to dev, i have this message: unable to lock the query zeqc) -
Problem with dynamic query in Forms Builder
Hi,
I need in forms builder cursor in procedure which parameter is a whole query. But i stuck when i wanna give some text in signs '' to procedure.
I wanna give like test('select ' ||'test' || ' from dual');
But this is not good beacuse it is missing ''.
Query which procedure get is select test from dual.
The right sql would be select 'test' from dual.
How could i pass signs '' to procedure.
Any ideas.
Thanks in advance.test('select ''' ||'test' || ''' from dual');Francois
Maybe you are looking for
-
New channel guide push wiped our dvr and pause / rewind of live tv doesn't work anymore
The new channel guide, which I am not fond of, we found out the day it appeared had wiped out all of our recorded programs, all of our recording schedules and the pause / rewind does not work on our dvr anymore. This would normally be ok waiting for
-
Making iSight work with Windows Vista on VirtualBox
I have a MacBook Pro with Windows Vista installed on the VirtualBox platform. The only problem I have is that it will not work with the iSight camera. I need the cam for video conferencing on a webring, and I do have to run the ring in Windows. When
-
PO Item Text Not Printing correctly
Hello, Per the config settings, the PR Item Text is transferred to the PO Item text while creation of a PO. When the PO is created, one can see the PO Item Text maintained in ME23N, but when you do the print preview / print output, it is not displaye
-
Transaction F-40/F110 Bills of Exchange payable bank details missing
Hello All, When I use transaction F-40 and then press enter, the system brings me to the next screen where I can enter the BOE data. Now in the bank details field, I would expect the system to upload or at least to let me choose our house bank detail
-
Root.sh fails to bring up crs
Hi All, I am installing 11gR2 on IBM AIX. Every ran fine. when i ran root.sh CRS-2676: Start of 'ora.diskmon' on 't24db1' succeeded CRS-2676: Start of 'ora.cssd' on 't24db1' succeeded CRS-2672: Attempting to start 'ora.ctssd' on 't24db1' CRS-2676: St