Code for calculating variance between plan and actual in Co module

Hi Abbapers,
I have to develop a  2 fresh report : One for calculating the variance for the Plan/Actual in controlling and second for sales variance for the month Jan to Dec .
I need your help as I have to complete this reports in this week . Its Bit urgent.
Can you please help me with the sample code or any of the similar report which you might have created as I am bit new in ABAP. Please reply asap.
Thanks in advance!
Best Regards.

Hi Deepak,
For Finished Goods materials  if you assigned Price control  V (Moving Average) it is irrelevant  to run the Standard Cost Estimation.
My earlier client we don't have variance because of the Moving Average Price for Finished Goods.
Please check, It is really required Variance??  If it is required check whether variance key is automatically assigned to Process order or not. (Control Tab)
Ravi Polampalli

Similar Messages

  • Variance key for calculating variance between planned price and actual cost

    Hello CO Experts,
    I am not following standard cost estimate. I am using price control V for FG. Now I did all the process:
    1. Process Order creation
    2. Process Order confirmation
    3. Template Execution
    4. Process Order revaluation
    5. Process Order - TECO.
    Now when I am running KKS2 (Variance), system is giving following error:
    Only remaining var. in version 0 - no target costs for 000001000047
    It means system is searching target cost in process order. However, since I didn't executed standard cost, system will populate target cost. Hence my requirement is that the system should calculate variance with respect to planned cost.
    Also I have assigned variance key to target version  1. In that assignment, I have selected "planned / preliminary cost"  in target cost section.
    When I am running KKS2 (variance analysis), system is calculating for both versions. Because of this, it is giving error. There is no input parameter, where I can give specific version.
    Please help

    Hi Deepak,
    For Finished Goods materials  if you assigned Price control  V (Moving Average) it is irrelevant  to run the Standard Cost Estimation.
    My earlier client we don't have variance because of the Moving Average Price for Finished Goods.
    Please check, It is really required Variance??  If it is required check whether variance key is automatically assigned to Process order or not. (Control Tab)
    Ravi Polampalli

  • Report for date variances between delivery and goods receipt date

    dear guru ,
    i search a standard report for date variances between delivery date in the purchase order and the goods receipt date.
    Do you help me ?
    Thanks

    Hi,
    Use Report ME80FN and here check the delivery schedule option in output screen.

  • Function Module for calculating hours between dates and their times.

    Hi all,
    Is there any standard function module for calculating the time difference in hours between two dates with start and end times.
    Regards,
    Sudipto.

    Sudipto,
    How're you ????????????????????
    Check out the following Function Module:
    SD_DATETIME_DIFFERENCE (Give the difference in Days and Time for 2 dates)
    Regards,
    Abir
    Don't forget to award Points *

  • Function module for calculating planned and actual cost of production order

    Hi ,
    Do we have any standard function module for calculating planned and actual cost for production order?
    i need to implement this in a Z-report.
    Thanks
    Srini

    Hi,
    try below function module
    CRMCO_GET_PLAN_ACTUAL_COSTS
    CO_IH_GET_PLANNED_COSTS_TOTAL
    Regards,
    Sankaran

  • How can i get difference in base plan and actual/current plan for a project

    Hi PS Experts,
    How can i get difference in base plan and actual plan .
    For example-
    Project1 is created for 10 days (start and end date difference).
    Now in between -project is extended/changed for 12 days .
    What is the way to get 2 days as a difference in base plan and current plan.
    Thanks
    Suraj prakash

    Hi Suraj,
    You can follow a convention that -
    (1) Forecast Start/Finish dates: Used only for Primary planning, once initial planning is done you should not change these dates.
    Now, you will copy the same dates in Basic Start/Finish dates also.
    (2) Basic Start/Finish dates: Whatever changes are done after the initial planning, you will make the changes only in Basic Start/Finish dates.
    So, in Project Planning board, if you enable Forecast and Basic dates with different color coding, you can clearly see the variation in the Project schedule.
    Hope this helps.

  • Is there standard report for planned and actual devlivery date?

    Hi Guru,
    Could you help me to find standard report to compare planned delivery date in PO and actual delivery date (GR Posting date)?
    I wonder, Is there standard report for planned and actual delivery date?
    or I have to create a customizing report.
    Thank you very much.

    hi
    i dont think it is possible to see both in one pan so try to create some Z report
    u try ME80fn here u have to change the views ,in del shedule view u can see the delivery dtae and in PO histry view u can see the posting date
    regards
    kunal

  • Best practice for Plan and actual data

    Hello, what is the best practice for Plan and actual data?  should they both be in the same app or different?
    Thanks.

    Hi Zack,
    It will be easier for you to maintain the data in a single application. Every application needs to have the category dimension, mandatorily. So, you can use this dimension to maintain the actual and plan data.
    Hope this helps.

  • Planned and actual consumption for each confirmation

    Dear All,
    There is a production order. it has two operations. i have made three confirmations of each operation for that order. now i want to see the planned and actual consumption for each confirmation. how is it possible.
    However i know that on order we can see planned and actual consumption but it is for total order but i want to see planned and actual consumption for each confirmation. Actually client wants that on 2nd confirmation what is planned consumption and what they consumed on actual. thanks

    Hi,
            In standard SAP this type of report not be there, but u can make it by using BOM,Confirmation table, & material document table.
    Use AFRU to get posted document no for confirmation & detail by joining it with MSEG by mblnr & MAZHR.
    now u get plan component qty by using mast & stpo if ur bom not changed in Production order , if in order component may be change then use afko & resb table & by comparing base qty or order qty & confirmation qty get plan component qty for confirmation.
    Thanks
    Rakesh

  • Table for Production order planned and Actual cost

    Hi Experts,
    Can anybody please tell me the name of table where Production order planned and Actual cost gets saved ?
    Thanks in advance.
    Regards,
    Bijay

    Table COEP
    don't forget the points

  • Bar chart(Ghantt chart) for Plan and actual of production order

    I want to know that any standard Ghantt chart (Bar chart) is available to view the plan and actual qty, execution start and finish time of production order.
    In CO01/02/03 it shows only the planned execution time in Ghantt chart,but it doesnot show the actuals.

    CM07 gives about the information of capacity allocation. It will not show the actual execution from date and to date.
    I want to see the Planned from period to to-period and actual also in bar chart form.

  • Plan and Actual at WBS Elements without activities

    Hi Experts,
      I am in need of a small help from you. My scenario is like this:
    I have equipments/material as WBS Elements( Level1,2...). I have no activities/materials.
    I planned the costs using CJ40 and Budgeted using CJ30 and confirmed all the WBS Elements by entering actual dates for the same.
    Now i want to see planned/actuals costs in report. When i checked in one standard report it is showing 0 for both planned and actuals.
    I also want to have a brief step-by step procedure for Project with only WBS Elements, i.e., from Initiation to Settlement.
    Can anyone please help me in this regard.
    Thanks in advance.
    Regards,
    Suresh.D.

    The following is in answer to
    "I also want to have a brief step-by step procedure for Project with only WBS Elements, i.e., from Initiation to Settlement."
    Most probable scenario would consist of following steps
    Create PDef - Create WBS (either copying from template or manually) - Plan costs - Roll up planned costs - Budget (at top level) - Budget distribute - budget Release - WBS release - Post actual costs - run cost / revenue variance report - settle costs against the WBS - TECO project - Close Project.
    I believe I haven't missed on any important aspect.
    Would appreciate inputs from others in this effort.
    Hope this information was useful.
    Regards,
    Pradyumna

  • What r the trns code for maintenance view, help view and projection view

    hi all
    what r the transaction code for maintenance view, help view and projection view
    can anyone tell me how to create maitenance, help and projection view.
    with an example
    regs
    hari

    <b>What is the Different Types and Usage of Views
    The followings are different types of views:</b>
    - <b>Database View   (SE11)</b>
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. 
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - <b>Help View    ( SE54)</b>
    Help views are used to output additional information when the online help system is called. 
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view. 
    -<b> Projection View  (SE11)</b>
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    <b>- Maintenance View   ( SE54 )</b>
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    reward   points if it is usefull...
    Girish

  • If stock variance between books and physical stockin sap what we will do

    Hi,
    plz  any body explain for this  questions
    1.if the price variance between gr and invoice in this case what we have to do
    2.if stock variance as per  books and physical stock in this case what we have to do
    thanks
    bye

    Hi,
    Pls. see following for your query.
    1)if the price variance between gr and invoice in this case what we have to do
    Maintain Account Assignment for FI-MM integration with T Code OBYC.  Select Transaction PRD and maintain GL Account for Price Difference for the Chart of Account.  This account will be posted for the difference between GR and Invoice.
    2) if stock variance as per books and physical stock in this case what we have to do
    There is a process called Physical Inventory.
    T Code MI01 - To enter Physical Count of the Material.
    T Code MI07 - To post the difference between the system stock in SAP and the Physical Count of the stock to get the stock in system matching with SAP.
    Usually, the material is blocked for the posting during the process of Physical Count to avoid any posting of material for which physical issue or receipt is yet to happen for better reconciliation.
    Hope this helps.  If helpful, reward suitable points.
    Regards
    Chirag

  • How to differentiate b/w Plan and actual data

    Hi,
    How to differentiate b/w plan nad actual data.
    Is that value type or Version InfoObject??
    What should be the value for that and how it gets populated ??
    Regards,

    Hello Tapan,
    The plan and actual data is differentiated on the basis of value of infoobject 0VTYPE. Value 10 is for actual. Different plan versions can be differentiated by different values of infoobject 0VERSION.
    These values are populated when actual data is loaded or plan data is entered.
    Hope it helps.
    Regards,
    Praveen

Maybe you are looking for

  • SRM Installation in Laptop

    Dear Sap Gurus, I have installed SRM 5.0 in my laptop, whose configuration is 2GB Ram and 160GB Harddisk. My friends told me that i need to connect SAP R/3 to the SRM server and moreover i need to connect to Internet. Please inform me, what should i

  • Need help with formulae

    Post Author: Charles Denight CA Forum: Formula I work for a Tribal casino and I'm using CR to analyze play, using revenue figures we call theoretical win (Twin) and cash in. Both measure currency.  I'm new to this. I'm making a lot of customer lists

  • Cannot run "Publish PL/SQL as a Web Service" example

    Hello! I have Oracle 8.1.7 AS and 9i JDeveloper running on Windows 2000. I'm trying to run the "Publish PL/SQL as a Web Service" example, but am encountering errors I believe are related to my hostname/IP address/DNS entry. Of course, I could be wron

  • Difference between .qt and .mov

    Hi all Please tell me what is the difference between .qt and .mov formats and when and where they are used. Also if there are any more formats related to Quick Time please brief or any links to any reference sections... thanks

  • I cannot print pages displayed by firefox, the printing just hangs when I go to File--- Print and press print.

    If I want to print a page displayed by Firefox, I do the usual, I go to file, choose Print and press Print on the print window. Then the printer just hang, nothing happens. No problem with MSN, Word, WordPerfect, Yahoo, etc Thanks for your help.