R8.2 Extended Schema Tables Question
Can someone explain the difference between the extended schema’s tables with the same name, but different suffixies? For example: NAME, NAME_FULL, NAME_S and NAME_U. They seemingly have the same columns and data (rows).
I took some time today to look at the selects of the views. Here are some of my initial findings:
NAME - The select on the production tables, lots of column aliases to make the naming more intuitive. Filters out deleted sessions. The ETL, if you will.
NAME_FULL - This is simply a view of the above view with no new aliases or where statement. Basically SELECT * FROM NAME. This is presumably the view they want you to hit.
NAME_U - I assume the U stands for User. It basically does an INNER JOIN from the data (NAME view) you need to the PROJECTSECURITY, RESOURCESECURITY, GLOBALSECURITY, etc table(s) to limit the data. But not all of these views look at the security views/tables, therefore, you get the same data as the original view. No WHERE statement on these - the INNER JOIN effectively does it for you.
NAME_S (NOT MANY VIEWS INCL THIS ONE) - I assume the S stands for Secure Code, although one DBA mistakenly wrote out SECURITY instead of S on the pxrptuser.RESOURCE view. This view uses an inner joins to look at the object userIDs, secure code flags, etc.
This is what I needed for an immediate assignment, but I will be digging into these more and will edit this and/or post a better white paper on my web site.
Similar Messages
-
EPPM Extended schema functional description
Hi,
I have installed EPPM 8.3 using sql server database in a windows 2008 server.
In the documentation it says opening the PXReporting_83.dmd file I can find a functional description of a view in "Coments from RDBMS" property but there are no comments in any view in the model.
Is there any other place where I can found an explanation of every extended schema view ?
Thanks,Here are the services you need to start:
Project Arbiter service
Publish Project service
Publish Enterprise Data
Publish Enterprise Summaries
Publish Resource Management
Publish Security
More info on the above is here: http://docs.oracle.com/cd/E20686_01/English/Technical_Documentation/Reporting_Database/P6%20Extended%20Schema%20White%20Paper.pdf
Information on the tables is in a thread I started (and answered) here: R8.2 Extended Schema Tables Question -
8.2 EPPM which process updates the extended schema?
Hello which process updates the 8.2 EPPM extended schema and is it possible to invoke from sqlplus command line?
Is there any doc. that shows which extended schema fields map to the main schema, are there any calculations being done or is it a straight copy?Here are the services you need to start:
Project Arbiter service
Publish Project service
Publish Enterprise Data
Publish Enterprise Summaries
Publish Resource Management
Publish Security
More info on the above is here: http://docs.oracle.com/cd/E20686_01/English/Technical_Documentation/Reporting_Database/P6%20Extended%20Schema%20White%20Paper.pdf
Information on the tables is in a thread I started (and answered) here: R8.2 Extended Schema Tables Question -
How to cancel the alter or delete purview for one's scheme table?
I want to put down the user of some scheme table that is altered or deleted the field of its. But the scheme has the RESOURCE and CONNECT role for the user. I want to control the user can't delete or alter the table field.
How can to do ? urgent!!
Please tell me?
regard.I'm not sure I understand your question correctly. Are you looking to audit the DDL a particular user issues or are you looking to prevent that user from issuing certain types of DDL?
Justin -
This is an html table question, but since I am working with
CF on this, I thought I would post here for help.
I query and cfoutput the data in a table. The table has ten
columns. The first five are alpha numeric and the last five are
numeric. The output displays fine.
What the want to do now is to put a black border around the
number columns, the last five.
I tried to make each column its own table, but that just puts
a box around each value, the columns are not connected.
How can I do this ?
Thanks for helping.Put a thin black left border in the sixth column and a
similar right border in the tenth (last) column.
It is neater and advisable to use CSS.
<style type="text/css">
<!--
.bdrLft {
border-left-color:#000000;
border-left-width:thin;
-->
</style>
<td class="bdrLft">
The inline formatting will look like:
<td style="border-left-color:##000000;
border-left-width:thin;">
Do the same for the top border (last 5 column headers). The
bottom border may be trickier. The idea is to apply bottom border
at the last query count. One can do without the top and bottom
borders, however. -
Extract the load from file extended results table in a csv file format
I am trying to figure out a way to extract the extended results table spit out by IDM when we do a load from file. The result generates a table with 10 entries per page. I would like to atleast change that and display all the successes and failures in a single page.
Edited by: indie on Jan 15, 2008 4:51 PMHi indie,
I need to do something similar. Did you find a way ?
TIA,
AndyDev -
Referencing other schema table in procedure
Hello All,
I am writing a stored procedure and within this i have an update statement which updates a table in my own schema based on
certain condition based on different schema table.
CREATE OR REPLACE PROCEDURE PROC_UPD(P_TBL_NAME VARCHAR2)
IS
V_TBL_NAME VARCHAR2(20) := P_TBL_NAME;
V_SQL_STMT1 VARCHAR2(9999);
BEGIN
V_SQL_STMT1 := 'UPDATE '|| V_TBL_NAME ||' A '
||' SET CP = (SELECT CP_I
FROM SAM.PROD_TBL
WHERE A.PROD_I = PROD_I)
WHERE A.PROD_I IN ( SELECT PROD_I
FROM SAM.PROD_TBL) ';
EXECUTE IMMEDIATE V_SQL_STMT1 ;
END; When i execute this by passing a table name as a parameter, it gives me an error that "Table or View does not exists".
I can access SAM.PROD_TBL in my schema when i query using SELECT statement.
Also, I can use the same update statement outside the procedure and it works fine without giving me any error.
Is there something i am missing here and hence the error.
Kindly suggest how to overcome this error.
Regards,
ShaneYour privilege on this table needs to have been granted directly to the user not via a role.
In addition, debugging may be made easier by logging or outputting this sql so that you can verify that it's correct and runs correctly via a sql session. -
To fetch 2 fileds of table TRFCQIN (abap schema table ) through OPEN SQL
Hi Experts,
My basis team wants me to write a OPEN sql statement in DB2 . T
The Open SQL statement for reading data from database tables is:
SELECT <result>
INTO <target>
FROM <source>
[WHERE <condition>]
[GROUP BY <fields>]
[HAVING <cond>]
[ORDER BY <fields>].
I want to fetch 2 fileds of table TRFCQIN (abap schema table ) through OPEN SQL in report RSORADJV in PI .
As per PI basis comment : To use u201CRSORADJVu201D you need write the code in open SQL. If the code had been written in open SQL in the first place you wouldnu2019t be having to translate this from MS SQL.
Can you pls help in writing open sql with above syntax .
Initially when I wrote as
QL statement : select * from SAPDBSR3.XI_AF_MSG, I got the error messege as
Error : insufficient priviliage to access specified table.
Again basis suggested to write this code in OPen SQL statement .
Please suggest., I dont know open SQL for the same.
Regards,
Arnab.Hi,
Well I don't know why you have duplicates, this is a functionnal issue. But you get the dump due the the message number 864 that triggers the abend... Changing the message type to 'E', 'S' or 'I' will prevent the dump but I guess this message has a good reason to be
Kr,
Manu. -
Unable to extend the table space
Hi Experts
When i am extending the table space i am getting this error
BR1059E Not enough free space in /oracle/SHD/sapdata3/sr3700_20 for maximum size
of file /oracle/SHD/sapdata3/sr3700_20/sr3700.data20, missing at least 491.556
MB
but when i checked the space, space is available
/dev/vg01/lvol16 41943040 34863437 6637129 84% /oracle/SHD/sapdata4
/dev/vg01/lvol15 41943040 37013805 4621160 89% /oracle/SHD/sapdata3
/dev/vg01/lvol14 41943040 31803117 9506180 77% /oracle/SHD/sapdata2
/dev/vg01/lvol13 31457280 28486427 2785176 91% /oracle/SHD/sapdata1
i am unable to extend the table space. Please help me
Thanks & Regards
VenkatHi Venkat,
Please try to disable the autoextend, in the brspace screen first you make off for autoextend then you try to extend the space.
Definetly it will work. I have faced same problem earlier.
Please let me know still if you have any problem for extending.
Thanks
Kishore -
What's the privileges to create foreign key to a different schema.table ?
Hi
In my current schema I want to add a new foreign key. But this key is referencing to a table in a different schema, like this:
Alter table some_table ADD ( Constraint FK_01 Foreign Key (L_ID) References schema.table (LL_ID));
and getting the error - ORA-01031 insufficient privileges
Which privileges do I need for this (At this time, I have only GRANT Select)? Any help would be much appreciated
Best regards
RemoHi,
You need GRANT REFERENCES object privilege to the user.
Cheers -
Query on Custom schema table getting 'Do You want to save changes' message
Hi all,
I am getting the error message whenever I query from the custom table. Here is the description of the issue.
1. I have a button on the first block. When the user clicks on this button , execute_query is called on another block. Then the user getting the message "do you want to save the changes" . Although there are no changes made on the form.
2. The second block is based on a custom table defined on the custom schema.
3. Created public synonym for this table and also gave the all the grants to apps schema on this table.
4. This error was not coming before when the second block is based on Apps schema table.
Any idea on how to fix this.
ThanksI doubt the problem is related to a schema or public synonym. The message is appearing because the value for an item is being changed after your query executes.
First check to make sure that the blocks that are not based on a table are set to No. See the Database Data Block Property.
If that doesn't solve the problem, then run the debugger and watch to see what item is changing. You may be doing something in a trigger. -
Error in database parameter for star schema table in RSRV
Hi Experts,
In RSRV, I executed the following checks in my cube and it is showing me the following error:-
1) Check database parameter for star schema table for InfoCube ZMM_MVAL
564971 units missing from fact table /BIC/FZMM_MVAL; see details
Message no. RSRV134
Diagnosis
In the fact table /BIC/FZMM_MVAL records have been found that contain values other than zero for key figures that have units, but that have no value for the unit of the key figure. Since the value of the unit has to correspond to the value of the key figure, this inidicates an error when the data was loaded. The values of the units have not been loaded into BW correctly. Choose Details to display the incorrect records.
2) Consistency of time dimension of InfoCube ZMM_MVAL
/BIC/FZMM_MVAL PARTITIONED 1878 ( 30 - 50 )
Please advise me on this.
Thanks in Advance.
AparnaAs mentioned in the log, check the Unit KFs in your cube and make sure that unit is populated for all such values.
e.g. if Qty is 5 KG, then unit KF will have 5 and unit info object should have KF.
Regards,
Gaurav -
A partition tab is needed in the schema-table browser and it's missing
After a first sight with the product, I couldn't find a partition tab in the schema-table browser.
For those having partitions it is absolutely essential.It's easy to add,
create a file that has the following content
<?xml version="1.0" encoding="UTF-8"?>
<items>
<item type="sharedQuery" id="PartSubPartkeys">
<query minversion="9">
<sql>
<![CDATA[ select 'PARTITION KEYS' PARTITION_LEVEL,substr(sys_connect_by_path(column_name,','),2) "PARTITION KEYS"
from (select column_name, column_position
from all_part_key_columns
where owner = :OBJECT_OWNER
and name = :OBJECT_NAME
and object_type='TABLE' )
start with column_position=1
connect by column_position=prior column_position+1
union all
select 'SUBPARTITION KEYS' ,substr(sys_connect_by_path(column_name,','),2)
from (select column_name, column_position
from all_subpart_key_columns
where owner = :OBJECT_OWNER
and name = :OBJECT_NAME
and object_type='TABLE' )
start with column_position=1
connect by column_position=prior column_position+1]]></sql>
</query>
</item>
<item type="sharedQuery" id="PartSubPartkeysFI">
<query minversion="9">
<sql>
<![CDATA[ select 'PARTITION KEYS' PARTITION_LEVEL,substr(sys_connect_by_path(column_name,','),2) "PARTITION KEYS"
from (select column_name, column_position
from all_part_key_columns
where owner = :OBJECT_OWNER
and name = (select table_name
from all_indexes
where index_name=:OBJECT_NAME
and owner=:OBJECT_OWNER)
and object_type='TABLE' )
start with column_position=1
connect by column_position=prior column_position+1
union all
select 'SUBPARTITION KEYS' ,substr(sys_connect_by_path(column_name,','),2)
from (select column_name, column_position
from all_subpart_key_columns
where owner = :OBJECT_OWNER
and name =(select table_name
from all_indexes
where index_name=:OBJECT_NAME
and owner=:OBJECT_OWNER)
and object_type='TABLE' )
start with column_position=1
connect by column_position=prior column_position+1]]></sql>
</query>
</item>
<item type="sharedQuery" id="Partitions">
<query minversion="9">
<sql>
<![CDATA[ select partition_name, num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED from all_tab_partitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME order by partition_position]]></sql>
</query>
</item>
<item type="sharedQuery" id="SubPartitions">
<query minversion="9">
<sql>
<![CDATA[ select subpartition_name, partition_name, num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED from all_tab_subpartitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME order by partition_name,subpartition_position]]></sql>
</query>
</item>
<item type="editor" node="TableNode" >
<title><![CDATA[Partitions/SubPartitions]]></title>
<query id="PartSubPartkeys" />
<subquery>
<title>Partitions/SubPartition</title>
<query>
<sql><![CDATA[select partition_position, partition_name "Partition/Subpartition", tablespace_name,high_value,compression,num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED from all_tab_partitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and 'PARTITION KEYS'=:PARTITION_LEVEL
union all
select subpartition_position, partition_name||'/'||subpartition_name, tablespace_name,high_value,compression,num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED from all_tab_subpartitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and 'SUBPARTITION KEYS' =:PARTITION_LEVEL
order by 2]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="MViewNode" >
<title><![CDATA[Partitions/SubPartitions]]></title>
<query id="PartSubPartkeys" />
<subquery>
<title>Partitions/SubPArtition</title>
<query>
<sql><![CDATA[select partition_position, partition_name "Partition/Subpartition", tablespace_name,
high_value,compression,num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED
from all_tab_partitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and 'PARTITION KEYS'=:PARTITION_LEVEL
union all
select subpartition_position, partition_name||'/'||subpartition_name, tablespace_name,high_value,
compression,num_rows,AVG_ROW_LEN, blocks ,LAST_ANALYZED
from all_tab_subpartitions where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and 'SUBPARTITION KEYS' =:PARTITION_LEVEL
order by 2]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="IndexNode" >
<title><![CDATA[Partitions/SubPartitions]]></title>
<query id="PartSubPartkeysFI" />
<subquery>
<title>Partitions/SubPArtition</title>
<query>
<sql><![CDATA[select partition_position, partition_name "Partition/Subpartition", tablespace_name,high_value,compression,
Leaf_Blocks, Distinct_Keys, clustering_factor ,LAST_ANALYZED
from all_ind_partitions where index_owner = :OBJECT_OWNER and index_name = :OBJECT_NAME
and 'PARTITION KEYS'=:PARTITION_LEVEL
union all
select subpartition_position, partition_name||'/'||subpartition_name, tablespace_name,high_value,compression,
Leaf_Blocks, Distinct_Keys, clustering_factor ,LAST_ANALYZED
from all_ind_subpartitions
where index_owner = :OBJECT_OWNER
and index_name = :OBJECT_NAME
and 'SUBPARTITION KEYS'=:PARTITION_LEVEL
order by 2]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="TableNode">
<title><![CDATA[Unabridged SQL]]></title>
<query>
<sql><![CDATA[select :OBJECT_OWNER OOWNER, :OBJECT_NAME ONAME, 'TABLE' OTYPE from dual union all select owner,index_name,'INDEX' from all_indexes where table_owner= :OBJECT_OWNER and table_name=:OBJECT_NAME ]]></sql>
</query>
<subquery type="code">
<query>
<sql><![CDATA[select dbms_metadata.get_ddl(:OTYPE,:ONAME, :OOWNER) "SQL Statements" from dual]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="TableNode">
<title><![CDATA[Partition Columns Statistics]]></title>
<query id="Partitions" />
<subquery>
<query>
<sql>
<![CDATA[ select COLUMN_NAME, NUM_DISTINCT, LOW_VALUE, HIGH_VALUE, DENSITY, NUM_NULLS
from all_part_col_statistics where owner = :OBJECT_OWNER
and table_name = :OBJECT_NAME
and partition_name= :PARTITION_NAME
order by column_name]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="TableNode">
<title><![CDATA[SUBPartition Columns Statistics]]></title>
<query id="SubPartitions" />
<subquery>
<query>
<sql>
<![CDATA[ select COLUMN_NAME, NUM_DISTINCT, LOW_VALUE, HIGH_VALUE, DENSITY, NUM_NULLS from all_subpart_col_statistics where owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and subpartition_name=:SUBPARTITION_NAME order by column_name]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="MViewNode">
<title><![CDATA[Partition Columns Statistics]]></title>
<query id="Partitions" />
<subquery>
<query>
<sql>
<![CDATA[ select COLUMN_NAME, NUM_DISTINCT, LOW_VALUE, HIGH_VALUE, DENSITY, NUM_NULLS
from all_part_col_statistics where owner = :OBJECT_OWNER
and table_name = :OBJECT_NAME
and partition_name= :PARTITION_NAME
order by column_name]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="MViewNode">
<title><![CDATA[SUBPartition Columns Statistics]]></title>
<query id="SubPartitions" />
<subquery>
<query>
<sql>
<![CDATA[ select COLUMN_NAME, NUM_DISTINCT, LOW_VALUE, HIGH_VALUE, DENSITY, NUM_NULLS from all_subpart_col_statistics where owner = :OBJECT_OWNER and table_name = :OBJECT_NAME and subpartition_name=:SUBPARTITION_NAME order by column_name]]></sql>
</query>
</subquery>
</item>
<item type="editor" node="SchemaFolder" minversion="10.1">
<title><![CDATA[Sessions]]></title>
<query>
<sql><![CDATA[select sid,serial#,program,last_call_et,machine, status, sql_hash_value shv,sql_child_number scn
from v$session
order by 1]]></sql>
</query>
<subquery>
<query>
<sql><![CDATA[select * from table(dbms_xplan.display_cursor(:SHV,:SCN))]]></sql>
</query>
</subquery>
</item>
</items>
and add the following line to your ide.conf file (in jdev/bin directory in the sqldev install dir)
AddVMOption -Draptor.user.editors=fullpathofthefile(dir and name)
and restart, you'll get several additional tabs to the ones displayed for tables.
enjoy -
How to make a copy of an application with its schema-tables,data and all
Good day,
I am looking for the best way to make a copy of an application from one computer to another, including the schema (tables, data and all) in Apex3.2.
I can only manage to make a copy of the application without the data using the export utility
Please assist with this difficulty
Kind Regards
Thabo
Edited by: Thabo K on Jun 1, 2009 1:13 AMHello,
To copy across the data you can use the traditional EXP/IMP or the Datapump utility.
If you're used to using EXP/IMP I'd encourage you to look at Datapump, if you haven't used EXP/IMP before I'd encourage you to look at Datapump (datapump rocks) -
http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
There are a few major differences between Datapump and traditional EXP/IMP (EXP/IMP creates the export file on the client side, Datapump creates it on the server side etc).
In my book "Pro Oracle Application Express" I have a section on cloning applications/data between instances, which you might find useful.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
Where to find Oracle Apps HR schema table structures?
Hi!
Can someone guide me to the link where I can find the HR schema table structures for Oracle E-Biz suite 11.5.10?
Previously, i used to get them under Top Tech Docs on the metalink.
Thanks and regards,
AparnaHi Aparna,
You can also find in http://irep.oracle.com/index.html
Regards,
Naga Suresh. Challapalli
Maybe you are looking for
-
Hi, I'm working on Automatic Payment Process in the form of Letter generated by SAP SCRIPT. The program program initially it was standand form for the letter/receipt generation, now they want to do the same using another custom FORM which is used by
-
Not able to see Employee type supplier after upgrade to 12.1.2
We have custom responsibility for Payables Manager, after upgrade to 12.1.2 from 11.5.10, some of the employees are not able to see the Employee Type supplier, but some employees are able to see all. I thought this maybe related to Role so I tried to
-
Internal iMac hard drive keeps trying to power down without my consent
How do you stop an internal hard drive from shutting down when you didn't ask it to? Background: I use Missing Sync for Palm to sync my Palm handheld with my iMac. My Palm has a SD card slot it in and the sync software came with a program that allows
-
How to install iTunes so that it doesn't effect DVD-CD drive drivers on PC
I have a new Dell laptop Inspiron 1525 that I installed the latest version of iTunes on. When I installed iTunes it knocked out my DVD-CD drive. Dell techs helped me to reinstall drivers for my DVD CD drive - which then worked, but, this corrupted iT
-
How do you make a bootable install partition from a disk image of an install disk.
I have an iMac g4 running Leopard and would like to install OS X 10.3 on a different partition Leopard is on. However the super drive in the iMac will not read the disk I have, so I used my MacBook Pro to make a disk image of the install disk to use