Error with Allocation

Hello SAP Gurus, I am getting an error while running this script, the error says Invalid when/endwhen. please advise. thanks.
*XDIM_MEMBERSET TIME=2008.JAN,2009.JAN
*XDIM_MEMBERSET P_ACCT=RENT
*XDIM_MEMBERSET CATEGORY=PLAN,ACTUAL
*XDIM_MEMBERSET ENTITY=$SOURCE$,$TARGET$
*WHEN ENTITY
*IS "ASA"
      *REC (EXPRESSION=$ASARENT$,TIME=2009.JAN,CATEGORY=PLAN)
*ENDWHEN
*COMMIT
*RUNALLOCATION
  *FACTOR=USING/TOTAL
  *DIM P_ACCT WHAT=RENT;              WHERE=<<<;              USING=<<<;         TOTAL=<<< 
  *DIM ENTITY   WHAT=$SOURCE$; WHERE=BAS($TARGET$); USING=<<<;          TOTAL=<<<
            *DIM TIME     WHAT=>>>;                   WHERE=2009.JAN;      USING=2008.JAN;  TOTAL=<<<  
            *DIM CATEGORY     WHAT=>>>;                   WHERE=PLAN;      USING=ACTUAL;  TOTAL=<<<  
*ENDALLOCATION
*WHEN ENTITY
*IS "ASA"
      *REC (EXPRESSION=0,TIME=2009.JAN,CATEGORY=PLAN)
*ENDWHEN

Hi
please modify the script and try as below:
option 1:
*XDIM_MEMBERSET TIME=2008.JAN,2009.JAN
*XDIM_MEMBERSET P_ACCT=RENT
*XDIM_MEMBERSET CATEGORY=PLAN,ACTUAL
*XDIM_MEMBERSET ENTITY=$SOURCE$,$TARGET$
//*WHEN ENTITY
//*IS "ASA"
//*REC (EXPRESSION=$ASARENT$,TIME=2009.JAN,CATEGORY=PLAN)
//*ENDWHEN
*COMMIT
*RUNALLOCATION
*FACTOR=USING/TOTAL
*DIM P_ACCT WHAT=RENT; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM ENTITY WHAT=$SOURCE$; WHERE=BAS($TARGET$); USING=<<<; TOTAL=<<<
*DIM TIME WHAT=>>>; WHERE=2009.JAN; USING=2008.JAN; TOTAL=<<<
*DIM CATEGORY WHAT=>>>; WHERE=PLAN; USING=ACTUAL; TOTAL=<<<
*ENDALLOCATION
//*WHEN ENTITY
//*IS "ASA"
//*REC (EXPRESSION=0,TIME=2009.JAN,CATEGORY=PLAN)
//*ENDWHEN
or option2:
*XDIM_MEMBERSET TIME=2008.JAN,2009.JAN
*XDIM_MEMBERSET P_ACCT=RENT
*XDIM_MEMBERSET CATEGORY=PLAN,ACTUAL
*XDIM_MEMBERSET ENTITY=$SOURCE$,$TARGET$
//*WHEN ENTITY
//*IS "ASA"
//*REC (EXPRESSION=$ASARENT$,TIME=2009.JAN,CATEGORY=PLAN)
//*ENDWHEN
//*COMMIT
*RUNALLOCATION
*FACTOR=USING/TOTAL
*DIM P_ACCT WHAT=RENT; WHERE=<<<; USING=<<<; TOTAL=<<<
*DIM ENTITY WHAT=$SOURCE$; WHERE=BAS($TARGET$); USING=<<<; TOTAL=<<<
*DIM TIME WHAT=>>>; WHERE=2009.JAN; USING=2008.JAN; TOTAL=<<<
*DIM CATEGORY WHAT=>>>; WHERE=PLAN; USING=ACTUAL; TOTAL=<<<
*ENDALLOCATION
//*WHEN ENTITY
//*IS "ASA"
//*REC (EXPRESSION=0,TIME=2009.JAN,CATEGORY=PLAN)
//*ENDWHEN
hope this will help you
Thanks & Regards
ukraghu

Similar Messages

  • CTS1.4.1 Samples JDBC test failing with Error in allocating a connection

    Tests under CTS1.4.1 samples>>JDBC>>ee>>testConn>> are failing with the following error :
    Sep 14, 2005 4:27:55 PM com.sun.gjc.spi.DSManagedConnectionFactory createManagedConnection
    WARNING: RAR5113 : Error creating connection from supplied information: Reason - Error while parsing address
    Sep 14, 2005 4:27:55 PM com.sun.enterprise.resource.LocalTxConnectorAllocator createResource
    WARNING: RAR5038:Unexpected exception while creating resource
    Sep 14, 2005 4:27:55 PM com.sun.enterprise.connectors.ConnectionManagerImpl internalGetConnection
    WARNING: RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: Error while parsing address
    Sep 14, 2005 4:27:55 PM com.sun.gjc.spi.DataSource getConnection
    WARNING: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: Error while parsing address ]
    ERROR: SQL Exception : Error in allocating a connection. Cause: Connection could not be allocated because: Error while parsing address
    ERROR: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Error while parsing address
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:72)
    at com.sun.ts.tests.samples.jdbc.ee.testConn.testConnClient.getConnection(testConnClient.java:252)
    at com.sun.ts.tests.samples.jdbc.ee.testConn.testConnClient.setup(testConnClient.java:91)
    But the mystery is that the main set of JDBC tests (outside of samples) in CTS1.4.1 are running fine.
    One difference I notice is that the tests that are failing use "createManagedConnection".
    The main configurations file "ts.jte" present under %TS_HOME%\bin has all the settings correct. Thats why the main JDBC tests go through fine.
    I wonder where these failing tests pick up the bad "address" from.
    Any help on this would be greatly appreciated.
    Thanks !

    CTS is a paid product and any question regarding that should be answered by a Licencee Engineer. Pls contact the LE regard the setup of CTS or any TCK.

  • Encore - Memory Allocation Error - With Dynamic Link

    CS4 using Vista
    The process (AdobeEncore.exe *32) gets stuck at 959,736K while 6GB is available.
    In the past I have built many DVDs using a Dynamic Link from Encore to Premiere Pro.
    Now they all end in errors: Memory Allocation Error & Unable to Create Image Buffer.
    I monitored the process in the Windows Task Manager.
    The memory use for the (AdobeEncore.exe *32) process grows until it reaches  959,736K.
    The memory use stops there but the process continues for a while and then Encore stops with the errors.
    I guess is that (AdobeEncore.exe *32) has become limited to 1GB but the is plenty of memory available.
    I can Import a file and make a DVD without using the Dynamic Link.
    Thanks

    Was probably a hardware issue.

  • Error in allocating a connection + JPA

    Hello Experts,
    I am trying my first ever JPA Program.I am using netbeans 6.0.In netbeans there is a sample application for WebJPA.In that they are calling entity from servlet.I just made a different project.I have copied all files in my project.At the time of creating persistence unit I have used DB2.But now when I am compiling my project I am getting the following errors.Seems there is some problem with connection to DB2.I have also added the correct jar files during creation of persistence unit.Please help me.Many Thanx in advance.
    *Deploying application in domain failed; Deployment Errorjava.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Failure in loading T2 native library db2jcct2, reason: java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path --*
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Failure in loading T2 native library db2jcct2, reason: java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path
    Error Code: 0
    Deployment error:
    The module has not been deployed.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1068.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: The module has not been deployed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157)

    Hi garava,
    Thanks for the reply.I had followed the same path while creating Persistence Unit.I googled this error & I found a solution where I need to set the NativeLibraryPathPrefix in my JVM.
    For this I went to Servers->Glassfish V2 -> JVM-> .There I set NativeLibraryPathPrefix = D:\Program Files\IBM\SQLLIB\BIN.
    It's working now.But I can't understand what was the problem & how it got solved.
    One more issue ,suppose tom I am facing the same problem for some other XYZ database.Do I need to change this path again for that database.What this path exactly means.I read it looks for "db2jcc2.dll" in this path.What is the need of this dll if I am including jar files during creation of persistence Unit.
    Please help.Thanks in advance.

  • Error in allocating a connection.

    Hi all!
    I have this problem with my sun application server version 8 and its connection to my mysql database. It works like a charm most of the time, but when I go home at night and come back in the morning I get this error message when trying to access the entity bean that has a bean managed conenction to the database :
    java.rmi.RemoteException: ejbFindAllApplications: Error in allocating a connection. Cause: java.lang.RuntimeException: Got exception during XAResource.start:
         com.sun.corba.ee.impl.javax.rmi.CORBA.Util.wrapException(Util.java:597)
         javax.rmi.CORBA.Util.wrapException(Util.java:277)
         Accedo.EntityBeans.OperatorBean._OperatorHome_Stub.findAllOperators(Unknown Source)
         org.apache.jsp.customer_005fsystem.index_005fcustomerservice_jsp._jspService(index_005fcustomerservice_jsp.java:143)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor1297.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    I figure it has do with some idle time-out I have forgotten to set or something, but when I log in to the server administration console I can't figure out what's wrong! Anyone else bumped into this issue that can lend a helping hand?
    Yours sincerely
    /ted

    Hi again,
    seems like I found the cause of the problem; the mysql system variable wait_timeout was set to 28800 (8 hours) which caused the server to stop responding. What I did is simply set it to 604800 (equals a week) and hope that it will work, which I will find out tomorrow morning...

  • Error in allocating Despatch number Interval not found Number object J_1IIN

    Dear All,
    I am facing a problem while doing an excise invoice. System is throwing an error saying that " Error in allocating Despatch number Interval not found Number object J_1IINTPR2.
    Can somebody help me with a solution ?
    Rgds,
    Indrajit Dey

    Dear Indrajit
    Go to SNUM, input object J_1IINTPR2 and click on Number Ranges.  Enter [Excise Group]  and click on Intervals (with pencil icon).  Maintain the number range and save.  Now try the process once again.
    thanks
    G. Lakshmipathi

  • Java.sql.SQLException: Error in allocating a connection. Cause: No Password

    I'm deploying an EJB Module with a CMP in SJAS from SJSE.
    I get the following exception "java.sql.SQLException: Error in allocating a connection. Cause: No PasswordCredential found" the first time a CMP tries to connect to the MS SQL Server database.
    I can connect through the Admin console (PING works fine) but this error hapens in runtime.
    The datasource classname i'm using is "com.sun.sql.jdbcx.sqlserver.SQLServerDataSource" which is suggested by the SJSE.
    Any help will be welcome...
    Nelson Marques

    If you are using Netbeans, then this link might help:
    http://forum.java.sun.com/thread.jspa?forumID=136&threadID=598423
    Otherwise, have you try this ?
    Verify your sun-ejb-jar.xml does not use default-resource-princinpal element:
    <res-ref-name>jdbc/pdisasdb</res-ref-name>
    <jndi-name>jdbc/pdisasdb</jndi-name>
    <default-resource-principal>
    <name>myname</name>
    <password>geheim</password>
    </default-resource-principal>
    </resource-ref>

  • Error with Download JDBC Drivers page

    There appears to be an error with the JDBC Drivers download page. When navigating from the top-level download page, all I'm seeing is '<SCRIPT LANGUAGE="javascri'. Is there another page from which I can download the driver?
    Guy Heathcote
    Ordnance Survey
    UK

    The 10g and later drivers trade memory for performance. They use much more memory than the 9i drivers, but are much faster. If you look at the JDBC FAQ here on OTN there is some more info on where the memory is going. The stack trace you posted is what I would expect to see from buffer allocation described in the FAQ.
    Douglas

  • Error BCOS088 "Error in local message system: Error while allocation..."

    Hello,
    I getting an error while creating a support message with "help->create support message".
    The message number is BCOS088 "Error in local message system: Error while allocation: Overwrite a protected Message xxx not create."
    I read a lot of threads about errors while creation of support message, but nothing helps.
    Here are the facts:
    - The error occurs on SolMan 4.0 system (sap basis rel. 7.0, SP15).
    - BCOS_CUST: OSS_MSG | W | NONE | CUST620 | 1.0
    - authorization trace without error
    - DNO_CUST04: NO_USER_CHECK = X
    So there is no authorization error, because of no RFC destination and successfully authorization trace.
    What could be the reason of this error?
    Thank you for answers, Tina

    Hi Tina,
    internal number range used for ABA Messages/Basis Notifications should match the external number range used for service desk messages.
    For ABA messages:
    Goto tx: DNO_CUST01 -> SLF1 -> Details
    Should show number range 01
    Number ranges for this object are defined via tx: DNO_NOTIF
    For Service Desk Messages (Support Message SLFN):
    Goto tx: SPRO -> "Check number range for Service Desk Message" -> SLFN -> Details
    Should show number range 01 internal, 02 external
    Number ranges for this object are defined via tx: CRMC_NR_RA_SERVICE
    Number range 01 (internal) of ABA message should match number range 02 (external) of Support Message.
    You may use other ranges but you should make sure they match.
    Hope this helps.

  • ORA-25143: default storage clause is not compatible with allocation policy

    Dears,,
    While running the following command , it gave me error:
    ALTER TABLESPACE USER_DATA default storage (MAXEXTENTS unlimited);
    ERROR at line 1:
    ORA-25143: default storage clause is not compatible with allocation policy
    I tried a lot for that error and tested all possible solutions but without result.
    Is there any one faced this error before?
    Thanks & Best regards,,

    Dear,,
    As i said before in previous reply that:
    I can not give a default storage clause to a local managed tablespace.
    So, only i increased spaces for data files
    Also,see the following . . .
    SQL> ALTER TABLESPACE ts_name default storage (MAXEXTENTS 1000);
    ALTER TABLESPACE ts_name default storage (MAXEXTENTS 1000)
    ERROR at line 1:
    ORA-25143: default storage clause is not compatible with allocation policy
    SQL> ALTER TABLESPACE ts_name storage (MAXEXTENTS 1000);
    ALTER TABLESPACE ts_name storage (MAXEXTENTS 1000)
    ERROR at line 1:
    ORA-02142: missing or invalid ALTER TABLESPACE option
    I already solved my issue by increasing spaces for data files
    Thanks for support and help
    Best regards,,

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

    Hi,
    I bought Mainstage 3 for my MBP (15'' 2011).
    When i click con "perform" i get graphic errors.
    I have the same issue with the old Mainstage version since Mountain Lion.
    Also a fresh installation didn't help.
    I think i'm not the only one with this issue!
    I don't know how to report a bug?
    Perhaps someone can help me.
    (and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
    /forgotten ebi
    So, here an example how it looks like when i click on "perform":

    Same configuration,same problem. BUT I found a workaround.
    Mainstage has this error with the AMD video card and/or a second monitor connected.
    With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
    This will work only with the internal screen, not with a second screen connected.
    And sometimes you need to restart, to really make the Intel video card free.
    This works fine...In the meantime of a fix.

  • Error with an infoset in BI

    HI BI gurus,
    we have a problem with an infoset.
    We create an infoset in RSA1 linked to a cube and a DSO.
    We activate it in english without problems and I can create a query with no errors (with a english logon).
    If I try to create a query in italian language the query designer show mw this error: " unexpected error - RCF_SYSTEM_FAILURE. You must restart the query designer."
    Do you have any idea how to fix and solve this problem? We try to activete the infoset in Italian but the error remains.
    Thanks for any help.
    SB

    Hi,
    is italien installed as a language in your system?
    Siggi

Maybe you are looking for

  • Please help. my i phone is stuck to i tunes logo and my power button is not working.. how can i recover it????

    please help.. my i phone is stuck to connect to i tunes logo and i cannot do the press the power and home button because my power button is currently not working. what should i do??? anyone please??

  • Send Payment advice to multiple email ids

    Hi, We have requirement that payment advice need to be send to multiple vendor email ids. I have implemented SAP note Note 1033893, which says after applying the note the email can be sent to multiple email ids by seperating the email ids by space in

  • Labview 7 for Linux on Redhat9,NI example Finder not working.

    I have Labview7 for Linux on Redhat9, installed at /usr/local/lv71. "NI example Finder" is not working, the function of browser, search,submit,none is working. When I try to close it, the window looks dead, cannot close it. I will force to close it.

  • I've got no internal hard disk?! Help!!

    I've got a major problem with my eMac. When i switched it on, it gives me the flashing folder symbol indicating that my computer can't find the system. I put in my Panther disks, and when it comes to installing panther, it cannot find the hard disk a

  • Carbon w Closed Lid & External display?

    I have a 32" LCD and i want to keep the Carbon below it inside a stand shelf nicely tucked below connected to the port replicator. is it possible? i am aware Windows 8 allows to keep the laptop on while the lid is closed, but would the lcd stay on an