FACTOR=USING/TOTAL!!!!

Hi,
I do not understand the meaning of FACTOR=USING/TOTAL in the allocation logic. Can someone explain me this? I tried in forums i could not locate the information. If you feel the information is already available in other threads please direct me there. And also i have seen this code in the example of allocation logic. Can some one explain me this. your help is much appreciated.
*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
Kind Regards,
Surya Tamada.

Hi Surya,
I'm not sure what in particular you don't understand in in FACTOR = USING/TOTAL. It's hard to explain it in general terms because theoretically it could be different combination of USING and TOTAL restrictions.
In your example, where TOTAL = <<< it's much easier.
Basically RUNALLOCATION retrieves data based on restrictions listed in all WHAT parts. In your case it will be P_ACCT = RENT, ENTITY = $SOURCE$, TIME = 2009.JAN AND CATEGORY = PLAN.
Than it selects all data restricted by USING clause (P_ACCT = RENT, ENTITY = BAS($TARGET$), TIME = 2008.JAN and CATEGORY = ACTUAL). It summarizes those USING values in groups that have same values of Dimensions not included in RUNALLOCATION and those in USING. I don't know what those are in your case, but they will be grouped by members of TARGET, since all other dimensions have just 1 value.
Than it calculates ratio of USING/TOTAL; in you case it will be amount for each member of TARGET divided by total amount for TARGET. This ratio is applied to each amount retrieved in WHAT and finally in the result WHAT members are replaced with WHERE members.
So, in your example it will take Planned Source Rent for JAN.2009, distribute it to Target Plan Rent of same period proportionally to amounts of each member of Target had in Actuals of JAN.2008.
Not sure if this came up more clear than the RUNALLOCATION itself, but if you you have a more elaborate question I'll try to give you an answer to that.
Regards,
Gersh

Similar Messages

  • FORMULA=USING/TOTAL IS NOT WORKING IN BPC NW.

    Hi,
       I am doing Migration project from  BPC MS to BPC NW 7.5. In this I am not able test the Allocation formula.
    FORMULA=USING/TOTAL.
    Here in this  Total is not working. The final result same as USING combinational value. The formula is working for USING combination like FORMULA=USING/100,USING*100....,
    WHERE=WHAT* USING/TOTAL.Let me know is there any solution for this.Could you please update me on this.
    Find the below sample code for the Allocation Logic.
    LOGIC:
    *RUNALLOCATION
    *DIM P_ACCT WHAT=CE0004010; WHERE=CE0004020; USING=CE0004030; TOTAL=CE0004210
    *DIM CATEGORY WHAT=PLAN; WHERE=PLAN; USING=PLAN; TOTAL=PLAN
    *DIM P_CC WHAT=India; WHERE=India; USING=India; TOTAL=India
    *DIM P_DATASRC WHAT=UPLOAD; WHERE=UPLOAD; USING=UPLOAD; TOTAL=UPLOAD
    *DIM P_ACTIVITY WHAT=Repair; WHERE=Repair; USING=Repair; TOTAL=Repair
    *DIM RPTCURRENCY WHAT=LC; WHERE=LC; USING=V; TOTAL=LC
    *DIM TIME WHAT=2009.JAN; WHERE=2009.APR; USING=2009.MAR; TOTAL=2009.MAY
    After exccuting this formula and by observing the Formula Log one record write back message displayed.
    Thanks and Regards,
    VC kRISHNA.

    Hi,
       Please find the below Allocation logic. Here in this case also getting the same out put. The whare combinational value same as using. This Allocation Logic and the previous one is working with out fail in the MS version. Let me know is this may be a product issue. Could you please update me in this.
    Logic:
    *RUNALLOCATION                                   
    *FACTOR=USING/TOTAL
    *DIM PROJECT WHAT=BAS(CorpBudg_Project); WHERE=[SCTSQ1]="Y"; USING=<<<; TOTAL=No_PPC                                        
    *DIM ENTITY WHAT=PC10102106; WHERE=NO_PCENTER; Using=<<<; TOTAL=NO_PCENTER                                        
    *DIM ACCOUNT WHAT=BAS(Corp_Budg_Accnts); WHERE=880014; USING=<<<; TOTAL=<<<                                                  
    *DIM DATASRC WHAT=INPUT; WHERE=<<<;USING=<<<; TOTAL=<<<
    *DIM RPTCURRENCY WHAT=LC; WHERE=<<<; USING=<<<; TOTAL=<<<          
    *DIM CLIENT_GROUP WHAT=1010; WHERE=<<<; USING=<<<; TOTAL=<<<     
    *DIM CATEGORY WHAT=BUDGET; WHERE=<<<; USING=<<<; TOTAL=<<<     
    *DIM INTCO WHAT=Non_InterCo; WHERE=<<<; USING=<<<; TOTAL=Alloc_PC10102106                                   
    *DIM TIME WHAT=BAS(2011.TOTAL); WHERE=<<<; USING=2011.BSS; TOTAL=<<<
    *ENDALLOCATION
    *COMMIT
    Thanks and Regards,
    Krishna.

  • What is USING/TOTAL for calculating FACTOR

    Hi all,
    While calculating the factor we use USING/TOTAL what is that actually mean.Is that division of the value in USING and the value in TOTAL.
    If I am using some numeric values for the factor the values are  getting multiplied by that  factor value.
    But if i use this USING/TOTAL nothing is happening....
    Please reply me,
    Thanks in Advance...
    Regards,
    G.Vijaya Kumar

    Hello Vijaya-
    From your description it appears that you are attempting to utilize the Allocation function in BPC, and that your USING and/or TOTAL factors are zero (it appears that the unallocated records are being found since you can apply a manual factor against them).
    Please check that your USING and TOTAL definitions for each Dimension are correctly defined.   
    There is good guide on the set up of allocations that be found at:
    [How-to Manage Allocations in BPC 7.0|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e09eb0c0-87b1-2b10-06be-f1061a206091&overridelayout=true]
    Regards,
    Sheldon

  • How to use total/sum of values obtaind by applying formula on restricted KF

    Hi all
    I am using formula on restricted keyfigure i.e I want to apply formula on quantity for particular material say 100007,100990.I want to use total of values in some other formula,obtained by aaplyin formula on their respective quantities(obtained by using restricted keyfigure). if I use SUMCT or SUMGT it is not taking total of these 2 values instead taking value obtained by applying formula on result row.
    Is there any other way to use this 'total ' value in some other formula
    KIindly help
    Regards
    Megha

    have you tried: key figure properties -> calculations -> calculation directions
    hope it helps,
    Leo

  • Setting up LDAP Server to lookup Connection Factories using JNDI

    Can someone let me know how to setup LDAP server within 10G to lookup connection factories using JNDI?
    I read through the Advanced Queuing User Guide and Reference document where this is mentioned and it says use the Database Configuration Assistant to do this but I could not find how.
    When I install 10G is LDAP server automatically setup? How do I get to it?
    Thanks

    That is correct. I was indeed able to use the app server (10g) to give the LDAP user permission to access the objects, then used sql commands to register the objects inside the LDAP.
    However, I am finding NOTHING about actually creating a unique connection factory that can be registered in the LDAP. I find reference to registering Queues/Topics/Factories inside the LDAP, but nothing about actually creating the factories.
    In fact, here
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28420/aq_envir.htm#sthref409
    it's listed that you cannot use sql to create a connectionfactory... not to mention the create java commands for factories look strikingly similar to the queue/topic GET commands, and not the create commands. You can add an alias for that factory using sql, but can't actually create the factory using sql... ???

  • Recording Streaming Audio Using Total Recorder in Vi

    Last year I purchased High Criteria's Total Recorder to successfully record sounds over the internet, etc. Earlier this year I bought a new PC with Vista and onboard sound, and I?installed Total Recorder on the new PC. ?It no longer worked. I checked their website, but they weren't much help. They said to look for a "wave out" option in recording, but there was none. Thinking that it was the onboard audio causing the problem, I bought and installed an Audigy SE sound card yesterday. While it gives me a few more recording options, I still can't use Total Recorder. Cqan anyone please give me some suggestions as to how to make this work? Or is there another program out there to record streaming audio in Vista? Thanks.

    Hi
    Can you record using mp3 or wma -format (on 28kbps) with these tools you have? These formats packs wav data to ~/0 deal from original without huge quality loss.
    If not you can try if there is some other recording tools. There are also freeware products on many SW sites like
    http://www.download.com/Audio-Video/200-2025_4-0.html?tag=dir
    http://www.winsite.com/
    .jtp

  • How often syncs Firefox sync with the server were my bookmarks are storaged? Can I turn of the historical sync because one computer is at home and the other is at work. So I use totally different webpages and would like to have the history disabled.

    How often syncs Firefox sync with the server were my bookmarks are storaged? Can I turn of the historical sync because one computer is at home and the other is at work. So I use totally different webpages and would like to have the history disabled.

    OK, I found the part about history. It is just to unmark that.
    But still i wonder how often it sync? Instantly? Or when closing FF?

  • How do u calculate the thd ( total harmonic distortion) and the power factor using 5922

    are they basic labview vi that does this? is any one willing to share idea with me ...

    Double post.
    Please refer to this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=203504

  • How to use "&Total physical pages" in the format trigger?

    Hi all:
    How should I to use the system variable "&Physical page number" and "&Total physical pages" in the format
    trigger?
    I can not use these 2 variables in the format trigger directly or i will reveive an error message.
    Thank You!

    It may help you to know how I add JARs
    1. I open my Project (myProject)
    2. I Mount the JAR to the FileSystem (like mypackages.jar = which includes com.mus.de.myClass.java)
    3. I Mount the File to the FileSystem (like c:\..myfiles..\myProject)
    3.1 I add the File to my Project
    4. I select File | New -> Classes | Main
    4.1 I typed "import com.mus.de.myClass.java" to refer to this package.
    4.2 I called some of the public methods
    thats it
    Andreas

  • How can i find the gain/amplification factor used when acquiring a voltage signal using PCI 6036E

    in short, i am interested in find the sensor gain for used in feedback loop simulation

    Greetings!
    The gain setting defaults to unity gain, but it is selectable to x10 or x100, also. (This is your pre-digitizing gain, of course...after it's in digital form, you can tweak the gain to anything you want in your VI.
    Hope this helps.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • How to use total elements in a script logic?

    Hi All,
    I am using BPC 7.0 MS. I need to create a calculation using script logic as follows:
    The application name is GYP and it is composed by the following dimensions:
    PL (Account type) in this dimension are the units
    Time
    Category
    Entity
    Product
    RptCurrency
    I would like to make a calculation like this:
    UNITS of any product (base element) and any entity (base element) for the BUDGET category and LC currency divided by UNITS of TotalEntity.
    Also, I would like to check before the calculation if UNITS have any value to proceed with that calculation.
    Best Regards,
    Luisana

    Hi Robert,
    Thank you for your reply.
    Let me explain better what i would like to do. I have an application called GYP, it is composed for the following dimensions:
    PL (Account type)
    Time
    Category
    Entity
    Product
    RptCurrency
    In the PL dimension i have an element called UNITS and another one called UNITSBYX. I would like to get a calculation like this:
    For the BUDGET category and LC currency.
    UNITSBYX = UNITS for each ENTITY / UNITS for ALL_ENTITIES
    Let's say I have three entities:
    Units for Entity1 = 50
    Units for Entity2 = 100
    Units for Entity3 = 300
    Units for All_Entities = 450
    The calculation should be like this:
    UNITSBYX = Units for Entity1 / Units for All_Entities
    UNITSBYX = 50 / 450
    UNITSBYX = 0.11
    UNITSBYX = Units for Entity2 / Units for All_Entities
    UNITSBYX = 100 / 450
    UNITSBYX = 0.22
    I hope you get my point.
    Kind regards,
    Luisana

  • Its really of not much use - total disappointment

    Where do i execute statements like select * from.... ??
    Generally with any SQL / DB Tool we expect an SQL Editor/Query Window. Like we right click or double click on connection or DB and we get query window.
    Here we just get it for only if we want to modify something in table/procedure. Really Dumb..!!
    I am using SQL Explorer, DBViewer plugins for Eclipse. atleast they provide nice basic toolset to use.
    I have to search and figureout something called scrapbook to insert and test basic sql queries
    I was expecting a good easy -to-use plugin tht has adequate feature to work with Oracle DB in eclipse.

    You got further than I did. I'm trying to follow directions from 'http://www
    .oracle.com/technology/tech/eclipse/dtp/files/gettingstarted.html' but I can't get DBViewer plugins for Eclipse to show up. Any suggestions?

  • CPU Usage High, Individual Apps Not using Total

    Hi everyone,
      I've got a 2007 white Macbook currently running the most up to date version of Snow Leopard and recently the fan has been on a lot more often than it usually is and when I check in Acitivity Monitor the CPU usage is extremely high.  Normally it's around 2-4% tops but several times over the last few months it's been at 50-60% sustained usage for a long time (upwards of 20 minutes, then I just reboot it).  Once or twice it waws higher than 100%.  I checked Activity Monitor and killed the normal culprits like Shockwave and Flash, then anything with Microsoft in the name.  I'm a big tabbed browser user so I closed off google Chrome.  Right now, running Adium, iCal, Powerpoint (small file size, only 5 slides), and Word, 45% of the CPU is currently in use.  I went through and systematically closed everything but the CPU usage is still around 45% after closing all active programs in the dock other than Finder and Activity Monitor.  The strange part for me is that the amount of CPU usage is not the sum of the CPU usage of all the programs currently running.  It's not even close (like 1% versus 45%)
      Does anyone know what might be wrong?  Rebooting it will usually fix this problem, but I'm worried I either have Malware, a Trojan that iAntivirus isn't detecting, and my computer is somehow being used without my knowledge or something is wrong with my Mac.
    Thanks in advance for any help!
    Specs are Macbook 3,1, Intel Core 2 Duo 2.2 GHz, 4GB ram

    hrishy wrote:
    Hi
    Why so much time is being spent in CPU ?
    Apologies the rich text editor is not working and i am unabel to format this code properly
    Rows  Operation
    ______0  NESTED LOOPS (cr=117469550 pr=444 pw=0 time=1670966102 us)
    (snip)
    ______0                    NESTED LOOPS (cr=117469550 pr=444 pw=0 time=1670965844 us)
    462,472                       NESTED LOOPS (cr=1389078 pr=196 pw=0 time=12429546 us)
    (snip)
    ______0                       TABLE ACCESS FULL CON (cr=116080472 pr=248 pw=0 time=1889064945 us)
    (snip)
    The execution plan shows a nested loop join between a row source containing 462,472 rows and a full table scan of the table CON - that means the table CON was full table scanned 462,472 times, resulting in 116,080,472 consistent gets in 9 executions. The consistent gets are the cause of the high CPU usage. You might work through the links provided by Narendra to find the cause of the nested loop joins. Maybe this indicates a problem with the object statistics, or possibly it is caused by an unfortunate set of parameters that affected the optimizer's decisions.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Script logic - how to use a selection variable within an allocation logic

    Hi,
    I want to implement a simple top-down distribution to distribute values from a yearly budget (Y20xx.TOTAL) to a quarter budget (Q20xx.Q1, ... Q20xx.Q4) using the actuals of the previous year as reference.
    If we hard code the members it works fine:
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
    *DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
    *DIM CATEGORY WHAT=SBO; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    Of course, we want to make this dynamic, using the values inputted in the selection screen of the package: time, entity and category.
    So if we start with write the following logic, it does not work anymore:
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
    *DIM TIME WHAT=%TIME_DIM%; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
    *DIM CATEGORY WHAT=%CATEGORY_DIM%; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    So, how to use the selection variables in this allocation logic? %TIME%, %CATEGORY% also did not work ...
    regards
    Dries
    solved it ...
    Edited by: Dries Paesmans on Feb 22, 2009 8:31 PM

    Hi Dries,
    Looks like you solved this, but if I can just add a small point -- when you use syntax like this:
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN);
    *DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL);
    each time the logic runs, it will scan through the dimension from the FIN and Q2009.TOTAL members, one level at a time, until it reaches the base members (where calc = 'n'). This may happen very quickly, if the dimension has very few levels, but could take a bit of extra time if it's a particularly deep dimension. (By which I mean many levels of hierarchy -- not some 1970's Pink Floyd musical reference.)
    You may speed things up by using a member property instead of the BAS(xyz). Flag all the base members using a specific property value, and that way the logic engine can pick up the complete list of members in the WHERE clause, in a single query.
    *DIM Account What=ACC_NOT_ASSIGNED; Where=[FloydProperty]="DarkSideOfTheMoon"; ...
    This adds some maitenance work in the dimension, which may be problematic if your admins are changing it regularly (and will cause problems if they forget to update this particular property).
    I can't predict how much time this will save you (maybe not much at all), but anyway I figure you'd want to know exactly what work you're asking the system to perform.
    Regards,
    Tim

  • Script Logic: Changes in FACTOR ignored

    Hi colleagues,
    I'm running a basic allocation (BPC 7.5 MS):
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM P_ACCT WHAT=5301010130; WHERE=5301010130; USING=5301010130; TOTAL=5301010130
    *DIM P_RE WHAT=160371292;WHERE=[LAND]='UK' AND [DIVISION]='Land' AND [ID]<>'160371292' AND [ID]<>'UK__LAND'; USING=<<<; TOTAL=UK__LAND
    *DIM TIME WHAT=2011.JAN; WHERE=2011.JAN; USING=2010.JAN; TOTAL=2010.JAN
    *ENDALLOCATION
    The trouble is that when calculating the allocation FACTOR is always set to USING. I have the following values for JAN.2010:
    P_RE:   Value for USING
    A   =      2
    B   =     3
    C   =      5
    The value to allocate (WHAT) is 100. Whatever I write as FACTOR (USING, USING/TOTAL, 10000, or even USING/0 which should generate an error) gives me the WHERE values for JAN.2011:
    P_RE:   Value for WHERE
    A    =     200
    B     =    300
    C     =    500
    Thus the engine always multiplies WHAT with USING for each P_RE.
    When debugging, WHAT is calculated correctly, but the beginning of the log reads:
    Executing allocation @A_1 -
    FACTOR = USING
    APP/DIM      WHAT         WHERE                                                     USING        TOTAL
    P_ACCT  -->  5301010130   5301010130                                                5301010130
    P_RE    -->  160371292    [LAND]='UK' AND [DIVISION]='LAND' AND [ID]<>'160371292'   <<<
    TIME    -->  2011.JAN     2011.JAN                                                  2010.JAN
    -->
    As you see, FACTOR is set to USING and I don't see the TOTAL value anywhere in the table.
    Any light to be thrown???
    Cheers,
    Cecilia

    Hi colleagues,
    I'm running a basic allocation (BPC 7.5 MS):
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM P_ACCT WHAT=5301010130; WHERE=5301010130; USING=5301010130; TOTAL=5301010130
    *DIM P_RE WHAT=160371292;WHERE=[LAND]='UK' AND [DIVISION]='Land' AND [ID]<>'160371292' AND [ID]<>'UK__LAND'; USING=<<<; TOTAL=UK__LAND
    *DIM TIME WHAT=2011.JAN; WHERE=2011.JAN; USING=2010.JAN; TOTAL=2010.JAN
    *ENDALLOCATION
    The trouble is that when calculating the allocation FACTOR is always set to USING. I have the following values for JAN.2010:
    P_RE:   Value for USING
    A   =      2
    B   =     3
    C   =      5
    The value to allocate (WHAT) is 100. Whatever I write as FACTOR (USING, USING/TOTAL, 10000, or even USING/0 which should generate an error) gives me the WHERE values for JAN.2011:
    P_RE:   Value for WHERE
    A    =     200
    B     =    300
    C     =    500
    Thus the engine always multiplies WHAT with USING for each P_RE.
    When debugging, WHAT is calculated correctly, but the beginning of the log reads:
    Executing allocation @A_1 -
    FACTOR = USING
    APP/DIM      WHAT         WHERE                                                     USING        TOTAL
    P_ACCT  -->  5301010130   5301010130                                                5301010130
    P_RE    -->  160371292    [LAND]='UK' AND [DIVISION]='LAND' AND [ID]<>'160371292'   <<<
    TIME    -->  2011.JAN     2011.JAN                                                  2010.JAN
    -->
    As you see, FACTOR is set to USING and I don't see the TOTAL value anywhere in the table.
    Any light to be thrown???
    Cheers,
    Cecilia

Maybe you are looking for

  • Creation of catalogue file.BAPI to FILE scenario.

    hi, I am currently working on a RFC to file scenario. The requirment says a catalogue file needs to be created at target.Please tell me what a catalogue file is?how is it created?

  • Call RFC in BSP

    Hi all Can anybody suggest me how to call the remote function module from a another SAP system. When i give the destination and call the FM it is opening a new GUI window promting user id and pwd. Is there a way to skip this and call the remote FM.

  • How do I update bookmarks?

    I don't know if this is a problem or a functionality request, but here goes: If the URL of a bookmarked page changes (e g due to site restructuring) I would like to be able to add the new bookmark in such a way that it replaces the old one, rather th

  • Updated to snow Leapord and now my time capsule is slow

    Recently updated Mac mini to snow Leapord and since then my wireless network is 2mb/s or slower on my 1TB time capsule. Can anyone help?

  • Printing Problems with Vista (Wireless)

    So I just got the Airport setup for the office network and everything is working perfectly. However, I am having problems printing with my laptop (wireless). Laptop is running Vista. I setup Bonjour and the document prints however whenever there is c