I want to expend base member for year.total parameter passed from pacakage

Hi All,
I am passing an Year.Total parameter from DM Package into my script logic. I need to calculate revenue for the whole year which has been passed on. But I dont know how to handle this parameter(year.total) in my script logic. I want to calculate revenue for the whole year not like year.jan, year.feb..................... etc
// Calculate Revenue & post it to Planning Application
// Define scope of data
// Base members only and products with a product group
*SELECT(%BASENT%, "[ID]", "STORE", "CALC='N'")
*SELECT(%PRODS%,"[ID]", "PRODUCT", "CALC='N' AND PRDGRP<>' ' ")
*SELECT(%BASTIM%,"[ID]", "TIME", "CALC='N'")
*XDIM_MEMBERSET TIME = %BASTIM%             //%TIME_SET%
*XDIM_MEMBERSET STORE = %BASENT%
*XDIM_MEMBERSET PRODUCT = %PRODS%
//*XDIM_FILTER ACCOUNT = [account].properties("ACCTYPE")="AST"
//*XDIM_FILTER TIME = [TIME].properties("CALC
*LOOKUP UNITRATES
*DIM ENTITY = STORE.ENTITY
*DIM PRODUCT = PRODUCT
*DIM TIME = TIME
*DIM UPRICE:UNITRATE = "PRICE"
*ENDLOOKUP
// Declare the Destination Application - we're calculating revenue in a different App.
*DESTINATION_APP = PLANNING
*RENAME_DIM STORE = ENTITY
*RENAME_DIM PRODUCT = PRDGRP
*ADD_DIM CURRENCY = LC
*ADD_DIM ACCOUNT = 41100               // Revenue account
*WHEN PRODUCT
*IS *
*REC(FACTOR=LOOKUP(UPRICE), PRODUCT=PRODUCT.PRDGRP, STORE=STORE.ENTITY )
*ENDWHEN
*COMMIT
Thanks

Hi Dalil:
1. Firstly check if you have year input value like 2009.INP, or your revenue should be calculated by sum up 12 months.
2. If you have year input value, you should directly use this value , you can filter using some property .
3. If you should sum up 12 months value, then I think you should exactly declare the year time in your REC .
like REC(FACTOR=LOOKUP(UPRICE), PRODUCT=PRODUCT.PRDGRP, STORE=STORE.ENTITY, TIME = 2009.INP )
Wish this can help you
Regards,
Louis Lu
Edited by: Louis Lu on Nov 12, 2009 1:27 PM

Similar Messages

  • I've been taking screen shots for years and opening them from my desktiop. Suddenly, today, I've lost the ability to open them. I can right click on the picture and do "quicklook", but that's it. They just won't open.   Similary, if I scan an image and sa

    I've been taking screen shots for years and opening them from my desktiop. Suddenly, today, I've lost the ability to open them. I can right click on the picture and do "quicklook", but that's it. They just won't open.
    Similary, if I scan an image and save it as a PDF file in pictures, I'm suddenly not able to open it either!
    Why?

    Move the com.apple.screencapture.plist file out of /username/Library/Preferences/ to the Desktop, log out and back in, and try again.
    BTW, use the default 10 point setting for text. Your choice just wastes screen space.

  • Want to create RFC FM for Getting data in CRM from R/3

    Hi,
    I have made the RFC connection in CRM system , now I want to make RFC FM for getting data from R/3 'MARD' table into CRM, If any one help me how to do this.
    From CRM system I will pass Plant & material no to FM and I need Storage location & Storage Bin from R/3 MARD table in CRM.
    Thanks
    Bobby

    Dear Bobby,
    You would create a FM in SE37 select 'Remote Enabled Module' radio-button in attributes tab of Function Builder.
    Select matnr werks LGORT LGPBE
               from MARD
               into ET_MARD
               where matnr = i_matnr
               and  werks = i_werks.
    Note:
    matnr is material number
    werks is plant
    LGORT is storage location
    LGPBE is storage bin
    Hope this will help.
    Regards,
    Naveen.

  • 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.

  • On Going for Years: Windows 7 taskbar some times hidden with FF 7.0.1

    I've noted that this problem has gone unanswered for years. Occasionally, passing my cursor to the bottom of the monitor screen fails to reveal W7's taskbar. If I restore FF down to a smaller screen size, then the taskbar will pop up when the cursor is passed to the bottom.
    Because this is a random problem, it is very difficult to definitively determine just what causes it. But I'll say that it seems to happen when KeeFox is being manipulated in some manner. And, can be temporarily put straight by fooling around with restore/maximize...

    For those of you who are interested in this problem, it appears that it is a Window's bug dating back to Vista and has yet to be fixed by MS. This problem has also been reported with IE and Chrome, but not Maxthon (been a long time user of the latter and never had this problem). The easiest workaround appears to be clicking the Windows button to recover the taskbar. You can read about this problem on these two urls:
    http://www.sevenforums.com/browsers-mail/195149-win7s-autohide-taskbar-function-defeated-maximize-firefox.html#post1642658, and
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/019916b1-1018-4580-930b-f35d49ce50c5/

  • Why am I required to sign in as a TRIAL member? I'm a member for a year

    I've gone through this before and I'm getting tired of it. Adobe's management of Creative Cloud is terrible!!!
    I'm being charged for multiple memberships and am trying now to resolve this issue.  Suddenly I find that I have to register the software I have already downloaded for over a year as a TRIAL membership.  I'm an active subscriber for over a year and am being charged on a monthly basis.  If you don't get your act together, you're going to lose a LONGTIME customer.

    Thanks for responding.  My name is Joel Cotten  My email is [removed].
    I'm trying to deal with multiple billings for my Cloud membership.  After talking to India billing about this they terminated the erroneous billing for $49.99+tax and then I get this email:
    Hi Joel,
    Your Creative Cloud membership will be transitioned to a Free membership at the end of the next billing period. This means you will lose access to many of the apps and services included with a Paid Creative Cloud membership.
    In addition, since Free membership offers only 2GB of storage, you may need to remove files to get your cloud storage down to 2GB (or to purchase additional storage separately if you choose). If you leave more than 2GB of files on Creative Cloud for more than 90 days, you may lose access to some or all of your files. If you decide you want to return to a Paid membership, update your payment information and desired plan on the account management page.
    If you need help or have any questions, contact Customer Support.
    Thanks and enjoy,
    The Adobe Creative Cloud Team
    Which membership are you talking about?  I've been billed for two different memberships.
    If my next credit card statement shows a May billing for $53.00 plus another for $32, I'm getting out of your CLOUD altogether.
    I've used Adobe products for many years.  I thought the Creative Cloud was a great idea and subscribed right away.  However, its implementation by your so-called team has become a nightmare.  The right hand doesn't know what the left hand is doing.  Is there anyone in the US whom I can talk to who knows what the hell is going on?
    Kapil Malik <[email protected]> wrote:
    Kapil Malik Kapil Malik created the discussion
    "Re: Why am I required to sign in as a TRIAL member? I'm a member for a year"
    To view the discussion, visit: http://forums.adobe.com/message/5319192#5319192

  • I reset my computer to orig manufacturers speifications and lost all my purchased Itune music before this year.  I've been a member for ten years.  Itunes does not have a record.  Is there anything else I can do to get them back.

    I had to reboot my desktop computer to original manufacturers specifications and all my purchased Itune music was deleted from my computer.  I didn't back up my itunes because they advertise they keep a record of your purchased music.  I contacted Itunes and they have stated they only have a record of purchases made this year.  I've been a member for ten years.  Any ideas on how to get back my purchased music?  Also, I have an old Ipod Nano that I haven't used for quite some time because the battery didn't hold its charge, and it has some of my older purchased music.  Itunes said I can't get the music on my old ipod downloaded back onto my computer, any ideas on this?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have owned Illustrator CS6 for years now, but all of a sudden it says my trial period will expire.  What is going on?  I do not want to lose my program in 25 days over something I had no part of.

    What is the price to upgrade to the new CC version?  I can't get any information on anything from Adobe.  I am so annoyed with their website, I really have lost interest.  I don't use the cloud, and only want to use 1 or 2 of their products.  The last product I bought, has now been taken over, and says my TRIAL will expire, when I have owned it for years.  It seems like the options are, pay monthly for everything, or get nothing. I'm not sure if this is designed for students, who can use everything, which is a really cool option, but not what I want. 
    I've always been a die hard Illustrator fan, but I have not been able to use other ADOBE products.  I am, or was, really looking forward to the new CC version. 

    There is no CC without the cloud and that is that. For you activation issue rtefer to this:
    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • I've been using my mom's iTunes account for years but now I want to switch to another account. How can I do this without losing all of my pictures, music, and apps?

    I've been using my mom's iTunes account for years but now I want to switch to another account. How can I do this without losing all of my pictures, music, and apps?

    Follow the steps in wjosten's post here: https://discussions.apple.com/message/13356770#13356770 (for Windows, substitute Outlook in step 2).

  • I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store.

    I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store. I have already had to have a technician to look at it and really couldn't figure out what the deal was.  I was told that the APP store software should give me no problems but the truth is that it locks up on the software. This machine is only 4 weeks old and I am using 37 g on a 1 T hard drive. There is no reason for it to be locking up. Also, when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that. I successfully used the help program on my pc lots of times. I did not need a $2000. plus machine to just get email. I just wanted to unload on somebody that might understand my pain and after checking out this site...I think there is a few of you out there.

    I was told that the APP store software should give me no problems but the truth is that it locks up on the software.
    The apps downloaded from the Mac App Store are written by third party developers, not Apple. If you have problems  with those apps you need to visit the support area for their websites. Launch the App Store, locate the app name. You should see a support link.
    when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that
    Go to ~/Library/Preferences. Move the com.apple.helpviewer.plist file from the Preferences folder to the Trash. Restart your Mac, try the Help menu.
    If you need help finding that file, hold down the Finder icon in the Dock then click: New Finder Window. From the menu bar top of your screen click: Go > Go to Folder. Type this in exactly as you see it here:   ~/Library/Preferences/com.apple.helpviewer.plist    That will take you right to that file.
    (.plist) files stores information about a particular app or in this case, the Help viewer. Often times deleting the .plist file resolves the issue.
    It's fine to "unload"... we understand that you expect your iMac to be stable but there are times when things go awry. That's why we have these forums so that you can you get help.
    You may want to read up on how to repair the disk if necessary or reintsall Lion >  OS X Lion: About Lion Recovery
    Apple - Find Out How - Mac Basics
    How to "switch" from PC to Mac >  Apple - Support - Switch 101
    I'm sorry you feel, "ripped off", but you are using the world's most advanced operating system and it may take some time to adjust to a new OS.   http://developer.apple.com/technologies/mac/

  • I've been sharing my husbands account for years and I now want to open my own account. How can I open my own account and keep all my contacts?

    I've been sharing my husbands Apple ID for years and I now want to create my own Apple ID but how can I get all my information saved on my husbands Apple ID to my new Apple ID.

    http://support.apple.com/kb/ht2109

  • Creative Cloud member wants to publish multi-folios for a client...

    Hello everyone,
    I did send this question as a"private message" first and did receive some answers that I would like to share here. Big thank you to both Himanshu and Bob!!!  If someone feels like adding more info regarding the subject please do.
    "I’m the Adobe Creative Cloud member (one year subscription) and as such I’m entitled to publish a Single Edition app through my Digital Publishing Suite. Now, I have just been approached by one printed magazine, here in Vancouver, Canada, and I’m suppose to provide them with an estimate for adapting their publication for the iPad. Before I start thinking about my fee I would like to know what we have to pay to Adobe. They have four issues per year and I guess this goes under multi-folio applications category. Now, the questions:
    1. Can I prepare the folios with my Creative Cloud membership or I have to upgrade to Professional edition of the DPS?
    2. Does my client need to purchase the Professional Edition of DPS or not?
    3. Or, we need only one license of the Professional Edition and if so who’s is that license going to be?
    4. Or, I’m talking nonsense and you can just explain me how this works, please?
    Have a wonderful day."
    Regards,
    Dragan, Vancouver
    Himanshu Singh :
    You would need to upgrade to DPS Professional Edition for multi Folio Applications. DPS Pro is $495 per month + taxes. Also you have download fees applicable. You get 250 free downloads per month for the first year and  for any additional downloads, you need to purchase Folio Bundle. Approximately, each Folio Download will cost you $ .30, so you can charge you client that amount per folio download + DPS Pro contract fees.
    If your Customer purchases DPS Pro, you can read this article to know how to work with them : http://www.adobe.com/devnet/digitalpublishingsuite/articles/customer-a gency-dps-workflows.html
    Now regarding your questions.
    1. Can I prepare the folios with my Creative Cloud membership or I have to upgrade to Professional edition of the DPS?
    You need DPS Pro for creating Multi-Issue Applications. With CC, you can create Built in single apps. For Magazine with at least 4 issues per year, it’s best to go for Pro edition.
    2. Does my client need to purchase the Professional Edition of DPS or not?
    Either you or your client can purchase DPS Pro depending upon your contract with the client. You Client needs to get themselves Apple iOS Developer account.
    3. Or, we need only one license of the Professional Edition and if so who’s is that license going to be?
    4. You need one DPS Pro Contract. You can create unlimited number of apps and account using one License.
    Bob Bringhurst :
    In this case, I believe that your client would need to pay for DPS. Have you seen the DPS Getting Started Guide? There's a section about understanding IDs and roles.
    http://www.adobe.com/content/dam/Adobe/en/products/digital-publishing- suite-family/pdfs/dps-getting-started-guide-april.pdf

    Priceless man, thank you so much!
    Have a wonderful day, and if you need anything, just let me know
    Kind regards,
    Dragan
    http://www.behance.net/BarcelonaMediaDesign
    http://barcelonamediadesign.prosite.com/
    http://pinterest.com/pinteresantno/barcelona-media-design/
    http://www.barcelonamediadesign.com
    http://www.brandingfactoryvancouver.com
    http://www.designemergencies.com
    http://www.tabletpublishingvancouver.com
    http://www.creativethinkingvancouver.com
    [email protected]

  • Using Overdrive to download WP3 audiobook, then wanted to transfer to itunes (as I have done for years) and couldn't find portable player.  Don't want it to go to portable player, want it to go to itunes/music. Can I change "player"?

    Using Overdrive to download WP3 audiobook, then wanted to transfer to itunes (as I have done for years) and Overdrive couldn't find portable player.  Don't want it to go to portable player, want it to go to itunes/music. Can I change "player"?  When I "transferred" to iPod, I couldn't find the book.  Have updated iTunes and Overdrive.

    Sorry, I can only advice that you go to ubuntu ipod forum, for a better response.
    Here I can suggest install iTunes and Restore the iPod.

  • I am an exchange student for the year and I would like to by an iphone that i can use in France also, so I need an unlocked one but i don't want to pay to much for it... What should I do?

    I am an exchange student for the year and I would like to by an iphone that i can use in France also, so I need an unlocked one but i don't want to pay to much for it... What should I do?

    What do you mean what should you do?  Just because you don't want to pay too much for a phone, doesn't make the price any cheaper.  If you can't afford the price of an unlocked phone, then you don't, or can't, buy one.

  • How to load member for "sales same date last year"?

    I need to load a member in Measures named "PriorYrSales" with "Sales" for the same date last year as today's date. Thus, retrieving "PriorYrSales" for 2/10/2002 would return the sales amount for 2/10/2001. Since days roll-up to months, quarters, years, it would be easy to determine how we're doing compared to the same time last year.Data is loaded each day for a date range from the current date and the preceding x days. Substitution variables are available for the beginning and ending date and the same dates for last year.For example: Data is loaded from beginning date of 2/01/2002 through ending date of 2/10/2002.The prior year date variables contain 2/01/2001 and 2/10/2001.The time period dimension is as follows:FY01->Jan2001-->01012001 (Alias: 1/01/2001)-->01022001 (Alias: 1/02/2001)-->all the dates in Jan->Feb2001-->02012001 (Alias: 2/01/2001)-->02022001 (Alias: 2/02/2001)-->all the dates in Febetc.FY02->Jan2002-->01012002 (Alias: 1/01/2002)-->01022002 (Alias: 1/02/2002)-->all the dates in Jan->Feb2002-->02012002 (Alias: 2/01/2002) -->02022002 (Alias: 2/01/2002)-->all the dates in Febetc.Thanks your any and all suggestions.Phil

    Perhaps I wasn't clear in the first post. The intent is to easily compare sales for a current date/period to the same date/period last year. Neither Excel nor Analyzer provide a method that I'm aware of to retrieve data as follows:-------------------------------------Period Sales PriorYrSales Diff4/15/2002 1,000 900 100-------------------------------------(900 is sales for 4/15/2001)(100 is the calculated difference.)Nor can I do this:-------------------------------------Period Sales Period Sales Diff4/15/2002 1,000 4/15/2001 900 100-------------------------------------What Excel and Analyzer do allow is:-------------------------------------Period Sales 4/15/2002 1,0004/15/2001 900-------------------------------------I readily acknowledge that the data is redundant but I can't think of another option that will allow Excel and Analyzer to easily retrieve the values for comparison. If the PriorYrSales member can be loaded then the users can compare years, quarters, months and days quite easily.My challenge is knowing how use a calc script to derive prior year dates that correspond to current year dates. Something like:PriorYrSales->04152002 = Sales->04152001I've considered arrays but I've never used them and the documentation is not helpful enough for me.Thanks for your response.Phil

Maybe you are looking for