CO- Actual and Plan data
Hi gurus,
I am creating a query with actual and plan column and restricting each column with the value type object of actual and plan respectively,but the plan data is not been shown in the columns.
I checked the value type master data and it has the plan and actual inside but when I am trying to restrict with the value type object, it only gives me the actual option and I have to force the plan option to restrict for the plan column.Don't know why it is not showing, cos I am showing it in the master data object for value type.Any help?
Thanks in advance
Hi Ravi,
Thanks for ur quick answer. I already tried that and the problem I have is that no data is coming for the plan column. I checked the Value type master data infoobject and saw both 10 and 20 in there,but when I am trying to restrict with the value type 20 in the query, it does not give me the 20 option.
I also checked the extractor in R/3 and could only see data for value type 10 and not 20, cos am using the datasource 0CO_OM_CCA9.Does that mean my datasource is not extraction data for value type 20 or how can I check for that?
Thanks
Similar Messages
-
Can we use actual and plan data for same cube?
hi friends,
can we use actual data and plan data in same cube in bps.
Thanking u
suneel.Hi,
Let us take std cube 0SD_C03 where we store billing info,sales order info and delivery info. But still in reporting we can get values without any mismatch in their respective KF. It is possible because of a cahracterstic called Documnet category which gets values in update rule by constant .
Similarly we can have 2 types of data (plan and actual) in a single cube by having different value for a characterstic. Most frequently used characterstics for this are 0VERSION and Value type.
With rgds,
Anil Kumar Sharma .P -
Hi,
May I know if I am correct for the below where
1)
KE26 or KE21N is meant for correction of actual data in copa and
KE13N or KEPM is to load copa planning to copa
2) we have many planning tcode like kpf6, kp06, kp26.
what is the difference between them and ke13n/kepm?
thanksKE13N is for mass upload of Plan data into COPA, COPA planning os for operating margin planning this is different from cost planning in controlling
KEPM is for input of planning data by the users in the system
Thanks
Naveen -
Actual and Plan Versions annual view - Multiple versions per company code
Good Day,
Iu2019m creating an FI-CO query with an annual view of both Actuals and Plan Values, which uses period and version as input values. The dilemma is around the plan versions which are hardcoded per company codes (eg. 1 Company Code = versions 501 u2013 512)
Can anyone suggest a possible solutions as normally there is only one version used for planning but in this instance there are multiple versions per Company Code.
Currently the report is hardcoded for one Company Code and going forward it should cater for more than one(Company Company* 12 Version)
Kind RegardsRemove restriction on comp code. There could be 2 models.
1. Include comp code, value type and version in the rows. This way you get multiple records for a comp code. One record for actual data and one record each for plan versions. To have this model at the query, the data model in the cube also should be in this way (what we call as the account model), multiple records differentiated into actual/plan by valuetype and different versions by version.
2. Include comp code in rows. Create selections, one for actuals (restrict with key fig and value type 10, actuals), one for each plan versions (restrict key fig with value type 20, version 501. Create one selection for each version this way). This way we have one record per comp code with diff key fig for actual and plan versions. We call this as key fig model. To have this model at the query, the data model in the cube could be account model or key fig model. If it is key fig model then no need of selections. The key fig could be taken directly from the cube. -
Tables req: Actual and planned values
Hello Experts,
I would like to create a new zprogram, which will give me output.
Cost element- planned values- actual values-. Day1 actual cost -day2 actual costu2026day31 actual cost.
Can any one tell me in which tables the planned(KP06) and actual data will be stored?Hi,
Actual and plan values on line item level are stored in COEP. COSP is the table for totals (again for both actual and plan). You distinguish between the two by 'Value type' field.
Regards,
Eli -
Hi BI Gurus,
I have a sales multiprovider(zsd_mc01) which contains the Actual data and forecast data.
Actual data is coming from my sales cube(0sd_c03) and Forecast data is coming from the Forecast cube,Integrated Planning (Zsd_for).
Now I have a keyfigure Actual quantity in Actual cube and forecast quntity in forcast cube.
If I create a query actual/forecast quantity on multiprovider I need to populate the actual and forecast data in a single row in the report.
Example:
If the user enters april 2007,
The data should be populated in a single row like this:
Jan2007,Feb2007,March2007,April2007 Actual quantity ...from May2007 to December 2007 Forecast quantity.
How I can Proceed for Populating Actuals and Forecast Data in a Single Row.
I am getting in Two rows but I need it in one row.
Please Suggest any solution on this...I will appriciate and rewarded
Thanks,Hi Irwin,
I was not around for a few days, hence, delay in writing this to you.
I am going to give to some kind of a pseudo code here. You might need to take help from an ABAPer to close the open ends here (Please excuse me here incase you yourself have an expertise in ABAP, I am just assuming otherwise).
Going back to my earlier response to your question, I am considering two variables:
<b>ZC_ACTV: For Actuals
ZC_FORV: For forecasts</b>
You would need to create them as <i>Customer-Exit</i> kind of variables. They should be able to hold<b> dates</b>.
I am assuming that you already have a User Entry variable for entering month on the selection screen. I'll call it <i><b>ZP_MON</b></i> (Please substitute the actual name).
Now, the code in the include <b>ZXRSRU01</b>, within the <i>CASE-ENDCASE</i> statement, would look something like this.
* Some data declaration in the beginning, if already not there.
DATA: l_s_range TYPE rsr_s_rangesid.
DATA: loc_var_range LIKE rrrangeexit.
* For ZC_ACTV
WHEN 'ZC_ACTV'. " Variable name
DATA : v_year(4) TYPE n ,
v_mon(6) TYPE n , "This is assumed to be in format YYYYMM
v_amon(6) TYPE n ,
v_fday LIKE sy-datum ,
v_lday LIKE sy-datum .
IF i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZP_MON'.
CLEAR l_s_range.
v_mon = loc_var_range-low.
v_year = v_mon+0(4).
CONCATENATE v_year '0101' INTO v_fday. "This will create 1st Jan for entered year
ADD 1 to v_mon.
CONCATENATE v_mon '01' INTO v_lday.
v_lday = v_lday - 1. " This will create last day of the entered month
l_s_range-low = v_fday .
l_s_range-sign = 'I' .
l_s_range-opt = 'EQ' .
l_s_range-high = v_lday .
APPEND l_s_range TO e_t_range.
EXIT.
ENDLOOP.
ENDIF.
* For ZC_FORV
WHEN 'ZC_FORV'. " Variable name
DATA : v_year(4) TYPE n ,
v_mon(6) TYPE n , "This is assumed to be in format YYYYMM
v_amon(6) TYPE n ,
v_fday LIKE sy-datum ,
v_lday LIKE sy-datum .
IF i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZP_MON'.
CLEAR l_s_range.
v_mon = loc_var_range-low.
v_year = v_mon+0(4).
CONCATENATE v_year '1231' INTO v_lday. "This will create 31 Dec for entered year
ADD 1 to v_mon.
CONCATENATE v_mon '01' INTO v_fday. " This will create last day of the entered month
l_s_range-low = v_fday .
l_s_range-sign = 'I' .
l_s_range-opt = 'EQ' .
l_s_range-high = v_lday .
APPEND l_s_range TO e_t_range.
EXIT.
ENDLOOP.
ENDIF.
Once again, if the granularity of your cube is monthly, then this logic would change accordingly.
This should help. Feedback is awaited.
Best regards,
Sanyam -
Joining Actuals and Planned Work from Project Server
Hi,
I have an SQL based query which returns Actuals and Planned work from Project Server; however a number of records (generally generic resources based on the ResourceIsGeneric column) are excluded. I believe this is because my Actuals query does not return
generic resources as we are joining both sides of the query on ResourceUID. I have included a snippet below - is there a way to join Actuals and Planned work so I can return all Resource data?
Thanks
SELECT tl.ResourceUID
,tl.ProjectUID
,tl.ResourceName AS [ResourceName]
,CASE
WHEN tl.ProjectName = 'Administrative'
THEN tl.TaskName
ELSE tl.ProjectName
END ProjectName
,ruv.RBS AS [RBS]
,Sum(ta.ActualWorkBillable) ActualWorkBillable
,Sum(ta.ActualWorkNonBillable) ActualWorkNonBillable
,Sum(ta.ActualOvertimeWorkBillable) ActualOvertimeWorkBillable
,Sum(ta.ActualOvertimeWorkNonBillable) ActualOvertimeWorkNonBillable
,CASE
WHEN Sum(ta.ActualOvertimeWorkBillable) > 0
THEN Sum(ta.ActualOvertimeWorkBillable)
END [HOURS]
,DATEPART(year, ta.TimeByDay) AS [Year]
,DATEPART(month, ta.TimeByDay) AS [Month]
,DATENAME(month, DATEADD(month, DATEPART(month, ta.TimeByDay), - 1)) AS [MonthName]
,puv.[Project Status] AS [ProjectStatus]
,ruv.[Primary Role] AS [PrimaryRole]
,ruv.[Resource Department] AS [Department]
,ruv.ResourceIsGeneric
,ruv.[Cost Category] AS [ResourceType]
,puv.[SAP Project Code] AS [SAPProjectCode]
,CASE
WHEN tl.ProjectName <> 'Administrative'
THEN NULL
ELSE tl.TaskName
END TaskName
,puv.[Project Plan Type] AS [ProjectPlanType]
,puv.[GEM Project Manager] AS [GemPM]
,ruv.[Rate Code] AS [RateCode]
,ruv.[Cost Centre] AS [CostCentre]
,ept.EnterpriseProjectTypeName AS [EPT]
,puv.[I DO Phase]
,puv.ProjectOwnerName AS [ProjectOwner]
FROM dbo.MSP_TimesheetActual_OlapView ta
INNER JOIN dbo.MSP_TimesheetLine_UserView tl
ON ta.TimesheetLineUID = tl.TimesheetLineUID
INNER JOIN dbo.MSP_EpmResource_UserView ruv
ON ruv.ResourceUID = tl.ResourceUID
LEFT JOIN dbo.MSP_EpmProject_UserView puv
ON puv.ProjectUID = tl.ProjectUID
LEFT JOIN dbo.MSP_EpmEnterpriseProjectType ept
ON ept.EnterpriseProjectTypeUID = puv.EnterpriseProjectTypeUID
WHERE ta.TimeByDay >= @xDate1
AND ta.TimeByDay < @xDate2
AND tl.TimesheetStatus IN (
SELECT ParamValues
FROM @ParamTable
AND ta.ActualWorkBillable > 0
GROUP BY ...
) TimesheetActual
FULL JOIN (
SELECT ruv.ResourceUID
,puv.ProjectUID
,ruv.ResourceName
,puv.projectname AS ProjectName
,ruv.RBS AS [RBS]
,Sum(abduv.AssignmentWork) AS [PlannedWork]
,DATEPART(year, abduv.TimeByDay) AS [Year]
,DATEPART(month, abduv.TimeByDay) AS [Month]
,DATENAME(month, DATEADD(month, DATEPART(month, abduv.TimeByDay), - 1)) AS [MonthName]
,ruv.ResourceIsGeneric
,puv.[Project Status] AS [ProjectStatus]
FROM dbo.MSP_EpmResource_UserView ruv
INNER JOIN dbo.MSP_EpmAssignment_UserView auv
INNER JOIN dbo.MSP_EpmAssignmentByDay_UserView abduv
ON auv.AssignmentUID = abduv.AssignmentUID
AND auv.ProjectUID = abduv.ProjectUID
ON ruv.ResourceUID = auv.ResourceUID INNER JOIN dbo.MSP_EpmProject_UserView puv
ON auv.ProjectUID = puv.ProjectUID
AND abduv.ProjectUID = puv.ProjectUID INNER JOIN dbo.MSP_TimeByDay_OlapView tbdov
ON abduv.TimeByDay = tbdov.TimeByDay WHERE abduv.TimeByDay >= @xDate1
AND abduv.TimeByDay < @xDate2
AND ruv.ResourceName <> 'Unassigned Resource'
AND ruv.ResourceName IS NOT NULL
AND abduv.AssignmentWork > 0
GROUP BY ruv.ResourceUID
,puv.ProjectUID
,ruv.ResourceName
,puv.projectname
,ruv.RBS
,DATEPART(year, abduv.TimeByDay)
,DATEPART(month, abduv.TimeByDay)
,ruv.ResourceIsGeneric
,puv.[Project Status]
) TimesheetPlanned
ON TimesheetActual.ResourceUID = TimesheetPlanned.ResourceUID
AND TimesheetActual.[Year] = TimesheetPlanned.[Year]
AND TimesheetActual.[MonthName] = TimesheetPlanned.[MonthName]Hi,
you pasted just part of your query, e.g. is declaration of @ParamTable missing. Without complete query, it is difficult to see, what you are trying to do.
Could you please provide complete query?
Barbara
To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
an appropriate solution faster. Thanks for your support! -
Rolling forecase for Actual and Plan
Hi
Iam working on Rolling Forecast for Actual and Plan report.. My Planning here is Quaterly based so for example say we plan it on April so the months after april (May - Dec) would be Planning. So when my month keeps on moving the forecase also moves..
So can you please guys help me to get out of this with an solution..
ThanksHi,
If you are using BI-IP for your scenario of forecasting then you can refer to the below links for forecatsing strategies.
http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
for forecasting strategies
http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
If you are using SEM-BPS you can consult these links:
http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
Forecast (old)
http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
Forecast(Exit)
http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
Regards,
Priyanka Singh -
Hi,
We have created a Intra plant STO (plant to plant in the same company code). The planned delivery date is 4 days. So if I create a STO today (27th march), the delivery date is 31st march (excl Saturday and Sunday).
During delivery creation, the loading date, transportation date and planned date are also coming as 31st march. The route determination for the given shipping point and route shows 2 days for transit and 4 hours for pick pack. There is no loading time maintained for the given combination.
Can you please advice why are the dates coming the same as delivery date during delivery creation without considering the duration maintained in route determination ?
Thanks!!!
AnujaHi,
This is a standard behavior of SAP in case of Stock Transfer PO.
If you want that the delivery date of receiving plant be transferred to supplying plant, please use BADI MD_STOCK_TRANSFER.
Hope this helps.
Regards,
Prashant -
PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned
Hello,
To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
Thanks,
soudhaHello Soudha,
By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
script file.
You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
Happy troubleshooting.....
Vikram Daruru - MSFT -
Hey guys,
as I am familiar with the Query Designer, I'm looking for a way, to select dimension members on rows. Anyway, I don't now how to achieve the following selections:
ACTUAL / APR.2008 -- ACTUAL / MAY.2008 -- ACTUAL / JUN.2008 -- PLAN / JUL.2009 -- PLAN / AUG.2009 -- PLAN / SEP.2009 --
I don't know how to achieve. I can select mimbers 2008 and 2009, and ACTUAL and PLAN...but then the cartesian product is shown.
How to achieve the above mentioned structure?
So far...
ChristianChristian,
If this is a static report...in the sense that, you do not want to have your plan and actual categories to move with time...i.e next month in Aug , you do not want your actual till july and rest as plan....
this shld be achievable by hard coding the values of your categories...
1)when you open your evdre ..and click on the column headings plan/actual..you see a EVCVW() formula...telling you tht it is being pulled from current view....delete that formula and hard code the value to Actual/plan... and make your colkeyrange NOEXPAND.
But if the above situation is not your case, and you need a rolling forecast scenario...then one of the ways to achieve this is with excel functionality... as previously pointed by subramaniam.... you have to use the now () functionality to get the month and year and concatenate these (TEXT(NOW(),"mmm") " "YEAR(NOW()))...
and based on the current month you have to define the categories Actual and plans and these have to be maintained in your excel...and once you have your column headers right and have the colkeyexpansion locked with noexpand....you shld be set...
hope this helps...
Edited by: Vishal Mahawadhi on Jul 7, 2009 10:11 AM -
Hi,
I was wondering if someone could give me a general overview of actual and plan versions.
Points will be awarded generously.
Thanks,
DekiVersions are nothing but scenarios.
There can be only one Actual, so only one version is available for Actual i.e 0
But the comapny can have different plans on the basis of various business scenarios for example, if they acheive 80% capacity utilisation or achieve break even etc for flexible reporting. This will help easy comparison at the period end.
Hope you are now clear about the versions.
Thanks
Siva -
Profit center - actual data and plan data question -?
Hi Gurus
Please clear my doubts in profit cneter accounting.
1) what is PLAN data -? (What is planning in a bigger picture)
why do we need plan data -?
2)ACTAUL data will be posted in the profit center from other SAP moduldes.
So with out PLAN data prrofits can not be figured -?
OR
Plant data is for some other purpose -?
Please can some help me on these -? Alos any examples are really good for me to understand
Really appreciate.
Thanks
KrisHi,
Profit centers captures actual revenues & expenses of the business transaction. The company arrives the
net of income over expenses and analyses whether the Profit center is making Profit or not. Now they
want to control the expenses and have a target set to expand the revenue base to optimize profit.
For this they have to plan each costs and revenues over a period for a Profit Center. When they
plan values for these profit centers they have to take into consideration the business trend over
next 12 months and the plan is set for each period. Actuals are posted in normal day to day transactions.
During period end, the analysis is being done to see the variance between plan and actual and measures
are taken to control the areas to reduce these variance which may affect Profit.
Regards,
Sadashivan -
Actual and Plan derived variables
here is the scenario.
User keys in month/year 04/2007 . I compute 2 interval variables and restrict a "Actuals KF" with 001/2007 -
004-2007 and then restrict a "Plan data KF" with 005/2007 - 012/2007. This is easy and works. But my issue is when the user keys in 012/2007 they want Actuals for 001/2007 - 012/2007 and NO PLAN data. I'm confused on how to make this happen. Any suggestion will be awarded !
Thanks
RichardHello Richard,
Can you have two variables Year and Fiscal period separate instead of Fiscal Year/period ?
If yes try the following
Restrict your actual data by period and Fiscal Year.
For Fiscal year restrict by single value, Mndatory user entry .
For Period select variable (0P_PER3 : Single value mandatory entry or something that you have in variable list) and Restrict by value range less than or equal to.
Similarly for Plan data do the same but restrict the period by value range greater than .
Hope this helps.
Vijay. -
Selective deletion and plan data
Hello Gurus,
I am having some doubts
Any one of them,could you please clarify my doubts.
1.By using the selective deletion (for Infocube),I have deleted some records.
when i checked it on the log,In Deletion mode its showing the different values such as D,N and R....
When I deleted the records,it has created 2 requests in log .
onething its showing the status as 'N' and another thing as 'R'
What is this mean.why its differing by requests.
2.Reg plan data,How we are getting this plan data.(I know,based on actual data we are creating),But what is the procedure,how and where we are creating this plan data like R/3 or BW.
Will assign points.
Thanks in advance
Brgds
KumarHi,
As far as plan data is concern, there would be various plan data requirements for an org. let's say 'sales budget' / 'Production Planning' / 'Procurement plan' /
'inventory status'..and so on so forth..
basically when ever there is plan data requirement normaly the concern department has to prepare the paln data for the quater/Half/fiscal year, on either
a legacy system or R/3 system..
If it is from R/3 you are suppose to create a DS and then an infosource and so on..
If it is a Legacy system - then go for the File Upload, after making your flat file
infosource.
Hope this helps..
assign points if useful..
cheers,
Pattan.
Maybe you are looking for
-
Hello Experts, I am passing a XML document form the Java to Flex using Remote Object. My XML is as follows <root> <dept ID="1" Name="RND" <Emp ID="1" Name="Aj"/> </dept> <dept ID="2" Name="ENG"> <Emp ID="1" Name="Aj"/> </dept> <dept ID="3" Name=
-
I tried to get my android phone to sync with my new iPad 2 but it said it was not capable of doing so. Is there any way around this? Is there something else I am not doing right?
-
How do I sync my data from a windows phone to an iPhone 4 iOS 7.1.2
i need help syncing my data from a windows phone to a iPhone.
-
Hi, We are currently using 10.2.0.3.0 Windows64 bit. Now we want to upgrade to 11.2.0.2.0 Linux. Could you please tell me Where can found the process for the Above upgradation. Thanks, Praveen
-
"flex_init​ialize_con​troller" function
I'm trying to initialize my motion controller (PCI 7334) using the "flex_initialize_controller" function and settings saved in "UTM" with the MAX version 3.1. Problem is the input parameter "settingsName" of the function. What datatype should it be??