Datacopy problem - Next Year and Shift Function

Hi!<BR>I am trying to get my datacopy function to work the way I want to. I am basically trying to restore a scenario and version with data from a different scenario and version. The user is allowed to select (run-time prompt) what year he wants to use for the source. The destination is always a fixed year determined by a substitution variable. This is what I am trying to do:<BR><BR>/* [Restore_Year] = my run time prompt<BR> &CurrentYear<BR> &CurrentYearPlus1 = next years forecast<BR>*/<BR><BR>FIX #1<BR><BR> DATACOPY [Restore_Years]->[Restore_Version]->[Restore_Scenario] TO @CurrentYear->Working->Current;<BR> <BR>FIX# 2<BR> DATACOPY @SHIFT([Restore_Years],1,@LEVMBRS(Year,0))->[Restore_Version]->[Restore_Scenario] TO @CurrentYearPlus1->Working->Current;<BR><BR>How do move ahead in the Year dimension based on a variable?<BR><BR>Thanks alot,<BR>Erik

I haven't tested this, but try<BR><BR>Fix(@CurrentYearPlus1->Working);<BR>Current = @SHIFT([Restore_Years]->[Restore_Version]->[Restore_Scenario],1,@LEVMBRS(Year,0));<BR>ENDFIX;<BR><BR>

Similar Messages

  • Problem with tpcall and tpgetrply functions

    Hi,
    I have a problem with tpcall() and tpgetrply() functions.
    In this example (invoke tpcall()):
    FBFR32 *buf;
    FLDLEN32 buflen;
    buf = a_buffer.getBuffer(); /* getBuffer() returns FBFR32* */
    buflen = a_buffer.getLongitud();
    /* at this point: buf == a_buffer.getBuffer() */
    if (tpcall(a_contenedor.getServname(),
    (char*)a_contenedor.getBufferPeticion()->getBuffer(),
    a_contenedor.getBufferPeticion()->getLongitud(),
    (char**)&buf,
    (long*)&buflen,
    0) == -1)
    if (tperrno != TPESVCFAIL)
    LANZAR_EXCEPCION(CADENA_WHAT_SB,
    "Error en funcion Execute(), llamada tpcall()",
    tpstrerror(tperrno))
    /* at this point: buf != a_buffer.getBuffer() */
    tpcall() function change the memory address of buf. What is the problem? Is wrong my code? Is a problem with tuxedo version?
    My tuxedo version is:
    tmadmin -vINFO: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 306
    INFO: Serial #: 650522264137-773290431251, Expiration NONE, Maxusers 150
    INFO: Licensed to: Telefonica Moviles Espa?a, S.A.
    INFO: 56-bit Encryption Package
    Thanks,
    ANTONIO.

    There's nothing wrong with your code or tuxedo. tpcall (and tpgetrply) can change the address of the return buffer if it needs to allocate more memory to hold the data. This is the reason why you pass a pointer to the buffer as the output buffer parameter to tpcall and tpreturn. Everything is working as expected.

  • I am 13 but going into high school next year and possibly an elite boarding school that is 9 hours away from my town. I need to get a mac air for school purposes.How can convince my parents to let me get one?

    My house has always had macs and my parents don't like pcs. I don't either. They are slow and so far behind from macs.  So i am going into high schoo next year and parents don't let me on the computer without asking and have them all password protected. I did have my own ibook g4 but it broke randomly. My mom says i will isolate myself from too much scree time and get depressed but i love macs and i would like to work in an apple store someday but i'm not even allowed to buy my own ipod touch with my own money. But my mom has an new imac, ipad and  iphone and ipod and all of this has been gifts to her. But i really need a computer for school. I have written lists of good reasons not like i want it but good ones and asked nicely but my mom just says because and thats the only reason i need to know. and by the way she is a teacher so she thinks technogly is evil. How can i get the mac air??

    I really do not want to enter a family discussion about what you should or should not have.  If the MBA is to support your school work then you need to present your arguments on that point.  If there is a concern about using a Mac when the school supports PCs then point out a Mac can also use Windows on a BootCamp partition so it is fully compatible with both systems.

  • I will studying in the UK for the next year and want to know if an unlocked iPhone 4S with a new sim card purchased in the UK will work as opposed to getting a new phone?

    I will studying in the UK for the next year and want to know if an unlocked iPhone 4S with a new sim card purchased in the UK will work as opposed to getting a new phone?  There seem to be differeing opinions on this.

    Iphone 4s only has one version so it should work world wide in any carrier..As long as it's and unlocked version ofcourse.

  • Can I buy a US SIM when I'm in the States next year and use it in my NZ-bought unlocked iPhone 4S?

    I live in New Zealand but I'm going to be in the US for a year next year, and I just want to know if I'll be able to simply buy a US SIM card when I get there and replace my NZ SIM with it in my iPhone 4S, then continue using my phone on a US network.

    BlueAhou wrote:
    I said "when it will be released there" so I don't think that my question will be different between iPhone 4S and 5.
    Apple Support Communities Use Agreement
    2. Submissions
    Stay on topic. Apple Support Communities is here to help people use Apple products and technologies more effectively. Unless otherwise noted, do not add Submissions about nontechnical topics, including:
    Speculations or rumors about unannounced products.
    Discussions of Apple policies or procedures or speculation on Apple decisions.

  • Getting about $3000 a day in iTunes charges I didn't make can't get history to pull up and can't reach a apple person, scheduled the next available call but it's the 2nd of next year and about 20,000 more dollars from, now went to the iTunes Store no help

    My iTunes account is hooked to my debit card and I have thousands of dollars per day coming out of my bank account.  I emailed apple several times to get a history so I can find out what the heck is going on and each time I get a generic message followed by a email with a bunch of links telling me how to access my iTunes history.  I attempt to do this and I get a message stating iTunes can not be reached.  So I go down to my local apple store and am told it's because I did not have wifi, they hook my phone to the apple store wifi and tell me they show no charges.  Yet I'm down approximately $12,000 so far and climbing.  I call my bank and cancel my debit card and attempt to contact apple again via a link they sent me to schedule a call.  When I schedule the call it gives me a message that we are sorry we are unable to schedule a call for you please try again later,  I try a future time and date and manage to schedule a telephone call for the second of next year.  Is there anyway to access what the **** is going on with my iTunes account in the meantime?  Apple doesn't seem to be able to see the charges I just see them on my bank side.
    And help is appreciated.

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • EHP4 upgrade next year and configuration of our US company this year

    Hi all,
    We have planned to upgrade our ECC6 HRSP27 environment to EHP4 next
    year.
    We also need to start the configuration of our US subsidiary as
    soon as possible. Our US project includes all HR modules (PA, PD,
    OM...) including an SAP Payroll and ESS, MSS functionalities.
    Can we start configuring our US company and start working on data migration this year, in our current version (ECC6 HRSP27), without having to manage upgrade impacts next year?
    If yes, what part of our US project development shouldn't start before the EHP4 upgrade has been
    done (for instance benefits, e-recruiting....), and what part of the configuration can start now (for instance personal file and payroll configuration) and can we work on the whole data migration process or do we have to wait or split it into batches?
    Your objectives are to deliver the US company as soon as possible after the EPH4 upgrade (which means to start the configuration as soon as possible), and not having to manage upgrade impacts on the configuration of the US company (it means not configuring modules and submodules that may be impacted by EHP4 before the upgrade as been donne).
    Thank you for your help !
    Bénédicte

    Follow the directions here to transfer all of the data from your current phone to your new phone, when you get it:
    http://support.apple.com/kb/ht2109

  • Rotate and Shift 16-bit Image

    I would like to rotate and shift a 16-bit RGB image (U64 in LabVIEW).  The IMAQ rotate and shift functions don't accept this image type, but they do accept a 16-bit grayscale image (I16 in LabVIEW).  Unfortunately, this clips all values in my original image since it runs from -32,767 to + 32,767.  The ExtractColorPlanes function requires a 16-bit image to be wired as the desination image but the IMAQ create VI does not allow U16 image to be created.
    Any ideas?
    Solved!
    Go to Solution.

    SJT a écrit:
    I would like to rotate and shift a 16-bit RGB image (U64 in LabVIEW).  The IMAQ rotate and shift functions don't accept this image type, but they do accept a 16-bit grayscale image (I16 in LabVIEW).  Unfortunately, this clips all values in my original image since it runs from -32,767 to + 32,767.  The ExtractColorPlanes function requires a 16-bit image to be wired as the desination image but the IMAQ create VI does not allow U16 image to be created.
    IMAQ Create can create U16 images, but the standard Image Type input lack the appropriate value. This is bug n°1 . As workaround, you can either wire directly a con,stant with value 7 or dig into the Vision palettes and get a better typed constant from the IMAQ Cast Image VI.
    However, this is not the solution to your problem, since there is the n°2 bug in the IMAQ ExtractSingleColorPlane VI : it doesn't accept U16 or U64 as destination images, and coerce the output to a I16 default image type.
    A workaround is to create your own color plane extraction function. First convert the U64 image into an array, then extract the desired plane, as shown on the diagram below.
    Message Edité par chilly charly le 12-30-2008 08:31 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Extract Color Plane U64.vi.zip ‏15 KB
    U16 ExtractSingleColorPlane.vi.zip ‏13 KB
    U16 ExtractSingleColorPlane_BD.png ‏10 KB

  • Copy and paste function not stable

    i have problems using copy and paste function. the copied stuff SOMETIMES would not paste after i either Ctrl + C or right click to copy the stuff. does anyone here experience the same problem or have the solution? thanks in advance.

    you might want to check whether you can copy the contents or not.. try to use the copy and paste function by right click the mouse to test..

  • What iphone 5 uk network should I go with if I move to USA next year?

    Hey guys,
    never posted before so please be kind!
    I currently live in the uk and I am due an upgrade from my iphone 4. I am on the O2 network and want the new Iphone 5. However I am moving to USA (for good) next year and I am concerned over LTE/4G and picking the right model. Will it matter? any information would be greatly appreciated as I dont want to comit to the iphone 5 here if I wont be able to unlock it for use in America. Thanks in advance!

    UK and USA iPhone 5 models are incompatible as far as LTE frequencies go.  What you purchase in the UK will not work in the US because everything is different.
    The UK sells unlocked iPhones but the US does not and you are tied into a 2 year contract, so my advice would be to wait until you move to the States next year and purchase a new iPhone 5 there and they may even be selling unlocked iPhones by then or you can take out a 2 year contract with either Sprint, AT&T or Verizon.
    Don't upgrade on 02 if you are moving as it won't be worth it.  Stick with what you have go until next year because they are just not compatible.

  • Could we be looking at 80+ mb speeds next year?

    Apologies if this has already been posted.
    Just read something that caught my eye:
    http://www.thinkbroadband.com/news/4663-bt-announce-higher-profits-on-bumper-quarter-for-broadband.h...
    Specifically:
    "The company also mention that they "expect to roughly double" download speeds on their FTTC service next year and mention that speeds can further be improved as "the technology is fully future proofed"
    Thoughts anyone?

    BT Openreach have indeed announced that they plan to increase the maximum speed by increasing the frequency range the they use for VDSL from a maximum of 7MHz to 17MHz which does allow for very high speeds potentially over 100MHz but Openreach will limit the service to 80Mb/sec. However as now the speed you get depends on the length and condition of your line to the cabinet and VDSL is not a long distance technology. There is a second technical change they plan later when they introduce something called "vectoring" which will give a second boost to a marketed speed of up to 100 Mb/sec. 
    What we don't know is what BT Retail will offer, they could charge a premium for the faster speed, give it to us free or decide to limit their offering to 40Mb/sec with a greater certainity that more customers will get that speed. They have said nothing.
    Those who want to understand the technology and line length is predicted to impact speeds can read a briefing at http://www.ictregulationtoolkit.org/en/Publication.2957.html. A bit more about Openreach's plans can be found here http://www.ispreview.co.uk/story/2011/05/12/bt-uk-tops-5-7-million-retail-broadband-customers-and-pr...

  • Hi, I am working in saudi arabia and willing to buy an iphone 5. But next year I will shift to India permanently. So my query is whether I would purchase apple applications from India or not once I left the purchased country of origin?

    Hi, I am working in saudi arabia and willing to buy an iphone 5. But next year I will shift to India permanently. So my query is whether I would purchase apple applications from India or not once I left the purchased country of origin?
           Also here though face time is banned by law, one of the biggest authorized dealer (Jarir bookstore) of apple products sells unloced iphone/ipad versions with face time enabled. So shall I use this function out side of saudi arabia, i.e. in India?

    Wait and purchase the whole phone from India if you are going to be permanently based there.  There are no usage restrictions in the same way that there are in Saudi.
    Just wait.

  • I am havign huge problems getting itunes 11.1.4 working on my windows 7 laptop. I have run itunes for some years, and regularly updated it when prompted. I have followed many of the suggestions e.g. uninstalling reinstalling, etc

    I have spent hours trying to get itunes working on my laptop.
    The only functinoality I crave is to be able to get pictures off my iphone 5 (which has the latest ios installed.), as almost all other functinoality of itunes I find painful beyond belief. It has the worst ergonomics I think of any software I have ever used, which is bizarely at odds with the mobile decvices, which by and large work quite nicely (indeed, why I bought them!)
    My laptop runs windows 7. It has all the latest microsoft updates installed (I am religious about this: it always has had.)
    I have run itunes on this machine for some years, regularly updating when I am prompted to.
    A few days back i was prompted to update to 11.1.4
    It failed to install badly. whatever I try at some point during the install process the installer just hangs, or never terminates.
    All communication between computer and iphone functionality has been lost.
    Nothing eles on my machine is behaving oddly. slowly etc. it is only apple stuff that isn't working.
    I googled and found a lot of recurring themes on apple forums:
    So far I have tried:
    uninstalling / reinstalling. (hangs during installation).
    Restarting the machine between uninstall and reinstall.
    Searching and removing any directories/ contents related to apple, after the uninstall, prior to machine reboot.
    I have even used iobit uninstaller, as removing apple software as you know is almost impossible (ever tried disabbling the quicktime updater that runs at startup? it's like a virus !!)
    I have removed all apple software incl quicktime.
    I have tried the microsoft software installer fixit link often posted to.
    i have tried unpacking the apple installation file, using the latest version of winrar, to try installing one at a time.
    I have found the installation is very very very slow (it looks as though it hangs, but i leave it running in the background, after 15-20 minutes, the status starts advancing for example). so far I have managed to install the first few components up to applesoftware  update,msi, and they seem to need to be run multiple times.
    (this last one took about 40 minutes).
    I have been very careful to install / uninstall the software components int eh "prescribed" order.
    I have tried each step multiple times, rebooting the machine numerous times, cleaning temp folders (with ccleaner) etc.
    I ave tried installing when my virus checker AVG is disabled.
    (i have virus checked the machine with AVG and malware bytes, I have the latest microsft security essential updates installed.)
    I ahve tried stopping apple services (as suggested in one of the apple forum posts).
    As you can gather I'm seriously tearing my hair out.
    I presume there is some kind of generic bug in this installer: as a friend had exactly the same problem on sunday night, with a different machine, running windows 7, and a couple of her colleagues at work has had the self same problem over the weekend, though none of them seem to have gone to the lengths I have yet !
    I tried doing a system restore, but my machine seems to have lunched all previous system restore points, so I can't . Arrrrrgggg !
    Is an older version of itunes available so i can install that instead ?
    What should I do next ?
    Jonathan

    I have spent hours trying to get itunes working on my laptop.
    The only functinoality I crave is to be able to get pictures off my iphone 5 (which has the latest ios installed.), as almost all other functinoality of itunes I find painful beyond belief. It has the worst ergonomics I think of any software I have ever used, which is bizarely at odds with the mobile decvices, which by and large work quite nicely (indeed, why I bought them!)
    My laptop runs windows 7. It has all the latest microsoft updates installed (I am religious about this: it always has had.)
    I have run itunes on this machine for some years, regularly updating when I am prompted to.
    A few days back i was prompted to update to 11.1.4
    It failed to install badly. whatever I try at some point during the install process the installer just hangs, or never terminates.
    All communication between computer and iphone functionality has been lost.
    Nothing eles on my machine is behaving oddly. slowly etc. it is only apple stuff that isn't working.
    I googled and found a lot of recurring themes on apple forums:
    So far I have tried:
    uninstalling / reinstalling. (hangs during installation).
    Restarting the machine between uninstall and reinstall.
    Searching and removing any directories/ contents related to apple, after the uninstall, prior to machine reboot.
    I have even used iobit uninstaller, as removing apple software as you know is almost impossible (ever tried disabbling the quicktime updater that runs at startup? it's like a virus !!)
    I have removed all apple software incl quicktime.
    I have tried the microsoft software installer fixit link often posted to.
    i have tried unpacking the apple installation file, using the latest version of winrar, to try installing one at a time.
    I have found the installation is very very very slow (it looks as though it hangs, but i leave it running in the background, after 15-20 minutes, the status starts advancing for example). so far I have managed to install the first few components up to applesoftware  update,msi, and they seem to need to be run multiple times.
    (this last one took about 40 minutes).
    I have been very careful to install / uninstall the software components int eh "prescribed" order.
    I have tried each step multiple times, rebooting the machine numerous times, cleaning temp folders (with ccleaner) etc.
    I ave tried installing when my virus checker AVG is disabled.
    (i have virus checked the machine with AVG and malware bytes, I have the latest microsft security essential updates installed.)
    I ahve tried stopping apple services (as suggested in one of the apple forum posts).
    As you can gather I'm seriously tearing my hair out.
    I presume there is some kind of generic bug in this installer: as a friend had exactly the same problem on sunday night, with a different machine, running windows 7, and a couple of her colleagues at work has had the self same problem over the weekend, though none of them seem to have gone to the lengths I have yet !
    I tried doing a system restore, but my machine seems to have lunched all previous system restore points, so I can't . Arrrrrgggg !
    Is an older version of itunes available so i can install that instead ?
    What should I do next ?
    Jonathan

  • Date Picker with Previous and Next Year Options

    Hi All,
    I am implementing a date picker in my application which is tied to an attribute of type PA0001-BEGDA. Date Picker as such works fine but navigating to previous year and Next year options are not available. User has to go month by month to different years if they have to navigate.
    Is this the normal behavior of the Date Picker or am I missing something else to get the previous and Next year icons in the Date Picker.
    Thanks,
    Nagarajan.

    hmm..I tried using the select options and it did give the same date picker with the previous and Next navigation icons...The only problem with the select options is that its a single field which has the range and can accept multiple values too...
    I tried to figure out how the date picker that we use in the custom application and the one in Select Options differ but no luck...Does this ring any bell?
    Thanks,
    Nagarajan.

  • Todate and AGO function in both Fiscal yer and Calendat year

    I want to create report having column with Todate and ago function formulas. I have to display the facts both in fiscal year and calendar year... how to do this? What value shall i choose in the content tab for the time dimension in this case? My fact table has values for each day...
    I am able to display only columns with fiscal year in time series function with timeDim.fiscal_year... similarly only calendar year with time seriese with calendar year columns... In my hierarchy, I have two branches for Time Dim...one is Fiscal and other is Calendar... and they both are at same level
    Help!

    I have an answer for you...Since you have a correctly defined time dimension (with branches - Fiscal Year->Fiscal Qtr ->Fiscal Month->Fiscal Week and Calendar Year->Cal Qtr->Cal Month->Cal Week->Cal that I assume have the common Child level - Day...) - you should have no problem building time-series logical columns
    In TODATE and AGO you must use relevant Time Dim Level - for example:
    AGO (Column, TimeDim.FiscalYear, 1) = would give you data for previous fiscal year
    AGO (Column, TimeDim.CalYear, 1) = would give you data for previous calendar year
    same goes for qtrs, months, weeks
    If you want to take it to the lowest level Day - it won't matter if you pick Fiscal or Calendar since it's essentially the same.
    I hope this is helpful

Maybe you are looking for