Need BAPI to get Actual, Plan, Variance by Production Order

Hi Experts,
I need to get variance, Plan, and actual cost (material cost) by Production Order. Does SAP has BAPI to do this?
Best Reguard

For costing report, you have to read the following tables: based on material Qty/value/ Machine rate and machine posting date , machine rate ( T-code kp26)  and also types of material Raw, finished and semi finished ..
AFRU ,AFPO,AFKO,AFVV,AFVC,CAUFV FOR PRODUCTION ORDER.
For material calculation MARA, MSEG and MKPF as well as MAKT...
Hope this’ll help you .
Thanks

Similar Messages

  • BAPI to get matrial /qty/ bin from production order

    hii All,
    which is the BAPI name to get the  Bin/Material/Qty from production order

    HI,
    try using BAPI_PO_GET_DETAIL(S)
    REWARD IF USEFUL
    vivekanand

  • I Need BAPI to get partners, product, Product category in CRM

    Hi Experts,
    I need bapi to get all partner detials, All product detials, all product category details.
    I found one bapi(BAPI_CRM_PRODUCT_GETLIST) to get product.But we should give the product category as import field. But i need with out any input should generate all product details. These bapi we will use in crm to create Opportunity.
    Please any one help me...........
    Thanks,
    Sunil

    COM_PRODUCT_CATEGORY_CHECK_ALL
    COM_PRODUCT_CATEGORY_API
    COM_PRODCAT_API_GET_PRODUCTS
    COM_PRODUCT_BASE_CATEGORY_READ
    COM_PRODUCT_CATEGORY_API_FREE
    COM_PRODUCT_CATEGORY_GETLIST
    COM_PRODUCT_CATEGORY_F4
    COM_PRODUCT_CATEGORY_APPL_F4
    COM_PRODUCT_CATEGORY_F4
    COM_PRODUCT_CATEGORY_F4_HIERI
    COM_PRODUCT_CATEGORY_F4_PRREF
    COM_BSP_PRODUCT_GUID_GET
    BAPI_CRM_PRODUCT_GETLIST
    BAPI_PPRODUCT_READMULTIPLE
    COM_PRODUCT_CHANGEM
    COM_PRODUCT_CREATEM
    COM_PRODUCT_FREE
    COM_PRODUCT_GUID_GET_INTERNAL
    COM_PRODUCT_MAINTAIN_INIT
    COM_PRODUCT_MAINTAIN_READ
    COM_PRODUCT_MAINT_CHECK_ON_DB
    COM_PRODUCT_READ_MULTIPLE
    COM_PRODUCT_READ_SINGLE
    COM_PRODUCT_READ_SINGLEM
    COM_PRODUCT_READ_VIA_RFC
    COM_PRODUCT_SAVE
    COM_PRODUCT_SAVE_LOCAL_END
    COM_PRODUCT_SAVE_LOCAL_START
    COM_PRODUCT_GET_PARTNER_PROC
    COM_PRODUCT_GET_REFERENCE_PROD
    COM_PRODUCT_GUID_GET
    COM_PRODUCT_HISTORY_GET
    COM_PRODUCT_ID_GET
    COM_PRODUCT_GETLIST
    COM_PRODCAT_API_GET_PRODUCTS
    COM_PRODUCT_BASE_CATEGORY_REA
    COM_PRODUCT_CATEGORY_API_FREE
    COM_PRODUCT_CATEGORY_GETLIST
    COM_PRODUCT_GETDETAIL_API
    COM_PRODUCT_GETDETAIL_INTERNAL
    COM_PRODUCT_GETHISTORY_API
    COM_PRODUCT_MAPPING_MODULE
    COM_PRODUCT_GET_PRODUCT_STATUS
    COM_PRODUCT_GET_SALES_STATUS
    COM_PRODUCT_HANDLE_ARCHIVE
    COM_PRODUCT_HANDLE_RECAT
    COM_PRODUCT_MOBILE_CHANGE_BDOC
    COM_PRODUCT_SET_CHANGED_FIELDS
    COM_PRODUCT_SET_SENDBITS_TASK
    COM_PRODUCT_SET_UPDATE_TYPE
    COM_PRODUCT_VAR_MAP_TO_BDOC
    COM_PRODUCT_CHECK_DELETED
    COM_PRODUCT_MAINTAIN
    COM_PRODUCT_MAINTAIN_GETSTATUS
    COM_PRODUCT_MAINTAIN_GET_CC
    COM_PRODUCT_MAINTAIN_RESSTATUS
    COM_PRODUCT_MAINTAIN_RES_CC
    COM_PRODUCT_MAINTAIN_SETSTATUS
    COM_PRODUCT_MAINTAIN_SET_CC
    COM_PRODUCT_MAINTAIN_STATUS
    COM_PRODUCT_SAVE_DB
    COM_PRODUCT_GET_TABLES
    COM_PRODUCT_UI_GETDETAIL
    CRM_PRODUCT_GETDETAIL_API
    CRM_PRODUCT_GETLIST2
    CRM_WAP_PRODUCT_GET_CATEGORY   Get Hierarchy and Category of a product
    CRM_WAP_PRODUCT_GET_DETAILS    Get ID,descrion,UOM, Price of a product
    CRM_WAP_PRODUCT_GET_LIST       Get product list from  favorit
    CRM_WAP_PRODUCT_GET_PPR        Get the prp product list for a partner
    COM_PRODUCT_GET_CDB_TABLES
    This is all FM Related to Product deatils Fetching..Hope it will help you

  • S_ALR_87013611:  Cost Centers: Actual/Plan/Variance

    Hello everyone,
    I am needing some help in understanding the Cost Centers: Actual/Plan/Variance report S_ALR_87013611.  I understand the basic concept, but I am having trouble figuring out how it comes up with its numbers in the "Total Value in Report Currency" field.
    When I go into the report, a list of cost center groups pop-up on the left-hand side of the screen.  So, I select cost center group 200, then the right-hand side of the screen pulls up  a list of the cost elements and their actual VS planned numbers.  When I scroll down to the bottom of the screen I see a section for "Activity Types", so I double click on activity type A200 "ST Personnel Run Hours" and then I select "Cost Centers: Actual Line items" report.  This is where I am seeing the "Total Value in Report Currency" field that I can not figure out how it is calculating.  The column header for this actually reads "Val.in rep. cur.", I have went into F1 for the help information and it, unfortunately, does not help me what so ever.
    Also, where does it come up with the "Total Quantity"  on the same report?
    I would appreciate any insight into the report. 
    Thanks in advance for all of you help,
    Rhonda

    Hello Madhu,
    I am not seeing a different currency, I just do not understand how it comes up with the result in that column?  Where does it pull the amount from exactly?
    The hr quantity shows .250 hrs and the value in rep.cur. shows 6.06.  Where does the 6.06 come from?
    Any help in understanding this would be greatly appreciated.
    Thank you,
    Rhonda

  • Which data sources I need to use for Actual&Plan comparision of GL Account?

    Could you please let me know which datasources I need to use for Actual & Plan comparision of GL Account data?
    Current SAP BI version is BI 7.0.
    As per my knowledge, I am thinking of using the datasources 0CO_OM_CCA_1 for Plan data & 0FI_GL_10 for Actuals.
    Is this right?
    I have one more question here:
    While extracting the data from ds 0CO_OM_CCA_1, I am getting only the Profit & Loss Account data where as the Balance Sheet Account data is not coming.
    And also there is some confusion in VTYPE because the standard ds 0CO_OM_CCA_1 is giving the data with Value type 10 is & Version 000.
    As we all know the VTYPE '10' stands for Actuals then how can we say that this ds 0CO_OM_CCA_1 gives Plan data?
    Please clarify.

    Hi,
    Basically 0CO_OM_CCA_1 data source is used to extract actual, plan, and commitments.
    This data is differentiated with value type, you can see sap note 523742 for more details on value type.
    For balance sheet accounting data check the below link,
    [http://help.sap.com/saphelp_nw04s/helpdata/en/5d/ac7d8082a27b438b026495593821b1/content.htm]
    Regards,
    Durgesh.

  • Currency in 'Cost Centers: Actual/Plan/Variance' report for specific user

    Hi there CO people, I'd like to ask about currency settings in CO S_ALR_87013611 report (Cost Centers: Actual/Plan/Variance)
    The question is ... where can I define the currency in which report output should be displayed?
    I've got such situation, that amounts for USER_X are displayed in CURR_X currency, whilst for USER_Y amounts in report are displayed in CURR_Y currency.
    Could You tell me some tip? Or give some literature-track to follw? I'd be thankful for help. Greetings. P.

    USER_X -> TCode: RPC0 -> Tab: Report currency -> Tick 'Objeck currency' (Before was: 'Controlling area currency')
    now USER_X has got the same currency as USER_Y
    That solved my problem
    Greetings

  • Do we have any BAPI to get the Sales quote or Sales order details

    Hi Experts,
    Do we have any BAPI to get the sales quote or sales order details from my other SAP system.
    My requirement is to get the sales quote or sales order details from the other SAP system.
    Please help.
    Regards,
    Chitrasen

    Hi Experts,
    Thanks for ur help. The BAPI is BAPI_SALESORDER_GETSTATUS which helps in fetching the sales quote information.
    Thanks,
    Chitrasen

  • How to compare the variances of production order type and get report

    Hello All,
    I want to compare the variances of production order type wise.
    for ex. i want variances of order type PP 01 and PP 02 in a single report.

    Hi Sachin,
    You have to maintain summarization hierarchies to achieve this.
    1. Maintain summarization hierachies with hierarchy level - order type in the t.code.KKR0    
    2. Generate the hierarchy in KKRC
    3. Run the report KKBC_HOE
    Regards,
    Mukthar  

  • Actual Labour Costs against production order

    Hi,
    I am currently getting some production orders with no labour costs coming through. We use Activity Types maintained within Routings to capture the labour cost.
    I have checked that the Activity Type and Routing details are linked correctly. But when i view the cost analysis in the production order the "Total actual Costs" field is blank.
    When i view the "operation" details in the production order and look at the tab "Qty/Activities" i can see the actual labour confirmed in hours but the "Activity Type"field in this tab is empty. I'm assuming that this is why there is no labour cost in the cost analysis view.
    The order has been confirmed correctly and the Activity Type is valid with the correct values. The work centre is maintained in the Routing and the same work centre is used in the production order.
    I would appreciate any help.
    Many Thanks
    Nisar

    There are 3 cost variants in play that calculate labor costs- each with their own rules (ususally very similar)
    there is the Variant for the cost estimate (with qty structure)
    there is a production order PLAN variant
    there is a production order ACTUAL variant
    For the production order the variants are visible on the Control data tab.
    Each of these variants has a "valuation variant" to define the method to caclulate activity
    Questions: 
    in the cost analysis, is the PLAN labor cost empty also?  If yes, then the activity is priced and and the Plan variant is working.
    Does the material have a released cost estimate and a labor component?  if yes then the activity is priced and the std valuation variant is working.
    If you get one or two yeses - someone needs to review the other valuation  variants (OPN2)
    If there are no yes, someone in CO should be reviewing their masterdata, activity pricing and valuation configuration.

  • Expected yield variance in  production order creation

    Dear sir
    pl tellme ,where i have to capture the expected yeld variance.
    for thisbelow given reasion i have to capture the expected yeld variance
    Total confirmation quantity not equal to planned confirmatio.
    The confirmed quantity for this operation is not equal to the planned quantity to be confirmed
    The quantity confirmed until now for this operation is greater that the planned quantity to be confirmed.
    pl tell me
    thanks and regrds
    Baswaraj

    Hi raj,
    At the time of order creation system shows Delivery tolerance in goods receipt tab since you maintained at Material Master level But Expected yield variance will be Zero (System doesn't know how much you are going to confirm).
    After Doing Final confirmation with clear reservations indicator and goods movements, System calculates the difference between actual order quantity and confirmed quantity at operation level in percentage. System updates the same in Production order. In your first order you got 0.2-.   That means based upon operation yield confirmation, your expected yield i.e. GR quantity is 0.2% less than the order quantity. At the time of GR, system proposes the quantity you confirmed at operation level, but not the order quantity.
    Where as coming to second order your conformed quantity is same as your order quantity. Hence system is not showing any expected yield variance in production order.
    Check it with different order quantities.
    Regards,
    Venkat.V
    Note: At the time of operation final confirmation in CO11n, if you select Confirmation Type Final confirmation and the Indicator Clear Open reservations, Irrespective of operation quantity UOM system proposes Expected yield variance in CO02 after conformation.
    Edited by: Venkat V on Nov 13, 2008 10:48 AM

  • Capacity planning and schedulng production order based on availabe capacity

    Hi Gurus,
    I am trying to use capacity planning, when the production order is created it takes the order start date as the requirement date. Then when i do he capaity check it says capaity not available. After finite scheduling again it proposes to shift operations by certain days.
    I need the capity to be check in MRP and the palled orders to have start dates based on aviable capity, currenty all the palled orders are starting on the requirement date irresptive of avaiabe capaity. I tried using finite scheduling option in MD02 still it does not take in to account exsting production orders for giving dates of the planned orders.
    Regards
    Abhi

    Dear Abhishek,
    1) This is Std SAP of MRP, only material Av check will be carried out in MRP & create procurement
    Proposals
    2) Capacities will not Checked  ( consider ) in MRP in Std R/3
    3) Your Need can be only met through APO
    Regards
    Madhu

  • Error while calculating variances for production order

    Hi Gurus,
    while calculating variances for production order i am getting the following error
    "Cannot calculate scrap variances" ( Error message)
    " no standard value estimate for material" (Warning message"
    A standard cost estimate exists for the material at the date mentioned in the error in released status.
    Please give solution for the error.
    Thanks in advance n Regards
    Arul.

    Is there an <b>itemization</b>, generated for the cost estimate used to calculate the target costs?
    Does the material components listed in the BOM of the cost estimate used to calculate the target costs, <b>assigned to the operations</b> in which they are used. Otherwise it is not possible to correctly report the variances and scrap when operations are confirmed.
    Does the order for which the variances are calculated have a valid <b>variance key.</b> ?
    Does the order have the status DLV (delivered) or TECO (technically completed). If the status was withdrawn, any variances and <b>scrap variances are canceled</b>.

  • Report for comparing Variances of production order types

    Hi All,
    I want a report in which i can see variances of production order type wise and can compare that with other types also.
    means my input should be as follows
                1) Company Code/controlling area
                2) Plant
                3) Order type 1
                4) Order type 2 and so on.......
    like wise I want to develop a report.
    I have created summerization hierarchy  but it show order type wise data.
    i want data from multiple order type in a single report.

    Hi Sachin,
    I have attached screenshot for your reference. Please find it.

  • Input Quantity Variance and Input Price Variance for Production Order

    Dear All
    I am running variance program KKS2 for calculating variance of production order. for Activity variances are coming under input price variance and input quantity varinace but for material the variances is now shown separately for quantity and price rather it is shown as variances total amount. Can someone help me in know why material quanitty variance and price variance not shown separately
    Regards

    How does input variance and output varia.nce will be calculated on the settlement of production order after TECO.
    VARIANCE CALCULATION DEPENDS ON CONFIGURATION IN THE FOLLOWING AREAS,
    1) VARIANCE VARIANT -  DETERMINES WHAT VAREIANCE CATEGORIES ARE CALCULATED, E.G MATERIAL PRICE , USAGE, LABOUR RATE , USAGE VARIANCE ETC..
    2) TARGET COST VERSIONS
    3) VALUATION VARIANT FOR WIP  AND SCRAP
    Can we check in KOB3 or COOIS.
    KOB3 -  YES
    COOIS -  CHECK IN COST REPORT

  • A FM or BAPI to update the status of a Production Order

    Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.
    Thank you
    Ernesto

    Hi,
    I believe you can use the FM I_CHANGE_STATUS to update the status..
    where JEST-OBJNR = AUFK-OBJNR
    Thanks,
    Naren

Maybe you are looking for

  • Lenovo T400 screen goes dark issue, some video driver problem

    Lenovo: Motherboard: CPU Type: Mobile DualCore Intel Core 2 Duo P8600, 2400 MHz (9 x 267) Motherboard Chipset:  Intel Cantiga GM45 System Memory: 1992 MB (DDR3 SDRAM) BIOS Type: Phoenix (08/19/08) Display: Video Adapter: Mobile Intel(R) 4 Series Expr

  • Disappointed with Mountain Lion Please Help?

    Ever since i installed OS X Mountain Lion onto my Macbook White (Late 2011) my macbook has been running extremely slow at times my computer freezes and all apps become unresponsive, and i also have an 8GB ram installed, i have also installed the upda

  • DMS issue - backend program

    Hi Experts, I am facing one problem in DMS as not able to create documents from backend(scheduling job - files pick from application server) and getting error message : Error while checking & storing .... but when I tried this from foreground, able t

  • IMAC video difference

    I would like to buy a new iMAC and I am considering the difference between the 128 video card and the 256 video card. What applications would benefit from this upgrade? Would the overall computer display be different? Thanks

  • Which compiler does JDeveloper use?

    When I try to compile (rebuild) a file I get "Fatal Error: compiler internal error". This file compiles just fine when I use javac.exe that came with jdk1.3. I have set up the jdk1.3 as instructed in the JDeveloper 3.2.2 release notes. In an effort t