PS: Custom Project Detail report, budget, actual, variance etc
Hi All.
I am implementing a report that needs to display the project, all the WBS's and the activity (if there is one linked to a network which in turn linked to a WBS) on a report. The report columns include budget, planned cost,
actual cost and other fields that I can calculate if
I have the first three fields.
Does anybody know which tables I can use to get the
planned and actual costs associated with a project.
The structure of a project looks something like this:
Proj
->WBS
->Network
->Activity.
The costs are normally associated with the activity, and it "rolls" up to Proj level?
I have already found the budget values in table BPGE for
each WBS.
Another related question:
How does the activity link up with the project-
what tables can I use and how does it relate to table
PROJ or PRPS?
I appreciate any help.
Thank you
Ryno
Try:
* Costs
call function 'K_DATE_TO_PERIOD_CONVERT'
exporting
i_date = sy-datum
i_kokrs = 'ZZZZ'
importing
e_gjahr = cur_year.
select *
from pmco
into table pmco_int
where objnr = objnr
and cocur = 'USD'
and beltp in (1, 2)
and wrttp in ('01', '04')
and gjahr = cur_year.
clear: est_cost,
act_cost,
est_rev,
act_rev.
loop at pmco_int.
do varying sav_tot
from pmco_int-wrt01
next pmco_int-wrt02.
if sy-index > 12.
exit.
endif.
if pmco_int-beltp = '1'.
if pmco_int-wrttp = '04'.
act_cost_p = act_cost_p + sav_tot.
else.
est_cost_p = est_cost_p + sav_tot.
endif.
else.
if pmco_int-wrttp = '04'.
act_rev_p = act_rev_p + sav_tot.
else.
est_rev_p = est_rev_p + sav_tot.
endif.
endif.
enddo.
endloop.
write act_cost_p to act_cost_c.
translate act_cost_c using ', '.
condense act_cost_c no-gaps.
move act_cost_c to act_cost.
shift act_cost right deleting trailing space.
write est_cost_p to est_cost_c.
translate est_cost_c using ', '.
condense est_cost_c no-gaps.
move est_cost_c to est_cost.
shift est_cost right deleting trailing space.
write act_rev_p to act_rev_c.
translate act_rev_c using ', '.
condense act_rev_c no-gaps.
move act_rev_c to act_rev.
shift act_rev right deleting trailing space.
write est_rev_p to est_rev_c.
translate est_rev_c using ', '.
condense est_rev_c no-gaps.
move est_rev_c to est_rev.
shift est_rev right deleting trailing space.
Rob
Similar Messages
-
Staff Budget / Actual Variance report
Hi,
What is 'Staff Budget / Actual Variance report'.
Is there any Business Content Reports avaliable for this purpose.
Please provide me information on Which Data Target 9Technical Name) i can do this report.
ThanksHi,
This InfoCube contains all costs and quantities on WBS elements (plan and actual using delta extraction, commitment, budget, accruals) that were transferred from the source system(s).
You can also use this InfoCube to access your own fields. For more information, see Customer-Defined Fields.
For background information on the concept of InfoCubes, see InfoCubes in Controlling.
Higher-Level Objects
Queries
The following queries can access this InfoCube:
· 0WBS_C11_Q0001: WBS Element (Detail): Plan/Actual
· 0WBS_C11_Q0002: WBS Elements (List): Budget/Actual/Commitment
· 0WBS_C11_Q0003: WBS Elements (List): Overall Planning/Actual/Commitment
· 0WBS_C11_Q0301: PSM: WBS Element (Detail): Plan/Actual
· 0WBS_C11_Q0002: PSM: WBS Elements (List): Budget/Actual/Commitment
Notes on Query Definition
If you attempt to sum across different valuation views and currency types, your query results will be incorrect. Summing across different values of these characteristics does not provide useful information.
InfoSources
· 0CO_OM_WBS_1: WBS Elements: Costs
· 0CO_OM_WBS_2: WBS Elements: Budget
· 0CO_OM_WBS_3: WBS Elements: Overall Plan
· 0CO_OM_WBS_6: WBS Elements: Actual Costs Using Delta Extraction
Characteristics
InfoObject
Description
0WBS_ELEMT
PSP element
0COSTELMNT
Cost element
0CO_AREA
Controlling area
0CURTYPE
Currency type
0PIOBJSV
Partner object type
0PIOVALUE
Partner object
0METYPE
Key figure category
0VERSION
Version
0VTDETAIL
Details of value type
0VTYPE
Value type for reporting
0DB_CR_IND
Sender/receiver indicator
0VALUATION
Valuation view
0VTSTAT
Statistics indicator for value type
0FM_AREA
FM area
0FUND
Fund
0FUNC_AREA
Functional area
0GRANT_NBR
Grant
0PFUND
Partner fund
0PFUNC_AREA
Partner functional area
0PGRANT_NBR
Partner grant
Navigation Attributes
The following navigation attributes have been activated. This is a sample selection. You are free to activate additional attributes, or deactivate attributes to improve performance.
InfoObject
Description
0WBS_ELEMT__0CO_AREA
Controlling area
0WBS_ELEMT__0PROFIT_CTR
Profit center
Time Characteristics
InfoObject
Description
0FISCPER
Fiscal year/period
0FISCVARNT
Fiscal year variant
0FISCPER3
Posting period
0FISCYEAR
Fiscal year
· The characteristics fiscal year (0FISCYEAR) and posting period (0FISCPER3) are filled by the fiscal year period field (0FISCPER) in the InfoSource.
· The characteristics and the cost element are not filled for overall budgets or overall plan values. The posting period and the cost element characteristic are not filled for annual budgets or annual plan values. This provides values with the format 000.YYYY (where YYYY is the fiscal year), particularly for the 0FISCPER characteristic.
Key Figures
InfoObject
Description
0AMOUNT
Amount
0QUANTITY
Consumption quantity
Restricted Key Figures
The restricted key figures are divided into several groups.
The basic key figures cannot be used without restricting some of the characteristics. For this reason you should use only the supplied restricted key figures in queries you have defined yourself, or analyze the supplied restricted key figures and modify them to suit your requirements.
InfoObject
Restriction
Costs Group
Data for all restricted key figures of the group
Key figure category = 1000 (costs and associated quantities)
Valuation view = 0 (legal valuation)
Version = 0 (current variant)
Key figure = 0AMOUNT (amount)
0WBS_C11_RK0002 Actual costs
Sender/receiver = S (debit posting or receiver debit)
Value type = 10 (actual)
0WBS_C11_RK0001 Planned costs
Sender/receiver = S (debit posting or receiver debit)
Value type = 20 (plan)
0WBS_C11_RK0006 Settled costs
Sender/receiver = H (credit posting or sender debit)
Value type = 10 (actual)
0WBS_C11_RK0003 Commitments
Sender/receiver = S (debit posting or receiver debit)
Value type = 40 (commitment)
0WBS_C11_RK0004 Budget (per fiscal year)
Value type = 50 (budget)
0WBS_C11_RK0005 overall planning (per fiscal year)
Value type = 20 (plan)
Revenues Group
Data for all restricted key figures of the group
Sender/receiver = H (credit posting or sender debit)
Key figure category = 1001 (costs and associated quantities)
Valuation view = 0 (legal valuation)
Version = 0 (current variant)
Key figure = 0QUANTITY (quantity)
0WBS_C11_RK0008 Actual revenue
Value type = 10 (actual)
0WBS_C11_RK0007 Planned revenue
Value type = 20 (plan)
Quantities Group
Data for all restricted key figures of the group
Sender/receiver = S (debit posting or receiver debit)
Key figure category = 1000 (costs and associated quantities)
Valuation view = 0 (legal valuation)
Version = 0 (current variant)
Key figure = 0QUANTITY (quantity)
0WBS_C11_RK0021 Actual consumption quantity
Value type = 10 (actual)
0WBS_C11_RK0022 Plan consumption quantity
Value type = 20 (plan)
WIP Group
Data for all restricted key figures of the group
Sender/receiver = S (debit posting or receiver debit)
Key figure category = 1410 (inventory (WIP))
Valuation view = 0 (legal valuation), version = results analysis version
Value type = 80 (results analysis)
Key figure = 0AMOUNT (amount)
0WBS_C11_RK0011 WIP: Revenue in excess of billings
Detail for value type = 10
0WBS_C11_RK0009 WIP: Work in process
Detail for value type = 1, 2
0WBS_C11_RK0010 WIP: Cannot be activated
Detail for value type = 3
Results Group
Data for all restricted key figures of the group
Sender/receiver = S (debit posting or receiver debit)
Key figure category = 1400 (accrual calculation)
Valuation view = 0 (legal valuation)
Version = accrual version
Value type = 80 (results analysis)
Key figure = 0QUANTITY (quantity)
0WBS_C11_RK0018 Revenue affecting net income
Detail for value type = 12
0WBS_C11_RK0014 Cost of sales
Detail for value type = 3, 4
0WBS_C11_RK0015 Cost of sales (cannot be capitalized)
Detail for value type = 5
0WBS_C11_RK0017 Realized loss
Detail for value type = 11
0WBS_C11_RK0012 Reserves for imminent losses
Detail for value type = 1
0WBS_C11_RK0013 Reserves for imminent losses - inclusion cannot be capitalized
Detail for value type = 2
0WBS_C11_RK0016 Loss
Detail for value type = 10
Reserves Group
Data for all restricted key figures of the group
Sender/receiver = S (debit posting or receiver debit)
Key figure category = 1420 (reserves)
Valuation view = 0 (legal valuation), version = results analysis version
Value type = 80 (results analysis)
Key figure = 0AMOUNT (amount)
0WBS_C11_RK0019 Reserve: unrealized costs
Detail for value type = 1, 2
0WBS_C11_RK0020 Reserve: unrealized costs, not capitalized
Detail for value type = 3
Units
InfoObject
Description
0CURRENCY
Currency key
0UNIT
Unit of measure
Hareesh -
Sale Order Scenario - Report in PS Budget /Actual/Variance
Dear Experts,
Please help me understand solve the scenario given below
Step 1
Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
and Material being the cement
But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
Eg:
There are 2 WBS
WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
WBS 2 - reports cost incurred for procurement ie; 40rs
Actual booked against WBS1 based on GR 100
Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
Budget Actual Variance
WBS 1 200 100 100
WBS 2 40 -40
Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
How to get the cost to 120 which is the actual cost for the workDear Experts,
Please help me understand solve the scenario given below
Step 1
Work order issued to a contractor ( contract includes Service and Material from the contractor) - Service being the labour part
and Material being the cement
But cement is supplied by the client as a sale of cement at a basic price agreed between the two parties.
Eg:
There are 2 WBS
WBS 1 - has a PR released converted to PO with value 100 ( inclusive service + material)
Material procured through me51n , Me21n - GR done and stock has come to GNST ( 40 rs)
material converted to sale order stock mb1b - 412 E after creating sale order with reference to WBS 2
WBS 2 - reports cost incurred for procurement ie; 40rs
Actual booked against WBS1 based on GR 100
Once the billing is done for rs 20 ( basic price) report in budget actual variance shows as below
Budget Actual Variance
WBS 1 200 100 100
WBS 2 40 -40
Report should show 120 as the project cost rather than 140 - since 20 is lost against selling at lower cost.
How to get the cost to 120 which is the actual cost for the work -
Display ALV on click of custom filed in custom project system report
Hi All,
Need your guidence.
I am working on custom project system drill down reports which is created using report painter CJE1/CJE2.
Requirement is to display one custom field in drill down output and on double click event of that custom field , need to display one ALV.
I am able to manage to add new custom field in output but not getting how to handle double click event as no user exit / or BADI getting triggered.
Please let me know is it possible to develop such scenario or not?
Thanks in advance.Hi Rachna,
First let us know is custom field z? or standard?
if z then for achieving this functionality please search same word key in abap forum as functionality is related to abap.
if standard then share few screenshot what is already exist and what you want to add.
Regards,
Sanjeev -
Project System Costs: budget/actual/commt/rem.plan/assd
Hi all,
I'm trying to obtain the following information from PS report "s_alr_87013558" :
budget (I actually have it from table RPSCO1)
actual
commitment
remaining order plan costs
assigned
I've tried very hard to get this info from the logical database PSJ but I can't find it. I really need help on this, so I'll appreciate your comments. Regards!!Hi,
look table rpsco: field wrttp
wrttp description
41 budget
11 (Statistical)actual
22 Purchase Order Commitment
disposable = 41 -11 - 22.
regards Andreas -
Cash Customer Billwise Details Report
Hi ABAP Gurus,
Any body is having the report on Cash Customer Bill wise Details (with invoice details) ? Input criteria - Company Code, Plant, Cash Customer Name(customer Name given while creating cash customer) & Date Range(Document date). I am using the tables BSEC,BKPF,VBRP,BSAD,BSID. Out put i have to get Date, Doc No, Particulars QTY UOM Material Rate and Gross amount(Opening & Pending Amount) as line items.
Please send me code on this. It's very urgent. Tomorrow is it's delivery date.
I will reward points.
My mail ID is [email protected]
Thanks and Regards,
Sundeep.Hi Sandeep,
If U got it these report Kindly send it ASAP.
My id
praveen.kr.upadhyay at the rate gmailcom
Thx In ADV.
Praveen Kumar -
Multi-year monthly CO report for Actual/Budget/Variance
I have a requirement of creating a 5-year cost centre report for the following:
Actual by month (5 years x 12)
Budget by month (5 years x 12)
% of the monthly amounts compared to the total (5 years x 12)
Variance (5 years x 12)
The request is at the cost element level, by month and for 5 years. I am trying to decide which reporting tool is appropriate for this request. If I use the conventional CO report format (report painter) of one column per month for actual/budget/actual %/variance, there will be a lots of columns for 5 years!
I am familiar with reporting tools of report painter, drill-down and SAP query, although I am not sure if drill-down can be used for CCA. Would appreciate any suggestion for:
1) Reporting tools for multi-year output; and
2) Report format u2013 example of existing SAP-delivered reportDo you intend to use a report with 240 columns? I am wondering what would be the purpose of such a large column report.
Still if needed, you could try with painter itself, may be using page break perhaps. I am not sure of the limitation to the number of column. -
Budget/Actual/Commitments Report in PM Order
Dear Experts,
I am using the scenario of PM and PS integration. In which i am creating a project with WBS elements. & each WBS is having some budget and is also released. I am using one of the WBS in PM order in additional data tab page. After that i am releasing the order and doing the time confirmation. In the cost tab of PM order the actual cost is coming . Now i am trying to see the report Budget/Actual/Commitments by clicking on Rep.Budget/Commit. button.
Here in a report no budget is appearing only actual cost is coming.
Kindly let me know why budget is not appearing in the report , even though the budget has been assigned to WBS which has been used in PM Order and released.
Regards
AmarHi,
Note that WBS element used here is for rolling up cost to WBS element from work order.When you define WBS element that will act as settlement receiver for work order.There is no other connection between WBS and work order to budget/actual report on cost tab of work order.Hence, you can see only costs related to order on order cost reports and no budget from WBS.
If you want to see budget/actual cost report on order then you need to activate budgeting functionality for work order object.This is done by assigning budget profile to order type which will act many times as internal order in FI area.Then you need to use budget functionality on order level by supplement/availability control functionality.Then only you can see budget/actual/committment cost report as it is relevant to order as an object.
So dont get confused with this budget cost report with WBS budget.
Reports on WBS/project objects are seen in respective PS cost reports.
regds,
atul -
S_ALR_87013019 -List: Budget/Actual/Commitments Report Error
Dear All
I would like to bring your kind information that while executing the
SAP standard T.code: S_ALR_87013019 - List:Budget/Actual/Commitments,we are not able to get the report based on the year wise.
As in the SAP release 4.7, when we run the said transaction, we can able to see the report budget/actual/commitment as per year wise. Where in ECC 6.0, we could not able to see the report as per year wise and instead it shows the order report budget/actual/commitment output totally as "not dependent on year".
It does not bring the budget/actual/commitment values per year wise(1-S-GJAHR-BUD-ALL Overall budget) and giving output as total values for Individual Order and or Order Group.
I request you to all kindly provide your suggestion which would be very much appreciated.
Regards,
Ran.To solve the problem, please follow:
1. Call transaction GRCT and select the row RWCOOM.
2. Choose Special Characteristics in the left tree.
3. Double-click the row containing GJAHR.
4. In the field Filler routine, enter the routine E03_FILL_GJAHR.
5. In the field Conversion routine, enter the routine E03_CHANGE_GJAHR
and save the change.
6. Regenerate all report groups for the table RWCOOM via transaction
GR5G.
regards from Berlin
Mathias -
How to restrict project details for a specific person
HI all,
In our client we have different projects and responsible persons also different. How can I restrict other persons not to see the details of another project.
Ex., budget & actual report. How can we restrict a report to show only for a specific project to a specific person???
thanks & regards
msrhi..
for authorization...refer the following notes 638781,522426.
Ashis -
Run time Error while executing project infosystem reports (CN41/41N)
Hi,
I would like to inform while running project infosystems reports (CN41/41N / cns41 etc), it is taking long time & most of the time run time errors are coming. I observed due to more objects in projects, run time error is coming. Request you to suggest to fix the issue.
Thank you for your cooperation.
Regards,
Rakesh PradhanHi Rakesh,
The memory which can be managed by the logical database is approx.
100 MB. You can use the following rule of thumb to calculate the
allocated memory of your selection:
[( sum of projectdefinitions + sum of WBS elements + sum of networks and orders ) * 1 KB + ( sum of activities ) * 4 KB ] *2,5 = memory consumption
Further objects - as relationships, capacities, ... will increase
the memory consumption. (see note 107605)
You can find out the number of objects bein used using the "Test selection scope" (CTRL+F12) button in CN41
Other recommendations are:
1) Check the profile (parameter "rdisp/PG_MAXFS") with your Basis
colleague and adjust upwards (Note 133909)
2) Select a smaller range of objects by using status schema
or more dynamic selections. Please review SAP Note 206264.
3) Please review also 107605, which gives you further information
concerning the selection in Project Information System.
Hope this helps!
Regards
Martina
Message was edited by:
Martina Modolell -
Reaminder value from standard report S_ALR_87013558 - Budget/Actual/Commitm
Dear Gurus,
Can you explain me the source of value which is shown as 000.2009 Remainder 2009 ( I seams that 000 stands for period) in the report S_ALR_87013558 - Budget/Actual/Commitmt/Rem.Plan/Assg
Regards
Project Team1hi
in PS all the Cost reports are read from the Info Database. -
How to create ZPS Report showing specific Project details?
Hi,
How do I create a custom ZPS report which shows Project details and progress The requirements are to see 20 fields in one single report . The fields which to be seen in the report are Labor Cost, Material Cost,Labor hrs,finish dates, billing plan, Milestones, NWA,Responsible person,Work Center,Warranty information all in one report.
Please advise how to create such a report.
Thanks much!you can use
ABAP
Query
Report Painter / Writer
to create your won reports
The choice will depend on what exactly you want -
Is it possible to have "Condition based custom project field entry in project detail page"
Hello All,
In PWA, In Project details page, when we add Displayed Project fields into the Project Information page, Is it possible that I have a custom enterprise field and based on its selection, I can choose the other field in that page.
I mean, say i have a Custom field in project page as 'Hardware' which has a lookup of say :
CD
DVD
Flash Drive
External HDD
Cloud etc.,
Then when a user selects any one of these. then the below appearing options will be based on this selection.
Say user selects cloud, then the next project field should be like Public, Private or Hybrid. Which is not same when user selects other fields.
I did not find any OOB solution for this. So can anyone please guide me how can I achieve this in PWA, so that these fields may be used as enterprise custom fields, which can be later used for Reporting purposes.
Thanks,
ShankyHello,
You could adopt this no code out of the box option approach:
http://psbehindthescene.blogspot.co.uk/2014/04/cascading-custom-fields.html
Or potentially look at adding JavaScript code to the page to do this programmatically - not looked at doing this but it should be possible.
Another option might be Fluent Pros Auto Complete Manager - this might offer this functionality but I have never used it:
http://www.fluentpro.com/productsautocomplete.html
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads -
Wants to develope the report of Budget, actual , Commitments & availa Bud
Dear SAP Gurus,
I want to develope the singlr report as follows,
I/p : Project defn / Top WBSE
Out put:-
Against whole project,
- Total Original budget
- Total Actuals
- Total Commitments
- Total Assigned value
- Total Available budget
I found the Total Original budget (Field name :- WLGEV) & Total Actuals(Field name:- WTGES) from table BPGE, but could not able to find out other fileds.
Can anyone guide me for balance work ? (Note:- Please note that I need to find out overall value against the Project & not against the lower level WBSE)
Thanks & regards,
PradipTake 'Project for selection as PRPS_PSPHI
Select all WBSE ie PRPS-OBJNR for which PSPHI is same. This was you select all WBSE for a project.
=========================================================
For Actuals:
pass all PRPS-OBJNR obtained earlier in RPSCO-OBJNR. Put a filter of RPSCO-WRTTP=4 (value type=4).
In resulting lines do a sum of values in RPSCO-WLP01 to RPSCO-WLP12
==========================================================
For total commitments:
pass all PRPS-OBJNR obtained earlier in RPSCO-OBJNR. Put a filter of RPSCO-WRTTP=21 & 22 (value type=21 Commitments from Purchase Requisition
22 Purchase Order Commitment).
In resulting lines do a sum of values in RPSCO-WLP01 to RPSCO-WLP12
=========================================================
Assigned Values=sum of actual+ Rem commitment (assuming u don't have NWA)
======================================================
Maybe you are looking for
-
It won't let me reply to you for some reason. 1. Go into Itunes. Go to preferences. Go to advanced. Check 'Keep Itunes media folder organized' and 'Copy folders to itunes media folder when adding libraries'. Press Okay. 2.Hook up Iphone to computer w
-
Duplicate data updating in Oracle DB by JDBC adapter
Hi , I am developed Idoc to JDBC senario. One sigments was coming N number of times. for example 30 time. In that 3 diffrent disribution channel data. but I want to send only 3 records for each distribution channel. I connected that segment to access
-
My bridge keeps reading Bridge encountered a problem and is unable tro read the cache Please try purging central cache in the Preformace cache. before it was reading low memory purge cache which I thought I did and now this wont stop coming up and I
-
Hi SAP Masters, Is there any way to block those expired batch automatically from the MM point of view? Any standard t-code can do so or any ABAP enhancement is required? Thank you in advance. Regards, Edwin
-
V9.1 - functionality lost
Despite just reinstalling Diadem 9.1, I still am unable to access simple tasks in VIEW such as INSERT/AREA or DELETE AREA (from a right click menu). Any suggestions? (it used to work! - I have gone back to small data sets etc but with no success. Che