Alias for dimension member
How can you create the alias for the actual dimension name / member.
We have multiple languages and want to be able to translate the dimension name. The dimension alias in EPMA actually gives it the name for the dimension not the alias so how do you set up the alias? Seems silly they named it an alias when it isn't an alias.
We tried adding the alias in EAS but no luck there.
We are on version 11.1.2.1
The dimension alias in EPMA should not be confused with the aliases asociated to the languague alias tables for members. If you look at the epma you will notice that dimension alias is a system property not a planning property. There is no way to associate that system property to your alias tables in planning. when you look at the planning properties for the dimension you will see that there is no way to indicate an alias for a dimension node, because this is not a property for planning at the dimension node level.
Instead what happens is that when you first deploy an application you can determine whether you want to display/deploy it with the alias as name, or the actual name or both in one or the other order. That is the use of the alias for dimensions for planning. But you cannot have multiple language aliases for the Dimension.
Agnete
Similar Messages
-
Syntax rules for dimension member?
What are the rules regarding a dimension member? Is there a character limit? I keep getting an Incorrect Syntax for member error (3305).
Error log looks like this(I know it's hard to read):
\\Record #25621 - Incorrect Syntax For Member XTO 20 PIPELINE (USE 707702) UNIT 073919 U073919 XTO 20 PIPELINE (USE 707702) U073919 (3305)
ETX '
65600 '
EAST TX-OP '
65600 '
65600.0001 '
UNIT 073919 '
XTO 20" PIPELINE (USE 707702) UNIT 073919 '
U073919 '
XTO 20" PIPELINE (USE 707702) U073919'
('-designates end of line)from the dbag:
When naming dimensions, members, and aliases in the database outline, follow these rules:
Use no more than the maximum lengths that are specified in Appendix A, “Limits”.
Names are not case-sensitive unless case-sensitivity is enabled. See “Setting Outline Properties” in the Essbase Administration Services Online Help.
Do not use " (quotation marks) or tabs anywhere in a name.
Do not place spaces at the beginning or end of a name. Analytic Services ignores spaces at the beginning or end of a name.
Do not use the following characters at the beginning of a name:
@ at signs
() parentheses
\ backslashes
. periods
{ } braces
+ plus signs
, commas
- dashes hyphens, or minus
_ underscores
= equal signs
| vertical bars
< less than signs
'single quotation marks
Do not use the following words as dimension or member names:
Calculation script commands, operators, and keywords. For a list of commands, see the Technical Reference.
Report writer commands. For a list of commands, see the Technical Reference.
Function names and function arguments. For a list of functions, see the Technical Reference.
Names of other dimensions, members (unless the member is shared), generation names, level names, and aliases in the database.
Any of the following words:
Note: If you enable Dynamic Time Series members, do not use the associated generation names—History, Year, Season,
Period, Quarter, Month, Week, or Day. See “Applying Predefined Generation Names to Dynamic Time Series
Members” on page 436.
Any of the following words:
ALL
AND
ASSIGN
CALC
CALCMBR
COPYFORWARD
CROSSDIM
CURMBRNAME
DIM
DIMNAME
DIV
DYNAMIC
EMPTYPARM
EQ
EQOP
EXCEPT
EXP
EXPERROR
FLOAT
FUNCTION
GE
GEN
GENRANGE
GROUP
GT
ID
IDERROR
INTEGER
LE
LEVELRANGE
LOOPBLOCK
LOOPPARMS
LT
MBR
MBRNAME
MBRONLY
MINUS
MISSING
MUL
MULOP
NE
NON
NONINPUT
NOT
OR
PAREN
PARENPARM
PERCENT
PLUS
RELOP
SET
SKIPBOTH
SKIPMISSING
SKIPNONE
SKIPZERO
TO
TOLOCALRATE
TRAILMISSING
TRAILSUM
UMINUS
UPPER
VARORXMBR
XMBRONLY
$$$UNIVERSE$$$
#MISSING
#MI -
Excel *.xls or *.xlsx for dimension sheet format in Admin Console?
Dear all:
We are in the process of upgrading BPC 5.1 to 7.0, and I was prompted a message about the Excel format (2007 or 2003) when I first opened up a dimension in Admin Console, after BPC 7.0 was installed.
My questions are:
1. What are the pros and cons?
2. Excel 2003 has the limitation of 65000 rows, so does that mean once I choose 2003 format, my dimension members can only have 65000 limitation? If not, what is the workaround?
3. If I select Excel 2007 as my default format, and want to switch to Excel 2003, is there a way to do so?
Thank you very much!
Sincerely,
BrianHi Brian Hsu,
Please refer to the SAP Note below:
SAP Note 1265872 - Excel 2007 format template supported in Admin console.
Summary
Symptom
Admin console does not support Excel 2007 format in previous versions.
Other terms
BPC 7.0 SP2 Microsoft, BPC 7M SP02, Excel 2007 format(xlsx), Admin console, dimension member sheet,
Reason and Prerequisites
The previous version of Admin console supported Excel 2003 file format only. Users could not use Excel 2007 file format ('xlsx').
Solution
Implemented in 7.0M SP2.
BPC Administration console will support both Excel 2003 and Excel 2007
file format for dimension member sheet. And the BPC Administration
console uses the value of 'MEMBERSHEET_VERSION' in tblDefaults table
internally to judge which file format is used for dimension member
sheet. The value can be "2003" or "2007" and be set by selecting the
value from popup window as below. Once the value is set via the popup
window, the value cannot be changed, so we recommend reading the below
explanation for each case first and then setting the value.
KeyID and Value in tblDefaults;
- [KeyID]: MEMBERSHEET_VERSION
- [VALUE]: "2003" OR "2007"
Below is the behavior of the Excel version when users try to save a
dimension member sheet to server or process dimension with member sheet;
1. No record having MEMBERSHEET_VERSION in tblDefaults after installing
BPC 7M SP2 or later
a)Excel 2003 users
- Download 'xls' file and save to server without any message.
b)Excel 2007 users
- A popup window for selecting 2003 or 2007 will come up and if
user selects 2007, a warning message that Excel 2003 users
cannot usedimension member sheet file anymore will come up once
again and then the file format will be changed to 'xlsx'
- Create, Modify, Copy dimension: The file format of the member
sheet will be 'xls'.
2. MEMBERSHEET_VERSION=2003
a)Excel 2003 users
- Download 'xls' file and save to server as 'xls'
b)Excel 2007 users
- Dimension member sheet file will be saved as 2003 file format by
'SaveAs'
3. MEMBERSHEET_VERSION=2007
a)Excel 2003 users
- User cannot download dimension member sheet file so cannot use
dimension member sheet any more.
b)Excel 2007 users
- Download 'xlsx' file from server and if there is only 'xls', the
file will be downloaded from server and then it will be changed to 'xlsx' when save to server.
- Create dimension: The file format will be 'xlsx'
- Modify, Copy dimension: The file format will be followed by the
downloaded file format.
[Limitation]
If the value of MEMBERSHEET_VERSION is set to 2007, users who use Office 2003 cannot access and modify dimension member sheet file any more. Only users who use Office 2007 can access and modify dimension member sheet. -
Remove access for each member of a particular dimension from Hyperion Planning Applciation
We are trying to remove access for groups for each member of a particular dimension( which has more than 1000 members) of a Hyperion Planning application. We are going through Administration->Manage DImensions -> member , Under security click view and select the group and then remove access But the problem is there are more than 1000 members under this dimension , so it will be time consuming to go to each member and then remove access for the group. Is there any other way we can do this?
Also is there a way to bulk delete native directory groups from Hyperion Shared services, instead of deleting each native group manually one by one?The reaso we want to go for Relational tables is that when we did Exportsecurity utility for that planning application and imported back the SecFile.txt without doing any changes ,still it errored out giving errors like :
"The following access not imported:-"PLN-ORG-0278-999 Bureau Strtgc & Oprtnl ""PLNning",0278-999,READWRITE,MEMBER due toInvalid user name found in the file."
It is erroing out even if we did not do any modifications to the secfile.txt.
Moreover there are more than 1000 members for which we have to remove access permissions manually one by one. It is a tedious process.
So we are looking at other options like , which relational tables have got Native directory groups information, and the sql queires we can execute to remove the unwanted Native directory groups from Shared Services? -
Use short description on OLAP dimension member in disco for OLAP
Hi All,
I've noticed in the spreadsheet add-in you can decide under "query options" whether to use the Long or Short Description when displaying a dimension member. How do you do the same in discoverer PLUS for OLAP ? I cant find it anwhere.
Cheers,
BrandonThis feature is not available in Disco :-( Logged as an enhancement request.
Keith -
Creating UDA for a dimension member
Hi All,
when I am creating UDA for a dimension member in my planning application I get the following error.
The associated dimension ID has not been set for this property. Do you want to create the association now?
Can anyone please let me knwo wahts this error?
ThanksI take this is an EPMA application, you have to create dimension association between the UDA property and the UDA dimension.
Have a read of :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/epma_admin/epma_create_assoc.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Performance issue:Show id and Description for same dimension member
Hi,
I am connecting a cube to another reporting system and i need to show the id of member resulting of a query.My first thought was to use this kind of code (bellow) however when i do the same thing with many dimension (many cross join ),it slow down a lot
my query.So how can i have in the same DImension member showing a description and id ? I also have a lot of statement,so i can't have just two columns in the dimension or i will need to duplication the mdx and i could drop down the performance.
So i am trying to get as a result
Dim1 | Dim2| Dim3| Measure
1 50
32 25.2
and also be able to get
Dim1 | Dim2 | Dim3
| Measure
NameElement1Dim1 NameElement50Dim2
NameElement32Dim3 25.2
Thanks in advance
with MEMBER [Measures].[IdElement] as
<element>.currentmember.properties("KEY")
select
CROSSJOIN({[Measures].[IdElement]},{[METRIC].[Description].[All]}),
CROSSJOIN({[Measures].[value]},{<listmetricmdx>})
} on columns,
<pointofview>
<element_and_function>
<TimeBreakdown>
} on rows
<list_filter_clause>
) as list
where ((ElementName is null AND IdElement=0) OR (ElementName is not null))
<list_condition_metric>
but i have multipleHi Vincent,
In your query, you use CrossJoin in it. Crossjoin function will cause the performance issue if there are a lot of properties that need to be displayed. If you cross-join medium-sized or large-sized sets (e.g., sets that contain more than 100 items each),
you can end up with a result set that contains many thousands of items—enough to seriously impair performance. For the detail information, please see:
http://sqlmag.com/data-access/cross-join-performance
In your MDX query, ensure only retrieval the required data. Here are some useful links for your reference.
Configure memory setting:
http://social.msdn.microsoft.com/Forums/en/sqlanalysisservices/thread/bf70ca19-5845-403f-a85f-eac77c4495e6
Performance Tuning:
http://www.microsoft.com/downloads/details.aspx?FamilyID=3be0488d-e7aa-4078-a050-ae39912d2e43&displaylang=en
http://www.packtpub.com/article/query-performance-tuning-microsoft-analysis-services-part2
Regards,
Charlie Liao
TechNet Community Support -
ORA-35563: Multiple values exist for an attribute of this dimension member
After following the tutorial Building OLAP Cubes I was trying to make a cube with aggregation down to the day instead of down to the month.
I created a times table pretty similar to the one used in the tutorial:
CREATE TABLE EVENT_TIMES (
HOUR_KEY DATE NOT NULL,
DAY_ID VARCHAR2(10),
DAY_NAME VARCHAR2(10),
DAY_END_DATE DATE,
DAY_TIME_SPAN NUMBER,
MONTH_ID VARCHAR2(30) NOT NULL,
MONTH_NAME VARCHAR2(40),
MONTH_END_DATE DATE,
MONTH_TIME_SPAN NUMBER,
YEAR_ID VARCHAR2(30) NOT NULL,
YEAR_NAME VARCHAR2(40),
YEAR_END_DATE DATE,
YEAR_TIME_SPAN NUMBER
As you can see, instead of a DAY_KEY like in the tutorial, I now use an HOUR_KEY.
This is a sample of the data I inserted in this table:
select to_char(hour_key,'YYYYMMDDHH24MISS'),DAY_ID,DAY_NAME,DAY_END_DATE,DAY_TIME_SPAN,MONTH_ID,MONTH_NAME,MONTH_END_DATE,MONTH_TIME_SPAN,YEAR_ID,YEAR_NAME,YEAR_END_DATE,YEAR_TIME_SPAN from event_times;
TO_CHAR(HOUR_KEY,'YYYYMMDDHH24MISS') DAY_ID DAY_NAME DAY_END_DATE DAY_TIME_SPAN MONTH_ID MONTH_NAME MONTH_END_DATE MONTH_TIME_SPAN YEAR_ID YEAR_NAME YEAR_END_DATE YEAR_TIME_SPAN
20140104050000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
20140104060000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
I then created my TIME dimension with DAY as the lowest level.
When I try the maintain cube option it fails at the 'LOAD NO SYNCH' step with the rejected records having an error message that says:
ORA-35563: (XSRWLD17) Multiple values exist for an attribute of this dimension member.
To me, this is a very cryptic message and the only explanation I find online is:
Cause
Multiple source table rows containing different values for a dimension attribute were found. Only the first of the multiple rows has been loaded.
Action
Fix the mapping or remove the rows with conflicting attribute values..
This confuses me. In the tutorial the lowest level was day and the TIMES table contained 1 record for each day.
In my example, the lowest level is hour and the TIMES table contains 1 record for each hour.
Which attribute has multiple values? And which values?
The rejected records (101) are not very clear:
ALIAS_1 = 'MONTH_Y2014M1' AND ALIAS_3 = to_date('31JAN14') AND ALIAS_4 = 31 AND ALIAS_5 = 'Y2014M1' AND ALIAS_6 = 'Y2014M1' AND ALIAS_7 = 'YEAR_Y2014'
If anyone can help point me in the right direction, it would be greatly appreciated.I have seen this recently. The issue is with the dimension load itself. You have a hour level record table but the rules relating to hierarchy/attribute values etc are checked/reinforced during the load and this error comes up sometimes.
I would guess that the issue seems to be with your month level information present in the higher level month columns. There are many records corresponding to a single month in ur case, month of Y2014M1. Information relating to Month level member Jan 2014 or member MONTH_Y2014M1 is present in these records: 31 (days) *24 (hours) = 744 records. The data in these 744 records for columns - MONTH_ID, MONTH_NAME, MONTH_END_DATE, MONTH_TIME_SPAN need to be exactly the same in order for the single member MONTH_Y2014M1 to have month attributes loaded with valid values.
For e.g: if records #1 to #743 contain month_timespan=31 but for some unknown reason record #744 contains month_timespan=30 then this error will come up. OLAP does not know which value to load (31 or 30), and only 1 value can be loaded onto the month level member corresponding to month Y2014M1.
A quick check of the data should give you the answer. Typically there may be some mistake/invalid assumptions made with the boundary records (in your case, check for values for records corresponding to hour=0 or hour=23/24) which is causing the issue.
HTH
Shankar -
Delete data for a single dimension member
Is there anyway to delete all the data for a single dimension member from a particular cube?
olap version: 11.2.0.3Nasar's approach should work, so I would use it so long as it performs well. But I have (several years ago) seen performance issues with CLEAR VALUES when it is applied to something smaller than an entire partition. So here is another method that also uses the FOR...BUILD construct. It clears the value of the PRICE measure in PRICE_COST_CUBE for PRODUCT = '48'. The cube has only two dimensions, TIME and PRODUCT, and I only want to assign to the leaf level of TIME, which is MONTH.
BEGIN
DBMS_CUBE.BUILD(Q'!
"PRICE_COST_CUBE" USING(
FOR
"TIME" LEVELS ("TIME"."MONTH"),
"PRODUCT" WHERE "PRODUCT".DIM_KEY = '48'
BUILD (SET PRICE_COST_CUBE.PRICE = NULL ))!',
PARALLELISM=>0,
ADD_DIMENSIONS=>FALSE);
END;
/You can increase parallelism here if your cube is partitioned. If you need to clear out other measures at the same time, then add additional SET command in the central block. E.g.
BUILD
SET PRICE_COST_CUBE.PRICE = NULL,
SET PRICE_COST_CUBE.COST = NULL
)After this step you can re-aggregate the cube to make the aggregate values reflect the change.
BEGIN
DBMS_CUBE.BUILD(Q'!
"PRICE_COST_CUBE" USING(
FOR
"TIME" LEVELS ("TIME"."MONTH"),
"PRODUCT" WHERE "PRODUCT".DIM_KEY = '48'
BUILD (SET PRICE_COST_CUBE.PRICE = NULL ),
SOLVE)!',
PARALLELISM=>0,
ADD_DIMENSIONS=>FALSE);
END;
/The simple assignment to NULL will generate a simple assignment in the OLAP DML.
PRICE_COST_CUBE_STORED=NAYou can force the code to loop over the existing composite by replacing NULL with something that evaluates to NULL, but involves the composite.
SET PRICE_COST_CUBEW.PRICE = NVL2(NULL, PRICE_COST_CUBE.PRICE, NULL)Here is the generated OLAP DML assignment.
PRICE_COST_CUBEW_STORED=NVL2(NA, GLOBAL.GLOBAL!PRICE_COST_CUBEW_PRICE
, NA) ACROSS GLOBAL.GLOBAL!PRICE_COST_CUBEW_COMPOSITE -
How to copy data for certain member from one dimension to another dimension
Dear ,
I want to copy data for certain member ("511102") from one dimension to another combinations of dimensions ,
I have the following combinations for "511102" :
_("Budget2012","FY12","Working.V01","SAR","BegBalance","1011","G_10","custom Grades")_
I want to copy "511102" to "salary"
-salary have the following dimensions :
_("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")_
, I don't know if I could do it by datacopy of cross dimensional , But I don't HOW >>>
Thanks in advanceFIX("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")
"salary"="511102"->"1011"->"G_10"->"custom Grades";
ENDFIX
or
FIX("Budget2012","FY12","Working.V01","SAR","BegBalance")
DATACOPY "511102"->"1011"->"G_10"->"custom Grades" to "salary"->"General group"->"All grades"->"General Employees";
ENDFIX
Key thing in datacopy is to place the dimensions in cross dimension in the same order. Both sides (before and after "TO") should have equal number of dimension members specified.
Cheers,
Alp -
Deleting comments for multiple dimension member selection
Hi all,
When using the package (using /CPMB/CLEAR) to delete data and comments (TASK(/CPMB/CLEAR_COMMENTS_FOR_CLEAR,ENABLETASK,1)), there seems to be a problem to delete comments when using a multiple member selection. When selecting <all> or a single dimension member for a given dimension, data and comments are effectively deleted. However, when selecting eg 2 members, the data is deleted, but the comments remain in the comment tables. Any ideas on how to solve this, without running the package x-times when comments on x members need to be deleted?
Kind Regards,
ChristopheHi,
I don't know whether your question is answered or not . Please look into the following which may be helpful to you.
As far as i know u can
1. Delete Comments selecting " ALL" member selection.
2. Delete comment selecting " SINGLE MEMBER " --> _Multiple member selection is not supported in NW._
Please look into the following SAP Note on this which may be useful to convince the client:
1372497 - BPC7NW: Behavior of Clear Comments package
Chaithanya -
No UDA Found for Dimension XYZ
We are loading metadata into Planning using outline load utility. The command we are using is as follows:
C:\Hyperion\products\Planning\bin\OutlineLoad -f:%scripthome%\EncPassword.txt /A:NFR /U:%Essid% /M /C /-F /I:C:\Data\NFR_Customer_Dim.csv /D:Entity /L:%scripthome%\Logs\Cust_Dim_OTL_Load.Log /X:c:/outlineLoad.exc
The outline load log throws a *"NO UDA defined for dimension xyz" error.* but seems to load the records fine, without rejecting any. Any idea why this is ?
The first part of the log is :
Successfully logged into "NFR" application, Release 11.113, Adapter Interface Version 5, Workforce supported and not enabled, CapEx not supported and not enabled, CSS Version 3
+"Account" dimension properties and information:+
Account, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Account Type, Time Balance, Skip Value, Exchange Rate Type, Variance Reporting, Source Plan Type, Plan Type (Sales), Aggregation (Sales), Plan Type (Plan2), Aggregation (Plan2), Plan Type (Plan3), Aggregation (Plan3)
No UDA's defined on "Account"+
+"Periods" dimension properties and information:+
Periods, Parent, Alias: Default, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Type, Start Period, End Period, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3)
No UDA's defined on "Periods"+
......... So on and so forth for EACH dimension and then ....
+"Product" dimension properties and information:+
Product, Parent, Alias: Default, Valid For Consolidations, Data Storage, Two Pass Calculation, Description, Formula, UDA, Smart List, Data Type, Operation, Aggregation (Sales), Aggregation (Plan2), Aggregation (Plan3), InputType
UDA's bound to "Product" dimension: Product_Type
+"InputType" attribute dimension (on base dimension "Product"). Attributes defined on the "InputType" dimension: ProductLine; ProductNumber;+
InputType, Parent, Alias: Default, Operation
Exchange Rates properties:
Table, Description, To Currency, From Currency, Operation, Method, Historical, Beg Balance, Year, Period, Average, Ending
UDA properties:
Dimension, UDA, Operation
Translation input file fields:
Value, Driver Member, Point-of-View, Data Load Cube Name
+[Tue Feb 01 01:30:12 EST 2011]Successfully located and opened input file "C:\Data\NFR_Customer_Dim.csv".+
+[Tue Feb 01 01:30:12 EST 2011]Header record fields: Entity, Parent, Alias: Default, Data Storage+
+[Tue Feb 01 01:30:12 EST 2011]Located and using "Entity" dimension for loading data in "NFR" application.+
+[Tue Feb 01 01:30:14 EST 2011]Load dimension "Entity" has been unlocked successfully.+
+[Tue Feb 01 01:30:14 EST 2011]Performing cube refresh[Tue Feb 01 01:30:36 EST 2011]Cube refresh operation has completed. Please check the Essbase log for status.+
+[Tue Feb 01 01:30:36 EST 2011]Create security filters operation will not be performed.+
+[Tue Feb 01 01:30:36 EST 2011]Examine the Essbase log files for status if Essbase data was loaded.+
+[Tue Feb 01 01:30:36 EST 2011]Planning Outline data store load process finished. *1599 data records were read, 1599 data records were processed, 1599 were successfully loaded, 0 were rejected.*+
\Do you get the same errors if you load just the first record from the file, if you don't keep increasing the number of records until you find the record that is causing the problem.
Cheers
John
http://john-goodwin.blogspot.com/ -
Column alias for spatial column within cursor loop using dynamic SQL
The following PL/SQL is trying to generate an error report for records or objects which are 3 dimensional or above. I have no issue execute one statement in SQLPLUS but I need to use the column alias for the spatial column. But, it is a different story using PL/SQL and dynamic SQL Any help will be great because I've been working on this for than 8 hours but with no luck! Thanks.
Here is the error I'm getting,
stmt := 'select p.column_name.get_gtype(), id from '|| table_name p ' where p.column_name.get_gtype() > 2 ';
ERROR at line 15:
ORA-06550: line 15, column 79:
PLS-00103: Encountered the symbol "P" when expecting one of the following:
. ( * @ % & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || member SUBMULTISET_
The symbol "* was inserted before "P" to continue.
and my PL/SQL is,
set serveroutput on size 100000 feedback off
declare
rs integer;
rs1 integer;
cur integer;
rp integer;
trs integer;
n integer;
un varchar2(30);
stmt varchar2(200);
begin
dbms_output.put_line(rpad('Table Name',40)||' Dimension');
dbms_output.put_line(rpad('-',53,'-'));
cur:= dbms_sql.open_cursor;
for t in (select column_name,table_name from user_sdo_geom_metadata where regexp_like(table_name, '[^[A-B]_[AB]$'))
loop
stmt := 'select p.column_name.get_gtype(), id from '|| table_name p ' where p.column_name.get_gtype() > 2 ';
dbms_sql.parse(cur, stmt, dbms_sql.native);
dbms_sql.define_column(cur, 1, rs);
dbms_sql.define_column(cur, 2, rs1);
rp:= dbms_sql.execute(cur);
n:=dbms_sql.fetch_rows(cur);
dbms_sql.column_value(cur, 1, rs);
dbms_sql.column_value(cur, 2, rs1);
dbms_output.put_line(rpad(t.table_name,38,'.')||rpad(rs,15)||rpad(rs1,15));
end loop;
dbms_sql.close_cursor(cur);
dbms_output.put_line(rpad('-',53,'-'));
end;
set serveroutput off feedback on feedback 6The following PL/SQL is trying to generate an error report for records or objects which are 3 dimensional or above. I have no issue execute one statement in SQLPLUS but I need to use the column alias for the spatial column. But, it is a different story using PL/SQL and dynamic SQL Any help will be great because I've been working on this for than 8 hours but with no luck! Thanks.
Here is the error I'm getting,
stmt := 'select p.column_name.get_gtype(), id from '|| table_name p ' where p.column_name.get_gtype() > 2 ';
ERROR at line 15:
ORA-06550: line 15, column 79:
PLS-00103: Encountered the symbol "P" when expecting one of the following:
. ( * @ % & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || member SUBMULTISET_
The symbol "* was inserted before "P" to continue.
and my PL/SQL is,
set serveroutput on size 100000 feedback off
declare
rs integer;
rs1 integer;
cur integer;
rp integer;
trs integer;
n integer;
un varchar2(30);
stmt varchar2(200);
begin
dbms_output.put_line(rpad('Table Name',40)||' Dimension');
dbms_output.put_line(rpad('-',53,'-'));
cur:= dbms_sql.open_cursor;
for t in (select column_name,table_name from user_sdo_geom_metadata where regexp_like(table_name, '[^[A-B]_[AB]$'))
loop
stmt := 'select p.column_name.get_gtype(), id from '|| table_name p ' where p.column_name.get_gtype() > 2 ';
dbms_sql.parse(cur, stmt, dbms_sql.native);
dbms_sql.define_column(cur, 1, rs);
dbms_sql.define_column(cur, 2, rs1);
rp:= dbms_sql.execute(cur);
n:=dbms_sql.fetch_rows(cur);
dbms_sql.column_value(cur, 1, rs);
dbms_sql.column_value(cur, 2, rs1);
dbms_output.put_line(rpad(t.table_name,38,'.')||rpad(rs,15)||rpad(rs1,15));
end loop;
dbms_sql.close_cursor(cur);
dbms_output.put_line(rpad('-',53,'-'));
end;
set serveroutput off feedback on feedback 6 -
How to get the ID of a dimension member in script logic?
Hi everybody,
I am working in some logic scripts and I wonder if exists any option to get the current member ID of a dimension in order to concatenate a string using the member referred and an additional set of caracters such as: MEMBER_ID&"_ccccc".
Moreover, I would like to use this ID dimension member in order to filter members of another dimension whose attribute is equal to the ID of the desired member. Is it feasible?
In conclusion, is it possible to get a variable which is referred to a member ID of a dimension, and using it in order to filtering other dimensions?
Many thanks in advance,
AntonioHi Antonio,
You ask if it is possible compare a dimension id with a property value.. yes it is posible , for doing that you will have to do something like this,
*FOR %ACC1%=ThisA,ThisB,ThisC
*WHEN DIMENSION.PROPERTY=%ACC1%
*REC(............)
*ENDWHEN
*NEXT
if you want to concatenate using a filter theres a posibility, like this example using the time dimension.
*xdim_memberset time=%year%.jan -
>2011.jan
hope it helps -
Error: Invalid dimension member with special character / in BPC NW 7.5 SP7
Hi experts,
We are encountering the following problem in our Financial Planning application.
We are migrating our existing BPC solution from one server to another through backup and restore. The existing solution was on BPC NW 7.5 SP 5. The profit_centre dimension in the existing solutions has several member ids with special character '/' (forward slash). The dimension never threw an error when processed in the existing solution and there is planning transactional data against these member ids.
While the entire configration , appset , files were successfully restored through UJBR on the new system (BPC 7.5 SP7) through UJBR (backup and restore), the masterdata could not be restored only for this Profit_centre (masterdata for other dimensions were processed successfullu). All the member ids with / are rejected for this dimension. The same error is thrown if processed through the admin client from the member sheet.
Error: Dimension member PC_FF/WS/NT is an invalid member ID
Error in Admin module
Is there any setting which need to be made to allow / character in member ids? Any suggestion to get around this problem would be much appreciated.
Thanks
AbhimanHi Abhiman,
Yes, you need to maintain the transformation file to correct all dimension member IDs. Can you please refer to the following link with a similar issue:
conversion file formula not working
Hope this helps.
Rgds,
Poonam
Maybe you are looking for
-
How to send a mail with HTML body from Oracle
Hi Team, Can somebody guide me how to send a mail with HTML body from oracle. Here is the piece of code i am trying to send a mail. procedure SEND_MAIL is cursor c_1 is select * from table_name; l_mail_id varchar2(40); -- ls_mailhost VARCHAR2(64) :=
-
Special characters broken in Pages
Hi all, I upgraded from Snow Leopard to Mavericks last week (very happy with the decision) and from Pages '09 to Pages 5. I soon moved from Pages 5 back to Pages 09 as it broke all my ToCs and had various other nuisances. However, I've come to write
-
I dropped my iPhone 4 but it is in a case which must have protected it so everything still works except the camera. The camera app loads but either the shutter remains closed or opens but all you see is a blank screen. In another forum, they sugges
-
I need help, cannot get any apps, needs serial number
I have a creative cloud membership and cannot get any new apps because it keeps asking me for a serial number when I try to liscence the software. I have tried everything on the forums including uninstalling and reinstalling, putting in my details ag
-
How To open applet inside AWT Frame
Hi there ! I want to open my applet directly inside a AWT Frame window from a hyper link... That is when a user clicks a hyper link i want to open my applet inside a AWT Frame...I do not want my applet to be opened inside a browser window is there an