Under what conditions ALL Objects exists and does not exists
When does the ALL Objects exists in Database
For Eg: ALL_TAB_COLUMNS , ALL_USERS etc
When it does not exists
For Eg : ALL_SEGMENTS which does not exist and only options are USER_SEGMENTS and DBA_SEGMENTS.
There should be some rules for its existence and its non existence and under what conditions it exists and does not exists .
Please explain.
Its clearly stated in Oracle documentation.
An ALL_ view displays all the information accessible to the current user, including information from the current user's schema as well as information from objects in other schemas, if the current user has access to those objects by way of grants of privileges or roles.
A DBA_ view displays all relevant information in the entire database. DBA_ views are intended only for administrators. They can be accessed only by users with the SELECT ANY TABLE privilege. This privilege is assigned to the DBA role when the system is initially installed.
A USER_ view displays all the information from the schema of the current user. No special privileges are required to query these views.
Edit: formatted the post :)
Similar Messages
-
ORA-34492: Analytic workspace object cubename _STORED does not exist.
I am having issues accessing cube data from a user other than where the AW was built.
Following is what I have done in User-1:
1. Create two AW's in User-1 : AW-1 and AW-2.
2. Create all objects in these two AW's
3. AW-2 is dynamically attached on attaching AW-1 by using PERMIT startup programs. Please refer Attaching multiple AW's
4. Refreshed both AW's to load data
5. ALLCOMPILE - no errors.
6. Created some SQL views on User-1 which basically query the underlying cube views. I also have some queries using the olap_table option.
7. All my querries work fine in User-1. I can access data from AW-1 and AW-2.
However, we give access to the above SQL views through an abstract user: User-abs. In 10g, all we did was grant select privs to all the User-1.AW$ tables and also on all the sql views. This would let User-abs get data from the cubes in User-1.
I am not able to get User-abs to do the same in 11g. We encounter an error mentioning that the workspace object <cubename>_STORED does not exist. The cubename it is referring to exists in AW-2.
I granted select privs on all AW$ tables, dimension views, cube views and the abstracted sql views but the error persists.
I tried searching this forum but could not find any helpful leads. Any help will be greatly appreciated.
Thanks!
Database - 11.2.0.1
AWM - 11.2.0.2.0AI can think of two possible problems. First, you may not be properly qualifying the owner name when you refer to the object. This can be important when refering to objects owned by other schemas. For example instead of 'my_cube_stored' you would say 'user-1.aw-2!my_cube_stored'. You should also be careful about the order in which you attach the AWs. Do you want AW-2 attached first or last? Use the LAST keyword on AW ATTACH to control this.
Another possibility is that you have added additional logic to PERMIT_READ over and above the 'aw attach' comand. I was able to recreate the error with the following code in a new AW called TEST_AW in the GLOBAL schema.
DEFINE PERMIT_READ PROGRAM BOOLEAN
PROGRAM
aw attach global.global
show global.global!units_cube_stored
return true
ENDAttaching TEST_AW in RO mode as any user gives me the following error.
ORA-34492: Analytic workspace object GLOBAL.GLOBAL!UNITS_CUBE_STORED does not
exist.
ORA-06512: at "SYS.DBMS_AW", line 93
ORA-06512: at "SYS.DBMS_AW", line 122
ORA-06512: at line 1Here is the documentation for PERMIT_READ
>
PERMIT_READ
A PERMIT_READ program is a program that you can create and that Oracle OLAP checks for by name when an AW ATTACH read-only command executes. Depending on the value returned by the program, Oracle OLAP executes the code within the program after attaching the analytic workspace. Depending on the statements in the permit_read program the user is granted or denied access to specific objects or sets of object values. Within permit_read program, you can specify PERMIT commands that grant or restrict access to individual workspace objects. All of the objects referred to in a given permit_read must exist in the same analytic workspace.
>
Note, especially, the restriction in the last sentence. This means that a PERMIT_READ program in AW1, for example, cannot refer to objects in AW2. So this is why my PERMIT_READ doesn't work. The AUTOGO does not have these restrictions, but as we know from the forum post you cited, AUTOGO is broken in 11.2.0.1. You can move forward to 11.2.0.2 where AUTOGO is fixed, but there is workaround, which is to add a PERMIT_READ program to the second AW to do the work. For example, if I add this PERMIT_READ to GLOBAL and remove the 'show' command from the PERMIT_READ in TEST_AW, then everything works as expected.
DEFINE PERMIT_READ PROGRAM BOOLEAN
PROGRAM
if aw(attached 'test_aw')
then do
show global.global!units_cube_stored
doend
return true
END -
Object class name does not exist in IDM
Hi Team
We are process of Integrating GRC 10.1 to Enterprise Portal.Followed accordingly as per the SAP Note No. 1977781.
While running the Schema Job, we get a message Schema Imported Suxcessfully. While running the Job : GRAC_REPOSITORY_SYNC_JOB, the job
shows successful, but a Warning Message : User Adaptor Empty in SLG1 T.code.
I have checked the Path suffix,connectors,data source and all are maintained but no sure about this warning message.
Secondly,I tried for test creation of user on Portal via GRC 10.1.I am getting below error
"Object class name does not exist in IDM" Please see log below
Request gets closed stating Auto Provisioning failed.Please advice if someone has faced same issue and the steps taken to rectify it.
Thanks
NiteshHi Nitesh,
We worked on this issue for quiet sometime with SAP to get this finally fixed You can check all below mentioned notes.
First Check:
Please check the Note: 1915763 - Error Provisioning from GRC 10 to SAP Portal while adding or removing a role in Change Account request type.
This Note says that if your LDAP set as data source is read-only in Portal, then you need to change it to Modifiable in order to allow create or change user belonging to LDAP.
We have set the UME correctly and no longer read-only. But our access requests still used to fail with the following messages.
"Object class name does not exist in IDM".
Second Check:
Kindly ensure the field mapping for portal is done in IMG settings properly.
If it is fine please check below note 2033714 - AC10.0: error in SGL1 "Object class name does not exist in IDM".
This note is only to check if you have made any mistake with your portal mapping and doesn't address the correct issue.
Third Check:
Finally after implementing SAP note 1941250 - UAM: Truncated parameters provisioned on changing users from Access Request
our issue got fixed.
Regards,
Madhu. -
Object instance 1200 does not exist (while executing task SWUS)
hello all,
i have created a workflow class and two methods (constructor, display) and 1 attribute PLANT (instance,public) in it.
i am using this class and display method in task t code PFTC.
While executing this task from SWUS , i am getting this error.Object instance 1000 does not exist.
As i was going through this blog. i have created everything exactly just like it is mentioned there.
But still i am getting this error. please guide me to detect where i am mistaken.
http://scn.sap.com/community/bpm/business-workflow/blog/2006/07/25/using-abap-oo-methods-in-workflow-tasks
this is class screen-shot and error i am facing while executing the task.
The methods which are implemented using the interface are emtpy(don't contain any source code lines).sorry i forgot to mention that input value 1000 does exist in our system.
i have also tried F4 help. it is showing all existing plants in our system, but still it is not accepting values select from f4 help.
Also to add information,
I have executed class using F8 option in class builder, and it is working perfect.
source code of display method.(i am trying to view plant in display method just like in blog).
method DISPLAY.
break-point.
data: ls_vt001w type v_t001w.
CLEAR ls_vT001W.
ls_VT001W-MANDT = SY-MANDT.
ls_VT001W-WERKS = me->PLANT.
CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY'
EXPORTING
ACTION = 'SHOW'
VIEW_NAME = 'V_T001W'
CHANGING
ENTRY = ls_vT001W.
endmethod. -
Error in data loading "The object R3TR AQQU *does not exist"
Hello Guys,
I am trying to load full data from my datasource to DSO but whenever i am running infopackage, its failing with error message
"Job terminated in source system Message no. RSM078"
I am checking in job overview it said
"The object R3TR AQQU * does not exist
The TADIR entry for the object R3TR AQQU SYSTBWGENER0SY000000000102 cannot be entered because the object does not exist yet."
Please suggest.
Regards,
DollyHi Dolly,
I think your DS is based on an ABAP query which is not available in the source system. Check if that is transported/active. -
ORA-23308: object OWNER_MASTER.DEPT does not exist or is invalid
Hi,
on 10g R2 (10.2.0.4) I'm creating master groups (following this article http://www.akadia.com/services/ora_replication_guide.html).
But I have the following error :
SQL> select sname, oname, type, status, gname
2 from dba_repobject ;
SNAME ONAME TYPE
STATUS GNAME
SCOTT DEPT TABLE
VALID REPG
SCOTT EMP TABLE
VALID REPG
SQL> grant CREATE SNAPSHOT TO SCOTT;
SQL> grant CREATE TABLE TO SCOTT;
CONNECT repadmin/****@CEL1.WORLD
SQL> BEGIN
2 DBMS_REPCAT.SET_COLUMNS (
3 sname => 'owner_master',
4 oname => 'DEPT',
5 column_list => '"COL1","COL2","COL3","COL4"');
6 END;
7 /
BEGIN
ERROR at line 1:
ORA-23308: object OWNER_MASTER.DEPT does not exist or is invalid
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.DBMS_REPCAT_OBJ_UTL", line 1280
ORA-06512: at "SYS.DBMS_REPCAT_OBJ_UTL", line 1322
ORA-06512: at "SYS.DBMS_REPCAT", line 937
ORA-06512: at "SYS.DBMS_REPCAT", line 920
ORA-06512: at line 2Thank for helpFirstly you need to verify that there is a primary key on these tables.
You may also like to have a look at dba_repcatlog view .
regards -
DAC, ETL failed due to Post-Etl Script not exist and table not exist.
When execute the ETL in DAC, it failed when execute the "Change Capture For Siebel OLTP"
encounterred the following two type errors.
how to fix these errors?
The first is the table not exist:
======================================================================
MESSAGE:::Could not truncate table 'S_ETL_I_IMG_38' because this table does not exist in database 'OLTP_SIA'.
EXCEPTION CLASS::: com.microsoft.sqlserver.jdbc.SQLServerException
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
======================================================================
The second is the Post-Etl not exist.
I have copied the Copy Source Files and Lookup Files. What else should I do? What script it not find? have no idea.
======================================================================
Jan 20, 2009 4:11:06 PM com.siebel.etl.etlmanager.EtlExecutionManager finishEtl
SEVERE: Incorrectly specified Post-Etl Script/Executable. The file either does n
ot exist, or is not readable
UNREGISTERING: com.siebel.etl.engine.bore.FixedFailedNodesFacility
686 SEVERE Tue Jan 20 16:11:06 CST 2009
END OF ETL
687 SEVERE Tue Jan 20 16:11:06 CST 2009 Incorrectly specified Post-Etl Script
/Executable. The file either does not exist, or is not readable
UNREGISTERING: com.siebel.etl.engine.core.SessionHandler
UNREGISTERING: com.siebel.etl.engine.bore.ServerTokenPool
UNREGISTERING: com.siebel.etl.engine.core.TableIndexHandler
UNREGISTERING: com.siebel.etl.engine.bore.NewDispatcher
Stopping EtlParameters 9550256
UNREGISTERING: com.siebel.etl.engine.bore.EtlParameters
UNREGISTERING: com.siebel.etl.engine.bore.ExternalTaskTokenPool
UNREGISTERING: com.siebel.analytics.etl.execution.RefreshDateHandlerHi tigger,
ad scripts:
http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef9.html#wp1005877
http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef8.html
ad tables:
Without data change capture tables nothing will work. Have you looked at the actual documentaiotn? It contains everythign step by step.
http://www.oracle.com/technology/documentation/bi_apps.html
--> Oracle Business Intelligence Applications Fusion Edition Installation and Configuration Guide -> 4.15.3 How to Update Siebel Transactional Database Schema Definitions -
Check whether existing row exist, if does not exist,then insert else skip?
let say, in a mapping , I have a external table and a normal db table
, I want to check if current row is similar/exist, if it exist, record row will be skipped and wont be re-inserted again
only if it does not exist, then that particular row will be inserted.
can I do this with a lookup? But I have no idea how.. any guidance thank!
Edited by: 854616 on May 9, 2011 8:41 PMYou can use the joiner
Say you have employee_src table (Source) and employee_tgt (target) and employee_id is the primary column and if the employee_id exist in target table then skip the records.
then
Join
employee_src.employee_id = employee_tgt.employee_id(+)
then apply the filter where employee_src.employee_id is null
then load them to target table..
Cheers
nawneet -
Firefox displays "Stopped" in the status bar; stops all the tabs and does not do anything!
Firefox displays "Stopped" in the status bar after running for a few minutes. It does not do anything on the page unless it is killed by opening the task manager. Sometimes I even have to restart the computer. And if that also doesn't work that shut down using the power button. Others have reported similar issues too.
== This happened ==
Every time Firefox opened
== couple of weeks agoSee:
* http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
* http://windows.microsoft.com/en-US/windows/downloads/windows-media-player (see Firefox)
* http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx -
Cannot find the object % because it does not exist or you do not have permissions
I'm executing a SQL 2008 sproc from an Access Data Project, using ADO. The sproc truncates and then fills a table in the SQL database, which is then used as the recordsource in an Access report.
This works fine for all users except one. I assumed it was a problem with that user's privileges, but when I connected to the database thru SSMS using his login, I was able to excecute the sproc successfully. I even explicitly granted that SELECT, UPDATE
and DELETE to that user but it stills throws the error when executed from Access.
Any suggestions?
Darrell H BurnsTRUNCATE TABLE requires ALTER permission on the table. You could say that TRUNCATE TABLE is half of DROP TABLE. The pages are deallocated, but the metadata is retained.
Rather that granting users extra rights, a better solution is to sign the procedure with a certificate, create a user from the certificate grant that user ALTER on table. In this way, you package the permission with the procedure. (The user for the certificate
is special kind of user that cannot log in.)
I have a longer article on my web site that describes this technique in detail:
http://www.sommarskog.se/grantperm.html
Erland Sommarskog, SQL Server MVP, [email protected] -
HI,
I am working on oracle 10g multimaster replication.
When i try to drop object from master site it gives me error like
SQL> BEGIN
2 DBMS_REPCAT.DROP_MASTER_REPOBJECT(
3 oname => '"AC_CHECK"',
4 type => 'TABLE',
5 sname => '"UMESH"',
6 drop_objects => FALSE);
7 END;
8 /
BEGIN
ERROR at line 1:
ORA-23308: object UMESH.AC_CHECK does not exist or is invalid
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2874
ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2849
ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2926
ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2727
ORA-06512: at "SYS.DBMS_REPCAT", line 643
ORA-06512: at line 2I can't find out the reason for it.
I more problum i am facing is when i stopped ( quiesced ) the replication activity.
my stored procedures on the master site start giving error like
sqlcode =*-23326* sqlerrm=*ORA-23326: object group "PUBLIC"."MYREPGRP" is quiesced*it means if i stop replication my database will not work while i am using asynchronous
replication.
i want my master database to work in any situation either replication is working or not.
ThnaksMake sure the replication object you want to drop really exists.
check dba_repobject and dba_objects views.
select sname, oname, type, status, gname
from dba_repobject
where oname='AC_CHECK'
[pre]select owner, object_name, object_type
from dba_objects
where object_name='AC_CHECK'
Regarding ORA-23326.
This error occurs if the replication status is QUIESCED and you want to execute DML transaction against a replicated object.
While the replication status is QUIESCED no DML transactions are allowed against the replication objects.
Usually you want to stop the replication (suspend the master activity) if you want to perform maintenance activities (drop/add rep objects). This should be done in off hours and should be planned. You should be aware that no DML transactions are allowed while the master activity is suspended.
Also be aware that when you try to suspend the activity, the database will try to push and apply all the pending transactions. This may take some time (depends on the size of the transactions). So it is good practice to make sure there are no transactions that are waiting in DEFTRANDEST queue.
If you want to read more how the QUIESCED state affects the database activity, please refer to the following link:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repmaster.htm#sthref260
Cheers, -
Error in WF Customizing, Standard task TS00008267 does not exist
Hi Experts,
I need your help with the Workflow Customizing (SWU3). After doing the automatic customizing, I am getting an error "Workflow: No workflow definition found" when I try to start the Verification Workflow. So I decided to execute each component in SWU3 and I found out that when I execute "Classify Decision Task as General", (though it is checked/green), it says that "Object TS 00008267 does not exist".
I checked in tcode PFTC that the task is really missing in our Development server, though they exist in QA and production.
What should I do to get this fixed? I really don't have any idea. Should I apply a patch, install something, or create TS00008267? I can't find anything on the net that solves this problem.
Thanks in advance.
Regards,
DNHello Dexter,
I see you loked at the other tread which I just responded to. I have copied my reply below.
If you find that all tasks are missing and not just TS00008267 then it is most likely an authorisation issue. Run transaction
SU53 to see what authorisation objects your user is missing. It is related to Org Management authorisations.
If you have to transport it try transaction SE01 (Transport Organiser) it is possible to transport from system to system. Just click on Create button and then select 'Transport of copies'. Then just enter you target system and save. You can then add the
objects you wish to transport to your Target system.
Example:=============================
R3TR PDTS 00008267
In SE01, click Create => Transport of copies
=> Name the request and save
=> Click 'Include Objects' button and choose 'Freely selected
objects'.
=>Enter the Development class SWD and click 'Selected
Objects'. F4 at the bottom of the list (Under the DTEL
entry) and select the entry "R3TR PDTS" and click OK.
Now enter the task ID 00008267 in the dialog box
opposite it and click the checkbox (See attached screen
shot) and then click the Execute button.
=> Expland the list and goto the task
=> Select 00008267 and click the "Save In Request"
button.
You can do this with any standard tasks you want to transport to your system.
Hope this helps.
Regards,
Eddie -
Error logs in job releases forecast from DP to SNP-"Matl does not exist"
Hi Everyone,
I am facing error logs in the batch job which releases forecast from DP to SNP
Forecast release job - Weekly - Through background job
Forecast category - FA
Error 1: - Characteristic combination appears on batch job log with an error that
"GMC does not exist " Even though it exist in R/3 and APO
All products with error message "Product does not exist" from do exist and have Forecast in Product View
Error 2: - Deleted KCC keep showing up on the Demand Forecast release job log as errors even though they are invalid KCC and were deleted previously. How do they get removed from error log so they don't get created again
Material does not exist on the APO Product Master, in R3 there is a delete flag and the MRP type is set to X1 ,it does not exist in the APO Product Master and does not exist in R3.
Request you to kindly provide any way forward which may be causing error logs of the job
Thanks in advance,
Mrigendra SharmaHi Mrigendra,
Please re-initialize the SNP planning area (program : /SAPAPO/TS_PAREA_INITIALIZE) and then check the consistency by executing the program: /SAPAPO/TS_LCM_CONS_CHECK. If you observe any inconsistency in the log/spool, then re-run the program: /SAPAPO/TS_LCM_CONS_CHECK to observe all green.
It is recommended to run the consistency program after any master data change. The initialization program should be run at least weekly.
Try transfering the data again from DP to SNP to see if the error reappear.
Hope this helps.
Regards,
Nawanit -
ZL_BT115H_S_DETAILS_CN00 does not exists after EEWB enhancements
Hi Gurus,
I have enhanced the component view BT115H_SLSO/details initially, after some days, I have added two Zfields to BTADMINH using EEWB. while opening the Context node BTADMINH in the view BT115H_SLSO, the following error message is being displayed: Object type ZL_BT115H_S_DETAILS_CN00 does not exist.
while opening the link to create the sales order in Web UI, the following Exceptions occured:
CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.
Method: CL_BSP_MODEL=>CREATE
Source Text Row: 12
Initialization of view BT115H_SLSO/Details failed
An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.
Method: CL_BSP_MODEL=>CREATE
Source Text Row: 12
Cannot display view BT115H_SLSO/DetailsVS
An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.
Method: CL_BSP_MODEL=>CREATE
Source Text Row: 12
Initialization of view BT115H_SLSO/DetailsVS failed
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Cannot display view BT115H_SLSO/SOHOverView
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Cannot display window MainWindow.
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Any idea of why this exception is occured.
Did anyone faced the same issue? if yes,please share me the solution.
Thanks and Regards,
S ReddyHi Suchita,
Thanks for your quick response.
Actually we have not done any enhancements to the BTADMINH context node. we have enhaced the CRMD_ORDERADM_H table using the EEWB fields. After this I have checked the component BT115H_SLSO/view to provide the value help for the fields, the Zclass was automatically assinged to the Context and Page attribute remained same for BTADMINH.
I have checked in the SE24, the class does not exists. I have created a copy of CL_BT115H_S_DETAILS_CN00 as ZL_BT115H_S_DETAILS_CN00 and assigned to BTADMINH and Page attributes of the same view. After I have opened the Web UI, the following exceptions are occured:
Context generation failed in view BT115H_SLSO/Details
An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00
Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH
Source Text Row: 13
Initialization of view BT115H_SLSO/Details failed
An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00
Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH
Source Text Row: 13
Cannot display view BT115H_SLSO/DetailsVS
An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00
Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH
Source Text Row: 13
Initialization of view BT115H_SLSO/DetailsVS failed
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Cannot display view BT115H_SLSO/SOHOverView
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Cannot display window MainWindow.
An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound
Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Source Text Row: 162
Thanks and Regards,
S Reddy -
Accessing a sequence which does not exists
i have pl/sql code as below and the sequence value is displayed based on condition.In case the sequence does not exists and condition fails the pl/sql is not getting compiled and throws error saying that sequence does not exists.
For eg:
declare
i number;
begin
if ( 1=2) then
select top_seq.nextval into i from dual;
dbms_output.put_line('i'||i);
end if;
end;
in above sequence does not exist and condition is failed as it never access sequence, does the pl/sql code execute successfully and which is not happening as it throws error . sequence does not exists.910111 wrote:
Hi,
as Frank mentioned before, you can achieve that by using dynamic sql, see following example:
DECLARE
lc_sql VARCHAR2(4000);
ln_seqExists NUMBER := 0;
lc_seqName VARCHAR2(30) := 'TOP_SEQ';
i NUMBER;
BEGIN
SELECT NVL(COUNT(*),0)
INTO ln_seqExists
FROM user_sequences
WHERE sequence_name = lc_seqName;
IF ln_seqExists = 0 THEN
lc_sql := 'CREATE SEQUENCE ' || lc_seqName;
EXECUTE immediate lc_sql;
END IF;
IF ( 1 = 1) THEN
lc_sql := 'select top_seq.nextval from dual';
EXECUTE immediate lc_sql INTO i;
dbms_output.put_line('i: ' || i);
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlerrm);
END;
Regards
Not everything that can be done should be done ....
Before showing someone how to shoot themselves in the foot, it would be best to determine that shooting themselves in the foot is the best and most appropriate course of action.
Maybe you are looking for
-
HT1551 Apple TV and iPad 2 very low resolution pictures - how to resolve please?
Hi We've just bought Apple TV and it works fine with Netflix, with good resolution etc. However resolution is really poor and blurred when using iPad 2. What's more when iPad 2 is near the TV Netflix also goes low resolution and fuzzy. I've been havi
-
Update reports con aq.jms
buenas noches, no hablo muy bien ingles, pero estoy teniendo un problema con BAM 11g cuando creo tableros alimentados por aq- jms, los tableros despues de un tiempo no se actualizan o pierden datos los ems de bam, en el log de bam tengo el siguiente
-
HW RAID on x2250 with Solaris 10?
I'm a long-term, experienced Solaris admin (on SPARC) who is trying out a few x86 x2250 boxes right now. Each has 2 SATA drives that I am attempting to use HW RAID 1 with. I set the drives to "RAID" mode in the BIOS, used the firmware RAID config uti
-
How link Vendor & customer Legers in SAP
Hi please suggest how link vendor & customer lagers. please also suggested which T code use for linking in SAP with process note.
-
Massdeletion of messages in ME9F
Hi all We have a lot of messages in ME9F. We want to delete those messages but unfortunately we haven't found a way how we perform a mass deletion in ME9F. The only way is to click on each message then go to "message details", click on the message an