Report for extracting the actual and planned cost from service orders

HI all
we are creating a report in BI for Module - Customer service . LIke , the report is all about how many complaints created in the system and how many completed technically and what is the cost involved for each complaint .
Like we want the comparision between the planned cost and the actual cost .
Now to give the logic to the BI Team for planned cost and actual cost , please suggest the flow of logic or table flow to arrive the planned and actual cost
thanks in advance

Hi Marthand,
I am not sure which datasource your are using. In this case, you can use the 0VALUETYPE to differencitae between th eplan and actuals. Normally Plan which is budget will have value 050 and for actuals will have 010. For costs, you will have one key figure and at the reporting level, you will have the costs restricted by the value type for plan and actual to make comparisons.
Hope this helps.
Regards,
Srinivas

Similar Messages

  • Joining Actuals and Planned Work from Project Server

    Hi,
    I have an SQL based query which returns Actuals and Planned work from Project Server; however a number of records (generally generic resources based on the ResourceIsGeneric column) are excluded. I believe this is because my Actuals query does not return
    generic resources as we are joining both sides of the query on ResourceUID. I have included a snippet below - is there a way to join Actuals and Planned work so I can return all Resource data?
    Thanks
    SELECT tl.ResourceUID
    ,tl.ProjectUID
    ,tl.ResourceName AS [ResourceName]
    ,CASE
    WHEN tl.ProjectName = 'Administrative'
    THEN tl.TaskName
    ELSE tl.ProjectName
    END ProjectName
    ,ruv.RBS AS [RBS]
    ,Sum(ta.ActualWorkBillable) ActualWorkBillable
    ,Sum(ta.ActualWorkNonBillable) ActualWorkNonBillable
    ,Sum(ta.ActualOvertimeWorkBillable) ActualOvertimeWorkBillable
    ,Sum(ta.ActualOvertimeWorkNonBillable) ActualOvertimeWorkNonBillable
    ,CASE
    WHEN Sum(ta.ActualOvertimeWorkBillable) > 0
    THEN Sum(ta.ActualOvertimeWorkBillable)
    END [HOURS]
    ,DATEPART(year, ta.TimeByDay) AS [Year]
    ,DATEPART(month, ta.TimeByDay) AS [Month]
    ,DATENAME(month, DATEADD(month, DATEPART(month, ta.TimeByDay), - 1)) AS [MonthName]
    ,puv.[Project Status] AS [ProjectStatus]
    ,ruv.[Primary Role] AS [PrimaryRole]
    ,ruv.[Resource Department] AS [Department]
    ,ruv.ResourceIsGeneric
    ,ruv.[Cost Category] AS [ResourceType]
    ,puv.[SAP Project Code] AS [SAPProjectCode]
    ,CASE
    WHEN tl.ProjectName <> 'Administrative'
    THEN NULL
    ELSE tl.TaskName
    END TaskName
    ,puv.[Project Plan Type] AS [ProjectPlanType]
    ,puv.[GEM Project Manager] AS [GemPM]
    ,ruv.[Rate Code] AS [RateCode]
    ,ruv.[Cost Centre] AS [CostCentre]
    ,ept.EnterpriseProjectTypeName AS [EPT]
    ,puv.[I DO Phase]
    ,puv.ProjectOwnerName AS [ProjectOwner]
    FROM dbo.MSP_TimesheetActual_OlapView ta
    INNER JOIN dbo.MSP_TimesheetLine_UserView tl
    ON ta.TimesheetLineUID = tl.TimesheetLineUID
    INNER JOIN dbo.MSP_EpmResource_UserView ruv
    ON ruv.ResourceUID = tl.ResourceUID
    LEFT JOIN dbo.MSP_EpmProject_UserView puv
    ON puv.ProjectUID = tl.ProjectUID
    LEFT JOIN dbo.MSP_EpmEnterpriseProjectType ept
    ON ept.EnterpriseProjectTypeUID = puv.EnterpriseProjectTypeUID
    WHERE ta.TimeByDay >= @xDate1
    AND ta.TimeByDay < @xDate2
    AND tl.TimesheetStatus IN (
    SELECT ParamValues
    FROM @ParamTable
    AND ta.ActualWorkBillable > 0
    GROUP BY ...
    ) TimesheetActual
    FULL JOIN (
    SELECT ruv.ResourceUID
    ,puv.ProjectUID
    ,ruv.ResourceName
    ,puv.projectname AS ProjectName
    ,ruv.RBS AS [RBS]
    ,Sum(abduv.AssignmentWork) AS [PlannedWork]
    ,DATEPART(year, abduv.TimeByDay) AS [Year]
    ,DATEPART(month, abduv.TimeByDay) AS [Month]
    ,DATENAME(month, DATEADD(month, DATEPART(month, abduv.TimeByDay), - 1)) AS [MonthName]
    ,ruv.ResourceIsGeneric
    ,puv.[Project Status] AS [ProjectStatus]
    FROM dbo.MSP_EpmResource_UserView ruv
    INNER JOIN dbo.MSP_EpmAssignment_UserView auv
    INNER JOIN dbo.MSP_EpmAssignmentByDay_UserView abduv
    ON auv.AssignmentUID = abduv.AssignmentUID
    AND auv.ProjectUID = abduv.ProjectUID
    ON ruv.ResourceUID = auv.ResourceUID INNER JOIN dbo.MSP_EpmProject_UserView puv
    ON auv.ProjectUID = puv.ProjectUID
    AND abduv.ProjectUID = puv.ProjectUID INNER JOIN dbo.MSP_TimeByDay_OlapView tbdov
    ON abduv.TimeByDay = tbdov.TimeByDay WHERE abduv.TimeByDay >= @xDate1
    AND abduv.TimeByDay < @xDate2
    AND ruv.ResourceName <> 'Unassigned Resource'
    AND ruv.ResourceName IS NOT NULL
    AND abduv.AssignmentWork > 0
    GROUP BY ruv.ResourceUID
    ,puv.ProjectUID
    ,ruv.ResourceName
    ,puv.projectname
    ,ruv.RBS
    ,DATEPART(year, abduv.TimeByDay)
    ,DATEPART(month, abduv.TimeByDay)
    ,ruv.ResourceIsGeneric
    ,puv.[Project Status]
    ) TimesheetPlanned
    ON TimesheetActual.ResourceUID = TimesheetPlanned.ResourceUID
    AND TimesheetActual.[Year] = TimesheetPlanned.[Year]
    AND TimesheetActual.[MonthName] = TimesheetPlanned.[MonthName]

    Hi,
    you pasted just part of your query, e.g. is declaration of @ParamTable missing. Without complete query, it is difficult to see, what you are trying to do.
    Could you please provide complete query?
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Sales order - show total plan costs (from production order) on sales order

    Hi all,
    I have the following question/scenario:
    We create prodction order to collect cost (hours) for a service. There exists also a material master for this service.
    The confirmed hours are posted on the production order and then setteld to the respective sales order (settlement rule SDI).
    What to I have to maintain/customize to show the total plan cost (for the service) on gthe sales order?
    If I check the sales order via VA03 --> environment --> cost report , I can see the planned sales revenue but no planned costs?
    (the actual value flows work so far, postings via settlement or billing document).
    I hope the topic is understandable. Any ideas?
    Thanks in advance.
    Edited by: Butch66 on Sep 27, 2010 7:07 PM
    Edited by: Butch66 on Sep 27, 2010 7:08 PM

    Hi
    Planned costs from prod order can not show on sale order.. Both are 2 separate entities in their own respects
    Unless you calculate sales order cost estimate on your sales order, you cant see planned costs on sale order...
    To calculate sale order cost estimate, make settings in your requirement class...
    1. Go to procurement tab of sale order
    2. See whats the requirement type
    3. Go to IMG > Controlling > Prod cost Contr > Cost Obj Contr > Prod Cost by Sales Order > Control of Requirements
    4. Here you can see mapping of req type to req class....
    5. If you want to have sales order costing and have sales order as CO object inorder to have sales order wise profitability, you should have following settings in Req class...
    >Acct Assignment Category should be E
    >Costing: Either Blank or X
    >Costing Id and Costing Method: As per your requirement
    Regards
    Ajay M

  • Report for extracting the Expiratin date of the material

    Hi gurus,
    Is there any way We can extract the list of materials with SLED?
    Any standard T code?
    Regards
    Shashi

    Hi Sashi,
    First of I assumes that your materials are Batch Managed.
    Now go to any any of the Transaction where you can execute the report using option of Batch Field.
    For Example MB52, MB51.Go to To MB52 go to Batch Field. Press F4 and use selection criteria
    *Search for Batches with Expiry Date*
    Select required Field like Plant , Material etc and enter you will find list of Materials with Batches and its Expiry Date.
    And if you want to download it then just press right key of mouse, you will find the option for Download this report.
    Regards.
    Dhaval

  • Planned cost in service order does not reflect PO price change

    Dear experts:
    I set up a service order for external processing using control key SM02. I enter the purchasing data e.g. price, vendor, info record. I determine costs and the system calculates the planned cost for purchasing correctly.
    On saving the service order, a PR is automatically created. Then I raise a PO for the PR, and change the PO net price.
    I now return to the service order and determine costs again. However, the system still calculate the planned cost based on the price in the external operation, not the changed PO net price. Only if I remove the price in the external operation and determine costs, will the system calculate the planned cost based on the PO net price.
    I have played around with the Customzing setting for valuaiton variant (transaction OKP8). Changing the strategy sequence for External processing does not seem to make any difference.
    Has anyone encountered this issue before?
    Thank you.
    With regards,
    Dan

    Hi,
    In standard functionality the System will calculate the Planned price from the filed where you maintain the price for that operation.
    The Planned price is PR price only for any order.The PO price is actual price/Market price,Once the GR will be done then the PO price will get update in the Actual cost of the Service order.
    This is standard Functionality,If you want to update the planned price with the PO price then try with User exit to update the price.The field is PKOSTEN for the planned price.
    Regards,
    Raj

  • Report for display the list with details of quantity stock order etc

    Can anybody give the code to display a list with details of quantity stock for specific materials in specific plants or storage locations based on the input values like plant, storage location, material and product hierarchy entered on the selection screen?

    Yes it is possible.
    we can try doing this by user exsits. with one of our client we have added a new tab in MIGO transaction.
    For details on user exsits user below links
    Check out the below links
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    here is the user exit examples..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
    all the user exits for sd
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sd%2buser%2bexits
    Regards

  • How to extract the date and date format from user reponse

    In BOXIR2 WebI, I have one requirement.
    1) My users will change the infoview interface locales as per their geography ( uk, usa, japan, india etc.)
    2) Users will enter/select the date in a date prompt in the locale specified format
    3) Now my requirement is to display the date in "dd-'mon'-yyyy" using the userresponse.
    Please let me know if any one have any workarounds to get the date from any locale and display in the "dd-mon-yyyy" format.

    Hi,
    I think you will have to use the GetLocale() function and base an if off that
    So something like
    To_Date(UserReponse("promptName");if(GetLocale()="en_US";"MM/dd/yyyy";if(GetLocale()="fr_FR";"dd-mm-yyyy";"dd/mm/yyyy")))
    Regards
    Alan

  • Actual costs and Planned Costs

    HI Friends
      I want to know the Main Tables from which i can get the <b>Actual costs and Planned    Costs</b>     for the given Cost element or object number
         I tried with table COEP and i got actual costs up to all cost elements in the given controlling area and in given cost center , but for some cost elements, this tables does not have any entries...
    So is there any other way to get these Actual costs and
    from where i can find the Planned Costs
    Reagrds Rk

    Hi
      I already checked these tables but i didn't get the exact data
      for actual costs i checked COEP but some costs are missing there
      and i could n't find the field BENKZ in coep table
         I am comparing these values with the standard transaction <b>S_ALR_87013611 </b>
      but not getting exact details  in my program
    can you please help me in this regard..
    Does anybody worked on this transaction <b>S_ALR_87013611 </b>, then please explain me the logic how it is getting the actual and planned costs
    Regards Rk
    Message was edited by:
            Rk Pasupuleti

  • Report for production order with actual and target cost for each

    Hi
    Is there any report that gives me the list of all production orders in a month with its respective actual and target costs?
    I can use COOIS to get a list of production orders, then double click on the prod order, then click on goto and then to cost analyis.. but can i avoid going through all this and get a report with the details i need?
    thanks in advance

    Thanks a lot for that.
    I'm a little confused with the columns in the report.
    Which columns should I keep for my requirement? -
    Production Order
    Total Target Cost
    Total Actual Cost
    Total Actual Qty
    Total Target Qty
    Thanks

  • PWA 2010 timesheet: 2 different colors for the rows "Actual " and "Planned

    Hello,
    To make timesheet easier to read and fill, is it possible to have 2 different colors for the rows “Actual “ and “Planned”?
    Thanks,
    soudha

    Hello Soudha,
    By default the timesheet grid shows the cells in white color. But if you have little coding skills or a developer at your end, you can try this using "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\JsGrid.js" java
    script file.
    You may have to modify it but I recommend to take a backup of the file and test in your test environment first.
    Happy troubleshooting.....
    Vikram Daruru - MSFT

  • Rolling forecase for Actual and Plan

    Hi
    Iam working on Rolling Forecast for Actual and Plan report.. My Planning here is Quaterly based so for example say we plan it on April so the months after april (May - Dec) would be Planning. So when my month keeps on moving the forecase also moves..
    So can you please guys help me to get out of this with an solution..
    Thanks

    Hi,
    If you are using BI-IP for your scenario of forecasting then you can refer to the below links for forecatsing strategies.
    http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    for forecasting strategies
    http://help.sap.com/saphelp_nw70/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    If you are using SEM-BPS you can consult these links:
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Forecast (old)
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Forecast(Exit)
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm
    Regards,
    Priyanka Singh

  • How to add "Cost Plan Version" and "Planned Cost" into CNE5 report?

    Hi,
    I would like to display Cost Plan Version(VERSN) and Planned Cost in the CNE5 report.
    How to retrieve Planned Cost that based on the Cost Plan Version ?
    Appreciate helps. Thanks.
    Regards,
    See Mun

    Plan versions:   A plan version is created in accounting and stores different cost plans for a project, such as an "optimistic" and a "pessimistic" plan.
    Now coming to plan version 0 is verson where actaul cost is updated in your organisation.
    Plan version 1 is used for the planning...
    How to see the  same in CJE5 is suggested by Virendra..
    However there is no filed name planned cost  in report but the name of the filed is Proj.cost sched.000
    with which you can achieve your result.
    path is run txn CJE5>give your Project no.> F8> in new screen> F5-->in new Window scroll down in the  right side for the Proj.cost sched.000 filed > with select take the same to left side>Enter--> values will displyed for this field in your report.
    similarly you can use the other fields as well... take help of F4, to know the meaning of fileds.
    Regards
    Nitin
    Edited by: Nitin  Patoliya on Jan 17, 2009 11:18 AM

  • Actual and Plan Reporting

    Hey guys,
    as I am familiar with the Query Designer, I'm looking for a way, to select dimension members on rows. Anyway, I don't now how to achieve the following selections:
    ACTUAL / APR.2008  --  ACTUAL / MAY.2008  --  ACTUAL / JUN.2008  --  PLAN / JUL.2009  --  PLAN / AUG.2009  -- PLAN / SEP.2009  --
    I don't know how to achieve. I can select mimbers 2008 and 2009, and ACTUAL and PLAN...but then the cartesian product is shown.
    How to achieve the above mentioned structure?
    So far...
    Christian

    Christian,
       If  this  is  a static  report...in the  sense  that, you  do not  want  to have your  plan and  actual  categories to  move  with  time...i.e  next month  in Aug  , you  do  not want  your  actual  till  july  and  rest  as  plan....
    this  shld  be  achievable by  hard coding  the  values  of your  categories...
    1)when  you open your  evdre ..and  click  on the column headings plan/actual..you see  a  EVCVW()  formula...telling  you  tht  it  is being  pulled  from  current  view....delete  that  formula  and  hard  code  the  value  to  Actual/plan...  and  make  your  colkeyrange  NOEXPAND.
    But  if the  above  situation is  not your  case,  and  you  need  a  rolling  forecast  scenario...then one of  the  ways  to  achieve  this  is with  excel  functionality...  as  previously  pointed  by  subramaniam.... you  have  to   use  the  now ()  functionality  to  get  the  month and  year  and  concatenate these (TEXT(NOW(),"mmm") " "YEAR(NOW()))...
    and  based  on the  current  month  you  have to  define  the categories  Actual  and  plans  and  these  have  to  be  maintained   in your  excel...and  once you  have  your column  headers  right  and have the  colkeyexpansion locked with  noexpand....you  shld  be  set...
    hope this  helps...
    Edited by: Vishal Mahawadhi on Jul 7, 2009 10:11 AM

  • Why we use different clearing account for GR/IR and planned cost clearing a

    My client ask for using same account for GR/IR account and all planned cost clearing account.
    i try to convince it should be different accounts but he needs a logical answer.
    Why we use different clearing account for GR/IR and planned cost clearing accounts?

    Dear friend.
    u just tell him while doing GR it will debited n  while doing IR it should get credited.hence we  need to take diff G/L account or same account.
    regds
    nasir

  • I can't extract the msi and files from the 11.0.02.exe it is asking for a password!

    I can't extract the msi and files from the 11.0.02.exe it is asking for a password!!!!  Help

    From where did you download the exe?
    How exactly are you trying to extract it?

Maybe you are looking for