Primavera P6 R8.1 functionality matrix query.
Hi Can you please help me?
I am currently looking at the P6 R8.1 functionality matrix and it contains the following new features:
1. View user sessions screen
2. Draw bars based on UDF dates
3. Create Hierarchical Custom Risk Categories
4. Monitor Projects for over allocation
I am trying to find out the details of each element. Is there any details anywhere on these new features?
Thank you
use web client for admin features.
Similar Messages
-
When using TODATE function MDX query is not correctly generated
Essbase 9.3.1.2 and OBIEE 10.1.3.4.1.
When using TODATE function MDX query is not correctly generated.
This leads to unexpected values not only on cumulative columns in report (generated with TODATE), but also other columns (calculated with AGO function or directly read from cube) have incorrect values.
The problem occurs when you filter on a column that is not in the select list. If you filter on just one level of dimension, results are fine. You can filter on multiple dimensions as long as you filter on just one level of each dimension.
If you filter on two or more levels of one dimension, than results are not correct. In some cases results for TODATE column are all zeros, in some cases it is a random value returned by Essbase (same random value for all rows of that column), and in some cases BI Server returns an error:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Essbase Error: Network error [10054]: Cannot Send Data (HY000).
Here is generated MDX code:
With
set [Grupe proizvoda2] as '{[Grupe proizvoda].[N4]}'
set [Grupe proizvoda4] as 'Generate([Grupe proizvoda2], Descendants([Grupe proizvoda].currentmember, [Grupe proizvoda].Generations(4), leaves))'
set [Segmentacija2] as '{[Segmentacija].[RETAIL]}'
set [Segmentacija4] as 'Filter(Generate({[Segmentacija2]}, Descendants([Segmentacija].currentmember, [Segmentacija].Generations(4),SELF), ALL), ([Segmentacija].CurrentMember IS [Segmentacija].[AFFLUENT]))'
set [Vrijeme3] as '{[Vrijeme].[MJESEC_4_2009]}'
member [Segmentacija].[SegmentacijaCustomGroup]as 'Sum([Segmentacija4])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
member [Accounts].[MS1] as '(ParallelPeriod([Vrijeme].[Gen3,Vrijeme],2,[Vrijeme].currentmember), [Accounts].[Trosak kapitala])'
member [Accounts].[MS2] as '(ParallelPeriod([Vrijeme].[Gen3,Vrijeme],1,[Vrijeme].currentmember), [Accounts].[Trosak kapitala])'
member [Accounts].[MS3] as 'AGGREGATE({PeriodsToDate([Vrijeme].[Gen2,Vrijeme],[Vrijeme].currentmember)}, [Accounts].[Trosak kapitala])'
select
{ [Accounts].[Trosak kapitala],
[Accounts].[MS1],
[Accounts].[MS2],
[Accounts].[MS3]
} on columns,
NON EMPTY {crossjoin ({[Grupe proizvoda4]},{[Vrijeme3]})} properties ANCESTOR_NAMES, GEN_NUMBER on rows
from [NISE.NISE]
where ([Segmentacija].[SegmentacijaCustomGroup])
If you remove part with TODATE function, the results are fine. If you leave TODATE function, OBIEE returns an error mentioned above. If you manually modify variable SOLVE_ORDER and set value to, for example, 100 instead of AGGREGATION_SOLVEORDER, results are OK.
In all cases when this variable was modified in generated MDX, and query manually executed on Essabse, results were OK. This variable seems to be the possible problem.Hi,
Version is
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Sorry, in my last post i forgot to mention that i already created a function based index but still it is not using because, there is a UNIQUE constraint on that column.
Thanks -
Function returning query takes more time to run in Apex4.0
Hi All,
I created a report using function returning query. The function returns query based the parameters which returns dynamic columns. When I run the query in sql developer the query generates and returns the result in 3mins. But in apex it takes maximum of 35mins to return.
The query will return around 10000 rows.
Is it a performance issue in the query or in Apex?can anyone please help
Regards
RajRajEndiran wrote:
Hi Roel,
Thanks much for your suggestion. I run in TOAD and got the result as
Row 1 of 500 fetched so far in 3.31 minutes which means it queried for 500 records alone ? is that not the actual time taken to run the fulll query?That reflects the time to return the first 500 records...
Please suggest.With all the best will in the world, if I was your user and I had to wait 3 minutes for the page to refresh, I'd steadily lose the will to live!
As this is primarily an SQL tuning question, have a look at this message in the FAQ thread in the {forum:id=75} forum:
{message:id=9360003}
That should give you some pointers on the right approach. -
How to create user function in Data Functions in Query Designer?
Could someone tell me how to create user function in Data Functions in Query Designer?
I mean function like "NDIV0" in Data Functions.
SAP BW 3.x.
Query Designer (SAP BW 3.x)Hi check the following URL, it gives how to add in Formulas in formula Builder, not in DataFunctions.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f095592f-42f7-2a10-6ab1-c836a559b48f
Thanks
Reddy -
How to create search function (af:query) using method in java
hi All..:)
i got problem with search custom (af:query), how to create search function/ af:query using method in java class?
anyone help me....
thx
agungdmtHi,
download the ADF Faces component demo sources from here: http://www.oracle.com/technetwork/testcontent/adf-faces-rc-demo-083799.html It also has an example for creating a custom af:query model
Frank -
How send parameter in prerender() function for query
Sir I use requestbean for sending data to next page
Because want use this parameter in query
I get data as per this parameter
But when I call next page not pass parameter value to next page and query use blank parameter
I write code in prerender()
See my code
public void prerender() {
try {
getSessionBean1().getTripRowSet().setObject( 1, parameter1..getValue());
tripDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + “no record “);
log("Cannot switch to person " + “no record , e);
Please give me idea how I send my parameter in prerender() function for query
Thank’s
aamirsir i try SessionBean but same as result
sir you see my full problem
I use studio creator
I create two page first for sending data to other page such as user login page
I add property in SessionBean, RequestBean and bind to data with my user name textfield
and in next page I bind to data with other textfield
after this I try to use this textfield use in
public void prerender() {
try {
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
chartofaccDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " + �noooo�t);
log("Cannot switch to person " + �noooo�, e);
In this line I use that textfiled that bind to data form login page
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
but sir this public void prerender() { function t not get textfield1 value in this function textfield give me null value
but when page complete run then show value in textfield
it mean this public void prerender() { function run befor SessionBean, RequestBean and not get SessionBean, RequestBean value
please give me idea how I pass value in public void prerender() { function form other page and I use this value in query
such as example
getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
this is my sessionbean query
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ?
please give me idea
thank�s
aamir
SELECT ALL FNET.CHARTOFACC.PARENT,
FNET.CHARTOFACC.CHILD,
FNET.CHARTOFACC.ACCID,
FNET.CHARTOFACC.TITLE,
FNET.CHARTOFACC.CAMPID,
FNET.CHARTOFACC.ACTIVE,
FNET.CHARTOFACC.FSTATUS,
FNET.CHARTOFACC.COMHEADID,
FNET.CHARTOFACC.FIX_VARIABLE,
FNET.CHARTOFACC.VARI_PER
FROM FNET.CHARTOFACC
WHERE FNET.CHARTOFACC.CAMPID = ? -
Hi ,experts
i just need a matrix query report on sales order. It contains quanity ana monthHi,
Welcome you post on the forum.
You may check this first: Monthly Sales By Geography
Please do not post more than one thread with similar question. Make sure your question is easily understandable.
You could also get my book from Packtpub for knowing more about query in B1.
Thanks,
Gordon -
Looking for functionality matrix for SRM 7.0
Hi Folks,
where can I find the functionality matrix for SRM 7.0 ?
Regards,
MiteshHello,
I am not sure what you mean by functionality matrix, but in https://websmp101.sap-ag.de/sp-stacks you can find more information of support packages contents, which are delivered when you implement/upgrade your SRM.
Regards
Ricardo -
Oracle function and query return different results
Hi, I am using oracle 10g database.
Function is :
create or replace FUNCTION FUNC_FAAL(myCode number,firstDate date
*, secondDate date)*
RETURN INTEGER as
rtr integer;
BEGIN
select count() into rtr*
from myschema.my_table tbl where tbl.myDateColumn between firstDate and
secondDate and tbl.kkct is null and tbl.myNumberColumn = myCode ;
return (rtr);
END FUNC_FAAL;
This function returns 117177 as result.
But if I run same query in the function seperately ;
select count()*
from myschema.my_table tbl
where tbl.myDateColumn between firstDate and secondDate
and tbl.kkct is null and tbl.myNumberColumn = myCode ;
I get different result 11344 (which is the right one).
Table and function are in the same schema.
What can be the problem ?
Thanks.1. i think ur parameter name and Column names are same Firstdate and seconddate try to choose different name
2. try using Trunc function around your dates
where trunc(tbl.myDateColumn) between trunc(firstDate) and trunc(secondDate)then compare the result....sometimes time elements comes into play.
Baig
[My Oracle Blog|http://baigsorcl.blogspot.com/] -
Report based on function returning query
Hi all,
I created a function FCT_1 in a package PKG, here is an exemple :
function FCT_1(te in number) return varchar2
is
q varchar2(4000);
begin
if te = '1' then
q := 'Select * from Clientele';
else
q := 'Select * from Compagnie';
end if;
return q;
end;
And I call this function the region source of my report like this :
Declare
q varchar2(4000);
Begin
q:=PKG.FCT_1(:P2_Nb); -- P2_Nb = 1 or 2
return q ;
end;
But I got this error :
report error:
ORA-01403: no data found
I need your help.
BennI got it,
I just use the Use Generic Column Names (parse query at runtime only) option.
I don't know why do I have to do it.
Thanks
Benn -
Issues using SUM Function in query
I have pasted two queries Query1 (calculating counts for total_ships and ships_released) and Query2 (calculating the two same counts and then calculating SUM for total_shipments and I am having problem in this)
Query 1:
select b.loc , b.week, b.vvalue2, b.Total_ships, nvl(a.up_date,'None') as datee , nvl( a.ships_rel_total,0) as Total_released
from (
SELECT l.loc , sr1.vvalue1 as Week, sr.vvalue2 , to_char(ss.udate, 'YYYY-MM-DD') as up_date , count(distinct s.ship_id ) as ships_rel_total
FROM ship s, loct l,
ship_num sr1, ship_num sr, ship_stat ss, ship_stat ss1
WHERE ......
Group by l.loc , sr1.vvalue1, sr.vvalue2 , to_char(ss.udate, 'YYYY-MM-DD')
) A,
( SELECT distinct l.loc , sr1.vvalue1 as Week, sr.vvalue2 , count(s.ship_id ) as Total_Ships
FROM ship s, loct l,
ship_num sr1, ship_num sr, ship_stat ss, ship_stat ss1
WHERE ......
Group by c.loc , c.week , c.vvalue2 ) B
where a.loc (+) = b.loc
and a.vvalue2 (+) = b.vvalue2
order by b.loc, b.week , b.vvalue2,a.up_date; Query 1 Output:
*OUTPUT*
LOC WEEK VALUE2 TOTAL_SHIPS DATEE TOtAL_SHIPS_RELEASED
AA 111 BB 12 10-05-12 2
AA 111 BB 12 11-05-12 4
AA 111 CC 2 14-05-12 1Then I added sum function for total_ships and its not giving me result what I need :(
Query 2:
select b.loc , b.week, b.vvalue2, b.sum_ships, nvl(a.up_date,'None') as datee , nvl( a.ships_rel_total,0) as Total_released
from (
SELECT l.loc , sr1.vvalue1 as Week, sr.vvalue2 , to_char(ss.udate, 'YYYY-MM-DD') as up_date , count(distinct s.ship_id ) as ships_rel_total
FROM ship s, loct l,
ship_num sr1, ship_num sr, ship_stat ss, ship_stat ss1
WHERE ......
Group by l.loc , sr1.vvalue1, sr.vvalue2 , to_char(ss.udate, 'YYYY-MM-DD')
) A,
( Select c.loc, c.week , c.vvalue2 , sum(c.total_ships) sum_ships
from
( SELECT distinct l.loc , sr1.vvalue1 as Week, sr.vvalue2 , count(s.ship_id ) as Total_Ships
FROM ship s, loct l,
ship_num sr1, ship_num sr, ship_stat ss, ship_stat ss1
WHERE ......
Group by l.loc , sr1.vvalue1 , sr.vvalue2 ) C
Group by c.loc , c.week , c.vvalue2 ) B
where a.loc (+) = b.loc
and a.vvalue2 (+) = b.vvalue2
order by b.loc, b.week , b.vvalue2,a.up_date; my query is giving me this :(
Query 2 Output:
LOC WEEK VALUE2 *SUM_SHIPS* DATEE TOtAL_SHIPS_RELEASED
AA 111 BB 26 10-05-12 2
AA 111 BB 26 11-05-12 4
AA 111 CC 26 14-05-12 1
But I need a result like this:
LOC WEEK VALUE2 SUM_SHIPS DATEE TOtAL_SHIPS_RELEASED
AA 111 BB 14 10-05-12 2
AA 111 BB 14 11-05-12 4
AA 111 CC 14 14-05-12 1Hi,
It sounds like you have a Fan Trap , where a one-to-many relationship is causing some items to be counted many times.
The usual solution is to compute the aggregates before doing the one-to-many join. Analytic functions may make this simpler.
Sorry, I can't show you exactly how to do it without the exact data.
Post CREATE TABLE and INSERT statements for all tables involved, and also post the results you want from that data (if different from what you've already posted).
Explain, using specific examples, how you get those results from that data.
Simplify the problem as much as possible. If the problem only concerns the total_ships column, then only post the data needed to compute total_ships. This includes all the columns involved in the joins and GROUP BY clauses.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ {message:id=9360002} -
How To Write A Matrix Query in Oracle 10g
Hi All,
I need to write a query displaying total of each Month and each quarter total. Here is example:
CREATE TABLE T_CUST_REG(
CUST_ID NUMBER,
CUST_NAME VARCHAR2(255),
REGDATE DATE);
INSERT INTO T_CUST_REG VALUES (1, 'A','01-JAN-2012');
INSERT INTO T_CUST_REG VALUES (2, 'B','01-FEB-2012');
INSERT INTO T_CUST_REG VALUES (3, 'C','01-MAR-2012');
INSERT INTO T_CUST_REG VALUES (4, 'D','01-APR-2012');
INSERT INTO T_CUST_REG VALUES (5, 'E','01-MAY-2012');
INSERT INTO T_CUST_REG VALUES (6, 'F','01-JUN-2012');
INSERT INTO T_CUST_REG VALUES (7, 'G','01-JUL-2012');
INSERT INTO T_CUST_REG VALUES (8, 'H','01-AUG-2012');
INSERT INTO T_CUST_REG VALUES (9, 'I','01-SEP-2012');
INSERT INTO T_CUST_REG VALUES (10, 'J','01-OCT-2012');
INSERT INTO T_CUST_REG VALUES (11, 'K','01-NOV-2012');
INSERT INTO T_CUST_REG VALUES (12, 'L','01-DEC-2012');
Output REQUIRED:
JAN
FEB
MAR
Q1
APR
MAY
JUN
Q2
JUL
AUG
SEP
Q3
OCT
NOV
DEC
Q4
1
1
1
3
1
1
1
3
1
1
1
3
1
1
1
3
I am able to create matrix with following query, but issue is how to put Quarter(total) in between.
Select Count(1), TO_CHAR(REGDATE, 'MON') MON
FROM T_CUST_REG T
GROUP BY TO_CHAR(REGDATE, 'MON');
RegardsHi,
The query you posted will produce a separate row for each month, not a separate column. Is that what you want?
If so, you can add the quarterly totals with GROUPING SETS, like this:
SELECT COUNT (*) AS cnt
, CASE
WHEN GROUPING (TRUNC (regdate, 'MONTH')) = 0
THEN TO_CHAR (TRUNC (regdate, 'MONTH'), 'YYYY MON')
ELSE TO_CHAR (TRUNC (regdate, 'Q'), 'YYYY "Q"Q')
END AS label
FROM t_cust_reg
GROUP BY GROUPING SETS ( (TRUNC (regdate, 'MONTH'))
, (TRUNC (regdate, 'Q'))
Instead of calling TRUNC over and over, you might want to do it just 2 times, in a sub-query, giving aliases to the results, and then use the aliases over and over in the main query.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the exact results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Excel Function to query BW using Web Services API
Hello,
I need to write an Excel function as an .XLA that will do the following:
It will be invoked like any other Excel function. E.g. =GetCost(param p1, param p2)
This function queries an InfoCube and must return a single numerical value for the Cell in Excel that the function is used in.
I have never done anything like this before. I have done a decent amount of reading to discover the best way to attack this. It seems like the best way to create this functionality is to:
1. create a web service in a BW function group with a function module that is RFC enabled.
2. I'm thinking the function module will use native SQL to query the InfoCube and pull the value and then somehow pass this value to a web service.
3. The value in the web service will be accessed through it's API in Excel/VBA.
I am not sure if this is best way to do this, or if it is even possible to do it this way. I was wondering if anyone could tell me if I am heading down the right path and possibly direct me to a tutorial or other information that would aid in accomplishing this. I have yet to find some type of proof of concept from beginning to end on how to do something like this. Any help would be greatly appreciated.
These are the documents I have found insightful so far:
How to build an XLA: http://www.fontstuff.com/vba/vbatut03.htm
If you can read a table and dump it into Excel then you can query an InfoCube? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c043d836-166c-2910-b99e-ae3633dec547
How to view a webservice homepage: http://help.sap.com/saphelp_nw04/helpdata/en/1c/472e22c45cc94599ab3725bc9558d2/content.htm
How to create a webservice:
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
What I am missing is how to pass data from the function module to the webservice, and from the webservice to the Excel/VBA code.
Thanks!
-Gary/bump
-
How to check multiple special characters in instr function sql query.
Hi,
The following special characters are comma(,), slash(/), colan(:)
these special characters i need to be check in instr function.
select SUBSTR(master_title,1,INSTR(master_title,',',1,1)-1) from dual;
Can you please write the query with right answer.
Thanks in advance,
Lakshman.Why multiple post?
How to check multiple special characters in this query. -
I'm trying to write a PL/SQL function to dynamically return a query with varying # of columns. I've done this type of thing before wiith much success, however this is the first time I'm using a cursor for loop within a function to accomplish my task.
here is the error I get:
ORA-01858: a non-numeric character was found where a numeric was expected
Error ERR-1101 Unable to process function body returning query.
Mind you I have tested the PL/SQL from a SQL editor and it works fine. I'm confused.
Code is below.
Thanks in advance!
DECLARE
my_query varchar2(4000);
string1 varchar2(50) := 'select city, ';
string2 varchar2(4000) := '' ;
string3 varchar2(4000):= 'from
( select a.title, a.city, a.start_date, sum(a.total_stu) cnt
from sj_class_summary3 a
group by a.title, a.city, a.start_date
having a.title = :P4_COURSE )
group by title, city';
TYPE date_tab_type IS TABLE OF date INDEX BY PLS_INTEGER;
date_tbl date_tab_type;
i number;
BEGIN
i:=1;
for myrec in (select distinct start_date from sj_class_summary3
where start_date between :P4_START_DATE and :P4_END_DATE order by 1) loop
date_tbl(i) := myrec.start_date;
string2 := string2 || ' max( decode( start_date, ''' || date_tbl(i) || ''', cnt,0) ) "' || date_tbl(i) || '", ';
i := i+ 1;
end loop;
string2 := SUBSTR(string2,1,LENGTH(string2)-2);
string2 := string2 || ' ';
my_query := string1 || string2 || string3;
return my_query;
END;Hi Bob,
you also have another date to character to date conversion in:
decode( start_date, ''' || date_tbl(i) || ''', cnt,0)
does this need to be:
decode( start_date, to_date(''' || to_char(date_tbl(i), 'dd/mm/yyyy') || ''', ''dd/mm/yyyy''), cnt,0)
Regards
Michael
Maybe you are looking for
-
NVision monthly report daily ledger
Hello, We are currently utilizing a daily ledger, with PER timespan corresponding to a daily calendar ( PER 1 - PER 365 for non-leap and PER 1 - PER 366 for leap years). We also have monthly timespans set up for leap and non-leap years ( PER1_L - PER
-
Help! I've forgotten my master password to my imac.
I was recently going through a divorce, and had stored my entire household in a storage unit, including my iMac. Now I can't remember the Master password. Can anyone tell me how to reset it, PLEASE? Thanks so much!
-
Hi Guys, I have a Text as "ABCDEFGH" I need to remove the Quotes ( " ) at the start and the end. Kindly help. Thanks and regards, Frank
-
Has anyone had this scanner working with the Apple drivers? Mavericks still adds this scanner and even gives it the correct icon in the dock. But, the CYMK channels are offset making the output images unusable. Surely this must be a driver fault whic
-
Hi All! Recently I've added a TV tuner Card (MS-8606) to my MEGA PC 651. This card is not TV@nywhere, but very similar one. It is the "optional TV tuner card" MSI talks about in the description of MEGA PCs. The card does not have FM tuner, as MEGA PC