CO-PA planning for individual months and previous year with same layout
I would like to create a planning layout that uses a SINGLE value to define multiple period/year columns, which is driven by the value of the first period of the plan years.
The planning layout would look something like this:
2012 2012 2012 2012 2012 2011
JAN FEB MAR u2026 DEC TOTAL TOTAL
I want to create a variable PER01 and use the following as my column definition
PER01 (JAN 2012)
PER01+1 (FEB 2012)
PER01+2 (MAR 2012)
PER01+11 (DEC 2012)
PER01-1 TO PER01-12 (TOTAL 2011)
What am I doing wrong in the following sequence?
1. Create local variable in transaction KEPM
Edit>Variable>Define variable
Here is my entry:
Characteristic Period/year (Characteistic PERIO)
Variable PER01 (Note zero-one, not oh-one)
Value from 001/2012 to 012/2012 or
001/2012 to 001/2012 or
Blank
What should be u201Cvalue fromu201D range be set to from the three above choices?
2. Create a planning level
Which of these is correct for the selection criteria for period/year range?
(X) PER01
(X) PER01 to PER01
(X) PER01 to PER12
3. Iu2019ve tried I think about all possible combinations and permutations of values and keep running into this error message:
KG1003
Planning package can not be edited with planning layout
Planning layout has one or more variables for characteristic u201CPERIO.u201D These variables are given values from the selection criterion for the planning package. The selection criterion (single values and/or nterval) must match the variables.
The system tries to replace the variables in the planning layout with the selection criterion for the planning package. If for example, there is a variable for asingle value in the planning layout that is a planning characteristic, then the selection criterion must contain a single value. If there are two variables from the from and to value of an interval in the planning layout for a characteristic, then an interval must also exist in the selection criterion.
SAP course AC605 states that "Users will be prompted to enter the values for these variables when planning."
To date, I am not getting a popup to allow me to enter in period 001/2012. What am I missing/overlooking?
Thanks,
Bob
Thanks Ajay for your reply.
In the sake of completeness, here is my solution incorporating your suggestion:
Characteristic Variable Name Value from Value to
PERIOD/YEAR PER01 FIRST PERIOD/YEAR 001/2012 012/9999
Settings
Planning level MYLEVEL 001/2012
Planning package MYPACKAGE 001/2012
Planning layout MYLAYOUT PER01, PER011, PER012, PER01+3, etc.
The trick was to specify only the single value 001/2012 for period/year as shown above, rather
than specifying a range..
Bob McGaffic
Pittsburgh, PA
Similar Messages
-
Parameter for Current Month and Previous Month
I'm trying to create a parameter for current month and previous month based on the ex_date, but not sure what i'm doing wrong.
where ex_date = @SelectDate
I created a second dataset below for the values in the parameters.
SELECT Month(CURRENT_TIMESTAMP) AS 'Month', 'Current Month' as 'Current Month'
union all
SELECT Month(CURRENT_TIMESTAMP)-1 AS Month, 'Previous Month' as 'Previous Month'
Results
Month Current Month
3 Current Month
2 Previous Month
Once I preview it I get "Conversion failed when converting date and/ or time from character string" I changed the data type to "date/Time" but that did not make a difference. The date is convert (varchar(10), ex_date, 101) so looks like
11/12/2014.
I've also tried expressions like =month(now()) to pull current month with same error so i'm not sure what i'm doing wrong. Any ideas?i tired this real simple report
in the first dataset - my main report query - select name from sysdatabases where month(crdate())=@month
in the second dataset - select month(getdate()) as Month1
in the parameters - choose int data type and available values - select the second data set
in the first data set- add this parameter..( i am assumming you know this, since you have done)
in the preview you should get the drop down with current month number - 3
and if you run the report, it will display the database names that were created in march. remember we are no checking year, so will get all that were created in march across the years.
Hope it Helps!!
I'm looking to have the dropdown say "Previous Month" and "Current Month" as a option. I know how to get the information in SQL, but not sure how this translates or put into a parameter.
Current Month
list_date BETWEEN
DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
AND
DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)
Previous Month
list_date between
CONVERT(varchar,dateadd(d,-(day(dateadd(m,-1,getdate()-2))),dateadd(m,-1,getdate()-1)),106) /* Last Month */
and
CONVERT(varchar,dateadd(d,-(day(getdate())),getdate()),106) -
Records for parameter month and previous month
Hi,
I have a request where the user parameter is calender year month (YYYYMM).I need to show the records of both the entered month and previous month.
For ex: if the user enters 201107, I need to show the records of 201107 and 201106.
Also,I am not using dashboards.
Any suggestion...
ThanksNo, I don't see this as a solution. A session prompt can only be overridden by using a Request Variable, but they are found in Dashboard prompts which you have excluded as a solution. Therefore, any session variable you set would be "hard-coded" eliminating end-user interaction. Sorry.
You will need to deploy dashboards for this. I will also add this: eliminating dashboards really restricts the power of OBI because it makes it difficult to implement interactive reports such as the one you are building. Perhaps you should use this example as a push to consider adding the value of dashboards to your environment.
As this is useful information to others, please mark applicable posts that resolved your question. Thanks. -
Data per month and previous year
Hi all,
I have a requirement that is to show 2 columns, one for the actual data for a month and the other one to show the data for the same month of previous year.
For example:
Month Profit_Center Actual Previous_Year
08.2010 10000 10.25 12.50
I know that I can create the second column filtering by same month-12, but when i show the Month,the result is:
Month Profit_Center Actual Previous_Year
08.2009 10000 10.25 0
08.2010 10000 0 12.50
We want to show just one row with the actual month and both columns. How can I do it, without change the backend. I would like to do it in front end (in query designer).
Regards, FedericoHi Sukhi,
Thanks for your answer. I have tried with offset also, but the data is filled in 2 rows cause of i am doing a drill down by Calmonth.
Year/Month | Actual Data | Data of previous year
(08.2010) | 150 | 0
(08.2009) | 0 | 80
And I want to show just one row, like this:
Year/Month | Actual Data | Data of previous year
(08.2010) | 150 | 80
The idea of this is to compare the data between the month that i put in the preselection and the data of same month but the previous year.
Thanks in advance for your help, Federico -
Time Dimension _ Report on Current month and previous year.TOTAL
Hi,
My Time dimension is as under .
July2013, Aug2013 ,......Jan2014,,,. June2014 = 2014.TOTAL
My requirement is to report based on context view along with previous period total (.TOTAL) values.
For example : If i am using CV as : 2013.JUL my report should show 2013.JUL & 2013.TOTAL
If i am using CV as : 2014.JUN my report should show 2014.JUN & 2013.TOTAL
Can anyone provide some direction to build the above scenario
Regards
KrishnaHi,
do you have the property YEAR in your time dimension filled out? If so, you could use EPMDIMENSIONOVERRIDE function together with an Excel cell.
Let me build an example:
Assuming your report has two columns, one for the current month and one for the total year. I would split this into two, one report per month, i.e. column. The first report will show the current period, the second the total. Somewhere in the header of your sheet use:
EPMDimensionOverride("001";"TIME";EPMMemberProperty(;EPMContextMember(;"TIME");"YEAR")&".TOTAL")
001 is the default ID of the second report.
BR,
Arnold -
I've used almost all of the 30 gigs of my 4G LTE wireless internet plan for this month.
Hello, I've used almost all of the 30 gigs of my 4G LTE wireless internet plan for this month and I'd like to purchase additional data immediately. How do I go about this?
If you are on the special double data offer getting 30GB for $130, you can't change data plan without losing your $130 deal. In this case it may be best to absorb overages
if you just have 30 GB at regular price, you can go online and go to the next data level and retrospectively apply it to the first day of your plan. -
Key figure comparision between current year and previous year
Hello collegues,
I have created a WEB Intelligence report with key figure ROI (return on investment which is calculated out of three other key figures (capital, revenue and costs). I would now like to calculate the percentage period (year) differences between key figure ROI - between current year (month) and previous year (month).
Do I have to add coding within a key figure formula within WEBI Rich Tech client or within universe builder.
The key figures were extracted from SAP BW and added to a universe which is basis for WEBI rich tech client report.
thanks and regards,
ChristianHi Stratos,
so I see - i have to use the variable Editor and then define a measure and add coding in the formula field. Do you have an e-mail address ín order to send you the report and explain in more detail what I would like to see - here it is not possible to upload a report...
thanks and regards,
Christian -
Will be International for 5 months and want to remove plan for this time
I will be studying in Austria for an extended period of time and would like to bring my iphone5, but not use any sort of plan with it (I'll just use wifi and as a camera). Right now I have a contract for several years (unlimited talk, text, and 2GB data) and pay $60 a month for it. There are two other phones on my account. I was wondering if I could just remove my phone for these months (and not pay for a service I wouldn't even be using) and then resume my plan when I return in July.
You can't "remove" your phone for this time without paying the ETF since you are under contract.
Verizon allows you to "suspend" service without billing for 90 days at a time. Once the 90 days is up, your service will automatically restart. Once it restarts, you can go back in and suspend it again. Verizon allows you to do this twice in a year for a total of up to 180 days in a year. Unfortunately, with the service automatically restarting again after 90 days, you will most likely have 1 month of service for which to pay.
While in Austria, you should be able to simply remove your Verizon SIM card and insert a SIM card from a local provider to get service thru them. -
I have an AT&T locked phone valid contract for another year. I am planning for India visit for 3 months and I want to unlock my phone to use for my purpose. Apple care can help on this? or AT&T Customer care?
It's not going to happen. Even a cursory reading of the forums would have revealed this fact.
Apple can NOT help you. AT&T WILL NOT help you.
Leave your iPhone at home or in airplane mode while you're in India and buy yourself a cheap disposable phone to use while you're in India. I believe AT&T still has a program where they will put your account "on hold" while you are gone for a small fee. -
Sales report for current month and year a go month
i could you please guide me builting report for current monthwise for current month and year a ago month
report parameter month_year='06-2010'
tables = sales and below are the table fields
customer_id
invoice_dt
invoice_am
thanks
nhmOkay, Still you did not mention how you will pass value in report while generating.
Anyway the query with UNION ALL will work. For Example.
I am assuming that the parameter for date/month you will pass in range like 01-JUN-2010 to 30-JUN-2010
SELECT customer_id, SUM(curr_value) curr_value, SUM(past_value) past_value
FROM
SELECT customer_id, NVL(SUM(invoice_amount),0) curr_value, 0 past_value
FROM sales
WHERE invoice_dt BETWEEN :P_FROM_DATE AND :P_TO_DATE -- here P_FROM_DATE and P_TO_DATE will be the date range for current year as i showed above.
AND -- Any Condition goes here...
GROUP BY customer_id
UNION ALL
SELECT customer_id, 0, NVL(SUM(invoice_amount),0)
FROM sales
WHERE invoice_dt BETWEEN ADD_MONTHS(:P_FROM_DATE,-12) AND ADD_MONTHS(:P_TO_DATE,-12) -- This add_months function for the previous year same month.
AND -- Any condition goes here...
GROUP BY customer_id
GROUP BY customer_idNow using the above query you can design the tabular report as you showed the format.
-Ammad
Edited by: Ammad Ahmed on Jul 3, 2010 7:55 PM
added GROUP BY -
12 month but devided into current and previous year
hi guys
i have this requirement to disaply amount for current period and previous period for 12 month.
Current period is the period of user entered year and previous period is previous year
So if user enter feb 2007 u2026Then current year is feb, jan ,dec 2006
And previous period is Nov 2006 to March 2006
user is entering the value 0CALMONTH ...and report to need to display 12 month internval betwen years. my problem is how to check the year and interval
please help me without any custom exit? can it be possible thru varibale?Hi,
I think i misunderstood your question previously.
You can create offsets on CALMONTH and achieve this easily.
1)In the columns are of query disigner, create selections for 12 months by using CALMONTH and offset each field by -1 or -2,-3,-4 ..... -12.
2) Create a Text Variable to show the month Value in column header
3) Create a structure in columns area and place it below all the CALMONTH selections
4) Include all your Key Figures inside the structure. -
my daughter has not used her ipod touch for 16 months and has forgotten her passcode. restore factory settings keeps failing due to a software update failure!
how can i get this ipod reset. She now has an iphone so this is going to be used by someone else in the family and should be simple to do but itunes just keeps booting it out even though it recognises that it was previously connected to our itunes account as all of the children were on my accountThat has nothing to do with an update server. Do the following:
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Forgot passcode or device disabled
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: Back up and restore your iOS device with iCloud or iTunes
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes -
How to get data for current week and previous week using customer exit in Bex.
Hi everyone,
I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
Thanks in Advance,
G S Ramanjaneyulu.Hi krishna,
Thanks for your quick reply, can you have a look at my code,
case i_vnam.
WHEN 'ZPWK_CWK'.
ranges : pre_week for sy-datum.
data : start_date type DATS,
end_date TYPE dats .
************FM TO GET FIRST DATE OF CURRENT WEEK ************************
CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
EXPORTING
DATE_IN = sy-datum
IMPORTING
DATE_OUT = start_date. " WEEK FIRST DATE
end_date = START_DATE + 6. " WEEK LAST DATE
END_DATE = START_DATE - 1. " PREVIOUS WEEK END DATE
START_DATE = START_DATE - 7. " PREVIOUS WEEK START DATE
**********PREVIOUS WEEK DATES IN PRE_WEEK******************
pre_week-SIGN = 'I'.
pre_week-option = 'BT'.
pre_week-LOW = START_DATE.
pre_week-HIGH = END_DATE.
APPEND pre_week.
CLEAR : START_DATE,END_DATE.
endcase.
Regards,
G S Ramanjaneyulu. -
Balance sheet required for current quarter and previous quarter
Hi Guys,
I am using 0FIGL_C10 cube for balance sheet report,i need to create balances for current quarter and previous quarter.
user will enter the fisper, based on fisper it has to show the current quarter and previous quarter balance.
how to calculate the quarter using fisper.you can use offset with ranges.
or
just offset of -1 , -2 & -3 seperately in 3 selections and add it in one column in formula (this will give u current quarter).
similarly offset of -4, -5 , -6 will give u previous quarter result.
total of 6 selection and 2 formulas. hide all selections from display. -
Parameter for current year and previous year
Hi all,
I currently have 2 reports where the query is the same except in the where clause I have it filtered to current year and previous year based on the List_Date. I would like to make this one report with a parameter of Current or Previous year.
Would I create 2 more datasets one for current and another for previous? I would think there is a easier way. Any help or direction would be great.If you define a parameter in SSRS, you can use it's value in your query. Just make sure the parameter name, and CASE (SSRS is case sensitive when it comes to parameters) are the same in SSRS and your query. There's a parameter tab on the dataset properties.
It SHOULD auto fill, but it never hurts to check, just in case.
Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.
Yes it did auto fill the parameter tab in the dataset and I get a parameter to enter the year when I preview the report. Still a little confused on how I do current or previous year. Are the next steps what I need to do?
@yearParam parameter:
1) Create Available or Default values
2) Current and Previous year as label
3) For Value do I need to use a expression for current year =Year(now()) and previous Year?
4) Add a filter on the tablix for list_date?
Maybe you are looking for
-
I am trying to connect my MacBook Pro (early 2011 w/ Intel HD 3000/ 384Mb) to an external display with a 2560x1440 resolution. Specifically, what cable/connections do I need to display at this resolution? I cannot get the display to work using a "Thu
-
How do I get headers and footers to print?
A few months ago, I upgraded from OSX Lion to OSX Mavericks. I just converted a Numbers sheet to the new version of Numbers in Mavericks. When I prepare to print the sheet, I can see a header (containing date and title) and a footer (containing page
-
Why won't my charts continuall​y update while running a case structure?
I'm making a VI to drive an actuator and read a force on a load cell. I have programmed the actuator to run through a flat sequence using millisecond timers to delay its drives outward and inward, which is necessary for its intended use. However, m
-
Hi, I just bought a mini Display port - DVI adapter + HDMI-DVI cable, but i notice some issues. I think the quality of image on my Full HD tv is worse than when i connect the MBP to the tv with the VGA cable. I tried to draw a single pixel on Photosh
-
Nokia e65 sync with Lotus Notes problems
Hi everyone! I ve got delay in Nokia calendar for 30 minutes in comparison with LN calendar. Need help or advice. BR