FOR EACH command in planning modeler

Hi all,
can anybody explain me the difference between foreach, foreach in selection,foreach in ref data.
i have a requirement where i needs to copy some temporary variable in to keyfigure.
my fox formula is :
foreach season,brand,du.
{zkf1,season,brand,du } = var1.
endfor.
my cube data is like.
season1 ad  du1 100.
season1 ad  du2 200.
season1 cd  du3 300.
But while executing , this code it is generating new combinations like
season1 ad du3.  which is not correct.
please provide any inputs for the same and also advice me which FOR command will be suitable for this scenario.
Thanks in Advance.
Reshma.

Hello;
If your season is always the same you can leave out the formula. The peformance became higher.
Please try like this:
foreach season,brand,du.
  if not {season,brand,du} is initial
    {zkf1,season,brand,du } = var1.
  endif.
endfor.
Regards;
Ricardo

Similar Messages

  • Invalid value for variable 0calyear in planning modeller

    Hi Experts,
    I have an urgent requirement. In my planning modeller I have a variable for 0calyear for accepting current year and target year. If I give target year(for example, 2015) which is not present in 0calyear it is showing error that 2015 is an invalid value for 0calyear. If I give 2012 it is working fine because it is already present in 0calyear.
    I would like to know how we can solve this issue. To forecast data anyway we have to enter a future year. I would really appreciate if anyone could give some information to solve the issue.
    Thanking you,
    Jerry.

    Hi Jerry,
    Just a thought.
    Can you load a flat file data with year values into a DSO with 0CALYEAR as key? ( SID generation as active ).
    What I am expecting is this flat file load will generate SIDs for 0CALYEAR in future year as well.
    Subsequently if you try to enter that in your planning variable it should work.
    I understand this is not a perfect solution. But want you to try and adopt if this is a reasonable work around.
    Thanks,
    Krishnan

  • New features for each version of  Hyperion major planning

    Good morning,
    I'd like to work on the list of the new features for each of Hyperion Planning major version release: 9.0, 9.1, 9.2, 9.3, 9.3.1. But if there's already available guide/ chart for this, I'd love to refer to that particular documentation.
    Thanks a lot and have a nice day
    Adrian

    Please check the Release content document - Release 12 Financial Applications, which gives the new functionality of the GL module and there is no doc number for this document, I can send it by email if you want.
    Srini C

  • Jco connection creation for plan modeler on BI 7.0

    If I open plan modeler RSPLAN on BI 7.0 I am getting u201CJco connection not availableu201D message so I tried to create the connection from webdynpro content administrator.from there I could see all the connections in red colour
    BI_MODELDATA
    BI_METADATA
    WD_ALV_MODELDATA_DEST
    WD_ALV_METADATA_DEST
                                 So I have chosen u201Ccreate u201Coption of the above connections to establish Jc0 .please let me know what parameters to be given for each settings.
    For example we take BI_METADATA ,
    General data:
    Name : BI_METADATA
    Client u2013 xxx ( should we have to give BI client no here ,by default it shows 000)
    J2ee cluster :
    Default :hostname ( no doubt)
    Connection type:
    Dictionary melta data( chosen by default u2013 no doubt)
    Application data:
    Message server :SID hostname (no doubt)
    System name
    Logon group:
    User authentication :\
    Username : **** ( should I have to give the user name of BI client)
    Password
    Confirm password :
      Please carify the above doubts and help me out to resolve the issue Plan modeler
    Once I set the connection of each should I have to restart JAVA engine,
       I would appreciate all your help and suggestion

    Take the Basis help to troubleshoot it
    919850 Problems with the planning modeler and the planning wizard
    901022 Integrated planning: RSPLS321 (J2EE engine not found)
    947376 Troubleshooting JCo and AdaptiveRFC in Web Dynpro for Java
    One more thing is to check if the SLD is maintained properly or not:
    Hope it Helps
    Chetan
    @CP..

  • Can i store my music on my device without using my data in my phone plan streaming from the cloud? How do i put what I want on there without waiting for each song to download from the cloud one at a time?

    How can I store the music I listen to on my iphone without streaming it from the cloud and using all my data on my phone plans?  How do I dump it on my phone all at once in itunes rather than waiting for each song to download individually from the cloud?

    What??  You asked how to get all your music on your phone at once rather than downloading it to your phone from iCloud.
    Go to your purchased list in iTunes and download all your music to your iTunes library, as explained in the linked article.  Then sync it all to your phone using iTunes you're done.  The music will be stored locally on your phone and you won't have to download it again in the future.

  • I think i got ripped off by this verizon store , I got the 4 line $140.00 edge plan, which I had to pay for the phone in monthly payment, i did the math it was 268.00 total..  At check out this guy charge me $50.00 care package for each phone and sim card

    I think i got ripped off by this verizon store , I got the 4 line $140.00 edge plan, which I had to pay for the phone in monthly payment, i did the math it was 268.00 total..  At check out this guy charge me $50.00 care package for each phone and sim card which was $10.00 , $25.00 set up with TCP and he said the rest was tax.  I had to pay $474.36.. my brother went to costco and did the same verizon deal he didn't have to pay anything...

    Welcome to this forum.
    This is a customer to customer forum only, where forum members, who are only BT customers, can help each other with BT Retail products and services.
    Anything you post here does not go to BT. Although the forum is moderated by BT, not all posts are read.
    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How do I set a unique texture for each cloned 3D model in Director?

    Hi,
    I am using a 3D world built from 3Ds Max, it contains 2 boxes, In Director I have set the boxes to move along a path and when out of camera shot the boxes are reset along the Z axis and a new texture if applied (generated via a text member), so far so good.
    Now if the user clicks a button I would like to clone the boxes and have each box display its own texture from its own text member. At the moment the cloned boxed all use the texture from the last textured box, I assume this is an inheritance issue, but I do not know how to make each texture unique the its box.
    Any ideas?
    Thanks in advance!
    Sherv.

    Hello,
    Im trying to make a number of boxes in a 3D world to move along the Z axis with a unique texture. The start just outside of the cameras field of view, move through the camera and when out of sight their position is moved back to the start with a new texture and the process repeats giving the  illusion of endless boxes. The problem I am having is with the unique textures, I would like to reuse the shaders but without resetting the world. Currently I get the following  message on line “ shad1 = w.newShader("shad1",#standard) “ :
    cid:[email protected]
    Below are snippets of the code for texturing the objects :
      w = member(MyCameraSetup)
      shad1 = w.newShader("shad1",#standard)
      case ANPRcountry of
        "UK" : tex1 = w.newTexture("tex1",#fromCastMember,member("ANPRtext"))
        "Saudi" : tex1 = w.newTexture("tex1",#fromCastMember,member("ANPRSaudi"))
      end case
      shad1.texture = tex1
      shad2 = w.newShader("shad2",#standard)
      case ANPRcountry of
        "UK" : tex2 = w.newTexture("tex2",#fromCastMember,member("ANPRtext2"))
        "Saudi" : tex2 = w.newTexture("tex2",#fromCastMember,member("ANPRSaudi2"))
      end case
      shad2.texture = tex2
      member(w).model(1).shader.texture = tex1
      w.model(1).shader = w.shader("shad1")
      member(w).texture("tex1").quality = #high
      member(w).model(1).shader.transparent = False
      w.shader("shad1").ambient = rgb(255,255,255)
      w.shader("shad1").diffuse = rgb(255,255,255)
      w.shader("shad1").emissive = rgb(0,0,0)
      w.shader("shad1").specular = rgb(0,0,0)
      -- setup the texture for far lane
      member(w).model(5).shader.texture = tex2
      w.model(2).shader = w.shader("shad2")
      member(w).texture("tex2").quality = #high
      member(w).model(5).shader.transparent = False
      w.shader("shad2").ambient = rgb(255,255,255)
      w.shader("shad2").diffuse = rgb(255,255,255)
      w.shader("shad2").emissive = rgb(0,0,0)
      w.shader("shad2").specular = rgb(0,0,0)
    Any help you may provide will be gratefully received!
    Many thanks.
    Vector, the latest generation in ANPR camera technology is coming soon
    Solutions to improve roads, journeys and communities
    Sherwin Wallace
    Research & Development Engineer
    Vysionics ITS Ltd
    Fishponds Close, Wokingham, Berkshire  RG41 2QA
    T:  0118 979 2077
    F:  0118 977 4734
    M: 07880554879
    [email protected]<mailto:[email protected]>
    http://www.vysionics.com<http://www.vysionics.com/>
    cid:[email protected]
    This email message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet emails are not necessarily secure. Vysionics ITS Ltd does not accept responsibility for changes made to this message after it was sent.

  • Remove access for each member of a particular dimension from Hyperion Planning Applciation

    We are trying to remove access for groups for each member of a particular dimension( which has more than 1000 members) of a Hyperion Planning application. We are going through Administration->Manage DImensions -> member , Under security click view and select the group and then remove access But the problem is there are more than 1000 members under this dimension , so it will be time consuming to go to each member and then remove access for the group. Is there any other way we can do this?
    Also is there a way to bulk delete native directory groups from Hyperion Shared services, instead of deleting each native group manually one by one?

    The reaso we want to go for Relational tables is that when we did Exportsecurity utility for that planning application  and imported back the SecFile.txt without doing any changes ,still it errored out giving errors like :
    "The following access not imported:-"PLN-ORG-0278-999 Bureau Strtgc & Oprtnl ""PLNning",0278-999,READWRITE,MEMBER due toInvalid user name found in the file."
    It is erroing out even if we did not do any modifications to the secfile.txt.
    Moreover there are more than 1000 members for which we have to remove access permissions manually one by one. It is a tedious process.
    So we are looking at other options like , which relational tables have got Native directory groups information, and the sql queires we can execute to remove the unwanted Native directory groups from Shared Services?

  • Using MVC - One model for each set of data, or one model for all?

    Hi there,
    I'm using MVC for my app, which pulls data from other sites, (news, blogs, video, twitter). Would I have a model for each set of data, or one for all that fires differint events depending on the data?
    Thanks in advance!

    Attached please find the screenshots and help me out. You can maximize to view em.
    Thanks,
    Attachments:
    Air water2000.vi ‏490 KB

  • Prigramming Logic details for SAP APO Planning Models

    Hi All,
    I need to learn more about different model available in SAP APO - DP, SNP and their behaviour.
    Request to please share any link or document associated with programming logic in different planning models available in APO.
    Thanks in Advance.

    Hi Senthil,
    Thanks dear for your response.
    What I am looking in programming details of exisiting DP forecasting models like Trend Analysis, Linear Regression.
    What I know about MLR is that system uses below equation
    Yi = bo + b1X1 + b2X2... + bn Xn
    where Yi = Sales History
    bo = Mean
    b2 = co-efficients
    x2 = causal factor etc.
    Do you have document which details out how the figures are computed using these planning models?
    Once again thanks for your quick reply brother.

  • How to set command action for each item in the popupmenuimage

    Hi all,
    In my canvas application,i used images for popupmenu.Now i have to set command action for each item in that popupmenuimage.I dont know whether it is possible in canvas or not.Can anyone tell me the solution for this .
    Thanks,
    sourab

    Buttons is typical of a c/s application, or, in case of Web Forms, a Java applet. Instead of buttons, you have to use hyperlinks.
    See:
    http://otn.oracle.com/products/reports/htdocs/faq/faq_migration.htm#346
    The hyperlink wil have to be to a URL that does the insert in the table. This can be a mod_plsql procedure, for instance.

  • Planned depreciation value for each period

    Hi,
    Where can I get the planned depreciation value for each period? I need the fields for customised report.
    Thank you

    Hi,
    You can get the dep planned values for the each period by using SAP standard report S_ALR_87012936.
    In the selection screen of that report, click on All selections button on application tool bar. Then you will be able to see the all the available fields for selection.
    Choose evaluation period as Month.
    Now execute it. After getting output, you need to go for change layout and adopt fileds like Dep 01-2010, Dep 02-2010, Dep 03-2010....Etc till Dep 12-2010.
    This will fix your requirement.
    Thanks,
    Srinu

  • Application of planning indcator for each ordertype in spro

    hi
    all
    i find
    application of planning indcator for each ordertype in spro
    what is the use and practical implication
    if possibile please give example
    suitable answers rewarded
    by
    santosh

    hi,
    The order planning indicator is used for selection and statistical analyses in the Plant Maintenance and Customer Service Information System.
    Three order planning indicators are predefined by SAP:
    Planned order. You should use this indicator for order types, for which tasks can be anticipated.
    Unplanned order. You should use this indicator for order types, for which the task cannot be anticipated, but also need not be performed immediately.
    Immediate order. You should use this indicator for order types, for which the necessity of the task cannot be anticipated, but where the task must be performed immediately.
    so in this way..each data related to all orders aggregated in three heads in PMIS which is
    1. Immidiate order
    2. Plannned order
    3. Unplanned order
    i hope it ans. ur question.
    Regards,
    Amit kushwaha

  • Planned and actual consumption for each confirmation

    Dear All,
    There is a production order. it has two operations. i have made three confirmations of each operation for that order. now i want to see the planned and actual consumption for each confirmation. how is it possible.
    However i know that on order we can see planned and actual consumption but it is for total order but i want to see planned and actual consumption for each confirmation. Actually client wants that on 2nd confirmation what is planned consumption and what they consumed on actual. thanks

    Hi,
            In standard SAP this type of report not be there, but u can make it by using BOM,Confirmation table, & material document table.
    Use AFRU to get posted document no for confirmation & detail by joining it with MSEG by mblnr & MAZHR.
    now u get plan component qty by using mast & stpo if ur bom not changed in Production order , if in order component may be change then use afko & resb table & by comparing base qty or order qty & confirmation qty get plan component qty for confirmation.
    Thanks
    Rakesh

  • Purging cache for each Business Model / Fact Table Source

    Morning all,
    I try to understand how can i schedule purging obiee cache.
    . OBIEE is used with Essbase database
    . one database for Australia, one for France and one for USA
    I want to purge cache for each region after daily loading process (scheduled at different time) but Call SAPurgeAllCache() seems too radical
    Can you explain me steps to use to purge Business Model cache ?
    Currently I have to connect to Administration => Manage Cache => Clear Cache by Business Model and is not automatic !!
    Thanks for your help

    hi Saichand,
    I am not sure that could work with essbase physical mapping.
    OBIEE documentation doesn't translate this information for Essbase database :
    .DBNames
    .CatalogName
    .Schema
    .table
    create table UET (
    UpdateType Integer not null,
    UpdateTime date DEFAULT SYSDATE not null,
    DBName char(40) null,
    CatalogName varchar(40) null,
    SchemaName varchar(40) null,
    TableName varchar(40) not null,
    Other varchar(80) DEFAULT NULL
    In step 4 :
    I can't add ETL code because loading process works on essbase side and not in dataware environnement...
    Thanks

Maybe you are looking for

  • Calling a DLL with a & (ampersand) in the declaration

    Hi, I'm trying to call an external DLL and having issues calling an important function.  The 'FindDevices' call has the following declaration: long FindDevices(long &DeviceCount); I've never come across calling an external function with an ampersand

  • Idoc status error 37 in sender and 51 in recieving system

    i m new to ale idoc n created 2 clients 910(sender system) and 800(reciever system) all connections are well i got status message 03 and 30 and 01 but along with it i m getting one more idoc genersted and status as 37 . idoc no. 50 as 03 30 and 01 an

  • AIX 6.1 - Do we need HACMP to store the OCR and Voting Disks on Raw Logical

    We are planning to install 11G r1 rac on AIX 6.1. We will use clusterware and ASM. We would like to avoid GPFS and HACMP. We plan to put the Clusterware OCR and Voting Disks on Raw Logical Volumes. I do not believe we need HACMP. see the passage belo

  • MPLS network design challenge

    Hi, I have a design issue for which I really like your help. In a MPLS network there are twoPOP gateway routers (G1,G2) peering with various MPLS VPN Service providers via B2B vrf eBGP peering are in 4 different ASN's. They inturn all peer via VPNv4

  • Bootcamp crashed and erased part of my HDD

    i have done a little bit of research and i have found nothing that has actually worked, but i was trying to install windows on my mac using boot camp, and i have done this a bunch of times before, but this time it crashed and erased my partition. i h