Tables in an object
Hi All
Is there a way to know what are the tables used in an program ?
For exp, if I am maintaining the business partner or a sales order, how can I get to know the tables used in transaction BP or a sales order ?
Hope I am clear with my question.
Regards
Jessy
Hi Jessy,
I don't have any direct solution to it; but what u can do is use Trace Analysis ST05.
Go to transaction ST05
Activate the trace
Run the transaction you want to (sales order or whatever)
deactivate the trace and see the results in ST05
You will get the list of all objects referred.
Regards,
Pankaj Sharma
Similar Messages
-
How to delete duplicate entries in table for the object DNL_CUST_BASIS2
Hi All,
I am trying to download the object DNL_CUST_BASIS2.
In the SMQ2 the status is SYSFAIL.
I checked in the ST22 for dumps.It says about the error while accessing the table T006.
While analysing this,i found some duplicate entries in the related tables of this object.
Can somebody help me how to delete these duplicate entries?
Thanks,
Senthil.Delete them directly from the table using se16:
select the entries in the classic view (not ALV or grid view).
activate the debugger.
press the view button. --> you'll enter in the debugger
press F7
locate the sy-ucomm variable & change it to "DELE".
press F8
delete the entries.
Trick-shots
but it works!
Michael. -
Error in creating a simple table with JSON object in SAPUI5
The error is : SCRIPT1006: Expected ')'
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<META http-equiv="X-UA-Compatible" content="IE=edge">
<META http-equiv='cache-control' content='no-cache'>
<META http-equiv='expires' content='0'>
<META http-equiv='pragma' content='no-cache'>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.ui.table "
data-sap-ui-theme="sap_goldreflection">
//themes : sap_platinum, sap_goldreflection
</script>
<script>
// create some local data using JSON
var aData = [
{Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
{Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
{Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
{Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
{Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
{Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
{Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
{Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
{Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
{Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
{Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
{Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
{Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
{Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
{Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
{Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
{Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
{Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
// Define a table [Note: you must include the table library to make the Table class work]
var oTable = new sap.ui.table.Table({
title: "Projects Status", // Displayed as the heading of the table
visibleRowCount: 4, // How much rows you want to display in the table
selectionMode: sap.ui.table.SelectionMode.Single, //Use Singe or Multi
navigationMode: sap.ui.table.NavigationMode.Paginator, //Paginator or Scrollbar
fixedColumnCount: 4, // Freezes the number of columns
enableColumnReordering:true, // Allows you to drag and drop the column and reorder the position of the column
width:"1024px" // width of the table
// Use the Object defined for table to add new column into the table
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Applications"}), // Creates an Header with value defined for the text attribute <<<<<<<SCRIPT1006: Expected ')'
template: new sap.ui.commons.TextField().bindProperty("value", "Applications"), // binds the value into the text field defined using JSON
sortProperty: "Applications", // enables sorting on the column
filterProperty: "Applications", // enables set filter on the column
width: "125px" // width of the column
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "PercentComplete"}),
template: new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"),
sortProperty: "PercentComplete",
filterProperty: "PercentComplete",
width: "125px"
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Date_Due"}),
template: new sap.ui.commons.TextField().bindProperty("value", "Date_Due"),
sortProperty: "Date_Due",
filterProperty: "Date_Due",
width: "125px"
oTable.addColumn(new
label: new sap.ui.commons.Label({text: "Testing_Due"}),
template: new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"),
sortProperty: "Testing_Due",
filterProperty: "Testing_Due",
width: "125px"
//Create a model and bind the table rows to this model
var oModel = new sap.ui.model.json.JSONModel(); // created a JSON model
oModel.setData({modelData: aData}); // Set the data to the model using the JSON object defined already
oTable.setModel(oModel);
oTable.bindRows("/modelData"); // binding all the rows into the model
//Initially sort the table
oTable.sort(oTable.getColumns()[0]);
// finally place the Table into the UI
oTable.placeAt("content1");
</script>
</HEAD>
<BODY>
<div id='content1'></div>
</BODY>
</HTML>Hi Amr
Here is an example on how to addColumn
Example
-D -
Require help on Array of Nested tables and Oracle Object type
Hi All,
I have a scenario where I have some millions of records received from a flat file and the record is stored in Table as below:
Tablename: FILE_RECORD
Rows:
FILE_REG_ID = 1
RECORD_NBR = 1
PROCESSED_IND = U
RECORD= 00120130326006A
FILE_REG_ID = 1
RECORD_NBR = 2
PROCESSED_IND = U
RECORD= 00120130326003
1) I have to read these records at once and
a) Split the RECORD column to get various other data Eg: Fld1=001, Fld2=20130326, Fld3 = 003
b) send as an Array to Java.
2) Java will format this into XML and sent to other application.
3) The other application returns a response as Successful or Failure to Java in XML
4) Java will send RECORD_NBR and the corresponding response as Success or Failure back to PLSQL
5) PLSQL should match the RECORD_NBR and update the PROCESSED_IND = P.
I 'm able to achieve this using SQL Table type by creating a TYPE for Each of the fields (Flds) however the problem is Java cannot Access the parameters as the TYPE are of COLUMN Types
Eg: For RECORD_NBR
SUBTYPE t_record_nbr IS FILE_RECORD.T010_RECORD_NBR%TYPE;
Can you please let me know how I can achieve this to support Java, I know one way that is by creating an OBJECT TYPE and a TABLE of the OBJECT TYPE.
Eg: T_FILE_RECORD_REC IS OBJECT
FILE_REG_ID number(8), RECORD_NBR number (10), PROCESSED_IND varchar2(1), RECORD varchar(20)
Create type T_FILE_RECORD_TAB IS TABLE OF T_FILE_RECORD_REC
However I'm facing a problem to populate an Array of records, I know I'm missing something important. Hence please help.
It would be helpful to provide some guidelines and suggestions or Pseudo or a Code to achieve this. Rest all I can take up further.
Thanks in advance,I know once way that is creating a OBJECT TYPE and a TABLE of OBJECT TYPE, howeve I feel I'm missing something to achieve this.You're right, you need SQL object types created at the database level. Java doesn't know about locally defined PL/SQL types
However you can do without all this by creating the XML directly in PL/SQL (steps 1+2) and passing the document to Java as XMLType or CLOB.
Are you processing the records one at a time? -
TYPE OR TABLE DEPENDENCY OF OBJECT TYPE (ORA-2303)
제품 : SQL*PLUS
작성날짜 : 2004-05-20
==================================================
TYPE OR TABLE DEPENDENCY OF OBJECT TYPE (ORA-2303)
==================================================
PURPOSE
Type이나 table의 dependency가 있는 type을 drop하거나 replace하고자
하면 ORA-02303 error가 난다. 이 error의 원인을 알아보도록 한다.
Explanation
Object의 attribute나 method를 수정하기 위해서는 object type을 drop하고 재생성
해야 한다. Type이나 table의 dependency가 있는 type을 drop하거나 replace하고자
하면 ORA-02303 error가 난다. Object type은 type (nested table 또는 VARRAY)
또는 object table로써 구체적으로 표현된다. 만약 data의 보존이 필요하다면
temporary table에 manual하게 옮겨놓아야 한다.
SQL Reference guide에 의하면 DROP TYPE FORCE 옵션은 recommend하지 않는다.
왜냐하면 이 옵션을 쓰게 되면 복구가 불가능하고 dependency가 있던 table들은
access하지 못하는 결과를 초래한다.
Example
아래의 query 1, 2, 3은 dependency을 확인하는 query문이다.
1. Find nested tables
select owner, parent_table_name, parent_table_column
from dba_nested_tables
where (table_type_owner, table_type_name) in
(select owner, type_name
from dba_coll_types
where elem_type_owner = '<typeOwner>'
and elem_type_name = '<typeName>');
2. Find VARRAYs
select owner, parent_table_name, parent_table_column
from dba_varrays
where (type_owner, type_name) in
(select owner, type_name
from dba_coll_types
where elem_type_owner = '<typeOwner>'
and elem_type_name = '<typeName');
3. Find object tables
select owner, table_name
from dba_object_tables
where table_type_owner = '<typeOwner>'
and table_type = '<typeName>'
and nested = 'NO';
Example ) Logon as Scott
/* Create an user defined object type */
SQL> create type object_type as object (
col1 number,
col2 varchar2(20))
Type created.
/* Create nested table type */
SQL> create type object_ntable as table of object_type
Type created.
/* Create varray type*/
SQL> create type object_varray as varray(5) of object_type
Type created.
/* Create parent table with nested table and varray */
SQL> create table master (
col1 number primary key,
col2_list object_ntable,
col3_list object_varray)
nested table col2_list store as master_col2
Table created.
/* Create object table */
SQL> create table object_table of object_type (col1 primary key)
object id primary key;
Table created.
ORA-2303 results if attempt to drop type with dependencies
SQL> drop type object_type;
drop type object_type
ERROR at line 1:
ORA-02303: cannot drop or replace a type with type or table dependents
위의 queery 1,2,3을 이용하여 object type dependency을 확인한다.
-- Find nested tables utilizing object type
SQL> select owner, parent_table_name, parent_table_column
from dba_nested_tables
where (table_type_owner, table_type_name) in
(select owner, type_name
from dba_coll_types
where elem_type_owner = 'SCOTT'
and elem_type_name = 'OBJECT_TYPE');
OWNER PARENT_TABLE_NAME PARENT_TABLE_COLUMN
SCOTT MASTER COL2_LIST
-- Find VARRAYs utilizing object type
SQL> select owner, parent_table_name, parent_table_column
from dba_varrays
where (type_owner, type_name) in
(select owner, type_name
from dba_coll_types
where elem_type_owner = 'SCOTT'
and elem_type_name = 'OBJECT_TYPE');
OWNER PARENT_TABLE_NAME PARENT_TABLE_COLUMN
SCOTT MASTER COL3_LIST
-- Find object tables
SQL> select owner, table_name
from dba_object_tables
where table_type_owner = 'SCOTT'
and table_type = 'OBJECT_TYPE'
and nested = 'NO';
OWNER TABLE_NAME
SCOTT OBJECT_TABLE
참고)
bulletin : 11576 처럼 utility을 이용하는 방법이 있다.
우리는 여기서 주의하여야 할 것은 script $ORACLE_HOME/rdbms/admin/utldtree.sql
을 내가 보고자 하는 user에서 돌려야 한다는 것이다.
$sqlplus scott/tiger
SQL> @$ORACLE_HOME/rdbms/admin/utldtree.sql
SQL> exec deptree_fill('TYPE','SCOTT','OBJECT_TYPE');
PL/SQL procedure successfully completed.
SQL> select * from ideptree;
DEPENDENCIES
TYPE SCOTT.OBJECT_TYPE
TYPE SCOTT.OBJECT_NTABLE
TABLE SCOTT.MASTER
TYPE SCOTT.OBJECT_VARRAY
TABLE SCOTT.MASTER
TABLE SCOTT.MASTER_COL2
TABLE SCOTT.OBJECT_TABLE
Reference Documents
Korean bulletin : 11576
<Note:69661.1>Hi Carsten,
Thanks for the sharp hint. It works.
However, when I create a table using the schema, it gives me this error:
varray DOC."LISTOFASSIGNEDNUMBER"."ASSIGNEDNUMBER"
ERROR at line 14:
ORA-02337: not an object type column
Here is the script:
CREATE TABLE CUSTOMMANIFEST (
ID NUMBER PRIMARY KEY,
DOC sys.XMLTYPE
xmltype column doc
XMLSCHEMA "http://www.abc.com/cm.xsd"
element "CustomManifest"
varray DOC."LISTOFMANIFESTPORTINFO"."MANIFESTPORTINFO"
store as table MANIFESTPORTINFO_TABLE
(primary key (NESTED_TABLE_ID, ARRAY_INDEX))
organization index overflow
varray DOC."LISTOFASSIGNEDNUMBER"."ASSIGNEDNUMBER"
store as table ASSIGNEDNUMBER_TABLE
(primary key (NESTED_TABLE_ID, ARRAY_INDEX))
organization index overflow
LISTOFASSIGNEDNUMBER itself is complexType and not sure where is the error....
You may note there are more than two hierachy/levels...
Thanks. -
I have a db, call it xyz.mdb
It suddenly is that SSMS is not listing the table objects nor the Views. SELECT * FROM sys.Tables and SELECT * FROM sys.Views work very fine. But when I click on the tables node, on Objects Explorer, Only the Systems Tables and File Tables folders
show.
Other DBs on same SQL instance do not show same problem. They are all working very fine.
I have backed up and restored this db on other computers and the behaviour is the same. Incidentally right-clicking the db and clicking Properties throws up this error message.
-------------------------------------------------------------------------Error!
Cannot show requested dialog.
Property Size is not available for Database '[Pliny E DB - NOA 2014]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Size&LinkId=20476
--------------------------------------------------------------------------------End>
When I try to Refrresh the Tables node on Object Explorer, I get this other:
------------------------------Error!
SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x9090d9b7; actual: 0x909001b4). It occurred during a read of page (1:1173) in database ID 21 at offset 0x0000000092a000 in file 'c:\Databases\Clients\NOA\Pliny E DB -
NOA 2014.mdf'. Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check
(DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. (Microsoft SQL Server, Error: 824)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=824&LinkId=20476
------------------------------End>
The Help link of course is not valid any more.
Many thanks
Vie
@Abuja
VieYour database is corrupted and you need to run.
DBCC CHECKDB
You already have a backup so do it...
This link will provide you with more information:
http://msdn.microsoft.com/en-us/library/ms176064.aspx -
Inserting into a doubly nested table through an object view
Can anyone give me an example of an INSTEAD OF trigger that will mediate an INSERT into a doubly nested table of an Object View? Is there syntax that will allow it?
Here's some code to demonstrate. Note that relational tables, not an object table, are used to store object instances:
create or replace type TInnerNestedTable
is table of varchar2(20)
create or replace type TOuterNestedTable
is table of TInnerNestedTable
create or replace type TMyObject
is object
id varchar2(20)
, tab TOuterNestedTable
create
table T_MY_OBJECT
id varchar2(20) not null
, primary key (id)
create
table T_MY_OBJECT_TAB_OUTER
id varchar2(20) not null
, outerIndex integer not null
, primary key (id, outerIndex)
, foreign key (id) references T_MY_OBJECT on delete cascade
create
table T_MY_OBJECT_TAB_INNER
id varchar2(20) not null
, outerIndex integer not null
, innerIndex integer not null
, innerValue varchar2(20)
, primary key (id, outerIndex, innerIndex)
, foreign key (id, outerIndex) references T_MY_OBJECT_TAB_OUTER on delete cascade
create or replace view V_MY_OBJECT
of TMyObject
with object identifier (id)
as
select t.id
, cast(multiset(
select cast(multiset(
select i.innerValue
from T_MY_OBJECT_TAB_INNER i
where i.id = o.id
and i.outerIndex = o.outerIndex
) as TInnerNestedTable)
from T_MY_OBJECT_TAB_OUTER o
where o.id = t.id
) as TOuterNestedTable)
from T_MY_OBJECT t
create or replace trigger TR_II_V_MY_OBJECT
instead of insert on V_MY_OBJECT
for each row
begin
insert
into T_MY_OBJECT
id
values (
:new.id
insert
into T_MY_OBJECT_TAB_OUTER
id
, outerIndex
select :new.id
, rownum
from table(:new.tab) o;
insert
into T_MY_OBJECT_TAB_INNER
id
, outerIndex
, innerIndex
, innerValue
select :new.id
, o.outerIndex
, rownum
, value(i)
from (
select :new.id
, rownum outerIndex
, value(o) innerTab
from table(:new.tab) o
) o
, table(o.innerTab) i;
end;
insert
into V_MY_OBJECT
values (
new TMyObject(
'A'
, TOuterNestedTable(
TInnerNestedTable('A','B','C')
, TInnerNestedTable('AA')
, TInnerNestedTable('AB')
insert
into V_MY_OBJECT
values (
new TMyObject(
'B'
, TOuterNestedTable(
TInnerNestedTable('X','Y','Z')
, TInnerNestedTable('Hello', 'World!')
/Selecting from the view shows the results:
select value(o)
from V_MY_OBJECT o
VALUE(O)(ID, TAB)
TMYOBJECT('A', TOUTERNESTEDTABLE(TINNERNESTEDTABLE('A', 'B', 'C'), TINNERNESTEDTABLE('AA'), TINNERNESTEDTABLE('AB')))
TMYOBJECT('B', TOUTERNESTEDTABLE(TINNERNESTEDTABLE('X', 'Y', 'Z'), TINNERNESTEDTABLE('Hello', 'World!')))
2 rows selected.Hope that helps...
Gerard -
Reporting of recursive tables with Business Objects 6.1
Post Author: pk7
CA Forum: Publishing
Can anyone tell us how to traverse recursive tables with Business Objects 6.1? For example, let's say you have an Employee table with Emp_ID, Name, Manager_ID. Like so:
Emp_ID Name Manager_ID
1 Jeff 4
2 Grace 3
3 Stacey 1
4 Wayne null
The task is to report the hierarchy of employees starting with one employee (e.g. Grace) and showing who ALL of her superiors are. Desired result would be:
Grace
Stacey
Jeff
Wayne
We have seen the expanation the seems to require the duplication of a table but we prefer not to have the same data stored in multiple tables.
Thx!Hi Dan,
Thanks for your response. However, what I meant by client installation is exactly as what you have said below.
I start the BusinessObjects Enterprise XI 3.1 Setup, go to custom install, which shows up the following options-
Client Components
Web Tier Components
Server Components
Database Access
etc. etc.
Initially I unselected all, drilled down Client Components and just installed the Developer Components. But the code used to fail with an InvalidCast exception when we used to cast an InfoObject to a Report as following-
Report report = (Report)infoObjects[1];
This code used to work fine with earlier installations of business objects.
This happened with all 3 of us who installed just the Dev components. To get over this we installed the whole Client Components and the above problem got resolved.
And now we realize that even the whole Client Comp is not enough because it gives the casting problem while doing the destination stuff. -
Dynamic table overlap other objects!!!
Hi everybody
I have created a dynamic table with Add Row Button
Please can anyone tell me how to avoid dynamic table overlap the below objects when multiple rows are created?
what I wish is that the table bumps everything on his way just like MSWord wrapping option
please provide a flash tutorial if you can, cause many people ask about this issueHi,
Use flow layout in order to avoid overlapping of table on other objects. This flow layout is to be set on the parent container (form/subform) of the table. Put the other objects too into the same container. It will cause the dynamic resizing of the container each time the new row is added.
Thanks.
Abhinav -
Table Control in Object oriented programing
Hi ,
All of our programs are converted into OO Programing, i have a requirement that can we have an alternative for Table Control in Object oriented programing ?
can we have any base class for Table Control to display the data in the grid ?
For Ex: we can place a ALVA Tree on the container , For this the base class is CL_GUI_ALVA_TREE, like the same way can we have any alternative,
If i am not wrong is it possible by ALV grid Control.. can any body help me the out
of this confusion.
Thansk In Advance.
Regards
NagThanks for this, it is very help full. If you don't mind is there any demo program which is already given by SAP, or if you have please send me the code so that
i can start looking on it .
thanks In Advance.
Regards
Nag -
Msg 2511, Level 16, State 2, Line 1
Table error: Object ID 41, index ID 1, partition ID 281474979397632, alloc unit ID 281474979397632 (type In-row data). Keys out of order on page (1:187), slots 9 and 10.
CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41).
CHECKDB found 0 allocation errors and 1 consistency errors in database 'db_name'.
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (adv_tvs).
Help required on the above error mentionedHi Rapunzel,
The minimum repair suggested is repair_rebuild you can try that. As per mssage there is corruption in your database and it can only be corrected by either repairing or Restoring from known good backup.For doing repair the database must be in single-user
mode.
Please read
dbcc checkdb repair_rebuild option
Since DBCC CHECKDB with any of the REPAIR options are completely logged and recoverable, Microsoft always recommends a user use CHECKDB with any REPAIR options within a transaction (execute BEGIN TRANSACTION before running the command) so that the user can
confirm he/she wants to accept the results of the operation. Then the user can execute COMMIT TRANSACTION to commit all work done by the repair operation. If the user does not want to accept the results of the operation, he/she can execute a ROLLBACK TRANSACTION
to undo the effects of the repair operations.
REPAIR_REBUILD does not repair errors involving FILESTREAM data.
How big is database. If it is small and backup also is corruption free you should consider restoring from backup
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Queue Table with Nested Objects
I need to create a queue table based on nested object
These are my declarations
TYPE TESTATATYPE AS OBJECT (
CODICE VARCHAR2(5),
DESCRIZIONE VARCHAR2(30)
TYPE DETTAGLIOTYPE AS OBJECT (
CODICE VARCHAR2(5),
DESCRIZIONE VARCHAR2(30),
VALORE NUMBER
TYPE DETTAGLITYPE IS TABLE OF DETTAGLIOTYPE
TYPE MESSAGGIOTYPE AS OBJECT (
TESTATA TESTATATYPE,
DETTAGLI DETTAGLITYPE
Now i'm trying to create queue table
DBMS_AQADM.CREATE_QUEUE_TABLE(queue_table => 'MsgQTab',
queue_payload_type => 'MessaggioType',
storage_clause => 'NESTED TABLE
dettagli STORE AS dettagli_tab_Q',
sort_list => 'priority,enq_time'
but I get
ORA-00904: invalid column name
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2012
ORA-06512: at "SYS.DBMS_AQADM", line 55
ORA-06512: at line 3
maybe the problem is storage clause, can you help me ?
nullAndrea,
You cannot currently use a nested table even as an embedded object within a message payload.
However, you can create an object type that contains one or more VARRAYs, and create a queue table that is founded on this object type. I guess this might be the problem you are facing. -
Message no. B1402- Table KONP for object class COND_A is not defined.
Hi
I m using BD52 transaction for message type COND_A and am getting this error for table KONP saying it is not defined for COND_A.
Can you please let me know which transaction is used to update this information.
Thanks in advance
SanaIn note 309342, for error message no.B1402, following solution is given.
Solution
The system issues warning message B1402 " Table KONP for object class COND_A does not exist" for each entry with table KONP and you can ignore this by pressing Enter respectively. Then you can maintain the entries or navigate.
If the KONP entries bother you since you use Transaction BD52 frequently, you can remove them manually. To do this, you can also use Transaction BD52. The functions are not changed by this deletion. However, the issue of the bothering warning message is suppressed. Table TBD62 is client-dependent that is, you have to make the correction on each active client.
A related problem exists with table TBD22. During the setup of reductions (that is, new output types which only send a subset of the data of output type COND_A), the corresponding entries in table TBD62 (Transaction BD52) are generated from table TBD22. To avoid the same problem as described above with the new output types, remove the entries of TBD22 with MESTYP COND_Y and CDTABNAME KONP. You can do this with the help of view V_TBD. Transaction SM30, as an output type, select COND_A. Here, remove all entries with segment type EKONP and table name KONP.
Table TBD22 is client-independent.
A correction of tables TBD22 and TBD62 by means of an R/3 Support Package is not possible since the tables have delivery classe 'G'. SAP cannot delete entries in the tables.
thanks
G. Lakshmipathi -
Join table with an object type
Hi,
I would like ot know how to join a table with another table having an object type as a column value.
For ex:
Create type add_obj as object (st varchar2(10), city varchar2(10), zip varchar2(10));
Table A
Cust_id number
cust_address add_obj
Table B
Cust_id number
order_id number
I want to select the complete address for each order.
Is this the correct way to do this select:
Select o.order_id, c.customer_id, c.cust_address.st, c.cust_address.city, c.cust_address.zip
from table A c, table B o;
Any leads is appreciated. Thanks in advance.>
unfortunately with a crashed Oracle db I could try nothing.... Forums are for getting help and offering help in times of need.
Will take your advice some other time. Now need help on how to select the address city, st and zip along with the order_id.
>
Ah - I understand - you mean before your class is over.
Unfortunately with a crashed Oracle db you will not know if our advice is correct or not since you won't be able to test it.
So I will offer advice some other time. Now need to get some fresh air and a hot cup of coffee.
Let us know when you DB is back up and you have run your tests. Then if you still have any questions other forum members may decide to help you. Well - if their database is up and running that is. -
Batch Design Capture of tables that include Object Types
When I attempt to use the Batch Design Capture facility to capture a table that includes an Object Type the facility dies without completing.
I am using Designer 9i / Oracle Design Editor v9.0.2.80.4.
The Batch Design Capture facility reports the following and then exits:
Repository connected successfully
Server Generator 9.0.2.80.4, Wed Jun 09 17:24:33 2004
Copyright (c) Oracle Corporation 1995, 2002. All rights reserved.
CDS-15334 Warning: The Oracle Object Type MESSAGEHEADER_TYPE already exists in the Repository. NOMERGE_AND_SAC Rule selected
=> the captured property values will not replace the existing property values in the repository but the Rules for the Secondary Elements (SACs) will apply for their own update
CDS-11305 Warning: Column 'E2B.MESSAGEHEADER' property DEFAULT VALUE exceeds maximum length (60) - Truncated
The table that I am trying to capture looks like this:
E2B
E2B_ID NOT NULL NUMBER
MESSAGEHEADER MESSAGEHEADER_TYPE
DATE_TRANSMITTED DATE
DATE_RECEIVED DATE
DATE_ACKNOWLEDGED DATE
... other columns ...
MESSAGE CLOB
and MESSAGEHEADER_TYPE looks like this:
MESSAGEHEADER_TYPE
MESSAGETYPE VARCHAR2(16)
MESSAGEFORMATVERSION VARCHAR2(3)
MESSAGEFORMATRELEASE VARCHAR2(3)
MESSAGENUMB VARCHAR2(100)
MESSAGESENDERIDENTIFIER VARCHAR2(60)
MESSAGERECEIVERIDENTIFIER VARCHAR2(60)
MESSAGEDATEFORMAT NUMBER(3)
MESSAGEDATE NUMBER(14)
Is is possible to use Designer to capture tables that include object types?hi,
while running the package, use the activity "Maintain Table Reduction" in phase System Analysis to include / exclude / reduce the table from transfer.
Srila. -
Application table and info object
Can we create a table using info object like characteristic or key figure as filed of the table ?
you can name the fields as infoobject and key figures but for their lyring field you have to use a data element, ( which is like an infoobject) , not an infoobject.. infoobjects are used in cubes, dso..not in tables..
Maybe you are looking for
-
How to delete all data in all tables in one time ?!
1 CREATE OR REPLACE PROCEDURE delete_all_data 2 IS 3 v_statement VARCHAR2 (200); 4 BEGIN 5 FOR i IN (SELECT * 6 FROM user_tables) 7 LOOP 8 v_statement := 9 'delete table ' || i.table_name ; 10 EXECUTE IMMEDIATE v_statement; 11 END LOOP; 12 commit; 13
-
Burning 16:9 video and DVD Playback
Hi, I have been trying to burn a 16:9 video (exported from FCP 5 at 853x480) in iDVD 5.0.1 and play it back on my Toshiba SD4000 DVD player. However, everything I try (even setting the player to 16:9 video) results in the video getting stretched to a
-
Calculation of Foreign Currency Translation Reserve (FCTR)
I am trying to calculate the FCTR in the <Parent Currency> member of the Value Dimension. I want to calculate the difference between the Net Assets and Equity and return it to the FCTR account in the <Parent Currency>. I have tried a number of combin
-
Hi Experts, I am having one WDJ application calling an RFC which has one input parameter and output as a table. When i call the RFC and deploy the application, i am getting below error. Could not create JCOClientConnection for logical System: WD_MOD
-
Hover problem in Top Level Navigation
Hi. We activated hover option for Top Level Navigation. So, users can hover over first-level entries and immediately see the entries that will appear in the second-level. The user can then click the second-level entries and navigate to one of these e