Maxl syntax error
Hi,
I tried to export data form an ASO cube with below maxl syntax.
SPOOL ON TO '/.../DATA1.txt';
WITH
SET [Period1] AS '{[Period].LEVELS (0).MEMBERS}'
SET [Version11] AS '{[Final]}'
SET [Scenario1] AS '{[Actual]}'
SET [CostCenters1] AS '{[CostCenters].LEVELS (0).MEMBERS}'
SET [Account1] AS '{[Account].LEVELS (0).MEMBERS}'
SELECT
{[Year].[FY12],[Year].[FY13]} ON COLUMNS,
{CROSSJOIN ({[Period1]},CROSSJOIN({[Version11]},CROSSJOIN({[Cost_Centers1]},{[Account1]})))))))) ON ROWS
FROM
[APPLICATION].[DATABASE]
SPOOL OFF;
but it showed an error with the line :
{[Year].[FY12],[Year].[FY13]} ON COLUMNS,
i don't understand why.
BTW, the data in the cube got about 1,500,000 records, can i export it with the above syntax?
You may get around the 2^32cell limitation by using NonEmptySubset. See the documentation.
Given an input set, NonEmptySubset returns a subset of that input set in which all tuples evaluate to nonempty. An optional value expression may be specified for the nonempty check.
This function can help optimize queries that are based on a large set for which the set of nonempty combinations is known to be small. NonEmptySubset reduces the size of the set in the presense of a metric; for example, you might request the nonempty subset of descendants for specific Units. NonEmptySubset is used to reduce the size of a set before a subsequent analytical retrieval.
This function trims members from some of the dimensions by including only those member combinations that have data associated with them. Instead of processing all dimension combinations at once, it processes crossjoined set of only a subset of dimensions first, trims them to include only those tuples that have data,then combines it with other dimensions.
DATAEXPORT is also an option.
Of course you could always pull smaller sets.
Similar Messages
-
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.
-
So I am attempting to grant access for JExport. Please help.
MAXL> grant codeBase "file:\\Hyperion\AnalyticServices\java\udf\ExportCDF.jar" {
permission java.security.AllPermission};
I am receiving this message:
ERROR - 1242021 - (1) Syntax error near ['codeBase'].
I have no idea if this is where I am suppose to enter this in or what.
PLEASE HELP!This should be a value you add to the udf.policy file on the server. It is not something MaxL can do for you. If on Window, notpad will work fine, if on UNIX VI
-
This maxl script works perfectly when run within EAS maxl editor (minus the login and spool), when we run it via a .bat file the calculation will run but nothing else.
Any help please????? thanks!!!!!!!
Here's the maxl script:
login '*****' '******' on devhypeb01;
/*spool on to '\sacfs1\data\Apps\Hyperion\DEV\Logs\Clear_Build_Load.log';*/
/*Clear out Actual and Projection before loading new members and data*/
execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
/*Load new members*/
import database Dev_Ace.AceRptg dimensions
connect as 'user1' identified by 'password' using server rules_file 'Both'
on error append to 'C:\memberload.err';
/*Load Data*/
import database 'Dev_Ace'.'AceRptg' data
connect as 'user1' identified by 'password' using server rules_file 'Both'
on error append to 'C:\dataload.err';
/*Load new member aliases*/
import database 'Dev_Ace'.'AceRptg' dimensions
connect as 'user1' identified by 'password' using server rules_file 'AliaBLD1'
on error append to 'C:\Aliasload.err';
spool off;
logout;
ERROR FILE:::::::::
MAXL> execute calculation 'DEV_Ace'.'AceRptg'.'clrAnP';
OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Actual)].
OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
OK/INFO - 1017018 - Removed [0] data blocks.
OK/INFO - 1012558 - Clearing all data blocks from [(ALL)] partition with fixed members [Scenario(Projection)].
OK/INFO - 1012675 - Commit Blocks Interval for the calculation is [3000].
OK/INFO - 1017018 - Removed [0] data blocks.
OK/INFO - 1012579 - Total Calc Elapsed Time for [clrAnP.csc] : [43.437] seconds.
OK/INFO - 1013274 - Calculation executed.
MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
2> connect as 'user1' identified by 'password' using server rules_file 'Both'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\memberload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> import database 'Dev_Ace'.'AceRptg' data
2> connect as 'user1' identified by 'password' using server rules_file 'Both'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\dataload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> import database 'Dev_Ace'.'AceRptg' dimensions
2> connect as 'user1' identified by 'password' using server rules_file 'AliaBLD1'
3> on error append to 'C:\Hyperion\products\Essbase\eas\client\Aliasload.err';
ERROR - 1242021 - (2) Syntax error near ['"'].
MAXL> logout;MaxL quotes are a stinker and trip people up constantly. It wouldn't surprise me in the least if EAS' MaxL editor worked differently than "the real world".
I wrote a whole blog post on MaxL and quotes (who would have thought there was a subject there, but if you wade through the cutesy muck, there is value there):
http://camerons-blog-for-essbase-hackers.blogspot.com/2009/10/escaping-maxl-quotes.html
The two rules I follow are:
1) Use double quotes
2) Double escape backslashes
FWIW, you can also use single forward slashes.
The inconsistencies are confusing.
Regards,
Cameron Lackpour -
Hi Experts,
I am getting the syntax .error when am using the below command in the maxl script to execute Can you please guys help me in this.
The environment is linux and the cube is ASO cube....
execute caculation on database test.test with local script_file "\\essbase\\Oracle\\Middleware\\user_projects\\epmsystem2\\EssbaseServer\\Error_Log\\Script\\test\\copydata.txt"
ERROR - 1242021 - (1) Syntax error near ['caculation'].
Thanks in advance..
Regards,
Raja Mohamed
Edited by: user4964072 on Oct 23, 2012 5:00 PMI think the slashes are fine. Confirm your path is OK if you haven't already. I'm no linux guru but do something like
cat \essbase\Oracle\Middleware\user_projects\epmsystem2\EssbaseServer\Error_Log\Script\test\copydata.txt
I notice when you first posted your script the last part of the path was "test copydata.txt" whereas your error states "test\copydata.txt". Don't know if it means anything.. just noticed -
Syntax Error near Database name
Hi,
When i tried to take export from automated process (Not Manually) from a application its giving error like :
ERROR - 1242021 - (1) Syntax error near ['Currency'].
The type of database is Currency.
But if i take the export Manually form Essbase application Manager, i can sucessfully perform the activity.
Now ......
1.Type of database and Name (Currency) Can be Equal ??????
2.The Automated Process can't be wrong because export of different DB is sucessful with this Automated Process.
Please suggest.
Thanks,
KaashHi Kaash
I had a similar issue in when I used a db name of 'Volume', I also wonder whether there are certain restricted words that you shouldn't use due to conflicts with MaxL / Esscmd?
I overcame it by re-naming to 'Volumes'.
Hope this helps, or at least reassures you that you're not going mad!
Stuart -
ERROR - 1242021 - (1) Syntax error near ['security_file']
When invoking the command "export security_file to data_file essbase_security_file.txt;" I get the error message "ERROR - 1242021 - (1) Syntax error near \['security_file'\]". I get the same message from EAS when right clicking and exporting from the console. The end game here is that I want to dump the Essbase.sec file into a readable format.
Any help appreciated.
Thanks
-Kevin
Edited by: user5439694 on Dec 31, 2009 11:58 AM
Edited by: user5439694 on Dec 31, 2009 11:59 AMIT is easier to just go into EAS and select the Essbase server, then right click on Security and select export security file. Enter the file name you want it to go to. In Version 11 it puts the file in Arborpath\Products\Essbase\EssbaseServer\Bin
I also ran the following MaxL export security_file to data_file 'e:\datafiles\security_test.txt';
and it ran fine (It put the file onto the Essbase server in the specified directory) -
MaxL - "on error write to" not working
I am running this script on Unix:
set datafile=$FilesRoot/load/ActBalDataLoad$LoadMonth.txt;
import database "'$EssApp'"."'$EssDb'" data
from local data_file "'$datafile'"
on error write to 'ActBalDataLoad.Err' ;
I am getting this result:
MAXL> import database "'MyApp'"."MyDb'" data
2> from local data_file "'/home/fbarnes/My_Files/load/ActBalDataLoadAPR.txt'"
3> on error write to 'ActBalDataLoad.Err' ;
OK/INFO - 1003040 - Parallel dataload enabled: [1] block prepare threads, [1] block write threads..
ERROR - 1003014 - Unknown Member [AC.xyz] in Data Load, [119] Records Completed.
ERROR - 1241101 - Unexpected Essbase error 1003014.
Any ideas why it is not creating the error file? I want to capture all errors in one run, rather than get the errors one at a time as it is doing now.
Thank you.Hello,
I am also having this issue.
I will include my script below but will state some details before
We are on Essbase 11.1.1.3
I am running Admin Console from my client PC that connects to the server in the script and I read that in this set up the error file will not get written to. This documentation was for v 9.1.3
Here is my script (i changed some of the names)
login 'user' 'password' on server';
create application 'Money1' as 'Money2';
spool stderr on to 'errorfile';
import database 'Money1'.'Main' data
from local text data_file 'Money1_Data.txt'
using server rules_file 'Data3';
on error append to 'dataload.err';
execute calculation 'CALC ALL;' on 'Money1'.'Main';
logout;
spool off;
exit;
here is the error output i get:
code line: on error append to 'dataload.err';
Statement executed with warnings.
(3) Syntax error near ['$']
I don't see a dollar sign anywhere in my code and the error file does not get produced.
Also do error files get written too if the actins are executed in the background?
Thanks!
Alex
Edited by: user13254074 on 5-Oct-2010 1:31 PM -
I can't quite get the syntax down on this MaxL statement,<BR><BR>Can anybody?<BR><BR>MAXL> alter system kill request on database 'Reportng';<BR><BR> ERROR - 1242020 - (1) Syntax error near end of statement.<BR><BR><BR>Thanks,<BR>Jim
Jim:<BR><BR>Use the [not available in ESSCMD] <b>msh</b> feature, which allows you to call a different MaxL script from within the first one. Example, you have a "master" script called <b>one.mxl</b> where you set the SPOOL on. It calls other scripts such as <b>two.mxl</b>, one at a time, which then return to the master, and all of it goes into your <b>one.txt</b> log, as follows:<BR><BR><b>/* ONE.MXL */<BR>/* turn on the log - note the need to 'escape' the backslashes */<BR> spool on to "f:\\temp\\one.txt";<BR>/* call the first script - be sure <u>not</u> to end it with <u>exit;</u> */<BR> msh two.mxl;<BR>/* continue with other scripts as necessary */<BR> msh whatever.mxl;<BR>/* turn off the log */<BR> spool off;<BR>/* bounce out */<BR> exit;</b>
-
Syntax error while writing a select query.
Hi all,
I have a requirement where I have to pick a value if the text for that value is
MYCARu2019S Lovliest Car.
And so I wrote a query that
SELECT RUECK INTO XRUECK FROM AFVC WHERE ltxa1 = ' MYCARu2019S Lovliest Car'.
ENDSELECT.
But it gives me a syntax error saying
u201CLiterals taking up more than one line not permittedu201D.
Can some one tell me what is wrong. I need to select RUECK value from AFVC table if
ltxa1 value is ' MYCARu2019S Lovliest Car'.
Kindly help what is going wrong...
Regards,
Jessica SamHi,
Narendran is right use two single quotes.
also careful wile comparing string. i think as you write ltxa1 value is ' MYCARu2019S Lovliest Car'.
so while comparing you must not use space just before staring use the following
SELECT rueck INTO xrueck FROM afvc WHERE ltxa1 = 'MYCAR''S Lovliest Car'. " Not use Space before M
ENDSELECT.
Hope will help you.
Kind Regards,
Faisal -
Syntax error while running a driver program
Hi experts,
I have developed a smartforms,in which i have declared the following,
ITAB TYPE TABLE OF MARA, in import tab of form interface...
and in se38 i have declared...
data: itab like mara occurs 0.
bujt when i am running this program, i am getting syntax error "ITAB" is neither specified under "TABLES" nor defined as internal tabels..
plz tell me why this probleming is occuring?and how can i solve this....
thnks n regards,
Ashmita.in form interface try to declare in tables tab
or
global data > types tab and declare global table using that type. -
Select-options in SELECT query - syntax error
Hi all,
I get the error below when I try to use the select options in a SELECT query . Please help me.
"The IN operator with "SO_AWART" is followed neither by an internal
table nor by a value list."
The code i have used(Logical database PNP is used):
TABLES: pernr,
catsdb.
INCLUDE ztime_cwtr_top. " global Data
INCLUDE ztime_cwtr_f01.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
SELECT-OPTIONS SO_AWART FOR CATSDB-AWART.
PARAMETERS P_THRES TYPE I.
SELECTION-SCREEN END OF BLOCK B1.
Get data from CATSDB table. Workdates within the date interval are considered.
SELECT pernr workdate awart catsquantity beguz enduz status
FROM catsdb
INTO TABLE it_catsdb
WHERE pernr = pernr-pernr AND
workdate GE pn-begda AND
workdate LE pn-endda AND
status IN ('20', '30') AND
awart IN so_awart .
awart IN ('1100', '1137', '1138', '1139', '1140',
'1147', '1148', '1149', '1157', '2003' ).
when I give the values directly i do not get any syntax error, but when I use select options in the where condition I get the syntax error.
I have tried different options like using only the select-options in the where condition.
Thanks in advance.....
MadhuSolved.
Code with syntax error:
include z...top .
include z...fo1.
select-options: xxxxxxx
Code with no syntax error:
select-options: xxxxxxx
include z...top .
include z...fo1.
Thanks for all your help,
Madhu -
Can not use SUM in a simple query because of a syntax error?
Hi
Thank you for reading my post.
I am trying to execute the following query:
q = em.createQuery("SELECT SUM((NE.pipeLength - 0.6)+((NE.networkDepth-NE.initialDepth)*0.41)+ NE.standLenght) FROM NExpansion NE where (( NE.contract.contractor=:contractor) AND (NE.pDiameter=:diameter))");
q.setParameter("contractor", contractor);
q.setParameter("diameter", diameter);
l = (Long) q.getSingleResult();And I get the following error:
Caused by: Exception [TOPLINK-8025] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: Syntax error parsing the query [SELECT SUM((NE.pipeLength - 0.6)+((NE.networkDepth-NE.initialDepth)*0.41)+ NE.standLenght) FROM NExpansion NE where (( NE.contract.contractor=:contractor) AND (NE.pDiameter=:diameter))], line 1, column 12: unexpected token [(].
Internal Exception: line 1:12: unexpected token: (
at oracle.toplink.essentials.exceptions.EJBQLException.unexpectedToken(EJBQLException.java:389)
at oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParser.handleANTLRException(EJBQLParser.java:350)
at oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParser.addError(EJBQLParser.java:278)
at oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParser.reportError(EJBQLParser.java:378)
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.aggregateExpression(EJBQLParser.java:1416)
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.selectExpression(EJBQLParser.java:1158)
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.selectClause(EJBQLParser.java:403)
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.selectStatement(EJBQLParser.java:178)
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.document(EJBQLParser.java:135)
at oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParser.parse(EJBQLParser.java:166)
at oracle.toplink.essentials.internal.parsing.ejbql.EJBQLParser.buildParseTree(EJBQLParser.java:127)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:215)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:189)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:153)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.<init>(EJBQueryImpl.java:114)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.<init>(EJBQueryImpl.java:99)
at oracle.toplink.essentials.internal.ejb.cmp3.EJBQueryImpl.<init>(EJBQueryImpl.java:86)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:204)
... 30 more
Caused by: line 1:12: unexpected token: (
at oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.aggregateExpression(EJBQLParser.java:1365)
... 43 morePlease let me know what am I doing wrong?
Thanks.Hello,
From the grammar in the JPA spec, SUM only takes a state_field_path_expression which is defined as
state_field_path_expression := {identification_variable | single_valued_association_path_expression}.state_field
Please feel free to file an enhancement to have this expanded upon.
Best Regards,
Chris -
SYNTAX_ERROR unable to log in to SAP system Syntax error in program "SAPMSE
hi SAP Experts,
I have applied Basis patch 12 and I scheduled the background. Backgroud job was terminated. System became slow. Then I stopped the server and restarted. Now, I am unable to log in to SAP GUI by entering Username and Password and getting syntax error.
Syntax error in program "SAPMSEM1".
What happened?
Error in the ABAP Application Program
The current ABAP program '????????????????????????????"
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occured in program "SAPMSEM1" in include
"CL_SALV_FORM_ELEMET==========CU" in
line 13:
"the type "IF_SALV_FORM_CONFIG" is unknown."
The include has been created and last changed by:
Created by: "SAP "
Last Changed by: "SAP "
I am unable to access any transction code.
Please help me..
Thanks in advance...
Rajuhi,
Thanks for your response.
i haven't take any back up. can u pls tell me step by step procedure to implement the SP with TP.
your answer will be helpful..
Regards
Raju -
DB2 9.7 DFACT.SQL syntax error in Import ABAP phase - System Copy
Hi all. I'm trying a system copy with a source system SAP ECC 6.0 ehp4 based on NW 701 and db2 LUW 9.1 .
As it seems supported by SAP, i'm using db2 LUW 9.7 in target system.
O.S. is Windows 2008.
I got an error in phase "Import ABAP".
Sapinst.log says:
INFO 2010-02-18 10:12:14.337
An error occured and the user decided to retry the current step: "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor".
INFO 2010-02-18 10:12:14.509
Switched to user: devadm.
INFO 2010-02-18 10:12:14.572
Creating file C:\Program Files\sapinst_instdir\ERPEhP4\LM\COPY\DB6\SYSTEM\CENTRAL\AS-ABAP\import_monitor.java.log.
INFO 2010-02-18 10:12:14.603
Switched to user: devadm.
INFO 2010-02-18 10:12:14.618
Working directory changed to C:\Program Files\sapinst_instdir\ERPEhP4\LM\COPY\DB6\SYSTEM\CENTRAL\AS-ABAP.
INFO 2010-02-18 10:12:14.618
Output of C:\j2sdk1.4.2_24-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst is written to the logfile import_monitor.java.log.
WARNING 2010-02-18 10:12:44.790
Execution of the command "C:\j2sdk1.4.2_24-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
java version "1.4.2_24-rev"
Java(TM) Platform, Standard Edition for Business (build 1.4.2_24-rev-b06)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_24-rev-b06, mixed mode)
Import Monitor jobs: running 1, waiting 1, completed 73, failed 0, total 75.
Loading of 'SAPDFACT' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 73, failed 1, total 75.
WARNING[E] 2010-02-18 10:12:44.790
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
ERROR 2010-02-18 10:12:44.790
FCO-00011 The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
Looking into import_monitor.java.log i found that the problem is in dfact import.
I've looked into sapdfact.log and i found:
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100218105045
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#8 $ SAP
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
Compiled Jan 28 2010 20:22:25
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error -loadprocedure fast LOAD:COMPRESS_ALL
(DB) INFO: connected to DB
(DB6) INFO: COMPRESS YES is set during table creation.
(DB6) DB2 9.5 automatic dictionary creation does not require an explicit REORG.
(DB6) Compression threshold is ignored.
(GSI) INFO: dbname = "DEV "
(GSI) INFO: vname = "DB6 "
(GSI) INFO: hostname = "UNKNOWN "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVSAPDEV"
(GSI) INFO: release = "6.0"
(GSI) INFO: version = "6002 Service Pack 2"
(GSI) INFO: machine = "4x AMD64 Level 6 (Mod 26 Step 5)"
(DB) ERROR: DDL statement failed with SQL error
( ALTER TABLE "/BI0/E0PPM_VC1" DROP PRIMARY KEY )
(SQL error -539)
error message returned by dsql:
SQL0539N Table or nickname "SAPDEV./BI0/E0PPM_VC1" does not have a "PRIMARY" key. SQLSTATE=42888
(IMP) INFO: a failed DROP attempt is not necessarily a problem
(DB6) INFO: executing DDL statements for object /BI0/E0PPM_VC1 from external SQL file.
(DB) ERROR: DDL statement failed with SQL error
( CREATE TYPE 2 UNIQUE INDEX "/BI0/E0PPM_VC1~0" ON "/BI0/E0PPM_VC1" ("KEY_0PPM_VC1T" , "KEY_0PPM_VC11" , "KEY_0PPM_VC1U" , "KEY_0PPM_VC1P" ) USING STOGROUP ___FAI PRIQTY 16 SECQTY 10240 FREEPAGE 0 PCTFREE 0 GBPCACHE CHANGED DEFINE NO BUFFERPOOL BP3 COPY NO PIECESIZE 2097152 K CLUSTER NOT PADDED )
(SQL error -7)
error message returned by dsql:
SQL0007N The character "_" following "" ) USING STOGROUP" is not valid. SQLSTATE=42601
(DB) INFO: disconnected from DB
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
S:\usr\sap\DEV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100218105045
So as you can see it seems that there's some syntax error in dfacl.log. The wrong SQL statement referred by sapdfact.log is
ind: /BI0/E0PPM_VC1~0
sql: CREATE TYPE 2 UNIQUE INDEX "/BI0/E0PPM_VC1~0" ON "/BI0/E0PPM_VC1"
("KEY_0PPM_VC1T" ,
"KEY_0PPM_VC11" ,
"KEY_0PPM_VC1U" ,
"KEY_0PPM_VC1P" )
USING STOGROUP ___FAI PRIQTY 16
SECQTY 10240 FREEPAGE 0 PCTFREE 0
GBPCACHE CHANGED DEFINE NO
BUFFERPOOL BP3 COPY NO
PIECESIZE 2097152 K CLUSTER NOT PADDED ;
|
ALTER TABLE "/BI0/E0PPM_VC1"
ADD PRIMARY KEY ("KEY_0PPM_VC1T",
"KEY_0PPM_VC11",
"KEY_0PPM_VC1U",
"KEY_0PPM_VC1P") ;
Am i missing something?
Data in referred tables (infocubes) isn't really important.
Is there a safe way to proceed?
Thanks in advance.
Regards
Simone ZaffalonAnd this is the strange point: my source system is not a BI and my dataclasses .SQL files are not empty.
Me too i would expect that the files should be empty but instead they are full of object definitions.
For example i have APPL0.SQL that contains a list of all tables of ECC system, for example
tab: MAMT
sql: CREATE TABLE "MAMT"
("MANDT" SAPDB6VARCHAR(000003)
DEFAULT '000' NOT NULL,
"MATNR" SAPDB6VARCHAR(000018)
DEFAULT ' ' NOT NULL,
"SPRAS" SAPDB6VARCHAR(000001)
DEFAULT ' ' NOT NULL,
"MEINH" SAPDB6VARCHAR(000003)
DEFAULT ' ' NOT NULL,
"MTXID" SAPDB6VARCHAR(000002)
DEFAULT ' ' NOT NULL,
"LFDNR" SAPDB6VARCHAR(000002)
DEFAULT '00' NOT NULL,
"MAKTM" SAPDB6VARCHAR(000040)
DEFAULT ' ' NOT NULL)
IN "&location&"
INDEX IN "&locationI&"
LONG IN "&locationL&"
COMPRESS YES;
ALTER TABLE "MAMT" LOCKSIZE ROW;
and like this for all others tables.
What would occur if i launch an import with such .SQL files?
(shuld i put this question to another thread or is fine for you to answer on this?)
Thank you again.
Simone Zaffalon
Maybe you are looking for
-
How to change visibility property of a VC iView by clicking of a BI iView?
Hi all! I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the s
-
I need to contact a live person about resetting my security questions. The link to send an email, doesn't send an email even though the email address it's supposed to be sent to is verified and works. (It can receive other email).
-
I'm shooting an entire season of games of lacrosse in 1080x1920 hi-def AVCHD. This will probably end up being 20 hours of video. I use PE to assemble footage. The parents of the 20 or so players all want the footage as cheaply as possible, but they s
-
Select most recent record prior to a target date
Let's say I have a set of unique records with the following dates: 11/15/08 11/30/08 Is it possible to select only the most recent record prior to a user-entered target date (e.g., 12/1/08)? So in this case, only the record dated 11/30/08 would be s
-
If i put birthdays on a calendar, can i copy them the next year in i photo
If I input birthdays onto a calendar I am making in iphoto, can I use the same birthdays next year?