Using XREF

I am stuck with an issue with XREF and can't seem to find where the problem is.The calc script is executing with no errors, but the value is not being copied over
We have 2 databases(with one cube in each of them)
SOurce cube has an additional dimension
Here's my calc
FIX("FY2010',CAD, Budget, "version1', "Exchange Rate", "No_properties","No_Period")
AMOUNT= @XREF("CSBUDGET",AMount,"BU_None");
ENDFIX
1. I have already verified the source datcube has a value for the FIX I am using in the Calc( source data base has a value of 1.05)
2. The location alias "CSBUDGET" is already defined in the destination database
3. BU_None is the member from the additional dimension in the SOurce cube, and that's the reason it's used in the XREF
Any ideas on why the value is not being copied over?

Have you checked for implied share on the source side, or destination side for that matter? Make sure that any one-child-parents across all dimensions are tagged as NeverShare to make sure that it is able to reference from and store into an actual storage location. Implied Shares cause issues across many functions in Essbase.

Similar Messages

  • Cross Reference within external Database using XREF API

    Hi Experts,
       Can we do Cross Reference within external Database using  XREF API uses JDBC to access the Oracle Database Stored Procedures in SAP PI? How to use a JNDI Data source to access the DB and how to do the Connection Pooling will be done by the SAP J2EE server? Kindly let me know step by step proceedings.
    Regards
    Archana

    Hello Archana,
    It can be done with a Lookup call in a mapping.
    Here's a little article about the topic in the SAP wiki:
    http://wiki.sdn.sap.com/wiki/display/XI/HowtouseCrossReferencewithinexternal+Database
    With kind regards
                     Sebastian

  • DataLoad using @XREF

    I have two cubes, 'Planning' and 'AllData',I want to using @XREF to tranfer data from 'Planning' to 'AllData' cube. Following is the code I'm using FIX(Current_Year) Budget = @XREF(Planning_L_Alias); ENDFIX; But it is running of more than 2-hrs, I killed it the first time, thinking that it might have got 'hung' or something. I'm copying over a very small set of data. Any clues... Thanks in advance - Maneesh Hari

    Hi thereWe have seen very long transfer times using @XREF as well. We now prefer to export data and then import it into the target cube again. This is a bit more complex in setting up, but certainly faster.RegardsReto

  • How to use XREF table in BPEL?

    Can anyone tell me how to use XREF table in BPEL ??

    It is used to build up an XML fragment to the element on the target side...
    please refer this link....
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=2252997&tstart=2
    Thanks,
    N

  • ** Invaild Member Names when using @XREF **

    To the Oracle Nation,
    I am using the @XREF function to obtain data from one database to copy to another. an Example of my calc string is as follows:
    Fix(Jan:Dec,Product,NY,Other) - where NY = Next Year Budget
    "Sales" = @XREF(GetData,"Sales Wages",Soda,Entity,"NY working member",West);
    When I run the calculation, the status shows that it has ran to success; however, no data is displayed when data is pulled from the target database. To throw a little twist into the mix, when I change "NY" to "NX" in my target database, it works just fine.
    That being said, is NY, or any other name string, a restricted member name due to conflicts within Essbase. As side not, It also does not work with NNY or NNNY. We are at a lose on this one, and want to put this issue to rest.
    Thank you.
    Concerned Essbase Admin

    To jump on Stuart's comment, I have had exactly this problem with XREF's.
    In the bad old days (Planning 3.5.1, Essbase 6.5.x), I would actually force the creation of blocks in the target by assigning zeros and then clearing the values out to ensure that the calculation went through. Very painful and slow.
    If block creation is in fact your issue, you should be able to use the SET CREATEONMISSINGBLK setting to create your blocks: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/calc/set_createnonmissingblk.htm
    You might want to be careful, however, with how you use that setting and target very carefully what/where you are creating blocks as you might otherwise get way, way more blocks than you want.
    I have not followed my own advice, wondered why my db was so big/slow, and then used SET MSG DETAIL to see all of the blocks roll in. Whoops. At least my numbers calculated. :)
    Regards,
    Cameron Lackpour

  • Same transformation using xref:lookupXRef() that works in BPEL fails in BPM

    Hi,
    Developing using JDev 11.1.1.5 I'm trying to get the lookupXRef() work in a transformation in a BPM process but it fails with no error message just causing empty output xml. In an attempt to debug I copied a lookupXRef() from another transformation used in a BPEL process, hardcoding everything, with no luck.
    Could it be that supporting jar files are not available for transformations done in BPM process?
    Appreciate input, thank you.

    Have you configured your default channels from OEM, try configuring all your default channels at RMAN level, so that you dont have to specifiy in run { } script;
    For Eg. in my environment , i have following settings and backup command works fine both from shell and grid
    its Oracle 9.2.0.6
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman_backup/%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_TAPE_CONTROLFILE';
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman_backup/d_%d_s_%s_p_%p_t_%t' MAXPIECESIZE 1536 M;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 1536 M PARMS "ENV=(NB_ORA_CLIENT=topdb1,NB_ORA_SERV=ilsdb2)" FORMAT 'd_%d_s_%s_p_%p_t_%t';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt1/app/oracle/product/ora92/dbs/snapcf_topaz.f'; # default
    BACKUP DEVICE TYPE SBT CURRENT CONTROLFILE;

  • Manipulating data using Xref

    <p>Hi all,<br>I need to copy data between two cubes but with a little twist: Thedata for specific values must be copied between two differentdimensions.<br>Example:<br>In the first cube i have the product dimension with two sets ofdynamic calcs that aggregate data. one of this groups is salesmanagers.<br>The second cube has the manager dimension, with the same valuenames as in the other cube(except for a suffix to maintainuniqueness)<br>I need to copy the data aggregated data between from the first cubeto the members in the second cube.<br>Please help,<br>Thanks,<br>Guy</p>

    I'm assuming that you want to preserve the existing product -> product relationship, and need the parent/ancestor value to determine which manager gets the details (in other words, mapping one dimension into two). Otherwise, Sandeep's response would still work (you could load the product summary by manager to each manager's member without product detail).<BR><BR>You could try setting up an attribute dimension, and use that as the basis for your translation. This might be a better way of expressing the products anyway, what purpose do the managers have in the product hierarchy apart from being attributes related to some form of ownership?<BR>

  • Using @SUMRANGE with @XREF

    Hi,
    I'm having a problem in using @XREF with @SUMRANGE and @CURRMBRRANGE.
    I have Plan2 with 9 dimensions and Plan3 with only 7 and I need to create a Dynamic Calc in Plan3 that references an account in Plan2 called MT_PSDIR.
    I did the following in the member formula
    @XREF("_PnlCube_",MT_PSDIR,TOT_LB,TOT_CHANNEL);
    TOT_LB and TOT_CHANNEL are the members from the missing dimensions that I want to use.
    What I want now is to use the YTD value so I tried:
    @SUMRANGE(@XREF("_PnlCube_",MT_PSDIR,TOT_LB,TOT_CHANNEL), @CURRMBRRANGE(Period,LEV,0,,0));
    Formula is valid but the form returns an error when trying to open.
    I also tried to @XREF the @SUMRANGE but it seems I'm missing the correct syntax because forms with this member do not open with the sumrange and currmbrrange. I'm probably not seeing the correct picture :) formula is also valid but when it fails at calc time.
    Any ideas?
    EDIT: At the moment what I did as a workaround was to create 2 members: one with the XREF (member A) and one with the @SUMRANGE of A
    Thank you
    Edited by: Icebergue on 5/Mar/2012 10:18

    Ditche I am sorry I did not follow,
    " overrides sue to another axis."
    Actually there were 3 diff accounts like Acc_X - so I was using a dynamic calc member initially with a formula ("Acc_x1" + "Acc_X1" + "Acc_X2") .
    Acc_Y = @SUMRANGE("Acc_X", @UDA(Entity, "X"));
    Since it was not working I switched to three different sum range functions for these three accounts.
    Acc_Y = @SUMRANGE("Acc_x1", @UDA(Entity, "X")) + @SUMRANGE("Acc_x2", @UDA(Entity, "X")) + @SUMRANGE("Acc_x3", @UDA(Entity, "X"));
    And it worked fine.
    But yeah you were right, the roll up members do work for sumrange functions
    - but a dynamic calc member (containing roll up members) does not work.
    Ankur

  • Use of XREF in AIA

    Hello,
    Can anyone please send me some document and provide me a link where I can get exhaustive information about XREF? Actually I am struggling to get a bigger picture of XREF and how it is used in AIA.
    I want to learn about XREF with some practical example and how it is being used in AIA (for message mapping).
    Thanks,
    Sanjay Bharatiya

    I recognise the posters frustration. There is a lot of basic documentation on using XRefs but these don’t give a lot of detailed information on how they work in terms of AIA.
    There is the basesample but the problem is even this doesn’t use the standard AIA method.
    If you use the AIA service constructor to create a requestor ABCS you are provided with a template xsl with some templates to use xref’s. No documentation on how to use these templates, I had to get these working through trial and error. They seem to provide an extra layer of caching around the xref functions.
    Creating a provider ABCS results doesn’t result in any transformations at all so you don’t have the Xref functions to use. There is no explanation anywhere stating why one includes these templates and the other doesn’t. Personally I have copied the Xref templates from the requestor into the provider and used them in my own transformations.
    Reverse engineering the AIA Service Constructor created templates further reveals the usage of service properties to provide the system names for use in the Xref (and DVM) lookups.
    I think this is a case of the documentation being behind the current version.

  • Error invoking populateXRefRow:oracle.tip.xref.exception.RepositoryExceptio

    Hi All,
    I created an XREF table using XREF commandline utility. Table was successfully created and columns were also successfully added. But I am getting the following error while using populateXRefRow function in assign activity in BPEL. I have XREF_DATA table is present in oraesb schema.
    SOA suite version 10.1.3.4
    JDev version 10.1.3.4
    OS - Windows XP.
    Basic Installation with Oracle lite database.
    Caused by: oracle.xml.xpath.XPathException: Extension function error: Error invoking 'populateXRefRow':'oracle.tip.xref.exception.RepositoryException: Unable to access Cross Reference Values from Database.The SQL Exception is: "JDBC 2.0 feature is not yet implemented"
    Please ensure that the database is accessible. If accessible, please look at the stack trace and fix the issue. If unable to fix contact Oracle Support '
         at oracle.xml.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1846)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:612)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:548)
         at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:333)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:460)
         ... 91 more
    oracle.xml.xpath.XPathException: Extension function error: Error invoking 'populateXRefRow':'oracle.tip.xref.exception.RepositoryException: Unable to access Cross Reference Values from Database.The SQL Exception is: "JDBC 2.0 feature is not yet implemented"
    Please ensure that the database is accessible. If accessible, please look at the stack trace and fix the issue. If unable to fix contact Oracle Support '
         at oracle.xml.xpath.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:118)
         at oracle.xml.xpath.XPathExtFunction.evaluateMethod(XPathExtFunction.java:337)
         at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:266)
         at oracle.xml.xslt.XSLValueOf.processAction(XSLValueOf.java:120)
         at oracle.xml.xslt.XSLNode.processChildren(XSLNode.java:480)
         at oracle.xml.xslt.XSLTemplate.processAction(XSLTemplate.java:205)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:581)
         at oracle.xml.xslt.XSLStylesheet.execute(XSLStylesheet.java:548)
         at oracle.xml.xslt.XSLProcessor.processXSL(XSLProcessor.java:333)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:460)
         at com.collaxa.cube.xml.xpath.functions.xml.GetElementFromXSLTFunction.transform(GetElementFromXSLTFunction.java:335)
         at com.collaxa.cube.xml.xpath.functions.xml.GetElementFromXDKXSLTFunction.transform(GetElementFromXDKXSLTFunction.java:38)
         at com.collaxa.cube.xml.xpath.functions.xml.GetElementFromXSLTFunction.evaluate(GetElementFromXSLTFunction.java:144)
         at com.collaxa.cube.xml.xpath.functions.xml.GetElementFromXSLTFunction.call(GetElementFromXSLTFunction.java:89)
         at com.collaxa.cube.xml.xpath.BPELXPathFunctionWrapper.evaluate(BPELXPathFunctionWrapper.java:50)
         at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:147)
         at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:116)
         at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:254)
         at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:181)
         at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:189)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:679)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:143)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:133)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:162)
         at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:547)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:464)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:133)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Please help me to resolve the above error.
    - Sam

    Hi Sam,
    This error is because JDBC 2.0 feature is not completely implemented in Oracle Lite database.
    So, you might want to go for an SOA Advanced Install with 10.2.0.3 oracle database to resolve your issue.
    Hope this helps!
    Cheers
    Anirudh Pucha

  • XRef Issue

    Hi ,
    We are facing an issue with XRef inour Planning Application. We have three PlanTypes and trying to get data from One PlanType to Other Plan Type.
    The issue which we are facing with XRef is as follows:
    The following are dimensions in Source Plan Type(Workforce):
    Account,Scenario,Version,Year,Period,Employee,Currency,Entity,State/Province,LegalEntity
    The following are dimensions in Target Plan Type(BasicExpense):
    Account,Scenario,Version,Year,Period,Currency,Entity,LegalEntity,Project,Product,Channel,Ledger
    Scenario 1:
    We are getting data in Target Plan Type (Basic Expense) when we input data in Source Plan Type (Workforce) as shown below:
    Input Data at Source Plan Type (Workforce) is as follows:
    Account Scenario Version Year Period Employee Currency Enity State/Province LegalEntity
    HA_8000001 QF1 Version1 FY11 Jan Employee Local 10011 State/Province CA100 200$
    Output Data at Target Plan Type (BasicExpense) is as follows:
    Account Scenario Version Year Period Currency Entity LegalEntity Project Product Channel Ledger
    HA_8000001 QF1 Version1 FY11 Jan Local 10011 CA100 0000 HP_000000 HC_00000 IFRS Planning Ledger 200$
    Scenario 2:
    We are not getting data in Target Plan Type (Basic Expense) when we input data in Source Plan Type (Workforce) as shown below:
    Input Data at Source Plan Type (Workforce) is as follows:
    Account Scenario Version Year Period Employee Currency Enity State/Province LegalEntity
    HA_8000001 QF1 Version1 FY11 Jan 12664 Local 10011 State/Province CA100 200$
    Output Data at Target Plan Type (BasicExpense) is as follows:
    Account Scenario Version Year Period Currency Entity LegalEntity Project Product Channel Ledger
    HA_8000001 QF1 Version1 FY11 Jan Local 10011 CA100 0000 HP_000000 HC_00000 IFRS Planning Ledger <NoData>
    Can anyone suggest us how to overcome this problem.
    The version which we are using Hyperion Planning is as follows:
    Hyperion Planning : 11.1.1.3
    Planning Application Type : Classic
    Thanks,
    Suresh.

    One of the drawbacks of using xref is that it requires the block you are copying data to to exist. If you turn on the createblockoneq in the calc script, it will solve your problem if it is indeed a block creation issue. However, this dramatically slows down the calculation.
    In the past, I have normally exported the data from one plan type and imported to the target plan type to speed up the process. If these are xref function created by planning, you can tell planning to NOT create them with UDAs. If you are using a newer version of Essbase/Planning, you can explore the XWRITE function. This does the same thing, but you won't have the block creation issue because you are fixing on the source, and SENDING data to the target. XREF fixes on the target and PULLS data from the source.
    There is an article explaining this in more detail at http://in2hyperion.com/post/2012/05/02/XWRITE_XREF.aspx.
    Kyle Goodfriend
    http://www.in2hyperion.com
    h4. Please make sure to assign helpful/answered to responses if applicable - it rewards those who help and benefits the user community.

  • Data copy B/W Essbase Applications using script

    How to Data copy from one app to another app.
    Server Name: Server1
    Version: 9.3
    Essbase App: App1
    Data Bases: Db1, Db2,Db3
    Server Name: Server1
    Version: 9.3
    Essbase App: App2
    Data Bases: Db1, Db2,Db3
    Note: App1 & App2 Applications are having similar outlines
    Requirement: Copy Year 2012 Data from App1 to App2
    I have come to know this is possible using Xref calc script.
    Could some one please suggest the script.
    Thanks in advance!

    Partitioning should be the best one as Glenn said, but see if you have licenses for that, as partitioning is licensed separately from essbase.
    The alternatives could be:
    * Data Export / Import: for exporting you could use DATAEXPORT command within a calcscript (see technical reference for details). Then importing the data with a rule file.
    * XREF: this approach could give some headaches with block creation (see https://cn.forums.oracle.com/forums/thread.jspa?threadID=1010153). In general terms, try this one if the portion of data to copy is relatively small and well delimited.
    Nacho.-

  • AIA XREF Functions in Jdeveloper

    Hi,
    I am using XREFs and DVMs in my flows using AIA 3.0. I am not able to see the functions like generate-guid(), functions related to XREF and DVM in the XSLT designer. I remember having installed a AIAXpathFunctions patch for JDeveloper in SOA 10g.
    Is there a similar patch available for 11g or how do we use these functions in XSLs ? Have the definition of the function changed and can we use it the same way we used in AIA 2.0/SOA 10g.
    Cheers,
    - AR

    This is the content from the latest Installation Guide
    JDeveloper enables you to modify AIA delivered content or develop and deploy new AIA custom content. AIA uses special XPath functions and it is necessary to import these into the JDeveloper library. You can import these using either of the following procedures:
    - If you download the AIA plugin from update center to use AIA service constructor, the aia.jar is automatically made available for you.
    - In JDeveloper, navigate to Tools, Preferences, SOA and add the library aia.jar. The aia.jar is available under AIA_HOME/lib directory
    As per the first option, Robert is asking you to use the Service constructor but because this is EAP, we havent made it available in the update center.

  • Xref error

    Hi,
    i have created an Xref table 'AUX_MAIN.xref' with 3 coloumns in that ACC_ID,CON_ID and ADR_ID. whenever i try to insert a record in that table using xref:populateXRefRow1M() function i am getting error.
    when i insert a record for ADR_ID coloumn for ACC_ID= 'acc10' using the xpath expression xref:populateXRefRow1M('AUX_MAIN.xref','ACC_ID',bpws:getVariableData('code'),'ADR_ID',bpws:getVariableData('address_auxVariable'),bpws:getVariableData('xrefAction')) it is working fine and in the next step when i try to insert a record for CON_ID coloumn for the same ACC_ID= 'acc10' using xpath expression xref:populateXRefRow1M('AUX_MAIN.xref','ACC_ID',bpws:getVariableData('code'),'CON_ID',bpws:getVariableData('contact_auxVariable'),bpws:getVariableData('xrefAction')) it is showing xpath expression error.
    any help appreciated.
    thanks

    Hi,
    the XrefAction which i am passing is ADD for populating a record in the table.

  • Version with xref tables

    We are using optimistic locking using a version number on various tables. We have a situation where we using xref tables as follows.
    user object mapped to USER table.
    team object mapped to TEAM table.
    a team has users and a user is on teams.
    This is represented as a many-to-many mapping using a XREF table that has a userID and a teamID.
    The problem is that I want to ensure integrity across multiple users adding and removing users from and to a team.
    We use optimistic locking on the USER and TEAM tables.
    Versioning is not enforced when using the XREF table.
    How best might this be handled. So that one user does't overlay the addition or removeal of users by another user.
    Thanks
    Mark

    Marc,
    The easiest way to do this is to have TopLink force or check the optimistic lock values on the User and Team instances that are involved in the new relationship. Here is a simple code sample from the employee example that forces an employee's optimistic lock field to be incremented when a project is added:
    public void forceOptimisticLockUpdateExample() {
    Employee emp = (Employee) getSession().readObject(Employee.class);
    UnitOfWork uow = getSession().acquireUnitOfWork();
    Employee empWC = (Employee) uow.registerObject(emp);
    SmallProject newProj = (SmallProject) uow.registerObject(new SmallProject());
    newProj.setName("New");
    newProj.setDescription("Example of forcing optimistic lock increment");
    empWC.addProject(newProj);
    uow.forceUpdateToVersionField(empWC, true); // False would mean just check the value
    uow.commit();
    Doug

Maybe you are looking for