Raise_Exception error coming at Raise fatal_erorr statement
Hi,
I have got one issue related to dup ananlysis.
In ST22 , name of error is - RAISE_EXCEPTION.
Error occured at statement- raise fatal_error written after function module - lf_funcname
Error analysis given in ST22 is as below-
Short text
Exception condition "FATAL_ERROR" raised.
Information on where terminated -
Termination occurred in the ABAP program "SAPLST3R" - in
"TS3R_REMOTE_DISPATCHER".
The main program was "SAPMV45A ".
Source code extract-
CALL FUNCTION lf_funcname
EXPORTING
it_yeartab = lt_yeartab
is_ttstr = ls_ttstr
if_objkey = if_objkey
IMPORTING
et_gensegtab = lt_gensegyeartab
EXCEPTIONS
OTHERS = 2.
IF not sy-subrc is initial or lt_gensegyeartab[] is initial.
raise fatal_error.
else.
read table lt_gensegyeartab index 1 into ls_gensegyearwa.
Error occured at statement - raise fatal_error.
Please guide me how to overcome this error or what is reason for this error.
Thankyou,
Manisha
Edited by: manisha22 on Jan 29, 2010 10:33 AM
Please let me know if you got any solution for this.
Thanks.
Similar Messages
-
Runtime error RAISE_EXCEPTION Exception condition "METADATA_MISSING" raised
Hi All,
I am facing a runtime error, while using transaction DSWP --> Set-up System Monitoring --> Copy Customizing -->
At that time we are getting "Runtime error RAISE_EXCEPTION Exception condition "METADATA_MISSING" raised
===========================================
Runtime Errors RAISE_EXCEPTION
Date and Time 25.07.2008 08:31:11
Short text
Exception condition "METADATA_MISSING" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "SAPLDSVAS_SERV" raised the exception
condition "METADATA_MISSING".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"SAPLDSVAS_SERV" or "LDSVAS_SERVC7I"
"MAP_DSVAS_TT_DATA_TO_TT_25"
or
"SAPLDSVAS_SERV" "METADATA_MISSING"
or
"RDSMOP_MAIN " "METADATA_MISSING"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "terra"
Network address...... "172.16.1.198"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x Intel 801586"
Character length.... 16 Bits
Pointer length....... 32 Bits
Work process number.. 2
Shortdump setting.... "full"
Database server... "TERRA"
Database type..... "ORACLE"
Database name..... "DSM"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Oct 23 2007 01:07:18"
create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version. "OCI_10201_SHARE (10.2.0.1.0) "
Patch level. 133
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Memory consumption
Roll.... 8176
EM...... 37628064
Heap.... 0
Page.... 65536
MM Used. 31785376
| MM Free. 1656912
=============================================
Configuration:
OS :Windows 2003 server.
Solution Manager 7.0 SP15
Oracle 10.2
RAM - 2 GB
Its bit urgent, Please help out us.
Thanks in advance.
Best Regards,
PratyushaHi
Check the SP level for ABAP and Basis. Download the latest SP level from SWDC and apply it on the system
This error is related to ABAP program.
Currently the latest available patch level is 16. Please download both ABAP and BASIS SP 16 and apply them on the system. -
Runtime error raise_exception (Exception condition "NOT_EXIST" raised)
Hi,
I tried to ran a DTP to load data in a Standard DSO. Once I run the DTP ,instantly it is showing me short dump.I tried to ran it 2 times. Every time it shows me dump
Runtime Errors RAISE_EXCEPTION
Short Text : Exception condition "NOT_EXIST" raised.
Error Analysis : A RAISE statement in the program "SAPLRSSM" raised the exception
condition "NOT_EXIST".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Thanks in advance,
Regards,
SnehasishHi,
This kind of issues occur in BI7.0, the cause is not clear.
You can once again delete the Data in the DSO using SE14(If Production system, make sure you contact your Basis team for this).
You will have to use the table names(check the Delete data option & click on Activate and adjust databas)
Thanks, -
I purchased tv shows for my son over 4th of July weekend from iTunes on my iPad...he has been watching with no problem...yesterday I backed up my iPad and the videos were taken off while I was syncing it. Error coming up states " warning some of the videos in your iTunes library including video "Dora" were not copied to the iPad "ellen's iPad " because they cannot be played on this iPad was not copied because the video format is not supported by the iPad.....makes no sense since he watched the video on Friday on my iPad...I went into the properties of the video and under the summary tab states kind of video is mpeg-4video file...went into the folder on my pc and the file is listed as a m4v file...under the tab tv shows when my iPad is connected I have it checked to sync tv shows and to automatically include "all" episodes of "all shows" ....
I am using version 4.3.4 on my iPad and iTunes version 10.4 ...I even restored back to the original settings and still did not work....called apple twice yesterday and spoke to 2 different people and no one could help me.....I am able to load a movie from my pc to my iPad with no problem and the movie is a mpeg-4video file....totally clueless...I kept having a similar problem - 3 out of the 10 videos I had on iTunes wouldn't sync. They were in the right format and I KNEW they worked on my iPod because I'd RECORDED them on my iPod. I finally figured out what to do! Go to the movies in your iTunes library. Click on one that does not sync. Click on "Advanced" at the top of iTunes and choose "Create iPod or iPhone version". Once that's finished, be sure you delete the old version so you don't keep getting the error (or have 2 copies of the same video) and sync. This should eliminate the problem. At least it did for me!
-
Error in writing execute immendiate statement
i am writing this SQL procedure i have made use of dynamic SQL in this .... on compilation this is giving
me error
procedure
create or replace
PROCEDURE USP_GETMSTORDERFORBATCHSMPGENE
v_pUserid IN NUMBER ,
v_pFromDate IN DATE ,
v_pToDate IN DATE ,
v_pVisitTypeID IN NUMBER ,
v_pWardID IN NUMBER ,
v_pSubDeptID IN NUMBER ,
v_plocid IN char
AS
v_Sql NVARCHAR2(4000);
BEGIN
v_Sql := '';
v_Sql := 'SELECT DISTINCT
OrderMst.OrdNo,OrderMst.OrdDateTime,OrderMst.OrdId,LABSampleType.ID AS SampleTypeID,LABSampleType.SampleType,
NVL(LABSampleType.SampleCode, '''') AS SampleCode,SubDepartment_Mst.SubDepartment_Name,Visit.VisitTypeID,Ward_Mst.Ward_ID,
Patient.First_Name || '''' '''' || Patient.Middle_Name || '''' '''' || Patient.Last_Name AS Patient,Patient.Registration_No,Visit.VisitNo
FROM OrderDtl INNER JOIN
OrderMst ONOrderDtl.OrdID =OrderMst.OrdId INNER JOIN
Service_Mst ONOrderDtl.ServiceId =Service_Mst.Service_ID INNER JOIN
LABTest ONService_Mst.Service_ID =LABTest.ServiceID INNER JOIN
LABSampleType ONLABTest.SampleType =LABSampleType.ID INNER JOIN
Visit ONOrderMst.OrdVisitID =Visit.Visit_ID INNER JOIN
Patient ONVisit.PatientID =Patient.PatientId INNER JOIN
SubDepartment_Mst ONService_Mst.SubDepartmentId =SubDepartment_Mst.SubDepartment_ID LEFT OUTER JOIN
Ward_Mst ONVisit.WardID =Ward_Mst.Ward_ID
WHERE (OrderDtl.OrdDtlID NOT IN (SELECT OrderDtlID FROM LABSampleDtl)) And
TO_CHAR(OrderMst.OrdDateTime,''DD-MON-YYYY'') Between
''' || TO_CHAR( v_pFromDate, 'DD-MON-YYYY') || ''' And
''' ||TO_CHAR( v_pToDate, 'DD-MON-YYYY') || '''
and (Cancelled = 0 or Cancelled is null)
and SubDepartment in (select subdetartmentid from userdepartment where userid = ' || CAST(v_pUserid AS VARCHAR2) || ') and OrderMst.locid='|| v_plocid;
IF v_pSubDeptID != 0 THEN
v_Sql := v_Sql || ' AND LABTest.SubDepartment = ' || CAST(v_pSubDeptID AS VARCHAR2) || '';
END IF;
IF v_pVisitTypeID != 0 THEN
v_Sql := v_Sql || ' AND Visit.VisitTypeID = ' || CAST(v_pVisitTypeID AS VARCHAR2) || '';
END IF;
IF v_pWardID != 0 THEN
v_Sql := v_Sql || ' AND Visit.WardID = ' || CAST(v_pWardID AS VARCHAR2) || '';
END IF;
--DBMS_OUTPUT.PUT_LINE((v_Sql));
EXECUTE IMMEDIATE v_Sql;----- error coming in this line
END;
ERROR
Error(55,22): PLS-00382: expression is of wrong type
Edited by: user21354 on Mar 23, 2011 11:53 PMLooks like this is your problem:
INNER JOIN
Service_Mst ONOrderDtl.ServiceId =Service_Mst.Service_ID INNER JOIN
LABTest ONService_Mst.Service_ID =LABTest.ServiceID INNER JOIN
LABSampleType ONLABTest.SampleType =LABSampleType.ID INNER JOIN
Visit ONOrderMst.OrdVisitID =Visit.Visit_ID INNER JOIN
Patient ONVisit.PatientID =Patient.PatientId INNER JOIN
SubDepartment_Mst ONService_Mst.SubDepartmentId =SubDepartment_Mst.SubDepartment_ID LEFT OUTER JOIN
Ward_Mst ONVisit.WardID =Ward_Mst.Ward_IDYou're missing a space after every 'ON'
Plus in addition to what others have said I really don't believe this is what you want:
And
TO_CHAR(OrderMst.OrdDateTime,''DD-MON-YYYY'') Between
''' || TO_CHAR( v_pFromDate, 'DD-MON-YYYY') || ''' And
''' ||TO_CHAR( v_pToDate, 'DD-MON-YYYY') || '''Also if you're executing a dynamic select statement you need to provide a place for it to put the results.
Also I don't see any reason that this needs to be dynamic. You could just as easily have this:
create or replace
PROCEDURE USP_GETMSTORDERFORBATCHSMPGENE
v_pUserid IN NUMBER ,
v_pFromDate IN DATE ,
v_pToDate IN DATE ,
v_pVisitTypeID IN NUMBER ,
v_pWardID IN NUMBER ,
v_pSubDeptID IN NUMBER ,
v_plocid IN char
AS
BEGIN
SELECT DISTINCT OrderMst.OrdNo
,OrderMst.OrdDateTime
,OrderMst.OrdId
,LABSampleType.ID AS SampleTypeID
,LABSampleType.SampleType
,LABSampleType.SampleCode AS SampleCode
,SubDepartment_Mst.SubDepartment_Name
,Visit.VisitTypeID
,Ward_Mst.Ward_ID
,Patient.First_Name || ' ' || Patient.Middle_Name || ' ' || Patient.Last_Name AS Patient
,Patient.Registration_No
,Visit.VisitNo
-- INTO something goes here
FROM OrderDtl
INNER JOIN OrderMst ON OrderDtl.OrdID =OrderMst.OrdId
INNER JOIN Service_Mst ON OrderDtl.ServiceId =Service_Mst.Service_ID
INNER JOIN LABTest ON Service_Mst.Service_ID =LABTest.ServiceID
INNER JOIN LABSampleType ON LABTest.SampleType =LABSampleType.ID
INNER JOIN Visit ON OrderMst.OrdVisitID =Visit.Visit_ID
INNER JOIN Patient ON Visit.PatientID =Patient.PatientId
INNER JOIN SubDepartment_Mst ON Service_Mst.SubDepartmentId =SubDepartment_Mst.SubDepartment_ID
LEFT OUTER JOIN Ward_Mst ON Visit.WardID =Ward_Mst.Ward_ID
WHERE (OrderDtl.OrdDtlID NOT IN (SELECT OrderDtlID FROM LABSampleDtl))
And OrderMst.OrdDateTime Between v_pFromDate And v_pToDate
and (Cancelled = 0 or Cancelled is null)
and SubDepartment in
(select subdetartmentid from userdepartment where userid = CAST(v_pUserid AS VARCHAR2))
and OrderMst.locid= v_plocid
AND nvl(LABTest.SubDepartment,'0') = CASE when v_pSubDeptID != 0
then CAST(v_pSubDeptID AS VARCHAR2)
else nvl(LABTest.SubDepartment,'0')
END
AND nvl(Visit.VisitTypeID,'0') = CASE when v_pVisitTypeID != 0
then CAST(v_pVisitTypeID AS VARCHAR2)
else nvl(Visit.VisitTypeID,'0')
END
AND nvl(Visit.WardID,'0') = CASE WHEN v_pWardID != 0
THEN CAST(v_pWardID AS VARCHAR2)
ELSE nvl(Visit.WardID,'0')
END; -
SBS 2003 SP2: VSS errors; unable to create system state backup (NTBACKUP)
NTBACKUP system state on W2k3 server fails after "thinking" for ~10 mins and "creating" shadow copy; almost no disk activity, almost no CPU load. Errors in the Application
log:
Source: SQLVDI EventID: 1
Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=3392. Thread=29348. Client. Instance=. VD=Global\{9B35142B-C687-4766-9707-BC387534BA38}1_SQLVDIMemoryName_0.
Several of them.
Then:
EventID: 8019
Source: NTBackup
End Operation: Warnings or errors were encountered.
Consult the backup report for more details.
Then:
Source: VSS
EventID: 12305
Volume Shadow Copy Service error: Volume/disk not connected or not found. Error context: CreateFileW(\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy9,0xc0000000,0x00000003,...).
And finally:
EventID: 12293
Source: VSS
Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details PostFinalCommitSnapshots({de0d580b-68ce-4eae-a046-b5b5b7a80235}, 1) [hr = 0x80042308].
When creating shadow copy on the system volume, the operation may take ~40-90 mins. On the data volume -- <1 min.
"vssadmin list writers" shows:
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001 Microsoft Corp.
Writer name: 'System Writer'
State: [10] Failed
Last error: Retryable error
Writer name: 'SqlServerWriter'
State: [10] Failed
Last error: Retryable error
Writer name: 'MSDEWriter'
State: [1] Stable
Last error: No error
Writer name: 'FRS Writer'
State: [10] Failed
Last error: Retryable error
Writer name: 'NTDS'
State: [1] Stable
Last error: No error
Writer name: 'IIS Metabase Writer'
State: [10] Failed
Last error: Retryable error
Writer name: 'Event Log Writer'
State: [1] Stable
Last error: No error
Writer name: 'COM+ REGDB Writer'
State: [1] Stable
Last error: No error
Writer name: 'Dhcp Jet Writer'
State: [10] Failed
Last error: Retryable error
Writer name: 'Certificate Authority'
State: [10] Failed
Last error: Retryable error
Writer name: 'WINS Jet Writer'
State: [10] Failed
Last error: Retryable error
Writer name: 'Registry Writer'
State: [1] Stable
Last error: No error
Writer name: 'Microsoft Exchange Writer'
State: [1] Stable
Last error: No error
Writer name: 'TermServLicensing'
State: [10] Failed
Last error: Retryable error
Writer name: 'WMI Writer'
State: [10] Failed
Last error: Retryable error
Here is what I tried to do:
1. Restarted that thing.
2. Cleaned the security log.
3. Installed Windows Server 2003 Hotfix rollup KB940349-v3.
4. Stopped both SBSMONITORING and SHAREPOINT instances of MSDE, SQL 2005, SQL 2005 VSS and tried to perform the system state backup then. Stopped Exchange 2003 before launching NTBACKUP as well.
5. "regsvr32 sqlvdi.dll" in MSDE directory.
6. Renamed "System Volume Information" on all volumes and VSS has re-created them.
7. chkdsk /f was fun on all volumes, no major issues found.
8. Installed Hotfixes KB967551, KB975928-v2 (someone recommended).
9. Disabled SQL Server VSS Writer (SQLVDI errors disappeared from the application event log, VSS and NTBACKUP errors stayed).
10. Re-registered the DLLs as per Shaon Shan's post at http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/346fa42c-a476-457f-bcf3-59f87e444b55
The above had no effect on the issue whatsoever, except a little change at item 9 as mentioned.Hi there.
I just had that problem. I saw friday my backup from my sbs 2003, was not completing becasuse it said it couldn´t creat a shadow copy in the external drive... It kept giving me errors os VSS and Volsnap... But strange thing is, i have VSS turned off in all
drives, and from months no problems with backups... So i went in Event viewer and look at it with attention, i saw a error that keep coming up from time to time (because we change the external drive form week to week). And i realize that there's a disk error
event...
Couldn´t run checkdisk from server, dont now why.. So i disconnected the drive, connected to my laptop, and ran a CheckDisk /F /X. ... It had BAD SECTORS! So i ran check disk... waited like 10-20 minutes. And then i ran it again just in case, and the 2nd
time was much more faster, like 3-6 minutes.
I disconnected from laptop, and connected to server. I went to the Backup wizard (in server managment), and press Backup now...
It hang 5-10 second in Creating Shadow copy..... And it started making the Backup :_D
I've seen all errors that were reported exactly as mine. I ran the Hotfix, all stayed the same, i followed all manual steps and still the same... and the problem was always in the external drive, which had bad sectors.
Hope it will help the next person that needs this info! -
HT1414 An error coming while updating and restoring my phone
Please help me restore my iphone 3G back to normal i was trying to update it but now an error coming up (1015) how am i suppose to get back to my normal version.
Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
-
Length error occurred during in IMPORT statement
Dear Friends,
(length error occurred during in IMPORT statement),when im using the SUBMIT syntax..can i know what is the reason.
Thanks
Rajkumar.AHello,
I would like to know how did you solve the issue as i came across the same issue.
Thanks,
FBK -
I won't b able to activate my Iphone.asking for apple I'd and password the I d and password I am entering .error coming on phone saying that u can't activate with this I'd I check with my nearest authorist agent in Hyderabad india.they want me call on customer service number 1800- they want my purchase copy or correct I'd the I'd and password I having its not working for this can anyone help me please.
Sorry, but you have encountered the Activation Lock:
ACTIVATION LOCK
The only person who can remove it is the person who put it on. You will need to contact the previous owner and have them follow one of the sets of instructions in this link:
Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
If you cannot do that, then see if there is any way of getting a refund from the seller. If you cannot do that, then you have a device that is unusable and won't be able to be restored.
Sorry
GB -
RSDRO: Error RSAODS 131 raised
Hello everybody,
I'm trying to load an ODS and an infocube from 0HR_PE_1 infosource. The infocube load has finished OK however the ODS load fails. The error in sm21 is:
> RSDRO: Error RSAODS 131 raised
> RSDRO: 1: 2: 3: 4:
In the ODS activatiion job log this is the error message:
SIDs determined successfully for request REQU_409UW9ZYBZI1GXNALPCW1RXOU from ODS object ZHRODEV1
Request REQU_409UW9ZYBZI1GXNALPCW1RXOU, data package 000001 incorrect with status 5 in rsodsacstreq
Request REQU_409UW9ZYBZI1GXNALPCW1RXOU, data package 000001 not correct
Inserted records 1-; Changed records 1-; Deleted records 1-
No confirmation for request ODSR_408PAA6WYNTHQ2UK0Z1ZBB1OU when activating the ODS object ZHRODEV1
Error while exporting data
System error occurred (RFC call)
Errors occured when carrying out activation
Analyze errors and reactivate if necessary
Activation of data records from ODS object ZHRODEV1 terminated
Can somebody help me?
Thanks in advance and happy new year.
Regards,
ElenaThese are monitor logs, (I have tried to paint legend, red buttons are marked with E:, green buttons are marked with OK:)
OK:Activation of data records from ODS object ZHRODEV1 started
E: Activation of data records from ODS object ZHRODEV1 terminated
E: System error occurred (RFC call)
E: Request REQU_409UW9ZYBZI1GXNALPCW1RXOU , data package 000001 incorrect with status 5
E: Error while exporting data
E: Request REQU_409UW9ZYBZI1GXNALPCW1RXOU , data package 000001 not correct
E: Inserted records 1- ; Changed records 1- ; Deleted records 1-
OK: SIDs determined successfully for request REQU_409UW9ZYBZI1GXNALPCW1RXOU from ODS object ZHRODEV1
OK: Errors occured when carrying out activation
OK: Analyze errors and reactivate if necessary
OK: Data to be activated successfully checked against archiving objects
E: No confirmation for request ODSR_408PAA6WYNTHQ2UK0Z1ZBB1OU when activating the ODS object ZHRODEV1
OK: Activación is running: Data target ZHRODEV1 , from 37.577 to 37.577
Thanks again,
Elena -
ORA 2343 Valuenot allowed error coming
Hi All,
I'm getting 'ORA 2343 Valuenot allowed' error coming while creating a report query. Please advice.
Below is the query used.
Regards,
Aparna S
select null date_temp,circle, EQUP_INDEX, port,sum(Total_transmit_drop_KB),sum(Total_receive_drop_KB),sum(Total_output_packet_NOS),sum(Total_input_packet_NOS),avg(Rate_of_input_traffic_Mb_Sec),avg(Rate_of_output_traffic_Mb_Sec) from (
--decode(sign(diff),-1, prfr_start_time +diff,prfr_start_time) prfr_start_time
select circle, EQUP_INDEX, port, diff,
(Total_input_traffic_MB - LAG(Total_input_traffic_MB) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port) ) /900 * 8 Rate_of_input_traffic_Mb_Sec,
(Total_output_traffic_MB - LAG(Total_output_traffic_MB) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port)) /900 * 8 Rate_of_output_traffic_Mb_Sec,
(Total_input_packet_NOS -LAG(Total_input_packet_NOS) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port)) Total_input_packet_NOS,
(Total_output_packet_NOS - LAG(Total_output_packet_NOS) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port)) Total_output_packet_NOS,
(Total_receive_drop_KB - LAG(Total_receive_drop_KB) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port)) Total_receive_drop_KB,
(Total_transmit_drop_KB- LAG(Total_transmit_drop_KB) OVER (PARTITION BY EQUP_INDEX,port ORDER BY EQUP_INDEX,port1,port)) Total_transmit_drop_KB,
Destination_Router from (
SELECT /*+ ORDERED USE_NL(PR) USE_NL(PD)INDEX(PR PRFR_TIME_TYPES_IDS_UNQ) */
TRUNC(pr.prfr_start_time) prfr_start_time,
--TO_CHAR(pr.prfr_start_time,:QRY3) grpCol1,
--&P_AGG(TO_CHAR(pr.prfr_start_time, :QRY4)&P_MIN) grpCol2,
area_area_code circle,
pr.PRFR_NEMS_PARENT_ID EQUP_INDEX,
--MAX(DECODE(po.PRFO_CODE,'port',SUBSTR(pd.prfd_value,INSTR(pd.prfd_value,'/')+1,1000))) port1,
''''||MAX(DECODE(po.PRFO_CODE,'port',pd.prfd_value)) port,
MAX(pr.prfr_start_time - TO_DATE(:p_start_date,'DD-MON-YYYY HH24:MI')) diff,
SUM(DECODE(po.PRFO_CODE,'Total_input-traffic',to_number(nvl(pd.prfd_value,0))))/1024/1024 Total_input_traffic_MB,
SUM(DECODE(po.PRFO_CODE,'Total_output-traffic',to_number(nvl(pd.prfd_value,0)))) /1024/1024 Total_output_traffic_MB,
SUM(DECODE(po.PRFO_CODE,'Total_input-packet',to_number(nvl(pd.prfd_value,0)))) Total_input_packet_NOS,
SUM(DECODE(po.PRFO_CODE,'Total_output-packet',to_number(nvl(pd.prfd_value,0)))) Total_output_packet_NOS,
SUM(DECODE(po.PRFO_CODE,'Total_receive-drop',to_number(nvl(pd.prfd_value,0)))) /1024 Total_receive_drop_KB,
SUM(DECODE(po.PRFO_CODE,'Total_transmit-drop',to_number(nvl(pd.prfd_value,0)))) /1024 Total_transmit_drop_KB,
MAX(DECODE(po.PRFO_CODE,'Destination_Router',pd.prfd_value)) Destination_Router
FROM ( select equp_id,equp_index,area_area_code,area_code from
areas ar1,locations lo,equipment eq
where exists (select 'X' from areas B where ar1.area_code = b.area_code &QRY1 )
and eq.equp_locn_ttname = lo.locn_ttname
and lo.locn_area_code = ar1.area_code
-- AND ar1.area_code in (select area_code from areas &QRY1)
AND equp_equt_abbreviation LIKE '%MPBN%' &QRY &P_EQUPIDLIST) eq,
PERF_RECORDS pr, PERF_DATA pd,PERF_OBJECTS po
WHERE pr.PRFR_ID = pd.PRFD_PRFR_ID
AND pd.PRFD_start_time =pr.prfr_start_time
AND pd.PRFD_PRFO_ID = po.PRFO_ID
AND pr.PRFR_PARENT_ID=to_char(eq.equp_id) and pr.PRFR_object_ID =to_char(eq.equp_id)
AND pr.prfr_start_time >=TO_DATE(:p_start_date,'DD-MON-YYYY HH24:MI') -1/96
AND pr.prfr_start_time < TO_DATE(:p_end_date,'DD-MON-YYYY HH24:MI')
--AND TO_CHAR( pr.prfr_start_time ,'MI')='00'
AND po.PRFO_PRFT_TYPE = 'MPBN_Traffic_NetOp'
GROUP BY area_area_code,eq.equp_index,pr.prfr_id,pr.prfr_start_time ,pr.PRFR_NEMS_PARENT_ID
) where port like :P_SSA ) a
where diff >0
group BY circle, EQUP_INDEX, portnever seen that error before. can you verify that number?
keep halving the query the query until you find the offending field.
e.g.
if
select
a,
b,
d,
d
from table
gives you an error, in the next run do
select
a,
b --,
--c,
--d
from table -
[0098]SQL*Plus encountered oracle error 100 while executing SQL Statement
Hi,
i'm trying to delete duplicate records from a table and running following script. this script is triggered from a unix script. it successfully deletes the records but in the last throws following error message,
:[0098]SQL*Plus encountered oracle error 100 while executing SQL Statement:2:Investigation required:
can anybody please help? below is the script.
DECLARE
--CURSOR FOR DUPLICATE ROWS
CURSOR CUR_DUPLICATE_ROWS IS
Select RMS_NOTE_ID, RMS_SUMMARY_NOTE_ID, count(*) cnt from PARTY_NOTE
group by RMS_NOTE_ID,RMS_SUMMARY_NOTE_ID having count(*) > 1;
var_date PARTY_NOTE.PARTY_NOTE_CREATED_DATE%TYPE;
BEGIN
FOR DUPLICATE_ROWS_REC IN CUR_DUPLICATE_ROWS
LOOP
delete from party_note
where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID
and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID
and rowid not in (select max(rowid) from party_note
where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID);
commit;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
ROLLBACK;
END;Try this:
delete party_note
where rowid not in (select max(rowid)
from party_note
group by rms_note_id, rms_summary_note_id
commit;No need for cursors and loops.
And when that's completed, consider ALTERing the table to add a unique index (or even a primary key) so you'll never need to do this again. -
Error: Could not resolve s:states to a component implementation.
So I am trying to setup states on a Flex application I'm building, but it doesn't seem to want to compile. I get this error:
$ ./build.sh
Loading configuration file /Applications/Adobe Flash Builder 4/sdks/4.1.0/frameworks/flex-config.xml
uploader.mxml(24): Error: Could not resolve <s:states> to a component implementation.
<s:states>
Here is my build command nothing special ...
$ cat ./build.sh
#!/bin/bash
mxmlc -output bin/uploader.swf src/uploader.mxml
I have a class that extends the Spark application like so ...
package com.uploader.controllers
import spark.components.Application;
dynamic public class FlashUploader extends Application
Then in my main application mxml file I use it like so ...
<?xml version="1.0" encoding="utf-8"?>
<c:FlashUploader xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:v="com.uploader.view"
xmlns:c="com.uploader.controllers.*"
minWidth="709" minHeight="400"
skinClass="com.uploader.skins.UploaderApplicationSkin">
<fx:Style source="styles.css" />
<!-- states -->
<s:states>
<s:State name="default" />
<s:State name="startup" />
<s:State name="uploading" />
<s:State name="normal" />
</s:states>
</c:FlashUploader>
Now when I try to compile I get the states error. I've found several examples and even made a dummy app just using the spark application and it compiles fine. Not sure if I'm doing anything weird here but the few other flex devs I know don't seem to see anything wrong with what I'm doing that could cause this.When you define an object using a namespace you have to use the same namespace for its properties, so you will want to use "<c:states>" instead of "<s:states>" in this case.
-
RAISE_EXCEPTION error in iw31 iw32 iw34 iw36
Hi guys,
My problem is that I am getting RAISE_EXCEPTION error in my development when ever i am trying to acces standard transaction like iw31, iw32, iw34, iw36 from my program .Check the dump if any in st22. Go to active call and event and then try to find out the root cause.
Regards
Kavindra -
Error "No operations Allowed after statement closed"
Hi,
I have a little program that I want to grab a list of names out of MySQL (it does) and when I click on the name I want it to display some information about the person. This is where I run into the error, when I click on a name in the list box it gives me the error "No operations allowed after statement closeed". I'm not sure where my statement is being closed, in my listSelectionListerner I never close the statement so I'm not sure whats heppening. Heres the code:
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import java.sql.*;
import java.util.*;
public class Gifts extends JFrame
static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
static final String DATABASE_URL = "jdbc:mysql://localhost/test?user=root&password=root";
private JList nameList;
private JTextArea statList;
private JButton add;
private Container container;
private JPanel nameListPanel, statListPanel, buttonPanel;
private Connection conn;
private Statement stat;
public Gifts()
super( "Spiritual Gift Database" );
try
Class.forName(JDBC_DRIVER);
conn = DriverManager.getConnection(DATABASE_URL);
stat = conn.createStatement();
ResultSet rs = stat.executeQuery("SELECT heading1 FROM demo");
Vector vector1 = new Vector();
while(rs.next()) vector1.add(rs.getObject(1));
container = getContentPane();
container.setLayout( new FlowLayout() );
nameListPanel = new JPanel();
statListPanel = new JPanel();
buttonPanel = new JPanel();
nameList = new JList(vector1);
nameList.setVisibleRowCount( 9 );
nameList.setPrototypeCellValue("XXXXXXXXXXXX");
nameList.addListSelectionListener(
new ListSelectionListener()
public void valueChanged(ListSelectionEvent event)
try
ResultSet resultSet = stat.executeQuery("SELECT * FROM demo");
StringBuffer results = new StringBuffer();
ResultSetMetaData metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
for(int i = 1; i<=numberOfColumns; i++)
results.append(metaData.getColumnName(i) + "\t");
results.append("\n");
while (resultSet.next())
for(int i = 1; i<= numberOfColumns; i++)
results.append(resultSet.getObject(i) + "\t");
results.append("\n");
catch(SQLException sqlException)
JOptionPane.showMessageDialog(null,sqlException.getMessage(),
"Database Error1", JOptionPane.ERROR_MESSAGE);
System.exit(1);
statList = new JTextArea(10,20);
add = new JButton("Add Entry");
nameList.setSelectionMode( ListSelectionModel.SINGLE_SELECTION );
statListPanel.add(new JScrollPane(statList));
nameListPanel.add( new JScrollPane(nameList));
buttonPanel.add(add);
container.add(nameListPanel, BorderLayout.EAST);
container.add(statListPanel, BorderLayout.WEST);
container.add(buttonPanel);
setSize( 400, 300 );
setVisible( true );
}//end try block
catch(SQLException sqlException)
JOptionPane.showMessageDialog(null,sqlException.getMessage(),
"Database Error1", JOptionPane.ERROR_MESSAGE);
System.exit(1);
catch (ClassNotFoundException classNotFound)
JOptionPane.showMessageDialog(null, classNotFound.getMessage(),
"Driver Not Found", JOptionPane.ERROR_MESSAGE);
System.exit(1);
finally
try
stat.close();
conn.close();
catch (SQLException sqlException)
JOptionPane.showMessageDialog(null,
sqlException.getMessage(), "Database Error2",
JOptionPane.ERROR_MESSAGE);
System.exit(1);
}//end Gifts()
public static void main( String args[] )
Gifts application = new Gifts();
application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
}The fact is,
the finally statement is reached after the whole object is initialized,
that means that your statement is closed, before you make an action
with you ListSelectionListener.
Try working with a connect and disconnect method, or something like that,
which are called during your valueChangeg() method!
Maybe you are looking for
-
After effects & Adobe Bridge preview Issue *freezing*
Hello all, I wanted to begin learning After Effects CS4, unfortunately Adobe Bridge CS4 is halting my education. If I explore any kind of After effects CS4 preset, and preview it inside of Adobe bridge, my pc freezes. The preview window, within Bridg
-
Best Quality Export Settings in MPEG Streamclip to Edit HD Video in iMovie
Hi, I import video from data DVDs and regular DVDs and edit the videos in iMovie. In the past, I've always used MPEG Streamclip because it can read the native DVD VOB format. I then use the "Export to DV" option in MPEG Streamclip which exports a .
-
Possible solution to ATV2 slow library streaming. iTunes movie buffering issues
All, I'm not a common user of forums so forgive ettiqute/nomenclature errors. We were recently having issues with non-stop buffering when trying to stream movies from our iTunes library. I've seem numerous topics and posts on this same issue. Si
-
IDVD crash when selecting iMove
Hi. My Idvd 8 crash every time I try to create a dvd using 'magic dvd' When choosing film and imovie, then Idvd crash with this log: Date/Time: 2007-09-22 20:10:11.072 +0200 OS Version: 10.4.10 (Build 8R4031) Report Version: 4 Command: iDVD Path: /Ap
-
"New" 3g iPod wreaking havoc on my PB
I swapped my 3g iPod for a new one yesterday at the Apple store ($70 battery replacement deal). Upon getting it home to my computer and attempting to load my songs, the following happens: 1. About 30 songs actually load, then the iPod freezes. 2. iTu