How does it work...LOOP,..ENDLOOP logic

I just tried the script below to understand the loop logic.
FIX ("Person","Jan")
var c=0;
LOOP(2)
"wage"
c=c+1;
c;
ENDLOOP
ENDFIX
I expected that the result of the calculation would be wage = 2 but instead I found wage = 10.
I tried this with LOOP(2) too and the result was wage = 19.
it is like when loop = 1 c= 1
when loop = 2 c= 10
when loop = 3 c= 19
I am completely lost in LOOP logic. How does this logic work.

one question regarding your answer.,
I have these dimesions : company , costcenter , person , period.
company has comp1 , comp2 members
costcenter has cc1 , cc2 members
person has p1 , p2 members
period as usual.
I have only two data blocks which are ; comp1->cc1->p1->begbalance and comp1->cc1->p2->begbalance
I dont have any data for comp2 or cc2.
And my whole script as below.When I check the app.log I see the script created data for comp2 and cc2 aswell.
But in the script I didnt even used "SET CREATENONMISSINGBLK ON".is this typical for essbase.
I even tried "SET CREATENONMISSINGBLK OFF" nothing changed.
So how can I manage my script to work for only existing data.
FIX(@RELATIVE ("company",0),@RELATIVE ("costcenter",0),@RELATIVE ("person",0))
FIX ("jan")
SET MSG DETAIL;
LOOP(1)
"wage"
c=c+1;
c;
ENDLOOP
ENDFIX
ENDFIX
ENDFIX
ENDFIX

Similar Messages

  • How does lion work with logic 9.1.4?

    how does lion work with logic 9.1.4?

    Greetings,
    So far, everything seems as stable as before.  Which doesn't actually mean its rock solid, but otherwise workable.  I'm running a Focusrite Saffire Pro 24DSP with beta audio drivers.  So far, everything is running well.  I decided to jump into the 64bit work environment with Logic.  I have yet to encounter huge problems with the 32bit audio bridge.  Just making sure I bounce everything that is 32bit.
    As for everything else within Logic, I can't say I hate Lion.  Matter of fact, Lion seems buggier than Logic at the moment.  Logic handles well in Lion, but Lion on its own overall is a different can of worms.  I am mixed about a 10.7.1 update.  Usually, it fixes something on the OS, but breaks something else in Logic.
    I have faith that Lion will turn out to be as solid as Snow Leopard.  SL was my favorite OSX so far.  Lion still leaves allot to be desired in terms of stability.
    Again, answer to your question:  for me, Logic and Lion play nice.............for now.
    LGK

  • 0BALANCE logic ,how does it work

    Gurus,
    in 0FIGL_C10 we have the key figure 0BALANCE ,can any one explain how does it work .
    it has properties
    aggregation ="SUM"
    Exception aggregation ="LAST VALUE"
    Agg.Reference Char = "0FISCPER"
    said that
    if we have 3 records coming from ECC below ,what is the value stored in the infocube as all of the values are coming on same period 05/2009.
    Gl account   Amount     period
    123               1000 $     05/2009
    456               2000$      05/2009
    789               3000 $     05/2009
    thanks in advance

    Zuben,
    There are three records in your case it might be for three differnent char at detail level for example
    Period1    Cost center1    GL A/C1      KF1
    Period1    Cost center2    GL A/C1      KF1
    Period1    Cost center3    GL A/C1      KF1
    In this case 0 Balance will be for each cost center. If in next month there is no data for Cost center2 then next period the 0balance for costcenter2 will be same as previous period.
    It depends on what is the lowest level of details you have in cube for same period/account etc.
    if in other case for example you do not have cost center in your cube than the data for Period 1 will be
    Period1 GL A/C1 KF1KF2KF3
    Please let us know if you have further questions.
    Regrads,
    Kams

  • How does Iterate work inside an Action

    I'm having trouble figuring out how does <Iterate > work inside an <Action> in a workflow. My <Action> is to call a subprocess that takes several arguments and initiates an approval. Since I need to fire-off several approvals at the same time instead of chaining them I use <Iterate> that loops over a list variable.
    Now the subprocess being an approval the workflow gets suspended and divided into multiple parallel paths. My question is that how do these parallel paths assimilate together after approval or they don't assimilate at all and process in separate parallel lines or otherwise whichever approval returns first takes precedence and proceeds with rest of the activities.
    TIA,
    AndyDev

    Thanks for the reply. But this doesn't answer my question completely.
    Say within <Iterate> I specify **for='var_name' in='list_name'** will it continue to run after it has run once for each element in the list. If yes, doesn't it trigger the sub-process multiple times, something I don't want. If no, what happens next ? (that was actually my original ques).
    Say if list_name had 5 elements, it triggers one sub-process (which is a multiapproval) for each of them. What happens next ? Does it transition to next activity? Does it wait for all approvals to finish approve/reject?

  • SAP CRM Interactive reporting Enhancement Workbench - How does it work?

    Hi Everyone,
    I am trying to enhance the SAP given reporting areas in CRM Interactive Reporting tool. I have the SAP documentation, I know I have to use transaction code CRMD_IREW; but I am not sure of the rest of the steps SAP has given.
    Does anyone has any experience with this; can anyone share their thoughts and possible configuration steps and if possible please give a brief overview of how the fields get added to the reporting area, do they get added to the datasources first and then we need to manually add them to the virtual cubes and also in BEx query and then it gets reflected in Reporting area or how does it work?
    Any inputs will be greatly appreciated!
    Thanks & Regards,
    SRV

    Hi,
    In general, we add enhanced field to extract structure by appending method.
    later we  can implement logic at COMD or by using BADI to fill the data for added field.
    do test run at RSA3 and replicate into bw side.
    About CMOD Logic, WIth help abap epxert you need to find relation between data source base tables and added field base table. then only we can fill data to into it.
    Can we know what is your data source?
    Which field you want add from which table?
    Thanks

  • GET bsid. How does it work?

    Hi guys,
    How does GET works?
    GET bsid.
    bsid is an logical database...
    Thanks a lot!
    Rgds,
    Mark

    Hi,
    When you link a logical database with an executable program, the GET statements determine the depth to which the logical database is read. When you call the function module LDB_PROCESS, you determine the depth by specifying a node name in the CALLBACK parameter. For each node for which you request data, a callback routine can be executed at two points. These correspond to the GET and GET LATE events in executable programs. In the table parameter CALLBACK, you specify the name of the callback routine and the required execution point for each node. A callback routine is a subroutine in the calling program or another program that is to be executed at the required point.
    For the GET event, the callback routine is executed directly after the data has been read for the node, and before the subordinate nodes are processed. For the GET_LATE event, the callback routine is processed after the subordinate nodes have been processed.
    The line type of the table parameter CALLBACK is the flat structure LDBCB from the ABAP Dictionary. It has the following components:
    LDBNODE
    Name of the node of the logical database to be read.
    GET
    A flag (contents X or SPACE), to call the corresponding callback routine at the GET event.
    GET_LATE
    A flag (contents X or SPACE), to call the corresponding callback routine at the GET LATE event.
    Also chk this for sample code
    [http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9aa335c111d1829f0000e829fbfe/content.htm]
    Pls. reward if useful...

  • How does this work?

    This is not a complaint, but a confused sigh of admiration. I've got an email account at the university where I teach. When I got my iBook, it took me a while, and a few conversations with IT at the school, to get this account working in the Mail application. (Since I have a Verizon DSL at home, I had to include that SMTP as the outgoing server.) Anyway, I synched this mail account (along with my AOL and .Mac accounts) onto the iPhone, and it works perfectly, both incoming and outgoing. I didn't have to change any of the settings. I thought I was computer savvy, but I can't wrap my mind around this. It seems like magic. How does it work?

    The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
    The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application.

  • My iPhone was stolen and I have contacted the police who are using the meid number to locate.  How does this work and what are my chances of getting the phone back?

    My iPhone was stolen.  I used Find My iPhone app to lock it and display a message.  The phone has not connected to the internet to locate it.  I contacted the police and they have taken my meid number.  How does this work and what are my chances of getting the phone back?  Are there other ways the theif can use it.  I was told once they put in a new sim card and use it, whatever software the police have, it will show up.

    Honestly? In the US (I can't speak to other countries, though I doubt it works much differently in a lot of the world) The police took your report and filed it either in their computers or, on paper. They will now not think of this again. The only time it will cross anyones mind is if, in the course of entering information into evidence about items recovered or seized at a crime scene, the serial number of an iPhone that was found/seized happens to match yours, in which case you will be contacted.
    The police in the US can and will do nothing to 'blok' the phone and it's not worth their time to try and locate it unless you know for a fact that it was stolen by a big time drug lord, master criminal, or some other such prime target and they can get a court order to track the location of the phone in order to locate this individual for your own purposes.  If they do that, they'll probably keep him under surveilance for a year or so before they act.
    Basically, the police don't care about your phone. If they find it, they will give it back to you. They are not, however, going to go looking for it. They have better things to do.
    I'm sorry, but that's the way it is.

  • Was told a USB device would create a PDF automatically from the data contained within when plugged into my USB port. Doesn't seem to work. How does this work and how can I fix the device I received?

    Acrobat is not on the USB device - only Adobe Reader needed on the PC. How does this work? How can I fix this device if at all?

    You need to ask the people who sold it to you. Doesn't sound like it has anything to do with Reader.
    However, you should be wary of devices that automatically try to open files when plugged in. They can also infect your computers with all kinds of viruses or malware.

  • HT2357 So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    Fantastic!  Didn't work at first so restarted App store and tried again.  This time it asked 'ignore update'.  All gone!

  • TS1425 My co worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    My co-worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • How does Remote work with Apple TV?

    How does Remote work with Apple TV?
    1. Does Remote, "Play" the music that resides on your iPod Touch>Apple TV>Home Speakers.
    OR
    Does Remote "Control" the music that resides on Apple TV HD>Home Speakers.
    (If so... say you have a iPod Touch that only holds 8GB's but your music collection on your Apple TV exceeds that amount.
    Will Remote still "Control" the larger music collection on Apple TV or your computer?)
    2. Will iPod Wifi work on a patio outside a home to control Apple TV inside the home?
    thank you in advance, Tom

    Remote is a way to control iTunes on either your computer or Apple TV using a WiFi connection. See this article for complete instructions.

  • I got a itunes gift card and when i try and buy some thing it asks me for my credit card details how does that work when i have £15 on my fone that i got on a gift card?

    i got a itunes gift card and when i try and buy some thing it asks me for my credit card details how does that work when i have £15 on my fone that i got on a gift card? as i am trying to buy a song and it is starting to really cheese me of now where it keeps asking for credit card details is there a way round it with out having to use a credit card?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I would like to know which app/software in MAC gives us the same feature that is provided by System Restore in Windows, and how does that work

    I would like to know which app/software in MAC gives us the same feature that is provided by System Restore in Windows, and how does that work.

    Time Machine is one such program, although it is a recursive backup program which offers limited archive capability, based on the capacity of the backup destination, and it requires you set it up before you start editing your files.   Some programs are also Versions aware, which offers a kind of restore capability by file.  Again needs to be setup before you start editing.
    Just a for-your-info:
    Mac is not an acronym, it is a nickname for Macintosh.

  • Itunes 11.1.5 will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Itunes 11.1.5 (MacBook Pro,OS 10.6.8) will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Just reboot your laptop... While its rebooting try to reboot your phone also by holding the home and power buttonn for 10-15 seconds...When your phone is turned off try to connect it to iTunes and it will recognize your phone in recovery mode.
    If you have the .ipsw file for iOS 7.0.6 saved in your desktop then in itunes press shift and click on Restore.
    Select the ipsw file and let it restore.
    If you dont have it downloaded then simply click on restore.
    I hope it works
    Cheers !

  • What is efax and how does it work?

    Hi!
    eFax® is a service provided by eFax®, not Hewlett-Packard, that allows you to send and receive faxes using the Internet rather than a phone line. eFax® is easy to use, but it is different than a typical phone-based fax machine. You don't require a phone line to use it, so you don't have to worry about busy signals and you can place your printer where you want it, not where the phone jacks are located! The fax number you are provided will not typically be a local number, and may even be in a different country. You will receive 20 incoming and 20 outgoing fax pages per month for free with this service. Your page counts will reset at midnight Pacific Time on the first of each month. You can also subscribe to eFax® Plus to obtain additional pages per month by visiting: http://www.eFax.com/products/internet-fax.
    How does it work?
    eFax® uses the printer Internet connection to send and receive faxes. When you send a fax, it is sent over the Internet to the eFax® server and then eFax® sends your fax to the recipient's fax machine over a standard phone line.
    Your faxes are received in a similar manner, but the order is reversed. The sender sends the fax over a phone line to eFax® and then eFax® sends the fax to your printer using HP's ePrint service.
    This question was solved.
    View Solution.

    Hi Im_cheesecake,
    Great information, if you don't mind I just wanted to piggy back off of your post, to clear any potential confusion.
    The 20 free incoming & 20 free outgoing faxes are with HP printer's that include the eFax service print app.  As of now, we have three printer series' that include the pre-installed eFax print app: HP Photosmart 7510 Series, HP Envy 110 Series, and the HP Photosmart eStation C510a.  
    eFax also has a free plan which allows you to receive a limited number of faxes but does not allow you to send any faxes. If you exceed the number of received faxes allowed, eFax will prompt you to upgrade to a paying account. Here are the main details of the free plan:
    One remote (i.e. non-local) eFax number
    Area code/prefix is selected by eFax and cannot be changed (unless you upgrade to a paid account)
    20 incoming fax pages per month (receive-only)
    You are prompted to upgrade to a paying account if you exceed 20 incoming pages, or if you need send capability.
    Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
    I am an HP employee.

Maybe you are looking for

  • Troublesho​oting issues using the BlackBerry Virtual Expert

    Posted originally on the Inside BlackBerry Help Blog Does your BlackBerry need a health assessment? Are you considering a repair? If so, check out the BlackBerry Virtual Expert (BBVE), a simple, self-guided diagnostic app for BlackBerry smartphones.

  • Exit code 6: Premiere Pro CS6 [was: Error re]

    I need to reinstall Premiere Pro CS6, but I keep getting error messages: Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR: DF024 ... -------------------------------------- Summary --------------------------------

  • Canon Powershot SD600 as video source?

    Currently considering the purchase of a new digital photocamera, the Canon Powershot SD600. One of the things I hope to use it for, is as a 'webcam' ... my Powerbook doesn't have a built-in iSight and I don't use it often enough to actually buy an iS

  • In iFS SDK , where is oracle.ifs.management.domain.IfsServer located ?

    The iFS has been properly installed and tested by DBAs and its operational. I have a requirement to develop an iFS agent. As a first step in my learning process, I am testing the examples provided by Oracle (LoggingAgent.java, otificationAgent.java).

  • Is it possible to setup multiple users with the exact same calendar?

    I am trying to setup exchange with 3 users where each user sees exactly the same calendar all precisely in sync. I don't need the users to have their own calendar. Sharing a calendar from 1 user to the others does not work for me because I need it to