Percentage of completion
Hi Gurus
I need to show the percentage of completion of a project and based on that calculate the Earned value and commitment cost in Project system report .the report is based on standard cubes 0PS_CO4 (project system controlling) and 0PS_CO2 (Project system dates0.I need to know how to go about for this so that i can calculated figures.i dont see any field called %of completion in these cubes.please help
1. You need to have percentage completion as a key figure.
2. In the update rules, write a routine to read the earned value for the project and derive the percentage completion.
Ravi Thothadri
Similar Messages
-
Revenue Recognition based on percentage of completion of work.
Hello Experts,
My customer has the following scenario for revenue recognition.
My customer sell services. So I create a project and attach to the sales contract which has mile stones for billing.
After completion of milestones, billing is triggered automatically. No issues on this part.
When comes to revenue recogntion, they recognise the revenue after the work completion and nothing related to billing.
They take forecasted manhours(planned hours) for the services and take the time sheet hours (actual hours) and calculate the percentage of completion. They apply the percentage in revenue and based on the percentage of completion, they do revenue recognition.
My questions..
1. Is this a standard functionality in SAP? My customer is in sap 4.7
2. If this is not a standard functionality, then how to tackle this issue. Is there any work around?
Any type of help would be grateful.
Regards
Srinivasan DesinghHello,
The Best Practices document alongwith the scenarios supported in standard SAP is available as an attachment in the Note 1172799.
Regards,
Raghavendra YN -
How can I enter actual percentage of completion in the WBS elements?
Hi all !
I Can not enter Actual percentage of completion in WBS elements...!
I have followed these steps in Progress analysis:
1.- In the progress tab of WBS elements I have entered Measurement method ESTIMATION for
progress analysis (Plan&Actual).
2.- In the WBS element I have estimated PLAN percentage of completion 100% in period 8
3.- In the progress tab of network activities, I used ESTIMATION method for Plan and WORK for actual
to calculate the percentage of completion.
4.- I have entered final network confirmations
Actual Start date: 08.11.2014
Actual Finish date: 08.15.2014
Remaining work is cero.
5.- I run Project analysis to display measurement methods with transaction CNE1
and Progress analysis with transaction CNSE5
In Progress analysis the Processing % of work in Network activities is 100% but 0% in the WBS
element
Adj.NAgg.Act. POC (Adjusted non-aggregated actual percentage of completion)is 100% in network activities
POC actual, non-agg.(Non-aggregated actual percentage of completion)is 100% in network activities.
Does SAP calculates actual POC?
Should I manually enter Actual percentage of completion in the WBS elements?
I can not enter percent of completion (actual value) for WBS elements. The field is non editable !
Please help !Hi Rafael,
I am facing the same problem.
I am using Plan method at activity : Time Proportional
Actual method at activity : Work completion
At wbs level Plan and actual is Time proportional.
I am not identified how the "Adjusted non-aggregated actual percentage of completion" and
"Non-aggregated actual percentage of completion" is calculated.
Please help me for the same.
Regards,
Pradeep -
Unable to enter percentage of completion
Hi,
After assigning the progress version and clicking Estd values button a new screen "Enter percentage of completion" is opening
But the screen is found greyed out.
How should i enter in it ?you can record actual POC only when actual data's are maintained for the WBSE. So you should release the WBSE and also maintain the actual date(start) in dates tab, now you will be allowed to enter actual POC
-
Milestone Billing based on POC(Percentage of completion) and Sales Order
Dear Experts,
With reference to following link
SD Cycle in PS
i would like to add one more doubt.
My client want to copy milestone only when milestone POC is completed.
Like After Completion of 30% of work,Billing must be copied from it.
System does not allow you to exit untill u complete 100% billing in sales order.
Kindly put some valuable inputs.
Regards>
astosh wrote:
> 2.Milestonewise Billing for completion of each floor, Like for 0% completion of work 10% billing can be done, for 100% Completion of first floor 20% billing to be done.
> Regards
You can create activities for each task and attach milestone on it. when you complete the task confirm the activity so system will automatically confirm milestone as well, which will remove the billing block.
>
astosh wrote:
> 3.Is there any way to know whether the completion of floor is occured or not.
> Regards
System wont know automatically, your project engineer should confirm the activity based on the completion of tasks.
>
astosh wrote:
> 4.Please elaborate process to be incorporated while making Sales order.
>
> Regards
Search the forum there are many posts available and also refer sap help for milestone billing.
Tnx.
Abdul -
Factory Restore Fails on my p6754y at same percentage of completion
I have tried the internal repair and it failed several times, After that, I tried the internal Facrory recovery several times with faiures as well. I then used the Recovery Disks created by the system when I first started using it. Are the repeated failures of both the internal and external recovery programs a sign that the Hard drive is the problem? I can say that the factory recoveries attempted by the Recovery Disks failed at the same percentage. I am not sure about the earlier attempts because I was not then tracking that information.
Also, if I replace the HD with a new one, can I use the system generated factroy restore program. Will this restore the 2 hidden directores, blocks or whatever the correct term is for the factory restore and system recovery areas as they existed when the DVD's were made by the system?
John G.
This question was solved.
View Solution.Hi, John:
See if there is a hard drive diagnostics test in the BIOS. If there is, run that and see what it reports.
If you have to or decide to replace the hard drive, then you could try the recovery disks you made on that.
If they don't work, then you will need to purchase a set from HP by clicking on the link below and click on the link labeled Order Recovery Media.
http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5049...
Another thing you can try is to make your own plain W7 installation disk and use the W7 product key on your PC's case to activate the installation.
Here are the instructions and link to the W7 ISO downloads.
If you can read the 25 character Microsoft windows 7 product key, you can download plain Windows 7 ISO files to burn to a DVD for the version of windows that came installed on your PC, and that is listed on the Microsoft COA sticker on your PC's case.
Burn the ISO using the Burn ISO option on your DVD burning program and burn at the slowest possible speed your program will allow. This will create a bootable DVD.
Or use the Windows 7 USB/DVD installation tool to compile the ISO file you download from Digital River. Link below. You need a 4 GB flash drive to use the USB method of compilation.
http://download.cnet.com/Windows-7-USB-DVD-Download-Tool/3000-18513_4-10972600.html
Use the 25 character product key on the PC to activate the installation.
The key will activate either a 32 or 64 bit installation.
Then go to the PC's support and driver page to install the drivers you need.
Link to the W7 ISO file downloads is below.
http://forums.mydigitallife.info/threads/14709-Windows-7-Digital-River-direct-links-Multiple-Languag... -
Project Revenue Recognitio based on Percentage Completion
Dear Experts,
For on going project, we want to recognize the revenue based on the percentage of completion. Final bill will be at the end of the project, how to recognize the revenue in Finance on unbilled items/completion.
Please let me know what are the config setting to be done and steps to be executed (SD/PS/CO Module) for this process.
Regards,
vglYou'll have to implement Result Analysis in CO. This does exactly what you require. You can take a look at the following links which will guide you through. Also, there are numerous other resources available in the internet.
http://wiki.sdn.sap.com/wiki/display/ERPFI/UnderstandingResultsAnalysisforWIP
http://wiki.sdn.sap.com/wiki/display/BI/MaintainingResultsAnalysis+Keys
Ravi. -
SAP CPS script to calculate the percentage of number of jobs completed
Hello
I have 2 client specific jobs, which I am executing on 300+ ABAP system using SAP CPS system. I would like to know..
what % of jobs completed successfully & failed.
at present, using the filter method, I get a consolidate jobs status mail. some think like this.
regards
Shridhar GowdaHi Shridhar,
Redwood system maintains statistics for each job Definition.
In job statistcis you can notice Execution Completed Count and Execution Error Count .
You can use Redwood script to pull those statistics
Use following methods to extract them.
getExecutionCompletedCount()
getExecutionErrorCount()
You can write code to get the error percentage and completed percentage.
Hope this helps. -
REMOTE QUERY ESTIMATED TIME OF COMPLETION
HI,
I am running a query on which does REMOTE INNER JOIN and the query is taking forever.
I am trying to figure out when the query would complete. Estimated Completion time is set to 0 from the dynamic view.
I don't have the DB OWNER permission to see whats going on REMOTE Server.
Is there options available to figure out what percentage is complete and what percentage is remaining.
Looking at the WAIT TYPE , its waiting for OLEDB Wait type . ( Remote query execution ).
I would appreciate the help on this?
Thanks,
SELECT * FROM sys.dm_exec_requests req
CROSS APPLY sys.dm_exec_sql_text(req.sql_handle) as sqltext
WHERE session_id != @@SPID
connection_id blocking_session_id wait_type wait_time last_wait_type wait_resource open_transaction_count open_resultset_count transaction_id context_info percent_complete estimated_completion_time cpu_time total_elapsed_time
A80C7435-54C1-49F3-86F1-3F7EEF56FD32 0 OLEDB 52 OLEDB CHC-SQLREP01 (SPID=119) 0 1 294705 0x 0 0 4875 1188972
SELECT session_id,percent_complete,CASE estimated_completion_time WHEN 0 THEN'NA' ELSE CONVERT ( VARCHAR(255),DATEADD(MILLISECOND,estimated_completion_time,CURRENT_TIMESTAMP)) END Estimated_finish_time,
(total_elapsed_time/1000)/60 Total_Elapsed_Time_MINS ,
DB_NAME(Database_id) Database_Name ,command,sql_handle
FROM sys.dm_exec_requests WHERE session_id=54
session_id percent_complete Estimated_finish_time Total_Elapsed_Time_MINS Database_Name command sql_handle
54 0 NA 39 AFTOOLS SELECT 0x020000006088211F8613526B75F454C7B037FDF904DAB452
I90RunnerYou would need to be a sysadmin on the remote server to see what is going on.
From your previous message, this will never work. This will always be slow, you will never be happy using linked server to query this server. You would be better off creating either transactional replication or some other method of getting that
table local. -
COGS has to book In Finance based on the milestone percentage
Dear Experts,
My Client has a business scenario
Building renovation Business- they are considering this as a Project with multiple milestones.
Project based procurement will happens and will be delivered at site
Example
Project value is USD 1000
Raw materials will be delivered at customer site worth of USD 400
First Milestone is 20% of Project - USD 200
Second Milestone is 30% of the Project USD 300
Third Milestone is 40% of the Project USD 400
Final settlement is 10 % of the project USD 100
Now raw materials expenditure is USD 400
but First Milestone going to receive USD 200
When the fist quarter if i analyse the project status - it shows loss
so client wants to book the COGS in finance based on the milestone 20% of billing
Is it possible , or please guide me how to solve this issue?
Regards,
PratheepHi,
For milestone billing you can take the help of SD specialist you can link SD with PS and trigger the billing from PS as well. From PS point of view it goes like this.
1. 1. Create RA key with revenue based Percentage of Completion. This calculate the %ge of completion of a project based on Plan revenue Vs Actual revenue and calculate the proportionate COGS.
2. 2. Complete the configurations in OKG1 to OKG8.
3. 3. Update plan revenue and plan cost in the project (WBS Element).
4. 4. When you execute Result analysis you can see the calculation how revenue and WIP or provision is calculated. For example if Plan revenue is 1000 and plan cost is 800 you have billed for 200 and cost booked for 400. System will calculate a COGS (160) which is 20% of plan cost as only 20% revenue is recognized.
5. 5. Execute Settlement. It will transfer the excess cost to WIP (400 – 120). In your example if cost is less booked at this point of time (Say only 100 instead of 400) it will calculate a post a provision 20 (120-100) and create an expenses.
Hope this helps.
Regards
RCSanat6 -
Percentage progress in "Collaboration Process modeling"
Hi gurus,
do you have same experience on "Process modeling" utilization?
I don't understand how the percentage of completion is manage (automatically, manually,... ?!?!).
Seems that I can only change manually the status (Open, in process, completed) in my own process. While in standard example I see the percentage completion but I don't understand how it is calculated.
KRHi AleK,
As far as I know it should be linked with the completion of the tasks that are assigned to each process step.
e.g: if you have 2 tasks and one is completed -> 50%
Rgds
Alecsandra -
HI Gurus,
I am Brand new to cProjects.
My task is in a project there are different tasks. when user set the task status to Complete in Basic Data TAB, then the Percentage of completion field in Additional data TAB should set to 100%.
Is anybody come across this kind of issue.
I came to know that a workflow object will trigger when user change the status.
Help me regarding this.
Regards
Giri.Hi Giri,
Make sure you are passing the correct filter to <b>DPR_EVENTS</b>.
In the case you have mentioned the filter should be:
<b>Event: COMPLETED
Class: CL_DPR_CLASS_O
Method: ON_TTO_COMPLETED</b>
Use the <b>ON_EVENT</b> method to get the details of the task, if you need any and set the field percentage completion to 100 based on your check condition.
Eg. if you have to check the planned and the actual work and then set percentage compeltion.
The method <b>GET_DATA_EXT</b> of class: <b>CL_DPR_TASK_O</b> can be used to read the task data and <b>SET_DATA_EXT</b> method of the same class can be used to set data for that task.
Hope this helps you solve your problem.
Regards,
Reema.
<i>Pl award appropriate points to all useful answers.</i> -
Captivate 7 returns slide number instead of percentage
I am using an LMS which support SCORM 1.2 version courses. It was working fine with all courses created with Captivate 6. it is not working now with Captivate 7 courses. While debugging the issue, i can see that in the previous scenario after playing a coure, it returns an integer value(i think its percentage) to my LMS as the current lesson location. But in current scenario i am getting some slide number such as 'SLIDE_4' or 'SLIDE_6' like that. I need to track the status of play. So i need to find out percentage. I am fresher in this area. So anyone can help me to find out total percentage? Any method to find out total number of slides in a scorm course? Please reply. thanks in advance.
Thanks for your reply.
As per your recommendation I tried uploading SCORM courses( 1 created with Captivate 6 and the other created with Captivate 7) to SCORM cloud. The one created with captivate 6 is working fine and is giving me the correct value in the field Percentage Of Completion. But in case of Captivate 7 it is not showing anything in the Percentage Of Completion field.
Please help
Regards
Abhijith -
Speeding up the Get-MailboxStatistics cmdlet for ~19K mailboxes.
Greetings,
While this is partially a PowerShell scripting question, I am posting it in the Exchange 2010 forum because the issues I believe center around the Get-MailboxStatistics itself, and the speed of my scripts in Exchange 2010 (possibly
due to the additional overhead in remote PowerShelling).
In my Exchange 2010 system we have ~19,000 mailboxes spread accross multiple DAG nodes, and ever since we upgraded from Exchange 2007 to Exchange 2010, gathering all of the mailboxes and then gathering their statistics takes almost
twice as long. For example a script that used to take ~45 minutes in Exchange 2007, takes about an hour and a ½.
The issue I am running into when clocking core aspects of a mailbox data gathering scripts is that the Get-MailboxStatistics seems to be taking an excessively long period of time, and I am hoping someone can help me figure out a
way to speed up the process.
For example this is a boiled down script I created, where I ripped out a ton of other things and just focused on the Get-Mailbox and Get-MailboxStatistics commands:
$BaseOU
=
"Customers"
# Capture the date and time in a variable using the "Fri 11/01/2010 6:00 AM" format.
$DateTime
=
Get-Date
-Format
"ddd MM/dd/yyyy h:mm tt"
# Select a single domain controller to use for all the queries (to avoid mid AD replication inconsistencies)
from the environment variable LOGONSERVER - this ensures the variable will always be dynamically updated.
$DomainController
= ($Env:LogonServer).Substring(2)
# Set the loop count to 0 so it can be used to track the percentage of completion.
$LoopCount
= 0
# Start tracking the time this script takes to run.
$StopWatch1
=
New-Object
System.Diagnostics.Stopwatch
$StopWatch1.Start()
# Get the mailbox info for all IHS customer mailboxes.the storage limit is Prohibit send or mailbox disabled
Write-Host
-ForegroundColor
Green
"Beginning mailbox gathering. In a short while a progress bar will appear."
$GatheredMailboxes
=
Get-Mailbox
-ResultSize:Unlimited
-OrganizationalUnit
"ADDomain.com/$BaseOU"
-DomainController
$DomainController |
Select Identity,DisplayName,ProhibitSendQuota
Write-Host
-ForegroundColor
Green
"Mailbox data gathering is complete."
$StopWatch1.Stop()
$StopWatch2
=
New-Object
System.Diagnostics.Stopwatch
$StopWatch2.Start()
Foreach ($Mailbox
in
$GatheredMailboxes) {
# Show a status bar for progress while the mailbox data is collected.
$PercentComplete
= [Math]::Round(($LoopCount++
$GatheredMailboxes.Count
* 100),1)
$CurrentMBDisplay
=
$Mailbox.DisplayName
Write-Progress
-Activity
"Mailbox Data Gathering in Progress"
-PercentComplete
$PercentComplete
`
-Status
"$PercentComplete% Complete"
-CurrentOperation
"Current Mailbox: $CurrentMBDisplay"
#Get the mailbox statistics for each mailbox gathered above.
$MailboxStats
=
Get-MailboxStatistics
$Mailbox.Identity |
Select StorageLimitStatus,TotalItemSize
# Proceed only if the the mailbox statistics show the storage limit is Prohibit Send or Mailbox Disabled.
# Write-Host "Stats for"$Mailbox.DisplayName"are Limit ="$MailboxStats.StorageLimitStatus"and Size ="$MailboxStats.TotalItemSize.Value.ToMB()"MB."
# Calculate the amount of time the script took to run and write the information to the screen.
$StopWatch2.Stop()
$ElapsedTime
=
$StopWatch1.Elapsed
Write-Host
"he mailbox gathering took"
$ElapsedTime.Hours
"hours,"
$ElapsedTime.Minutes
"minutes, and"
$ElapsedTime.Seconds
`
"seconds to run."
$ElapsedTime
=
$StopWatch2.Elapsed
Write-Host
"The foreach loop took"
$ElapsedTime.Hours
"hours,"
$ElapsedTime.Minutes
"minutes, and"
$ElapsedTime.Seconds
`
"seconds to run."
Using the two stop clocks, I was able to see that the Get-Mailbox of all mailboxes took ~9 minutes. That isn’t lightning fast, but it isn’t unreasonable.
The issue comes in where the Foreach loop with the Get-MailboxStatistics took ~53 minutes, and I am sure some of the mailbox data was cached on the servers from my various tests so it would probably take even longer with a cold
run.
I did some digging around and I really couldn’t find anything on how to speed up the Get-MailboxStatistics, and the only thing I found was this link:
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9ceefddd-7a59-44ec-8fc0-8de244acb58b
However I am not clear on how moving the Get-MailboxStatistics into the Get-Mailbox syntax (which is odd to me in general) would speed things up if I still have to have a foreach loop to process the data a little bit and add the
users to a datatable. That discussion also made think the foreach loop itself is slowing things down but unclear as to how/why if that is true.
Can someone help share some ideas on how to speed up this process? I think there are some other things I could try but I can’t think of them.
Thank you in advance.I think it's impossible to speed up the Get-MailboxStatistics when it is being called for each and every mailbox individually.
I read somewhere in other posts people were having better performance by calling the cmdlet against an entire database or server so I gave it a shot with this code:
$DAGS = "EXCHDAG1"
# Start tracking the time this script takes to run.
$StopWatch = New-Object System.Diagnostics.Stopwatch
$StopWatch.Start()
$MailboxStatistics = New-Object System.Data.DataTable “MailboxStatistics”
$MailboxStatistics.Columns.Add("TotalitemSize",[String]) | Out-Null
$MailboxStatistics.Columns.Add("ItemCount",[String]) | Out-Null
$MailboxStatistics.Columns.Add("LastLogonTime",[String]) | Out-Null
$MailboxStatistics.Columns.Add("LastLogoffTime",[String]) | Out-Null
$MailboxStatistics.Columns.Add("MailboxGUID",[String]) | Out-Null
$MailboxStatistics.PrimaryKey = $MailboxStatistics.Columns["MailboxGUID"]
ForEach ($DAGServer in (Get-DatabaseAvailabilityGroup $DAGS).Servers) {
ForEach ($MailboxStats in (Get-MailboxStatistics -Server $DAGServer.Name | Where {$_.DisconnectDate -eq $Null})) {
$NewMBXStatsDTRow = $MailboxStatistics.NewRow()
$NewMBXStatsDTRow.TotalitemSize = $MailboxStats.TotalItemSize
$NewMBXStatsDTRow.ItemCount = $MailboxStats.ItemCount
$NewMBXStatsDTRow.LastLogonTime = $MailboxStats.LastLogonTime
$NewMBXStatsDTRow.LastLogoffTime = $MailboxStats.LastLogoffTime
$NewMBXStatsDTRow.MailboxGUID = $MailboxStats.MailboxGuid.ToString()
$MailboxStatistics.Rows.Add($NewMBXStatsDTRow)
$StopWatch.Stop()
$ElapsedTime = $StopWatch.Elapsed
Write-Host "The script took" $ElapsedTime.Hours "hours," $ElapsedTime.Minutes "minutes, and" $ElapsedTime.Seconds `
"seconds to run."
Here are the results in speed:
The script took 0 hours, 3 minutes, and 13 seconds to run.
So yeah... ~3 minutes versus ~1 hour, I would say that's an improvement.
Now I will go back to my script and as I process each mailbox I will pull it's statistics information out of the DataTable using its GUID with:
If ($MailboxStats = $MailboxStatistics.Rows.Find($Mailbox.MailboxGUID)) {
# Insert mailbox statistics processing here using the $MailboxStats variable with "." extensions.
} Else {
# Mailbox statistics weren't found so go grab them individually as a backup mechanism for scenarios when a user's mailbox got moved out of the DAG to a non-DAG database for whatever reason.
It's a little silly that I have to extract the information out of each DAG server and put it in an in-memory table just to speed this process up, but clearly there is overhead with the Get-MailboxStatistics cmdlet and grabbing more mailboxes at once helps
negate this issue.
I'm going to mark my own response as an answer because I don't think anyone else is going to come up with something better than what I put together. -
Error in creation Procedure..help required
Hai all
I have two views
1. v_production_info
2. v_production_scope
The first view contains the date,area,processname,acheived value.
eg.
DATE AREA process achieved
29/03/04 A TC 100
29/03/04 A TR 100
29/03/04 A FQ 100
29/03/04 B FQ 100
The Second view contains
AREA planned
A 700
B 900
I want the output like this and it should be inserted into the new table and the format i want is
Table:
DATE AREA planned TC TR FQ
29/03/04 A 700 14.3 14.3 14.3
i.e. I need to transpose the rows to columns and i need to calculate the percentage of completion..
I have created a procedure like this..
CREATE OR REPLACE PROCEDURE "P_Y_PROGRESS" (lDate IN
DATE) IS
SP VARCHAR2(50);
P_SCOPE NUMBER(8,2);
P_VALUE NUMBER(8,2);
TC_VALUE NUMBER(8,2);
TR_VALUE NUMBER(8,2);
P3_VALUE NUMBER(8,2);
FQA_VALUE NUMBER(8,2);
CURSOR CUR_SPNO IS
SELECT DISTINCT SPNO FROM V_PRODUCTION_INFO;
BEGIN
OPEN CUR_SPNO;
LOOP
FETCH CUR_SPNO INTO SP;
EXIT WHEN CUR_SPNO%NOTFOUND;
SELECT SCOPE INTO P_SCOPE FROM V_PRODUCTION_SCOPE WHERE SPNO = SP;
IF P_SCOPE <> '' THEN
SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO P_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'PP' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO TC_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'TC' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO TR_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'Trasse' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO P3_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'Phase III' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
SELECT ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2) INTO FQA_VALUE FROM V_PRODUCTION_INFO WHERE SPNO = SP AND STAGE = 'FQA' AND TO_CHAR(ACT_DATE,'DD-MON-YYYY') <= ldate;
ELSE
P_VALUE := 0;
TC_VALUE := 0;
TR_VALUE := 0;
P3_VALUE := 0;
FQA_VALUE := 0;
END IF;
INSERT INTO PRODN_DATE,PRODN_SCOPE,PREPRODN_STATUS,TEMPPRODN_STATUS,TRASSEPRODN_STATUS,PIIIPRODN_STATUS,FQAPRODN_STATUS,DUE_DATE)
VALUES(ldate,P_SCOPE,P_VALUE,TC_VALUE,TR_VALUE,P3_VALUE,FQA_VALUE,(SELECT PLANNED_DATE FROM SP_COMPLETION_DATE WHERE SPNO = SP));
COMMIT;
END LOOP;
CLOSE CUR_SPNO;
END P_Y_PROGRESS;
But it is telling as it contains compilation errors..
can any one help to achieve this
Thanks
Gay3Hi,
Change
ROUND(SUM(ACHIEVED) / NVL(P_SCOPE)) * 100,2)
to
ROUND(SUM(ACHIEVED) / NVL(P_SCOPE,1) * 100,2)
For NVL you have to give some default value, here i have defaulted it to 1. Change it to any value you want to default it to.
Also in INSERT INTO statement TABLE_NAME is missing. Give the table name as
INSERT INTO table_name (col_list)
VALUES (values_list).
Sunil.
Maybe you are looking for
-
Interactive Report Download and Session State Protection
I have created an Interactive Report in an APEX application that I have enabled session state protection for. The issue I am having is with the "Download" functionality of the interactive report to a .csv file. The URL created by selecting Download f
-
Dynamic receiver file name C1.yyMMdd.C2
PI Experts, Is it so difficult to acheive in SAP PI? I hope I made the requirement clear. Scenario: Sender AS2 adapter --> PI --> Receiver File (NFS) Adapter. Just a file pass through, no mapping Requirement: Irrespective of sender adapter in a file
-
Weird Problems with K9A2 System
Can Someone Help Me? I recently built a new system and have had nothing but problems. See system config in signature (Left off OCZ PRO Xtreme 1000W Power Supply With 4 12 Vrails at a max of 26 Amps each or 82 Amp all together and a 5 Volt rail at 30
-
Driver for intel cs330 webcam on windows 7
HI I have a great old webcam a Intel CS330, but i have just bought a new computer and its runing windows 7 and i cant seem to find a driver for it :( Could you please tell me where i may get this from if it is avalible or if it will be anytime soon.
-
Why are clicked links to Bookmarks not consistent in color?
I've created hyperlinks to bookmarks. Some change color when clicked and some don't.