Question related to project performance reporting
Hi,
We have implemented peoject management and project accounting module with Grants module for one of the semi public sector client. Now we are planning to enable project performance repporting.
I assume below things
1. If Grant is implemented, Project budgeting doesn't work
And
2. project performance reporting based on project accounting,project budgeting and project management modules.
If anyone of you have done similar requirement , Please let us know the approach your approach.
Thanks in advance
Praveen Javvaji
Duplicate post -- question related to project performance management
Similar Messages
-
Question related to project performance management
Hi,
We have implemented peoject management and project accounting module with Grants module for one of the semi public sector client. Now we are planning to enable project performance repporting.
I assume below things
1. If Grant is implemented, Project budgeting doesn't work
And
2. project performance reporting based on project accounting,project budgeting and project management modules.
If anyone of you have done similar requirement , Please let us know the approach your approach.
Thanks in advance
Praveen JavvajiDuplicate post -- question related to project performance management
-
Issue in Project Performance Report
Hi,
I'm facing several issues in Project Performance Report (PPR), although the setups seem to be correct.
The Project has a scheduled start date of 02-Apr-12 and end date 14-Nov-13. The transaction start date is 31-Mar-12 and end date is 14-Nov-13.
We entered some transactions (preapproved batches) for the dates 31-Mar-12, 01-Apr-12 and 6-May-12.
Ran the cost distribution program, viewed that the exp items are cost distributed.
Then ran the Update Project Resource and Base Summaries Data program followed by the Update Project Performance Data but the PPR page did not show the actual data.
Post that ran the Refresh programs and actual cost data was visible in the Task Summary and Resource Summary pages of PPR but not in the main page.
Ran the Refresh programs again and now the actual cost data is displayed in the main page but in the Task Summary and Resource Summary pages the actual cost has got doubled.
So two issues:
1. Why it did not populate the actual data once we ran the Update programs?
2. Why has the amounts got doubled in some pages?
This is very critical. Any insights would be of great help. This is happening for a few projects. I must say the behaviour of the PPR programs is very inconsistent. You never know what to expect.
Regards,
SriHi,
I'm facing several issues in Project Performance Report (PPR), although the setups seem to be correct.
The Project has a scheduled start date of 02-Apr-12 and end date 14-Nov-13. The transaction start date is 31-Mar-12 and end date is 14-Nov-13.
We entered some transactions (preapproved batches) for the dates 31-Mar-12, 01-Apr-12 and 6-May-12.
Ran the cost distribution program, viewed that the exp items are cost distributed.
Then ran the Update Project Resource and Base Summaries Data program followed by the Update Project Performance Data but the PPR page did not show the actual data.
Post that ran the Refresh programs and actual cost data was visible in the Task Summary and Resource Summary pages of PPR but not in the main page.
Ran the Refresh programs again and now the actual cost data is displayed in the main page but in the Task Summary and Resource Summary pages the actual cost has got doubled.
So two issues:
1. Why it did not populate the actual data once we ran the Update programs?
2. Why has the amounts got doubled in some pages?
This is very critical. Any insights would be of great help. This is happening for a few projects. I must say the behaviour of the PPR programs is very inconsistent. You never know what to expect.
Regards,
Sri -
Profit & Loss / Balance Sheet and Project performance Report
Hello,
I am in mining service industry and looking for two basic reports as under, can you please guide me through and provide transactions.
1)Profit & Loss/ Balance Sheet
2)Project Performance report
Your prompt response will be much more appreciated.
Thanks,
SanHi,
use this as shown below
menu path-
Accounting ® Financial Accounting ® Special Purpose Ledger ® Tools ® Report Painter ® Report Writer ® Report Group ® Display
tcode- GR53, GR55
Enter report group SL01.
Choose Execute.
Enter report group SL01 again, and then choose .
Enter the following data: current year, period 01-12, company code,ledger and plan version
kind regards
Arman
SAP FICO -
If I'll use project performance reporting I need setup PJI before?
Hi all,
If I'll use project performance reporting I need setup PJI before? or no need? Please advice me.
Additional Information : I use module PJC and PJT in 12i
Many Thanks.Hi Govind,
Thank you for your information and you are correct. :)
I found this document that explain about PPR and I try to set it, It's work!
Document Name that explain about setup PPR --:
- How To Get Data In Performance Reporting For Linked Projects To Program.
- Whilepaper_PPR_Solutions
- Project Performance Concurrent Requests - Overview and FAQ -
Question related to query performance
Hi Experts,
Could any 1 please explain me ,when BWA Indexes or Aggregates are created Query performance will be high because query will hit the aggregates tables, which we can see in the statistics table RSDDSTAT_DM .
But now the problem is though Aggregates are created some time Query is Hitting 'F' Table and in this case time read is very high.
In which cases though Aggregates or BWA indexes present ,Query will hit 'F table
Please explainQuery will read the data from BWA or aggregates only if data is present there i.e. the data required as per query definition. If it doesn't find data in BWA or Aggregates, it will go and read from infocube.
Ex. Lets say you have aggregates that holds data only for comp code - 1234.
However, user has run the query seeking the details of Comp code - 4567. In this case, query will read the data from F table, even though aggregates are present.
Rgds..
Shambhu -
A question about tempDB and performance
Hello
Can someone please help me with the following question.
I am not a DBA but rather have a question related to database performance, as I read a related post and want to understand the relationships involved.
If I have a physical Server with lets say 8 core CPU (possible one CPU with 8 cores or two CPU with four cores each).
I read if you set your database up to have the same number of temp files as CPU cores ( in this case 8) you will achieve better performance, as each temp DB with have its own COU thread and each thread will run on one core, therefore spreading the load across
all cores at the same time. It this correct? and if so what about the MDF file, should this also be split up into the same number of files as cores, or it that different as the data are first written to the tempDB before being applied to the database
in the background.
Please advise
Thanks
Ernest
AAnotherUser__Adding files to tempdb should only be done if you are seeing tempdb contention. I have a environment where there are only two tempdb files even though physical cores are more than that I dont see any contention reason being tempdb is not utilized heavily.
Read post given by FZB, the Pauls article, it would say its myth to add data file as per core and I agree to that adding tempdb file should not be proactive but reactive approach.
You can monitor DDL Bottleneck in tempdb using
this msdn blog
You can monitor I/O bottleneck in tempdb using
this msdn blog
Managing Tempdb and its configuration
I am not saying its always bad to have one tempdb data file per physical core but dont take it as benchmark you must monitor tempdb performance and then take necessary action.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Performance Report domain controllers
Hi AD experts,
I'm lookink for a tool to generate performance report on some DC's.
a script to createt Data collector Set (on Perfmon) like http://archive.msdn.microsoft.com/ExPerfwiz
and the tool to parse the report like PAL : pal.codeplex.com
Is there any similar tool for DCs?
ThanksI agree with Mr X, SCOM would be your best bet and the script he's provided is useful as well but I'd like to add the following.
If you don't have a budget to purchase an awesome tool like SCOM and you're looking to perfmon have a look at the links I'm providing below:
Performance Tuning Guidelines for previous versions of Windows Server
In there above link they have a few downloads for 2008, R2, and 2012. In those Word documents you'll have some information on Active Directory.
Ruling Out Active Directory-Bound Problems
The above link may have some useful information to you as it relates to GCs
NTDS Object
The above link has a lot of information just about perfmon and NTDSAs with any monitoring software you're
really going to have to figure out what you want to monitor and what's important to you, you're also going to need to baseline what you have because there's no real standard on what's is too high and what is too low. My environment may have 10 times
as many LDAP Client sessions as yours and vice versa. PAL should be able to do what you need. With the information above you should be able to find the counters you want to monitor.
If you found this post helpful, please “Vote as Helpful”. If it answered your question, remember to “Mark as Answer”.
Postings are provided “AS IS” with no warranties, and confers no rights. -
Basic Questions related EHPs for SEM
Hi Guys,
I've some basic questions related to EHPs: -
1. If we don't mean to implement any of the new functionalities does it make any sense to implement EHP? In other words do EHPs also have some general improments other than the functionalities which can be specifically activated?
2. If we just activate a functionality and don't implement/ use it can there be any negative impact?
3. In case of a pure technical upgrade from SEM 4.0 to SEM 6.0 which EHP would be recommended?
4. Is there a quick way to find all relevant notes in EHPn which are related to corrections for EHPn-1?
Thanks in advance,
-SSCHI,
If you see some of my older posts I have had many issues with certain features of the EHP2 functionality but that doesn't mean I would recommned against it.
BCS 6 EHPs 3 & 4 (BCS 6.03 / 6.04) - enhancement packs worth implementing?
BCS 6 EHP 2 (BCS 6.02) - activation of enhancement pack
My recommendation is to implement the EHPs but not necesarrily activate the functions (in SFW5) unless you need them - this means that you will only have to test once after EHP implementation and will have the ability to activate the other features as and when required (although testing is required after activation of course) whereas it might be difficult to persuade your client/basis team to implement EHP4 later if you don't do it now.
In the features of EHP2 (activate FIN_ACC_GROUP_CLOSE) it states that there is a general performance improvement - although I have yet to experience it! From OSS note 1171344 "The functionality which is available in EHP2 consists of...
... Performance improvements of status management, reporting and initial start-up of consolidation workbench and monitor.
Since activating FIN_ACC_GROUP_CLOSE I have had many OSS notes requiring application but i discovered that when the technical team implemented the EHPs (before i joined this client) they somehow forgot the latest SP (support packs) and didn't upgrade to the current level - so make sure that you get the right SPs too (see the links in Greg's link above) to avoid the many OSS notes.
As for your question - "is there a list of OSS notes to specific to EHP upgrades? - the answer is most definietly "NO" - I already asked OSS in desperation!
however, you can see the OSS notes that i have applied listed in the above link ( BCS 6 EHP 2 (BCS 6.02) - activation of enhancement pack ) -
Some questions related to SAP XI
Hello!
I would like to know the answers for the following questions regarding SAP XI-context (if it possible with Yes/No and a short comment/explanation)
<b>CAPACITY PLANNING GUIDELINES</b>
a) Guidelines to size the server(s)?
b) Guidelines for sizing the over all environment for High-Availability
<b>ARCHIVING CAPABILITIES</b>
a) Approach to archiving of obsolete data
<b>PLATFORM SUPPORT</b>
a) Software supported on HP-UX 11.i V2 (r6) on Itanium.
b) software supported on Windows 2003 sp1 (x64) on AMD Opteron
c) software support aligned with release roadmaps for future versions of HP-UX and/or Windows Server
d) Software supported on OS clustered servers (If mutliple products, please indicate if all are support or list areas where clustering may not be recommended and why)
<b>RELATIONAL DATABASE </b>
a) Does your system run native to the Oracle 10g RDBMS (RAC) and database tools? If not, please explain the databases and tools supported.
b) database monitoring tools be used to manage impending maintenance needs and potential problems and performance impacts (i.e., tool will monitor and detect prior to real problem occurring)
c) standard pre-defined SQL queries and related calculations provided for use with industry standard reporting tools
d) database accept binary-large-objects (BLOBs) and be referenced via the relational engine.
Thank you in advance!
Regards!
A.Henketwo questions related to this:
1. Why Java is designed to only permit single
inheritence, any stories behind the scene? I think
some major reasons why "prefer interfaces toabstract
classes" is accepted is rooted in this limitation.Yes, one of the reasons interfaces are better is that
you can only extend one class, but implement many
interfaces. Say you have a concrete class that should
"implement" two different types. If those types were
defined as abstract classes, you could only use one
type. You could implement both types if they were
interfaces though. So why java is designed to have this limitation? There may be some arguments before this is settled down. I always like to hear this kind of stories:)
2. Base on the fact that once an interface is outof
box and widely implemented, it is almostimpossible
to change it. So how you guys design yourinterfaces?
Could you share some? In my idea, I would designmy
interfaces as compact as possible.You could extend the interface and start using that
if you didn't want to break existing code. You
couldn't use that implementation as an Interface1
though, since the new methods only exist in
Interface2, so that's not an optimal solution.So we may always need to add a new interface when we just want to add a new method. -
Question related to concept of PCK
Hi All.
I am quite a newbie to XI and am only learning it thru online help. I have one conceptual question related to PCK.
My understanding is that PCK is needed by a small business company to communicate to its larger partner which already has XI running. Correct me if I am wrong here itself.
Now if the larger business partner already has XI, why does the smaller one need a PCK at all? The XI instance on the larger partner will have all the necessary adapters to understand any format send by the partner. So even if the partner(smaller) sends any format- be it IDOC/HTTP/FTP, the XI instance on larger partner will have its adapters ready to perform the conversion.
Then why is this PCK needed at all?
Thanks in advance. Hope my query is clear
Regards.
SamantHi Samant,
Your question is a very good one, Though I have not worked on PCK, I can share my ideas based on some brain storming session I had with our collegues & business partners.
While executing projects, there are technical & operational issues. For example, when you access any HR related data of a UK based organisation then all those who work on that project have to undertake data security pledge. Like wise there are many constraints on data & system accesses, which vary across organisations.
When you use PCK*, irrespective of different systems what the small vendors have, you communicate with your Big company's XI system only on the XI's msging protocol http(s)/SOAP. This allows a fair amount of ownership of data/access related issues to the small partners.
-> you go for PCK, when there is no need for small vendors to go for XI.
Hope this is of some help. As Michal said there might be much more (or even better) reasons.
Michal, when you say "all of the mappings and transformations have to be on the small company side", what exactly you mean by this. can you please eloborate.
Thanks & Regards
Vishnu -
Functiona Spec For VENDOR PERFORMANCE REPORT
Hi experts
I need to develope a VENDOR PERFORMANCE REPORT. But due to some reason i cant be able to get the Functional Specification for that object. So could you please help me by sending the above mention functional Specification.
thnaks and regadrs
PratikPratik,
Bad question in ABAP forum.
can you please close this thread and put it into MM forum for quick reply.
Amit. -
TFS performance report pack not working on TFS 2013
Hi
I have TFS 2013 setup and I found TFS performance report pack from http://blogs.msdn.com/b/granth/archive/2009/02/03/announcing-tfs-performance-report-pack.aspx URL.
These reports don't work after uploading to my report server. The blog talk about creating a shared data source TfsActivityReportDS
and using Data Source=localhost;Initial Catalog=TfsActivityLogging
as connection string.
I don't have any database by name TfsActivityReportDS in my TFS and as a result I am not able to run any report on my TFS 2013 server.
Is there any way to get these reports work for TFS 2013? Or is there other TFS performance report pack made for TFS 2013?
Regards, Premal AcharyaHi Charles,
Thanks a ton for your help. :)
It worked on TFS 2013. I followed your steps. I also found one easy way to edit the queries mentioned in those rdl files. I opened them in text editor and replaced TfsActivityLogging with my TFS project name (Tfs_DefaultCollection). Saved rdl file and opened
it in report builder and then my job was only to modify the data source.
I really appreciate your help for getting the reports worked on TFS 2013.
However I am only stuck with one little issue pertained to Server Status - Source Control Request Queue.rdl file
This report file doesn't have any queries and it also uses XML as connection to the data source. When I run this report on my TFS server I am getting error as URL "http://localhost:8080/versioncontrol/v1.0/administration.asmx" not found.
Detailed information about the report file is given below.
Report Name
Server Status - Source Control Request Queue
Connection type
XML
Connection string in data source
http://localhost:8080/versioncontrol/v1.0/administration.asmx
Query Under data set
<Query>
<Method Name="QueryServerRequests"
Namespace="http://schemas.microsoft.com/TeamFoundation/2005/06/VersionControl/Admin/03">
</Method>
<ElementPath IgnoreNamespaces="true">*</ElementPath>
</Query>
-------END---------
I don't know how to get it work. Your help and advice on this will be highly appreciated.
Thanks again for helping me to get other reports worked with TFS 2013.
Regards, Premal Acharya -
Problem in project system report ZPS_PROJSUMMARY
i am working with a report ZPS_PROJSUMMARY which extracts all project summary report.now problem is it is extracting las financila years (2006 ) closed WBS element also with this years WBS elements. this problem happening in production only. this is not coming in pre production.in pre production it is deleting all the previous years WBS using this subroutine perform process_delete_child using it_report-pspnr which is based on condition if l_status_fyear lt s_fyear-low.
i am giving the full code below:-
report zps_projsummary line-size 623
line-count 65
no standard page heading
message-id zfiwip.
Report Name: ZPS_PROJSUMMARY
Author: Rey Salvador (for NDC)
Date: 14.09.2001
Purpose: Project Summary Report (with Commitments)
Modifications Log
Mod Id Author Date References Purpose
M001 R.Salvador 19.10.01 THOR 2845 Add YTD Rev.Recognised
M002 R.Salvador 19.11.01 THOR 2978 Fix YTD Rev.Rec. Level 1
M003 R.Salvador 19.11.01 THOR 3050 Fix YTD Rev.Rec. Level 1
M004 R.Salvador 08.03.02 THOR 3222 Fix Include Closed WBS
M005 R.Salvador 17.05.02 THOR 3342 Fix issue with Profile
M006 C.Kontkanen 22.05.02 LOB Add ProjManager sel
M007 R.Salvador 19.06.02 LOB Incl. WIP/COGS Adjustments
M008 R.Salvador 26.07.02 THOR xxxx Add ProjOfficer
M009 R.Salvador 06.08.02 THOR 3508 Revenue Recognition Changes
M010 R.Salvador 29.11.02 THOR 3704 New Billing Reports
M011 R.Salvador 17.12.02 THOR 3646 Fix problem with statuses
M012 R.Salvador 20.01.03 THOR 3930 Add CP/SP/WO number
M013 R.Salvador 07.03.03 THOR 3953 Incorrect Status
M014 R.Salvador 15.04.03 THOR 4056 Fix Level 1 Calculation
M015 R.Salvador 01.05.03 THOR 4070 Fix Level 1 Calculation
M016 R.Salvador 17.06.03 THOR 4125 Fix Level 2 Calculation
M017 R.Salvador 03.09.03 THOR 4220 Change RevRec Calculation
M018 R.Salvador 25.09.03 THOR 4237 Fix WBS Selection
M019 R.Salvador 11.11.03 THOR 4297 Add SP number
M020 R.Salvador 16.01.04 THOR 4342 Fix Revenue Recognition
M021 R.Salvador 28.01.04 THOR 4344 Fix Revenue Recognition
M022 R.Salvador 11.02.04 THOR 4340 Fix Selection Criteria
Ta Tran 10.06.04 DI4K900626 Copied from NDC
M023 Maccha 29.08.05 DI2K921397 Honing the selection
Srinivas process for Director and
Manager criteria.
M024 M.Srinivas 20.09.05 DI2K921599 Rectifying the order level
- Partner profile
selections. Ref.
docket:203680869
M025 M.Srinivas 01.05.06 DI2K922837 Order level - Status
profile selections
rectification. PD:203960491
M026 Gaurav Dixit18.09.06 DI2K923361 Not to select the deleted
partners from IHPA table.
M027 SaiKiran Reddy07.06.07 DI2K923793 To Exclude Deleted partner
from IHPA table.
include zps_projsummcomd.
types: begin of ty_wbs_report2, "Reporting Table
Pdir(20), "Prog Dir
posid like prps-posid, "WBS Element
post1 like prps-post1, "Short Text
fkstl like prps-fkstl, "resp const centre
prart like prps-prart, "Proj Type
ZZORDERLEVEL(2), "order level
ZZACTTYP(6), "Activity type
sstatus like bsvx-sttxt, "system status
ustatus like bsvx-sttxt, "user status
ZZIMCINITIATIVE(24), "IMC initiative
ZZIMCPROGRAM(02), "IMC Program
ZZWORKCATEGORY(02), "Work Cat
ZZWPMANLOB(01), "LOB
ZZSOURCE(02), "Source
ZZPRIN(02), "Principal
ZZIMPLEMENTREG(01), "IMP Reg
ZZCONTRACTID(10), "Contract
ZZWPNUM(08), "WP No
ZZsPNUM(08), "SP No
ZZORDERNUM(04), "Order No
lead(20), "Prog Lead
Pmgr(20), "Prog Mgr
Poff(20), "Prog Officer
acthours type megxxx, "megXXX: 3decimal"Actual Hours
acthours type wkgxxx, "wkgXXX: 2decimal"Actual Hours
planhours type wkgxxx, "Planned Hours
PLANLABOUR type wkgxxx, "PLAN LABOUR
ACTLABOUR type wkgxxx, "ACTUAL LABOUR
planmatcosts type wkgxxx, "plan material costs
actmatcosts type wkgxxx, "actual material costs
plancosts type wkgxxx, "Planned COsts
actcosts type wkgxxx, "Actual Costs
prcommitment type wkgxxx, "PR Commitment
pocommitment type wkgxxx, "PO Commitment
totcommitment type wkgxxx, "Total Commitment
zzwip like prps-zzwip, "rev rec process
planrev type wkgxxx, "Planned Revenues
actrev type wkgxxx, "Actual Revenues
pcnt_comp(8) type p decimals 2, "% complete
acttotrevrec type wkgxxx, "Act.Rev.Rec m009
actytdrevrec type wkgxxx, "Act.Rev Rec m009
revrec type wkgxxx, "revenue Recognise
revrecytd type wkgxxx, "RevRec YTD M001
rev_collected like vbrp-netwr, "Collected Rev
end of ty_wbs_report2.
types: begin of ty_wbs_report, "Reporting Table
Pdir(20), "Prog Dir
posid like prps-posid, "WBS Element
post1 like prps-post1, "Short Text
fkstl like prps-fkstl, "resp const centre
prart like prps-prart, "Proj Type
ZZORDERLEVEL(2),
ZZACTTYP(6), "Activity type
sstatus like bsvx-sttxt, "system status
ustatus like bsvx-sttxt, "user status
ZZIMCINITIATIVE(24), "IMC initiative
ZZIMCPROGRAM(02), "IMC Program
ZZWORKCATEGORY(02), "Work Cat
ZZWPMANLOB(01), "LOB
ZZSOURCE(02), "Source
ZZPRIN(02), "Principal
ZZIMPLEMENTREG(01), "IMP Reg
ZZCONTRACTID(10), "Contract
ZZWPNUM(08), "WP No
ZZSPNUM(08), "SP No
ZZORDERNUM(04), "Order No
lead(20), "Prog Lead
Pmgr(20), "Prog Mgr
poff(20), "Prog Officer
acthours type wkgxxx, "Actual Hours
planhours type wkgxxx, "Planned Hours
PLANLABOUR type wkgxxx, "PLAN LABOUR
ACTLABOUR type wkgxxx, "ACTUAL LABOUR
planmatcosts type wkgxxx, "plan material costs
actmatcosts type wkgxxx, "actual material costs
plancosts type wkgxxx, "Planned COsts
actcosts type wkgxxx, "Actual Costs
prcommitment type wkgxxx, "PR Commitment
pocommitment type wkgxxx, "PO Commitment
totcommitment type wkgxxx, "Total Commitment
zzwip like prps-zzwip, "rev rec process
planrev type wkgxxx, "Planned Revenues
actrev type wkgxxx, "Actual Revenues
pcnt_comp(8) type p decimals 2, "% complete
acttotrevrec type wkgxxx, "Act.Rev.Rec m009
actytdrevrec type wkgxxx, "Act.Rev Rec m009
revrec type wkgxxx, "revenue Recognise
revrecytd type wkgxxx, "RevRec YTD M001
pspnr like prps-pspnr, "WBS Internal Key
postu like prps-postu, "Short Text
fakkz like prps-fakkz,
psphi like prps-psphi, "proj def
zzcust like prps-zzcustNUM, "Customer
zzcustnum like prps-zzcustnum, "Customer
kostl like prps-kostl, "Cost Centres
prsumm(1) type c, "Project Summary
actcostscfy type wkgxxx, "Current FY Costs
actrevcfy type wkgxxx, "Current FY Rev
rev_billed like vbrp-netwr, "Billed Revenue
gst_billed like vbrp-mwsbp, "Billed GST
rev_collected like vbrp-netwr, "Collected Rev
gst_collected like vbrp-mwsbp, "Collected GST
totbudget type wkgxxx, "Total Budget
verna like prps-verna, "PM m006
astna like prps-astna, "PO m006
totcogs type wkgxxx, "Total COGS m009
ytdcogs type wkgxxx, "YTD COGS m009
end of ty_wbs_report.
types: begin of ty_totals, "Structure for Sub-totals
actmatcosts type wkgxxx, "Actual material Costs
actcosts type wkgxxx, "Actual Costs Total
actrev type wkgxxx, "Actual Revenues Total
planmatcosts type wkgxxx, "plan material Costs
plancosts type wkgxxx, "Planned Costs
planrev type wkgxxx, "Planned Revenues
acthours type wkgxxx, "Actual Hours
planhours type wkgxxx, "Planned Hours
ACTLABOUR type wkgxxx, "ACTUAL LABOUR
PLANLABOUR type wkgxxx, "Planned LABOUR
revrec type wkgxxx, "Revenue Recognised
revrecytd type wkgxxx, "RevRec YTD M001
acttotrevrec type wkgxxx, "RevRec Actual M009
profit type wkgxxx, "Planned Profit/Loss
actcostscfy type wkgxxx, "Actual Costs Current FY
actrevcfy type wkgxxx, "Actual Revenues Current FY
rev_billed type wkgxxx, "Billed Revenue
gst_billed type wkgxxx, "Billed GST
rev_collected type wkgxxx, "Collected Rev
gst_collected type wkgxxx, "Collected GST
prcommitment type wkgxxx, "PR Commitment
pocommitment type wkgxxx, "PO Commitment
totcommitment type wkgxxx, "Total Commitment
totbudget type wkgxxx, "Total Budget
actytdrevrec TYPE wkgxxx,
end of ty_totals.
type-pools: gsetc.
tables: cepct.
data: it_wbs_report TYPE ty_wbs_report OCCURS 0 WITH HEADER LINE,
it_wbs_report2 TYPE ty_wbs_report2 OCCURS 0 WITH HEADER LINE,
wr_wbs_report type ty_wbs_report,
it_prctr type standard table of setlist,
it_stat(72) occurs 0 with header line,
et_stat(72) occurs 0 with header line,
begin of it_tj49 occurs 0,
stats like tj49-stats,
incex like tj49-incex,
verkz like tj49-verkz,
end of it_tj49,
begin of it_csla occurs 150,
vksta like csla-vksta,
end of it_csla,
w_stat_flg,
w_join(3),
w_not(3),
w_stat_val(7) value ''' ''',
W_LEAD(40),
W_PDIR(40),
W_PMGR(40),
w_poff(40),
w_tab like sy-tabix,
n like sy-index,
w_reporting_level(2) type c,
w_gtotal_text(500) type c,
w_other_level(1) type c,
w_budat like bkpf-budat, "m002
w_level like prps-stufe,
w_record_count(8) type n,
w_pspid_ind(1) type c, "m003
begin of ziheader,
w_strlen type i,
hdr_pos type p,
hold_name(30),
conf_txt(54) value
'* CONFIDENTIAL - PROPERTY OF BACCHUS *',
end of ziheader,
p_budat like bkpf-budat,
w_sel_posid like prps-posid,
Internal tables to hold set hierarchy, values, pointers and sorts
set_hierarchy like sethier occurs 0 with header line,
set_values like setvalues occurs 0 with header line,
set_id like rgsbs-setnr,
set_id2 like rgsbs-setnr,
w_setnr(30) type c,
w_set_values like rgsb4 occurs 0 with header line,
lt_objlst type standard table of onr00,
lr_objlst type onr00,
w_first type c.
Start of M011
data: it_wbs1 like it_wbs occurs 0.
data: it_wbs_tmpo like it_wbs occurs 0 with header line. "M024
data: begin of loc_wbs occurs 0.
include structure zco_wip_wbslst. "test '''
data: pdir(20),
zzacttyp(6),
ZZIMCINITIATIVE(24),
ZZIMCPROGRAM(02),
ZZWORKCATEGORY(02),
ZZWPMANLOB(01),
ZZSOURCE(02),
ZZPRIN(02),
ZZIMPLEMENTREG(01),
ZZCONTRACTID(10),
ZZWPNUM(08),
ZZSPNUM(08),
ZZORDERNUM(04),
PERNR(08),
PERNR2(08),
end of loc_wbs.
data: begin of it_report occurs 0,
posid like prps-posid,
pspnr like prps-pspnr,
end of it_report.
End of M011
data: begin of it_deleted occurs 0,
posid like prps-posid,
pspnr like prps-pspnr,
end of it_deleted.
data: begin of l_deleted occurs 0,
posid like prps-posid,
pspnr like prps-pspnr,
end of l_deleted.
data: w_year like bkpf-gjahr.
data: begin of t_date occurs 0,
w_budat like bkpf-budat,
poper like t_poper-poper,
end of t_date.
data: t_ihpa like ihpa occurs 0 with header line,
t_ihpa1 like ihpa occurs 0 with header line,
t_ihpa2 like ihpa occurs 0 with header line,
t_ihpa3 like ihpa occurs 0 with header line,
t_ihpa4 like ihpa occurs 0 with header line,
l_status(3),
w_PLANHOURS like it_wbs-PLANHOURS,
w_PLANREV like it_wbs-PLANREV,
w_PLANCOSTS like it_wbs-PLANCOSTS,
it_tmp_wbs3 type zco_proj_summary_v2 occurs 0 with header line,
W_it_wbs5 like it_wbs .
ranges: r_prctr for prps-prctr.
ranges: r_stufe for prps-stufe.
ranges: r_posid for prps-posid.
constants: c_crtd like tj49-stats value 'I0001'.
CONSTANTS: C_LEAD(2) VALUE '4A',
C_PDIR(2) VALUE '4B',
C_PMGR(2) VALUE 'A1',
C_Poff(2) VALUE 'A2',
c_pdn like ihpa-OBTYP value 'PDN',
c_prn like ihpa-OBTYP value 'PRN'. "M023
tables : pa0002.
---------------------Organisational Units------------------------*
selection-screen begin of block orgunit with frame title text-t06.
*WP/CP Managing LOB
select-options: S_ZWP for PRPS-ZZWPMANLOB MATCHCODE OBJECT ZZWPMANLOB.
*Implementing Region
select-options: S_ZIMP for PRPS-ZZIMPLEMENTREG MATCHCODE OBJECT
ZZIMPLEMENTREG.
*Cost center group
PARAMETERS: P_CTGRP LIKE RKSB1-KSGRU no-display.
*Responsible Cost Center
select-options: s_fkstl for prps-fkstl.
select-options: s_src for proj-zzsource MATCHCODE OBJECT ZzSOURCE.
select-options: s_prin for proj-zzprin MATCHCODE OBJECT ZzPRINCIPAL .
select-options: s_wcat for proj-zzworkcategory MATCHCODE OBJECT
ZZWORKCATEGORY.
select-options: s_wpcpt for proj-ZZTYPE MATCHCODE OBJECT ZzTYPE.
selection-screen end of block orgunit.
selection-screen begin of block periods with frame title text-t05.
selection-screen begin of line.
selection-screen comment 1(20) text-c04 for field p_kokrs.
selection-screen position pos_low.
parameters: p_kokrs type kokrs obligatory default 'TELC'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text-c01 for field s_fyear.
selection-screen position pos_low.
select-options: s_fyear for bkpf-gjahr obligatory no intervals
no-extension.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text-c02 for field s_poper.
selection-screen position pos_low.
select-options: s_poper for T009B-poper obligatory no intervals
no-extension.
selection-screen end of line.
selection-screen begin of line.
selection-screen position pos_low.
selection-screen end of line.
data: p_incwip(1) type c value ' '.
selection-screen begin of line.
selection-screen comment 1(30) text-c25 for field p_calrev.
selection-screen position pos_low.
parameters: p_calrev radiobutton group 0001 default 'X'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(30) text-c26 for field p_actrev.
selection-screen position pos_low.
parameters: p_actrev radiobutton group 0001.
selection-screen end of line.
End of M007 Mods
selection-screen end of block periods.
selection-screen begin of block psjsel with frame title text-t01.
*Program Leadhouse
select-options: s_plead for pa0002-pernr matchcode object ZPA0002.
*Project Director
select-options: s_pdir for pa0002-pernr matchcode object ZPA0002.
*Project Manager
select-options: s_pmgr for pa0002-pernr matchcode object ZPA0002.
*Project Profile
select-options: s_PROFL FOR PROJ-PROFL default 'EXTERN' obligatory.
*Project Definition
select-options: s_pspid for proj-pspid.
*WBS Element
select-options: s_posid for prps-posid.
selection-screen end of block psjsel.
selection-screen begin of block othersel with frame title text-t07.
parameters: p_lvl1 radiobutton group rplv,
p_lvl2 radiobutton group rplv,
p_wip radiobutton group rplv.
selection-screen begin of line.
selection-screen comment 1(20) text-c16 for field p_oth.
selection-screen position pos_low.
parameters: p_oth radiobutton group rplv.
selection-screen comment 40(20) text-c17 for field p_level.
parameters: p_level like prps-stufe.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(22) text-c22 for field p_incwbs.
selection-screen position 42.
parameters: p_incwbs as checkbox.
selection-screen end of line.
Start of M006 Mods
selection-screen begin of line.
selection-screen comment 1(41) text-c23 for field p_clwbs.
selection-screen position 42.
parameters: p_clwbs as checkbox default 'X'.
selection-screen end of line.
End of M006 Mods
parameters:
p_status like tj49-selid.
select-options:
s_prart for prps-prart.
selection-screen end of block othersel.
selection-screen begin of block outfile with frame title text-t11.
selection-screen begin of line.
selection-screen comment 1(20) text-c11 for field p_file.
selection-screen position pos_low.
parameters: p_file as checkbox.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text-c13 for field p_runid.
selection-screen position pos_low.
parameters: p_runid like zcnwip_log-zrunid.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text-c12 for field p_filenm.
selection-screen position pos_low.
parameters: p_filenm(40) type c default '/batch/int/send/ndcreports/'
lower case.
selection-screen end of line.
selection-screen end of block outfile.
initialization.
perform ini_fiscal_year_current.
Default year/period in the selection screen
s_fyear-sign = 'I'.
s_fyear-option = 'EQ'.
APPEND s_fyear.
s_poper-sign = 'I'.
s_poper-option = 'EQ'.
APPEND s_poper.
perform ini_file_path.
at selection-screen on block outfile.
if not p_file is initial.
if p_filenm is initial.
message e017.
endif.
if p_runid is initial.
message e017.
endif.
endif.
at selection-screen on p_status.
clear it_stat.
refresh it_stat.
if p_status is initial.
w_stat_flg = 'N'.
else.
w_stat_flg = 'Y'.
endif.
at selection-screen.
include ZCNWIPCOMF_V2.
if not p_actrev is initial.
move: w_curr_year to w_curr_fperiod+0(4),
w_curr_period to w_curr_fperiod+4(2),
s_fyear-low to w_sel_fperiod+0(4),
s_poper-low to w_sel_fperiod+4(2).
if w_sel_fperiod le '200212'. "temp
message e025.
endif.
if w_sel_fperiod ge w_curr_fperiod.
message e026.
endif.
endif.
Check if Other level check, specify level from 3-4
if not p_oth is initial and
p_level is initial.
message e021.
endif.
Validate File Information
if not p_file is initial.
if p_runid is initial or
p_filenm is initial.
message e014.
endif.
select count(*) from zcnwip_log
where zrunid eq p_runid
and zrep eq 'PROJCE'. " to be changed
if sy-subrc eq 0.
message w022 with p_runid.
endif.
endif.
if not p_ctgrp is initial and not s_FKSTL is initial.
message e087 with 'Cost Center Group' 'Responsible Cost Center'.
endif.
if not p_ctgrp is initial.
clear w_setnr.
move: '0101' to w_setnr+0(4),
P_KOKRS to w_setnr+4(4),
p_ctgrp to w_setnr+8.
call function 'G_SET_GET_ALL_VALUES'
EXPORTING
setnr = w_setnr
TABLES
set_values = w_set_values
EXCEPTIONS
set_not_found = 1
others = 2.
if sy-subrc eq 0.
loop at w_set_values.
if w_set_values-from = w_set_values-to.
S_FKSTL-low = w_set_values-from.
S_FKSTL-option = 'EQ'.
else.
S_FKSTL-low = w_set_values-from.
S_FKSTL-high = w_set_values-to.
S_FKSTL-option = 'BT'.
endif.
S_FKSTL-sign = 'I'.
append S_FKSTL.
endloop.
else.
message e201 with p_ctgrp.
endif.
endif.
start-of-selection.
data: w_poper like s_poper-low,
w_fyear like s_fyear-low.
w_poper = s_poper-low.
loop at s_poper.
case s_poper-option.
when 'EQ'.
move s_poper-low to t_poper.
append t_poper.
clear t_poper.
when 'BT'.
move s_poper-low to t_poper.
append t_poper.
clear t_poper.
while w_poper < s_poper-high.
w_poper = w_poper + 1.
move w_poper to t_poper.
append t_poper.
clear t_poper.
endwhile.
endcase.
endloop.
w_fyear = s_fyear-low.
loop at s_fyear.
case s_fyear-option.
when 'EQ'.
move s_fyear-low to t_fyear.
append t_fyear.
clear t_fyear.
when 'BT'.
move s_fyear-low to t_fyear.
append t_fyear.
clear t_fyear.
while w_fyear < s_fyear-high.
w_fyear = w_fyear + 1.
move w_fyear to t_fyear-fyear.
append t_fyear.
clear t_fyear.
endwhile.
endcase.
endloop.
sort t_fyear by fyear .
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = sy-datum
I_PERIV = 'V6'
IMPORTING
E_BUPER =
E_GJAHR = w_fyear.
w_fyear = s_fyear-low.
s_fyear-low = w_fyear.
Reset Indicator
if p_calrev is initial.
move 'X' to p_incwip.
else.
clear p_incwip.
endif.
loop at t_poper.
*get last day in each period of range
t_date-poper = t_poper-poper.
*------ Start of M002 modifications
*------ Determine last day of the posting period
call function 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = s_fyear-low
i_periv = tka01-lmona
i_poper = t_poper-poper
IMPORTING
e_date = t_date-w_budat.
append t_date.
clear t_date.
endloop.
*get last day of last period in previous fiscal years chosen
*016 = last period
delete t_fyear where fyear = w_fyear. "remove current fyear
loop at t_fyear.
call function 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = t_fyear-fyear
i_periv = 'V6'
i_poper = '016'
IMPORTING
e_date = t_date-w_budat.
t_date-poper = '016'.
append t_date.
clear t_date.
endloop.
*Get the Proj Def from WBS selct option and refresh wbs select option.
data: begin of l_psphi occurs 0,
POSID like prps-POSID,
pspid like prps-psphi,
end of l_psphi.
data: begin of l_pspid occurs 0,
pspid like proj-pspid,
end of l_pspid.
data: begin of i_proj occurs 0, "M023
pspnr like proj-pspnr, "M023
end of i_proj. "M023
data: begin of i_prps occurs 0, "M023
objnr like prps-objnr, "M023
end of i_prps. "M023
data: begin of i_psphi1 occurs 0, "M023
psphi like prps-psphi, "M023
end of i_psphi1. "M023
data: len_posid type i.
if not s_posid[] is initial.
select posid psphi into table l_psphi
from prps
where posid in s_posid.
if sy-subrc ne 0.
message i100.
exit.
endif.
if not l_psphi[] is initial.
sort l_psphi.
select pspid into table l_pspid
from proj
for all entries in l_psphi
where pspnr = l_psphi-pspid and
profl in s_profl.
if sy-subrc = 0.
delete adjacent duplicates from l_pspid.
loop at l_pspid.
s_pspid-sign = 'I'.
s_pspid-option = 'EQ'.
s_pspid-low = l_pspid-pspid.
append s_pspid.
clear s_pspid.
endloop.
else.
message i100.
exit.
endif.
endif.
clear s_posid.
refresh s_posid.
loop at l_psphi.
s_posid-sign = 'I'.
s_posid-option = 'CP'.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
EXPORTING
INPUT = l_psphi-posid
IMPORTING
OUTPUT = l_psphi-posid.
while l_psphi-posid ca '.'.
replace '.' with space into l_psphi-posid.
endwhile.
condense l_psphi-posid no-gaps.
concatenate l_psphi-posid '*' into s_posid-low.
append s_posid.
endloop.
endif.
*------ End of M002 modifications
----- Exclude the P. WBS elements, these are only used for
*----- intermediate postings and are not relevant for WIP, COGS,...
perform ini_posid_range.
perform ini_pspid_range.
if not s_pspid[] is initial.
*----- If projects are selected, then make sure we have the internal
*----- key to PROJ (ie, field PSPNR)
perform get_partners.
perform sos_prepare_proj_range.
if r_psphi[] is initial.
message i100.
exit.
endif.
endif.
*----- WBS ranges with "CP" (Contains Pattern) entries need
*----- to be condensed, because the conversion exit for field POSID
----- causes an entry entered as "P." to be stored as "P *". Hence
*----- selection is flawed.
perform sos_condense_range_wbs.
*----- Activity Type Group is used to determine what Activity Types
*----- to take into account for the computation of planned and actual
*----- hours. The Activity Type Group must be exploded into its
*----- individual Activity Types, so we can build a range of Activity
*----- types.
perform sos_build_act_type_range.
*----- Selection of WBS as per selection criteria, but only Billing WBS
*----- Elements or Level 2 WBS elements
Get Level re-determined
if not p_oth is initial.
case p_level.
when 1.
move c_on to p_lvl1.
clear p_oth.
when 2.
move c_on to p_lvl2.
clear p_oth.
endcase.
endif.
if not p_lvl1 is initial.
w_reporting_level = 'L1'.
w_level = 1.
endif.
if not p_lvl2 is initial.
w_reporting_level = 'L2'.
w_level = 2.
endif.
if not p_wip is initial.
w_reporting_level = 'BE'.
w_level = 0.
endif.
refresh r_stufe.
if not p_lvl1 is initial.
clear: r_stufe.
move: '1' to r_stufe-low,
'2' to r_stufe-high,
'BT' to r_stufe-option,
'I' to r_stufe-sign.
append r_stufe.
elseif not p_oth is initial.
clear: r_stufe.
move: p_level to r_stufe-low,
'EQ' to r_stufe-option,
'I' to r_stufe-sign.
append r_stufe.
elseif not p_wip is initial. "INS DI5K902370
clear: r_stufe. "INS DI5K902370
move: '1' to r_stufe-low, "INS DI5K902370
'99' to r_stufe-HIGH, "INS DI5K902370
'BT' to r_stufe-option, "INS DI5K902370
'I' to r_stufe-sign. "INS DI5K902370
move: '2' to r_stufe-low,
'99' to r_stufe-HIGH,
'BT' to r_stufe-option,
'I' to r_stufe-sign.
append r_stufe. "INS DI5K902370
else.
clear: r_stufe.
move: '2' to r_stufe-low,
'EQ' to r_stufe-option,
'I' to r_stufe-sign.
append r_stufe.
endif.
perform select_wbs_new tables r_psphi.
commit work.
Process any WBS elements missed during initial selection
if not s_posid[] is initial.
perform check_billing_elements.
sort it_wbs by psphi
pspnr.
endif.
delete adjacent duplicates from it_wbs.
append lines of it_wbs to it_wbs1.
sort it_wbs1 by psphi
pspnr.
Transfer to temporary table before calling function
refresh loc_wbs.
loop at it_wbs1 into wr_wbs.
w_tabix = sy-tabix.
if wr_wbs-psphi ne w_ref_psphi.
if not loc_wbs[] is initial.
*----- CAREFUL: THIS FUNCTION MODULE ASSUMES THAT THE WBS ELEMENTS
*----- PASSED INTO TABLE I_WBS ALL BELONG TO THE SAME PROJECT
*----- DEFINITION. FUNCTION MODULE WILL NOT GIVE PROPER RESULTS
*----- IF CALLED FOR A TABLE I_WBS WITH WBS ELEMENTS BELONGING
*----- TO VARIOUS PROJECT DEFINITIONS. BE WARNED!!!
call function 'Z_CN_DETERMINE_REPORTS'
EXPORTING
i_fyear = s_fyear-low
i_prsumm_level = w_level
i_closed = 'X'
TABLES
i_wbs = loc_wbs
i_deleted = l_deleted.
if not p_lvl2 is initial.
loop at loc_wbs where stufe gt 2 and lvl2_posid is initial.
do.
select single up into prhi-up
from prhi
where posnr = loc_wbs-pspnr.
select single * from prps
where pspnr = prhi-up.
if prps-stufe = 2.
loc_wbs-lvl2_pspnr = prps-pspnr.
loc_wbs-lvl2_posid = prps-posid.
exit.
else.
loc_wbs-pspnr = prhi-up.
endif.
enddo.
modify loc_wbs.
endloop.
endif.
perform sos_append_wbs.
refresh l_deleted.
endif.
w_ref_psphi = wr_wbs-psphi.
refresh loc_wbs.
endif.
clear loc_wbs.
move-corresponding wr_wbs to loc_wbs.
append loc_wbs.
endloop.
if not loc_wbs[] is initial.
*----- CAREFUL: THIS FUNCTION MODULE ASSUMES THAT THE WBS ELEMENTS
*----- PASSED INTO TABLE I_WBS ALL BELONG TO THE SAME PROJECT
*----- DEFINITION. FUNCTION MODULE WILL NOT GIVE PROPER RESULTS
*----- IF CALLED FOR A TABLE I_WBS WITH WBS ELEMENTS BELONGING
*----- TO VARIOUS PROJECT DEFINITIONS. BE WARNED!!!
call function 'Z_CN_DETERMINE_REPORTS'
EXPORTING
i_fyear = s_fyear-low
i_prsumm_level = w_level
i_closed = 'X'
TABLES
i_wbs = loc_wbs
i_deleted = l_deleted.
if not p_lvl2 is initial.
loop at loc_wbs where stufe gt 2 and lvl2_posid is initial.
do.
select single up into prhi-up
from prhi
where posnr = loc_wbs-pspnr.
select single * from prps
where pspnr = prhi-up.
if prps-stufe = 2.
loc_wbs-lvl2_pspnr = prps-pspnr.
loc_wbs-lvl2_posid = prps-posid.
exit.
else.
loc_wbs-pspnr = prhi-up.
endif.
enddo.
modify loc_wbs.
endloop.
endif.
perform sos_append_wbs.
refresh loc_wbs.
refresh l_deleted.
endif.
perform process_report_table.
End of M011
Check Status Profile
if not p_status is initial.
perform process_check_status_profile.
sort it_wbs by psphi
pspnr.
endif.
Start of M006 mods
if p_clwbs is initial.
Ignore projects/WBS closed based on the year
perform process_closed_projects.
endif.
End of M006 mods
describe table it_wbs lines w_lines.
if w_lines eq 0.
message i100.
exit.
endif.
sort it_wbs by psphi
pspnr.
loop at it_wbs
into wr_wbs.
w_tabix = sy-tabix.
*----- We will extract costs and determine to which reports a WBS
*----- by Project Hierarchy, ie, we will look at all the WBS Elements
*----- in a given hierarchy in one hit. This simplifies the
*----- process of determining the highest billing element or the
*----- Level 2 WBS element for a selected WBS
*----- It also had the advantage of allowing parallel processing
*----- using CALL FUNCTION STARTING NEW TASK if required in
*----- the future
if wr_wbs-psphi ne w_ref_psphi.
if not it_tmp_wbs[] is initial.
loop at t_date.
it_tmp_wbs2[] = it_tmp_wbs[].
call function 'Z_PS_WIP_GET_COSTS_COMMITMENT'
EXPORTING
i_fyear = s_fyear-low
i_poper = t_date-poper
i_billing = 'X'
i_prsumm_level = w_level
i_other_level = w_other_level
i_budat = t_date-w_budat
i_commitment = 'X'
i_include_wipadj = p_incwip "M007
TABLES
i_rsparams = it_rsparams
i_wbs = it_tmp_wbs2.
loop at it_tmp_wbs2 into it_tmp_wbs3.
collect it_tmp_wbs3.
endloop.
w_tab = sy-tabix.
n = 1.
while n <= w_tab .
read table it_tmp_wbs2 index n.
it_tmp_wbs3 = it_tmp_wbs2.
modify table it_tmp_wbs3
index n
transporting
PLANLABOUR PLANHOURS PLANREV PLANCOSTS stufe.
n = n + 1.
endwhile.
endloop.
it_tmp_wbs[] = it_tmp_wbs2[].
perform sos_process_tmp_table.
endif.
w_ref_psphi = wr_wbs-psphi.
refresh it_tmp_wbs.
endif.
wr_wbs-tabix = w_tabix.
append wr_wbs to it_tmp_wbs.
if w_tabix eq w_lines.
*----- Don't forget to process the last hierarchy!!
if not it_tmp_wbs[] is initial.
loop at t_date.
it_tmp_wbs2[] = it_tmp_wbs[].
call function 'Z_PS_WIP_GET_COSTS_COMMITMENT'
EXPORTING
i_fyear = s_fyear-low
i_poper = t_date-poper
i_billing = 'X'
i_prsumm_level = w_level
i_other_level = w_other_level
i_budat = t_date-w_budat
i_commitment = 'X'
i_include_wipadj = p_incwip "M007
TABLES
i_rsparams = it_rsparams
i_wbs = it_tmp_wbs2.
exceptions
not_found = 1.
loop at it_tmp_wbs2 into it_tmp_wbs3.
collect it_tmp_wbs3.
endloop.
w_tab = sy-tabix.
n = 1.
while n <= w_tab .
read table it_tmp_wbs2 index n.
it_tmp_wbs3 = it_tmp_wbs2.
modify it_tmp_wbs3 index n transporting stufe
PLANLABOUR PLANHOURS PLANREV PLANCOSTS .
n = n + 1.
endwhile.
endloop.
it_tmp_wbs[] = it_tmp_wbs2[].
perform sos_process_tmp_table.
endif.
endif.
endloop.
end-of-selection.
Delete WBS with no financial information
loop at it_wbs_report into wr_wbs_report.
if wr_wbs_report-actcosts eq 0 and
wr_wbs_report-plancosts eq 0 and
wr_wbs_report-planrev eq 0 and
wr_wbs_report-acthours eq 0 and
wr_wbs_report-actrev eq 0 and
wr_wbs_report-revrec eq 0 and
wr_wbs_report-revrecytd eq 0 and
wr_wbs_report-acttotrevrec eq 0 and
wr_wbs_report-actytdrevrec eq 0 and
wr_wbs_report-pocommitment eq 0 and
wr_wbs_report-prcommitment eq 0 and
p_incwbs is initial.
delete it_wbs_report index sy-tabix.
endif.
endloop.
loop at it_wbs_report.
select single
objnr
psphi
zzacttyp
ZZIMCINITIATIVE
ZZIMCPROGRAM
ZZWPMANLOB
ZZIMPLEMENTREG
ZZCONTRACTID
ZZWPNUM
ZZSPNUM
ZZORDERNUM
ZZORDERLEVEL
ZZWIP
from prps
into corresponding fields of w_it_wbs5
where posid eq it_wbs_report-posid.
CLEAR: W_LEAD, W_PDIR, W_PMGR, w_poff.
select single zztype ZZWORKCATEGORY ZZPRIN ZZSOURCE from proj into
(w_it_wbs5-zztype, w_it_wbs5-ZZWORKCATEGORY, w_it_wbs5-ZZPRIN,
w_it_wbs5-ZZSOURCE) where pspnr = w_it_wbs5-psphi.
CLEAR w_it_wbs5-lead.
select single parnr from ihpa into w_it_wbs5-lead
where objnr = w_it_wbs5-objnr and
parvw = C_LEAD and
KZLOESCH NE 'X'. " M026
PERFORM READ_PA0002 USING w_it_wbs5-lead CHANGING W_LEAD.
CLEAR w_it_wbs5-pdir.
select single parnr from ihpa into w_it_wbs5-pdir
where objnr = w_it_wbs5-objnr and
parvw = C_PDIR and
KZLOESCH NE 'X'. " M026
PERFORM READ_PA0002 USING w_it_wbs5-PDIR CHANGING W_PDIR.
CLEAR w_it_wbs5-pmgr.
select single parnr from ihpa into w_it_wbs5-pmgr
where objnr = w_it_wbs5-objnr and
parvw = C_PMGR and
KZLhi,
1.Capacity check takes place at plant level itself..
2.Pooled capacity:- This is created separately in [u wil find in PP] and this capacity can be used by different work centers.
regards
pushpa -
Gantt Chart in Project Status Report
Hi Folks,
We are doing a custom development and creating our own Project Status Report PDF form. Is there a way (standard FM or otherwise) to generate a Gantt chart and show it on the PDF form.
The Gantt chart itself is not of the whole project structure. It is only the phases. Most projects will have 4-5 phases maximum. The Gantt chart also does not need to be too sophisticated, we just need a high level graphical representation of the phase timelines.
Let me know if my question is not clear and I can elaborate.
Thanks
LashanHello Lashan,
Building the Gantt chart in a PDF report is quite tricky. The Gantt chart view you see in cProjects is a different SAP component, JGantt (developed in Java), which is connected to the system.
Adobe forms don't have a standard Gantt element, so you'll have to render it somewhere else and send it to the form in a binary format.
For creating and rendering the graphic you can use the SAP IGS (Internet Graphics Service).
You can find some details here: http://help.sap.com/saphelp_nw04s/helpdata/en/17/86c039c7811f11e10000000a114084/content.htm
This is a little bit more complicated, you also need to use iXML libraries to transform all the Gantt data into the IGS required format.
The end result will not really look like the Gantt view, but it will contain all necessary information:
Is this the kind of graphic you need to develop?
Cheers,
Tudor
Maybe you are looking for
-
My new Hi Def LCD TV has a 15 pin d-sub connection on the back. Is there a cable w/the 15 pin connection on one end & either a USB or Fire Wire connection on the other for easy hook up to my MacBook? Thx Spike
-
OAS - PL/SQL packages not starting?
Okay, I realize this is a bone-headed question, but my developer is away and I am on the bottom end of the learning curve here, so bear with me. After I have re-compiled a set of PL/SQL packages for an existing application, how do I ensure that these
-
Hello All, I've extended the CO of an invoice page that has an attachment link. How do i check if an attachment exists? I was thinking of getting hold of a view that is instantiated in the processRequest, however if i do that the bind values get lost
-
I can't agree to the new terms and conditions
When I try buying a song I am brought to the new terms and conditions page. When I press agree though, the page doesn't change at all. I've tried restart itunes and the computer but nothing changed. What should I do?
-
Naming clips so that events are sorted by clip dates
I have some dv-avi clips that I've imported using my old PC. I now import those clips in iM. To get the events sorted correctly by date/time I change the name to a format that iM interprets as date/time stamp (e.g. clip-2007-12-24 12;00;00.dv). iM th