Syntax error Creating Transparent Partition in MaxL
Hello,
I'm trying to create a simple transparent partition (no mapping needed, just using all the 3 dimensions and descendants in the source database to the target database. I'm getting a syntax error, I went through the MaxL naming conventions and also tried a couple of diffferent things but to no avail. Please help as to what the error might be:
My code is as below. The error I get is: Getting a syntax error near '@IDESCENDANTS("Accounts"), @IDESCENDANTS("Products"),@IDESCENDANTS("Market)
Code:
create transparent partition student8.coke area '@IDESCENDANTS("Accounts"), @IDESCENDANTS("Products"),@IDESCENDANTS("Market")' sourceArea to student8.cokepart at lab01 as essadmin identified by 'password' area '@IDESCENDANTS("Accounts"), @IDESCENDANTS(Products), @IDESCENDANTS("Market")' targetArea;
Nobody replied to this, but actually the error was the double quotes on Accounts, Products and Market.
Similar Messages
-
HT1461 I get an error creating a partition
In Boot camp and in disk utility, I cannot create a partition. I just get an error that it cannot create partition. Any ideas?
Here's your explanation of that icon: http://osxdaily.com/2011/11/22/itunes-match-icons-explained/
-
Transparent Partition Mapping Error
I havd an ASO source cube and BSO target cube
Source Dimensions:-
Periods
Account
Company
CostCentre
Product
Target Dimensions
Periods
Account
FiscalYear
Scenario
Company
CostCentre
Product
Using MAXL I create a partition but I cannot get the mapped area to work correctly. the syntax I am using is :-
create transparent partition 'SOURCE'.'GrpSrc'
area '@DESCENDANTS("Periods"), @IDESCENDANTS("Account"),@IDESCENDANTS("Company"),@IDESCENDANTS("CostCentre"),@IDESCENDANTS("Product")' sourcearea
to 'TARGET'.'GrpTgt'
area '@LEVMBRS("Periods","Lev0,Periods"),@IDESCENDANTS("Account"),@IDESCENDANTS("Company"),@IDESCENDANTS("CostCentre"),@IDESCENDANTS("Product")' targetarea
mapped targetarea('"Actual"') to ('')
mapped targetarea('"CY"') to ('');
The partition is not being created correctly because the extra dimensions in the target cube [Scenario and Fiscal Year] are not mapped
Please let me know what I should be doing to get this to work!
Essbase 11.1.2.1
Many thanksHi ,
This error generally comes when there is an extra dimension in the target datasource.
Yes, you can create a transparent partition between databases having different numbers of dimensions. In your case, you have to create a mapping from 'void' to a member in your extra dimension (i.e. 'Actual') in the target. There is an example in the DBAG.
see the section on this page headed "Mapping Data Cubes with Extra Dimensions": http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/dotprtbd.html.
Thanks,
KKT
http://www.knowhyperion.com -
Hi All
I was trying to create a Partitioning with Maxl script and in the process Essbase went down. I logged back and try to create one partition then it is giving me error saying object database name does not exist.
I cannot see any partition for the database from EAS, but when i run the maxl command to display the object of type partition on the database then it is giving an entry.
I tried to drop it by the drop command but it doesnt work.
Can someone shed some light how to remove the object?
Regards
CelvinI surmise, some Temporary partitioning file are created under Database folder.
Just get into Database folder and remove the following files in background if persists.
ddb - Partitioning definition file
ddm - Temporary partitioning file
ddn - Temporary partitioning file
Regards
Cnee -
I'm trying to create a stored procedure that does not have any IN or OUT parameters. It gives syntax errors:
create or replace
procedure GEN_NEW_DATA
as
cursor for_msgid is select PARENTID from WORKITEM;
msgid_rec for_msgid%rowtype;
begin
for msgid_rec in for_msgid loop
update FIELDTYPE set FIELDVALUE= (select ACCOUNTID from ACCOUNT where ACCOUNTNAME= (select FIELdVALUE from FIELDTYPE where FIELDNAME= msgid_rec.PARENTID || 'xAgency' ) ) where FIELDNAME= msgid_rec.PARENTID || 'xAgency';
commit;
end loop;
dbms_output.put_line('Done');
end;
Can someone help me with the syntax here.msgid_rec for_msgid%rowtype;I think this is not allowed..
----Try this
create or replace
procedure GEN_NEW_DATA
as
cursor for_msgid is select PARENTID from WORKITEM;
--msgid_rec for_msgid%rowtype;
begin
for msgid_rec in for_msgid loop
update FIELDTYPE set FIELDVALUE= (select ACCOUNTID from ACCOUNT where ACCOUNTNAME= (select FIELdVALUE from FIELDTYPE where FIELDNAME= msgid_rec.PARENTID || 'xAgency' ) ) where FIELDNAME= msgid_rec.PARENTID || 'xAgency';
commit;
end loop;
dbms_output.put_line('Done');
end;
Message was edited by:
jeneesh -
MAXL and Transparent Partition
Hello,
I am actually working on the Hyperion Essbase EPM 11.1.2
I am trying to create a transparent partition using a MaxL command:
When I create manually this partition (using EAS): This is validated and data are copied.
When I run the MaxL: The partition, appear but it seems to be broken, I can only repaire or delete the new partition.
If I try to repair it (in EAS), It does not work. I don’t manage to link my partition to source and target database.
I have used with two different users : Admin (native directory) and another user (admin access).
Thanks for your answer,
Arthur.Hi,
What the error message you are getting.
When you create a partition via Mxl editor it will open the interface to create the partiton. Check this Mxl with your mxl.
Thanks, -
Transparent Partitioning Error
Can somebody please help with this error :
[target] - partition definition is not valid: [unable to process area for slice [1] see server log]There are 2 cubes A, B and transparent partition created to third final cube C with both of them. On partition b/w cube B and cube C following error is coming:
[target] - partition definition is not valid: [unable to process area for slice [1] see server log]
I read somewhere on google that this error comes when there is problem with other partitions on same cube.
On partition b/w cube A and cube C following error is coming:
Partition [sestc01as288.danfoss.net:1423 EssDRS EssDRS] is not valid [Target] - Partition definition is not valid: [Partition definition for slice [1] does not parse]
Please suggest some solution how to check. -
Count Distinct Over Partition Syntax Error
Count(Distinct [field]) over (partition by [field2]) returns a syntax error at the key word distinct
Count(all [field]) over (partition by [field2]) compiles fine
I am writing a query to count the number of clients a sales rep has when the sales rep represents multiple companies (ad agency). I need a count of the clients each company has and a distinct count that each rep has. A client may be assigned to multiple companies.
Is a distinct count supported with partitions?Until we wait for the full implementation of the OVER clause, you can
try something like this:
CREATE TABLE Foo (
fookey INT PRIMARY KEY,
company VARCHAR(30),
sales_rep VARCHAR(30),
client VARCHAR(30));
INSERT INTO Foo VALUES(1, 'ABC Corp.', 'Joe', 'Client1');
INSERT INTO Foo VALUES(2, 'ABC Corp.', 'Joe', 'Client2');
INSERT INTO Foo VALUES(3, 'ABC Corp.', 'Peter', 'Client2');
INSERT INTO Foo VALUES(4, 'DEF Corp.', 'Joe', 'Client1');
INSERT INTO Foo VALUES(5, 'DEF Corp.', 'Joe', 'Client3');
SELECT fookey, company, sales_rep, client,
MAX(rk1) OVER(PARTITION BY sales_rep) AS rep_distinct_client_cnt,
MAX(rk2) OVER(PARTITION BY company) AS company_distinct_client_cnt
FROM (
SELECT fookey, company, sales_rep, client,
DENSE_RANK() OVER(PARTITION BY sales_rep ORDER BY client) As rk1,
DENSE_RANK() OVER(PARTITION BY company ORDER BY client) As rk2
FROM Foo) AS F;
fookey company sales_rep client rep_distinct_client_cnt
company_distinct_client_cnt
1 ABC Corp. Joe Client1 3 2
2 ABC Corp. Joe Client2 3 2
3 ABC Corp. Peter Client2 1 2
4 DEF Corp. Joe Client1 3 2
5 DEF Corp. Joe Client3 3 2
Plamen Ratchev
http://www.SQLStudio.com -
Syntax error while creating a invoice
Hi I am new to this forum hope u guys can help me out,
I am ruuning following syntax for creating an invoice and for this error message is coming which is given below.
Select aadrnr astdc1 b~name1 into table inv_head1
From kna1 as a inner join adrc as b on aadrnr = baddrnumber.
Unknown column name "A~STDC1" . field list. . field list. field list.Hi Rupesh,
u have to mention as " select ... into corresponding fields of
table ... ".
regards
Chaitanya. -
Syntax error while creating a standard order
Hi All,
I created a projet in CMOD and than added the enhancement V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
so now i have deactivated the project which i created in CMOD & deleted it aswell,than also i am getting the syntax error while making the order thru VA01.I want to come out of this please.
I would be great ful if somebody helps me *** out of this syntax error.
Thanks
RishiHi Rishi
As you are getting message that "The last statement is not complete (period missing)", check in your assigned project in CMOD the last statement , what is the last statement maintained in that project
Secondly also check the closing period and the current period. as it is giving in the message that "The last statement is not complete (period missing)".So check the current period and check the period maintained in the CMOD
It would be better if you take ABAP'ers help . So post in ABAP forum
Regards
Srinath -
SYntax error while creating a formula for %
Hi All,
I have to calculate Growth percentage and creating formula. But its giving me a syntax error.
I am writing like this:-
(Month to Date Sales-MTD PRior Year Sales)/ MTD PRior Year Sales*100 %
Can anyone please tell me where I am making a mistake.
RegardsSyntex for Percentage Deviation (%)
Plan Sales % Actual Sales (this will give the percentage deviation between Planned Sales and Actual Sales)
this is identical to formula
100 * (Planned Sales - Actual Sales) / (Actual Sales)
please check the space in your foumula
Dev -
Syntax error while creating Calculation view script based
Hi Folks,
I'm creating Calc view based on script and drafted a simple code but I'm getting syntax error.
Its just fetching few coloumns from two tables products and purchaseorderitem.
/********* Begin Procedure Script ************/
BEGIN
var_out = select productid , category, nameid, currency, grossamount, quantity
FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
where P.productid = B.productid;
END /********* End Procedure Script ************/
Could you pls take a look and let me know what wrong I'm doing?
Error logs are:-
sap.hana..package.project.folder.mytest.CALCSCRIPTVIEWInternal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "democontent": line 5 col 18 (at pos 439)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."sap.hana..package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" as table ("PRODUCTID" NVARCHAR(10), "CATEGORY" NVARCHAR(2), "NAMEID" NVARCHAR(10), "CURRENCY" NVARCHAR(5), "GROSSAMOUNT" DECIMAL(15,2), "QUANITYT" DECIMAL(13,3))nProcedure DDL: create procedure "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc" ( OUT var_out "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as n /********* Begin Procedure Script ************/ n BEGIN n t var_out = select productid , category, nameid, currency, grossamount, quantityn t FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS Bn t where P.productid = B.productid;nnEND /********* End Procedure Script ************/nHi Rubane,
I don't have EPM installed here but based on this Table User Defined Functions( Table UDF ) in HANA you are not properly defining the source table.
In your case missing 1) schema of EPM, 2) not using double quotes, 3) separation of package and view, 4) missing camel case on purchaseOrderItem:
FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
On blog:
from "SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::businessPartner" as a
SAP_HANA_EPM_DEMO is the schema
sap.hana.democontent.epm.data is the package
businessPartner is the view
Start simple... before the seletion try it out on Studio SQL.
Regards, Fernando Da Rós -
Getting a syntax error while creating the simple OData service.
Hi Folks,
That is what I typed in a in .xsodata file but it is giving me a syntax error..any idea why this can be?
Thank you for your help.
service namespace "sap.hana.test.service"
{ "SYS" , "AFL_AREAS_" as "TEST";Hi,
I tried creating the same. I was able to activate all three files i.e. .xsapp,.xsaccess,*.xsodata. The three file contents are mentioned below. The data might not be displayed in the browser due to privileges issue as it is SYS table.
.xsapp contains
.xsaccess contains
"exposed" : true
*.xsodata contains
service
"SYS"."AFL_AREAS_" as "mytable"; -
Syntax error when creating a user-defined table type in SQL Server 2012
Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
CREATE TYPE ReportsTableType AS TABLE
( reportId INT
, questionId INT
, questionOrder INT );
Results:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'AS'.Hope these posts could help,
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
Regards, Dineshkumar,
Please Mark as Answer if my post answers your question and
Vote as Helpful if it helps you -
Syntax error while creating tax codes for sales n purchases
Hi all,
While creating the tax codes for sales and purchases, i got the below error:
Report RB13A003 has a syntax error.
What should be done?
Thank youHi,
I believe, it's RV13A003 report and not RB13A003... What is the exact error message (or is it a dump)?
Regards,
Eli
Maybe you are looking for
-
HT1386 i am having a problem w/iTunes and iPhone.
when i hook my iPhone up to my laptop it opens up iTunes. after it gets through syncing i click the arrow by my phone and look under the music. it says i have 465 songs, but on my iPhone i have 365. the songs that i have on my iPhone are correct but
-
Is anyone having trouble downloading one to one - I have been unable to all weekend and this morning
Is anyone having trouble downloading one to one? I have been trying all weekend and this morning and it simply sits there loading but after 15 minutes it is still loading and so I quit the program.
-
In which system field double click feild will stored
hi when you double click in interactive report, in which system field will store that value Message was edited by: sudhakara reddy
-
How to encrypt payload in BPEL 11g,Specific Fileds.
How to encrypt payload in BPEL 11g,Specific Fileds.
-
Subscription via email as an attachment
hi i am customising the subcription process in portal i want to notify this subcription thru email send the particular document or folder as an attachment i want to implement this using JMS how do i proceed,,,,,any sample codes regards bharadwaja