Allocation Question

Hi
I have a script which allocates values across a dimension's base members but some members cannot be accessed by certain users of this script. Therefore, the user's who do not have access to all the base members of the dimension in question cannot run the script.
Here is the script which I am referring to:
*RUNALLOCATION
*FACTOR=-1*USING
*DIM ACCLABOUR           WHAT=WIP_VOL_FINAL;                  WHERE=HOURS_REQ;             USING=WEIGHTED_KG
*DIM PRODUCT                WHAT=BAS(ALL_BU);                    WHERE=<<<;                          USING=NOPRODUCT
*DIM ENTITY                    WHAT=BAS(TOT_ENTITY);              WHERE=<<<;                        USING=NOENTITY
*DIM MACHINE                   WHAT=NOMACHINE;                       WHERE=>>>;                       USING=BAS(TOT_PROCESS)
*DIM WIP                     WHAT=BAS(TOT_WIP);              WHERE=<<<;                             USING=<<<
*ENDALLOCATION
*COMMIT
The line which refers to the dimension which is secured is:
*DIM ENTITY                    WHAT=BAS(TOT_ENTITY);              WHERE=<<<;                        USING=NOENTITY
I want to know if it is possible to write some code that will check which members the users running the script has access to and then allocate the values to those members.
Please let me know if you need any more info on the above.
Thanks,
Jamie

Hi Roberto
I asked this because earlier in this script (I omitted it from the first post as it was not relevant) we have used %ENTITY_SET% like so:
*XDIM_MEMBERSET ENTITY=NOENTITY,%ENTITY_SET%
*XDIM_MEMBERSET DATASRC=INPUT
*XDIM_MEMBERSET ACCLABOUR=IDEAL_KGL,IDEAL_KG,MACHINE_WEIGHTINGS,STND_KGL,STND_KG,TOT_MAN,ACT_PROD_MACHINE,MAC_RUN_ACH,ACT_PROD_KG_HOUR,ACT_TMAN
*WHEN ACCLABOUR
*IS "MAC_RUN_ACH"
*REC(FACTOR=-1*GET(ACCLABOUR="TOT_MAN"),ACCLABOUR="ACT_TMAN")
*ENDWHEN
*COMMIT
On inspecting the log file I can see that this query looks at members NOENTITY & <member from parameter screen> for the ENTITY dimension.
There doesn't appear to be any INCLUDE statements in this code and yet it seems to select the members we want. So with that in mind would the same work if I re-wrote the allocation section of the code like so replacing the BAS(TOT_ENTITY) with %ENTITY_SET%:
*RUNALLOCATION
*FACTOR=-1*USING
*DIM ACCLABOUR           WHAT=WIP_VOL_FINAL;                  WHERE=HOURS_REQ;             USING=WEIGHTED_KG
*DIM PRODUCT                WHAT=%ENTITY_SET%;                    WHERE=<<<;                          USING=NOPRODUCT
*DIM ENTITY                    WHAT=BAS(TOT_ENTITY);              WHERE=<<<;                        USING=NOENTITY
*DIM MACHINE                   WHAT=NOMACHINE;                       WHERE=>>>;                       USING=BAS(TOT_PROCESS)
*DIM WIP                     WHAT=BAS(TOT_WIP);              WHERE=<<<;                             USING=<<<
*ENDALLOCATION
*COMMIT
Thanks,
Jamie

Similar Messages

  • Basic allocation question

    Hello Everyone, I was reviewing the allocation information from SDN and had a quick question:
    //*WHEN ALL_ENTITY
    //*IS "ASA"
    //      *REC (EXPRESSION=$ASARENT$,ALLOCATION_TIME=2010.JAN,ALLOC_CATEGORY=PLAN)
    //*ENDWHEN
    //*COMMIT
    Could someone please explain what is $ASARENT$ mean? I dont see any dimension members with that name ASARENT. could someone please elaborate?
    Thanks.

    Hello,
    I don't see how this is related to allocations because there is no RUNALLOCATION in that script.
    Nevertheless, $...$ is parameter transferred from DM Package Dynamic Logic. You should have TASK REPLACEPARAM in that script to be able to pass it via Process Chain to K2 Script Logic (you can find more info on this in How To Guide on passing parameters from a DM Package toa script.) Based on syntax of *REC $ASARENT$ is not a Dimension member, but a value that will be assigned in addition to assigning ALLOCATION_TIME=2010.JAN and ALLOC_CATEGORY=PLAN to all records that have ALL_ENTITY = ASA.
    Hope this helps,
    Gersh

  • ML Ram, VRAM paging and allocation questions.

    Question 1: I have been dealing with ram issues since I got my 2012 13 MacBook air since I put mountain lion on it. I benched the machine for awhile because of it and used my 2011 MBP since it has 16gb of ram but it recently gave up the ghost so im back on the air. I did all the updates it needed since being benched and for my light duty work it’s always good but as soon as I have more then 2 or 3 apps open at the same time or 6 or 7 safari tab it really goes to crap. After a cold boot with nothing running the OS is using 1.4-1.6gb ram to idle the older MBP used 1gb or less after a cold boot. I have gone to the trouble of doing a complete reinstall and not using any extra apps other then iLife and iWork and that hasn’t helped. The wired ram sits right at a gig and the active ram right around 4-5 hundred mb. I have added up all the running processes and factored in a 10% increase over that number just in case and added in the video ram(which with 4gb of system ram I thought was supposed to be 384mb but its actually 512mb, which is another topics ill be asking about) at 512mb the totally ram usage is only 918mb. I asked this once before and didn’t get any help so ill ask again, is this ram usage normal for this kind of machine or is there something wrong? The apple store says there isn’t anything wrong but there has to either be something wrong or the OS has hidden processes that cant be seen in activity monitor?
    Question 2: did one of the updates increase the video ram allocation and is the video ram automatically and always paged or does the OS and graphics processor (HD4k) page VRAM only as needed?
    If the graphics processor doenst always page all the video ram and does it dynamically then I have an even bigger problem and more ram being used and not accounted for.

    Your issue almost certainly has nothing to do with RAM. Right now I am running Photoshop, FileMaker Pro, Word, iTunes, Mail, I have 8 tabs open in Safari, and about little utilities running. It is a 2011 MBA with 4GB of RAM and it feels no slower now than it did when I rebooted it yesterday after installing an update.
    Obsessing over the Activity Monitor's report of RAM usage will get you nowhere - there's only one number in the entire dialog box that has any real importance to us: Page Outs - which indicate how much data has had to be swapped from RAM to hard drive, which, of course means you are trying to use more RAM than the computer actually has.
    I suggest that you take a close look at what processes are running and the CPU usage of each. You may have a rogue process that is bogging the computer down. Another two prime suspects would be Internet plug-ins and Safari extensions.
    One of my most important troubleshooting tools is a test account in which I've installed no software or performed any configurations. When my computer acts up I boot into that account to see if the problem follows me there. If it does not, I know the problem exists in my library.

  • Allocation Question -- Selecting Non-zero Dimension Members?

    Hi experts,
    (BPC 7.5 NW)  During an Allocation process, if you have a dimension, such as COSTCENTER for which only some members have data (in my case, about 400 of 700), which is not the driver dimension and you'd like to have the Allocation write back to those same members, while leaving the blank ones blank, is there some special process?
    In this example, you can see it selecting the CC's which are <> NO_COSTCENTER, but USING the Allocation rate, which as a stat account is stored in NO_COSTCENTER.
    So, it all works, except that the logic function writes a percentage to all three CC's specified in the *XDIM_MEMBERSET, even if there were initially values in only one or two.  Is there any way to have it write only to the ones that were initially populated/non-zero?
    ===================================================================================
    *XDIM_MEMBERSET ACCOUNTGL=A54442000,A54443000,A59989000,ALLOC_0702
    *XDIM_MEMBERSET COSTCENTER=CC01000,CC01004,CC01027,NO_COSTCENTER
    *XDIM_MEMBERSET CATEGORY=ACTUAL
    *XDIM_MEMBERSET CO_CODE=C001
    *XDIM_MEMBERSET TIME=2007.APR
    *RUNALLOCATION
    *FACTOR=USING
    *DIM COSTCENTER WHAT<->NO_COSTCENTER; WHERE<->NO_COSTCENTER; USING=NO_COSTCENTER
    *DIM ACCOUNTGL WHAT=A54442000,A54443000; WHERE=A59989000; USING=ALLOC_0702
    *ENDALLOCATION
    *COMMIT
    Edited by: Garrett Tedeman on Nov 4, 2010 6:59 PM
    Edited by: Garrett Tedeman on Nov 4, 2010 7:24 PM
    Update -- Just discovered that the "AMOUNT" keyword, which was used on the MS version, will not validate on BPC 7.5 NW.

    Hi Garrett,
    I'm not sure I understood what is the problem here: is it that allocation overrides some existing values on those Cost centers and Account A59989000 or you just don't like those records with zeroes?
    If it's the last one, that just run light optimization and check that zero elimination is turned on. It will delete your records with zeros.
    If it's the first one, that common practice is to use additional Dimension (DATASRC for example) and populate it with some value for all Cost centers from which you taking data (INPUT for example); than include it in allocation with WHAT = INPUT. You have to define additional member in that dimension (RESLT for example) and put WHERE = RESLT in allocation. By using this technique you achieve at least two benefits:you don't override existing values and you can run allocation as many times as you want without deleting results of previous allocations. You don't have to use that dimension in your reports and data will be just summarized across that Dimension.
    Please let me know if you had something different in mind.
    Regards,
    Gersh

  • Solaris Memory Allocation Questions

    Hi,
    I am a Columbia University engineering graduate student doing research on Solaris 10 Operating System. I just have 3 quick questions that I was unable to find answers for on the Sun Documentation website. If any1 can help me answer these questions or point me to resources that do I would really appreciate it. The questions are as follows.
    1. Does Solaris 10 provide developers with methods to ask for memory that only programs running with a certain security key or privilege can access?
    2. Also, can develops ask for private memory? I understand that during write on shared memories, copy-on-write will generate a copy of the shared memory page and make that private to the process but I am not sure if there are ways to allocate private memory at the beginning.
    3. Does Solaris 10 provide developers with methods to ask for memory that is fixed in memory and not pageable? I understand that by asking for ISM then the pages are locked in memory. But I was wondering if there are methods that an application can call that does this without having to share memory.
    Thanks,
    Larry Chen

    larrychen wrote:
    1. Does Solaris 10 provide developers with methods to ask for memory that only programs running with a certain security key or privilege can access? Solaris 10 changed everything to be based on process privileges (see the output of "ppriv -vp" for a list). It's not clear to me on a brief inspection which limits access to a processes address space but that is the mechanism.
    2. Also, can develops ask for private memory? I understand that during write on shared memories, copy-on-write will generate a copy of the shared memory page and make that private to the process but I am not sure if there are ways to allocate private memory at the beginning.Anytime you allocate heap space (eg. a call to "malloc") you get private memory. Well, technically you get it as soon as you reference it -- the call to malloc just generates the mappings, the page fault when you access it instantiates the page in RAM.
    3. Does Solaris 10 provide developers with methods to ask for memory that is fixed in memory and not pageable? I understand that by asking for ISM then the pages are locked in memory. But I was wondering if there are methods that an application can call that does this without having to share memory.Yes. First you must have the process privilege of "proc_lock_memory". After that you can call "mlock"

  • 1394 Resource Allocation Question

    I am using Labview 6.1 , IMAQ Vision and 1394 Driver ver 1.1 . I have a problem with the 1394 IMAQ Driver and would appreciate any insight. The problem is that the driver seems to be too conservative in it's resource allocation during initialization of multiple 1394 cameras and I need to acquire and process from between 10 and 12 cameras. I have installed up to 4 FireboardRed OHCI interface cards with VIA ( 8 DMA channels )chipset , in 1 PC. I can install my cameras under the manufacturers drivers and run their demo application which lets me start and acquire / display 10 cameras at once at 30 fps /mono. This tells me that that is possible and not a bandwidth limitation problem. When using the NI-IMAQ 1394 drivers ,the best I can get is
    2-3 cameras @ 30fps or up to 7 @ 3.75 fps. The driver returns an error " not enough resources available for acquisition" or the like. I have tried many combinations of frame rates and video modes to bump up the performance , but I can't see why the driver will not allow more than 4 @30 fps to be initialized. This is killing me if I have to make use of other drivers and lose the funtionality of the NI 1394 Driver. I know that certain 1394 interface cards only have 4 DMA channels , but I am running cards with 8 Channels and even so , I can plug 1 camera per port , per card , for a total of 12 using the Fire-I Driver with the 4 channel cards. Help. Thanks.

    Please give version 1.5 a try. You should be able to acquire 30fps, 8bit mono on three cameras per 1394 adapter.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • Product Allocation question

    Hi all,
    My client is looking to implement product allocation and would like to know the difference in the functionality as available in R3 and the one offered by GATP. Would be great if you can let me know.
    Regards
    Praveen.

    Hi praveen,
    Look into the threads.
    http://help.sap.com/saphelp_47x200/helpdata/en/93/744d05546011d1a7020000e829fd11/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/98/5ad83738c11613e10000009b38f8cf/frameset.htm
    might be helpful.

  • Copy secondary costs from plan to plan

    Hi,
    I have a allocations question.
    We're freezing (copying) our plan values every year to say plan version B0.
    Every quarter we'd like so copy another version with the changes made to plan values since the last copy, let's call this versions A1 - A4.
    Now we'd like to keep the allocated values (which are secondary costs) from version B0 and copy those to A1 - A4, without having to run them another time in A1 - A4 again.
    I know KP97 can not copy secondary costs and only manually planned costs but is there a way to get the secondary costs which are still sitting in B0 into the quarterly estimates A1 - A4?
    Any suggestions welcome.
    Thanks for your help,
    Roland

    Hi,
    a plan assessment cycle contains CO-version information in its header date.
    You can use KSU7 to copy a plan assessment cycle from version A to version B, just enter CO-version B in the header data of the copied cycle and ensure that in "sender values" the version is initial (thus the header data CO-version takes place).
    BR Christian

  • The question about activity allocation

    business scenario:
    1, The sole purpose is to capture costs,  use KB21N for activity allocation.
    Question: in WBS or netwok activity. there is no relevant work time.
    Please explain me all the steps to be required.
    Thanks in advance

    Hi,
    I under stood as follows.
    You want to capture actual cost in PS. For this you need to have Work centers.
    Assign the same to internal actvities. Release the activity and confirm the same.
    In SAP, Standard report, you get No hours Actuals, Planed... etc. Check in CN41, CN71 and execute the Project. Check the field selection, there you get the details you required.
    Hope my understanding is correct.
    Regards
    N.Raju

  • Question on Allocation.

    Hello Experts,
    I am new to BPC.
    I am running a below Allocation Code from Default.Lgf. Code is running with our an error.
    *RUNALLOCATION
    *FACTOR=USING/100
    *DIM A_ACC WHAT=RENT;WHERE=RENT;USING=Precentage
    *DIM A_ENTITY WHAT=ADMIN; WHERE=ADMIN; USING=ADMIN
    *ENDALLOCATION
    Here in code, I have "Percentage" in Account Dim. And i enter "10" for "percentage" in FACT Table.
    After runninf Default.Lgf code.
    My FAC2 & FACTWB tables are not displaying any records.
    my question: where i can see the out put of allocation records.
    Please help.
    Thanks & Regards,
    Satish.
    Gmail: satish.mba.sap

    From a business perspective this logic is not making sense:
    *RUNALLOCATION
    *FACTOR=USING/100
    *DIM A_ACC WHAT=RENT;WHERE=RENT;USING=Precentage
    *DIM A_ENTITY WHAT=ADMIN; WHERE=ADMIN; USING=ADMIN
    *ENDALLOCATION
    You are getting the rental amount from your ADMIN entity and writing it back to the same entity and not "allocating" it.
    Assuming Percentage for ADMIN is 100% this logic will write 0 values to the DB (logic writes the difference. new values - old values), which, I'm assuming, don't get written.
    Are you sure you're not trying to do this:
    *RUNALLOCATION
    *FACTOR=USING/100
    *DIM A_ACC WHAT=RENT;WHERE=RENT;USING=Precentage
    *DIM A_ENTITY WHAT=ADMIN; WHERE###ADMIN; USING###ADMIN
    *ENDALLOCATION
    ps: Please replace ### above with different operator. I'm having trouble displaying them here
    The example above is getting the rental amount from your ADMIN entity and allocating it to all the other entities different than ADMIN. Make sure the Percentage account sums up to 100% for all entities different than ADMIN.
    Regards
    Paulo

  • Question on Allocations in Oracle Projects

    Hello All ,
    Please let me know how to transfer amount on one task to another within the same project using Project allocations.
    If there are Multiple Projects present in the system how do we map that cost from a project goes into another task on the same Project . How do we establish a one to one relationship between the source and targets in this case?
    Regards
    DR.
    Edited by: 933993 on Nov 2, 2012 5:14 AM

    Hi
    You should set up an Allocation Rule for each pair of project and tasks you want to transfer costs between.
    Navigate to Project Costing > Allocations > Allocation Rules.
    A) On the setup form enter a name to the allocation rule, Select Basis Method as Target % and spread Evenly.
    Enter the expenditure organization, exepnditure type class and expenditure type for the EI resulting in the allocation run. Save.
    B) Now open the Sources form - Under the Project Sources section select the amount type (raw or total burdened cost), then enter the first line of the source - there you list the projectt and task being the source. Save.
    C) Open the Targets form. On the first line enter the project number (same as above), and the task number which you want to be the receiving task. On the % column enter 100%. Save.
    D) At last go to the Offset form. There you may choose the offset method and the offset transaction attributes. Save.
    Dina

  • ASO Allocation EXCLUDERANGE syntax question

    am developing an allocation script and need to be able to exclude certain members identified by UDAs from the allocation. When I try to use the UDA function in the excludedrange specification I cannot find a solution to the requirement to have the excluded range statement in double quotes as well as the UDA value. Script is as follows:
    execute allocation process on database app.db with
    pov "Crossjoin({[Final]},
    Crossjoin({[b701]},
    Crossjoin({[c21001]},
    Crossjoin({[i000]},
    Crossjoin({[All Reports]},
    Crossjoin({[All Channels]},{[a41510]})
    amount "[PD08]"
    amountcontext "([l0999],[Act],[2013])"
    target "([Alloc],[PD08],[2013])"
    range "Attribute([Status_Open])"
    excludedrange "UDA([Location], "Exclude_Alloc_1")"
    spread
    Can anyone suggest an escape character combination that might work ?
    Thanks,
    Gavin

    I really don't understand what you are trying to do (may be because you are in 11 version{allocation in ASO cube sounds kool).
    but I can tell you the syntax error you are getting at first line.
    change it to:
    "crossjoin([Year].[FY10],crossjoin([period].[Jan],crossjoin([account].[a111],[Entity].levels(0))))"
    Thanks,
    Jeeth
    Edited by: Jithendra on Oct 14, 2010 5:20 PM

  • Organization & Cost Allocation : API question

    Hello
    I need to setup the master data of cost allocation segments (Segment1 to 6) in our case, I am unable to find a suitable API for the purpose. I was expecting that hr_organization_api.create_hr_organization or hr_organization_api.create_organization should be accepting these segments to create an org and a cost_allocation_keyflex_id but that is not the case.
    I searched and came across hr_cost_allocation_api.create_cost_allocation where it does take in segments but also has assignment_id as a mandatory field which doesnt make sense as I am only interested in first setting up cost allocation segments and logically this should happen first and later we shud be able to assign it to the employee's assignment.
    Can anyone guide me to an API that setup the cost allocation?
    Thanks & Regards
    - Saira

    Ivan,
    All segments are optional
    Following is the error that I get:
    ORA-20001: HR_FLEX_VALUE_MISSING: N, COLUMN, SEGMENT1, N, PROMPT, COMPANY
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 1359
    ORA-06512: at line 8
    Certainly it tries to look for segment1 value (which I dont want to supply) thus it gives error as I have not assigned the value to segment1 and as part of business need , cost centre's cost allocation must be only to segment2,4,5,6.
    I have also tried giving segment1 & 3 as NULL but get the same error
    Thanks
    - Saira

  • Question about Allocation

    Hi Guru's
    Have written a simple allocation to distribute the amount in an account to regions based on the sales in the regions. The distribution is working all right the amount in the source account still exists which is leading to twice the amount, will I have to write another logic to clear the amount????
    Example
    Before allocation
    Amount to Allocate (What)
    Region 1       Region 2      Region 3     Region 4    Other Region
    0              0               0           0              100
    Sales by region (Using)
    Region 1       Region 2      Region 3     Region 4    Other Region
      10            20             30         40                                                                      
    Results
    Region 1       Region 2      Region 3     Region 4    Other Region
       10           20             30         40             100
    After allocation the amount in Other Region still exists, is this standard behavior....
    thanks

    Hi,
    Thanks for a prompt reply. The allocation results are written to a new data source so they are segregated from other data. Here's the business need can you help me with a solution
    There are some expenses incurred at other region level (anything not belonging to Geo identified by client) and these expenses have to be allocated to the Geo's based on there revenue %.
    In the above scenario if the original expense is not backed out it would lead to doubling up of expenses as most of the reporting is done at the total geo level (includes other region).
    Thanks

  • Question regarding Transient & persistent Allocation

    Hi,
    I read in the Javacard Technology for Smart Cards book that in order to create a persistent storage accross CAD sessions, the new operator needs to be used. Does this imply that anything else not created with the new operator is created in RAM & therefore discarded accross CAD sessions ?
    Also, as far as I understand , the APDU buffer is created in RAM & therfore its contents are not saved at the end of the applet (which makes sense for security reasons).
    Can someone shed sme light on these please ?
    Many thanks in advance.

    Hi there,
    I have a similar conundrum.
    The way I interpret the example above (JCSystem.makeTransientObjectArray) is that it only creates a transient array. In other words what is created in RAM is an array of pointers that most probably points to objects that are held in EEPROM. On reset the array is cleared (current_file evaluates to NULL) but the objects that were referenced by that array become non-referable objects (Objects that are not referred to by any reference). These objects would generally be garbage collected in normal Java but in Java Card RE the JCSytem.requestObjectDeletion() would have to be called explicitly. Again this is because I believe that the actual Object is stored in EEPROM not in RAM.
    So my question is. How do you create an Object that is stored in RAM not in EEPROM or is this performed automatically by the JC RE? Is the RE smart enough to realise that the reference pointing to the new object is stored in persistent memory thus on assignment it transfers the object from RAM to EEPROM? For example would the instance of MyClass (example below) be stored in EEPROM or in RAM?
    class MyApplet extends javacard.framework.Applet {
         private Object[] transientObjs = null;
         private void someMethod() {
              if (transientObjs == null) {
                   transientObjs = JCSystem.makeTransientObjectArray((short)1,JCSystem.CLEAR_ON_DESELECT);
                   transientObjs[0] = new MyClass();
              byte b1 = JCSystem.isTransient(transientObjs); // returns JCSystem.CLEAR_ON_DESELECT
              byte b2 = JCSystem.isTransient(transientObjs[0]); // returns JCSystem.NOT_A_TRANSIENT_OBJECT

Maybe you are looking for

  • Table function in other languages.

    In a table, I have a column of numbers that have been typed in Arabic (So I can type in arabic no problems).  However, in the very bottom cell, I'd like to put a fucntion such as 'sum'. it doesn't work unless I write all the numbers in English. Is th

  • HT202297 Reminders not showing up on Calendar.

    I don't have any indication within Calendar app of being able to view my reminders.  I noticed in other comments from others that I can go to menu to add reminders or view reminders.  Others have mentioned that reminders appear to the right of the ca

  • BO to OBIEE Reports

    HI Experts, I'm very new to OBIEE, Can any one helo me how to migrate BO reports to OBIEE. Actually we have BO reports , so we need to develop the OBIEE reports to based on BO reports, I don't know the procedure or step. Can any one expalin me onthis

  • GC: interpreting the log messages using -verbose:gc and PrintGCDetails

    Hello, i have a webapp running in tomcat 4 and at some point in time the whole app starts running very slow. after some debugging and experiencing with VM settings, especial GC logging settings i saw that the consumed memory from NewGen is never free

  • TurboTax quits when printing

    After finishing my taxes in Turbotax, I press the Print button and the program quits. The program printed prior to upgraded to 10.6.7. I was running 10.5. My Mac prints fine from other programs. I contacted Turbotax. They upgraded my program with no