Calcualtion of Material cost  for custom  program

Hello all
For a particular cost estimate we need to calacualte only the material cost in that particular material
and thi swe required for all the material
i had checked all the costing related table but not able to do tha
kindly help
anil

Hello
For get the only material cost for a standard cost estimate run material
you hav eto use a standard BAPI and no need to write a full program to calcualte the cost.
BY this badi you will get all the data only you have to get the report in required foramt.
The BAPI is BAPI_COSTESTIMATE_GETEXPLOSION
thanks
alok

Similar Messages

  • Break up of raw material cost for released finished materials

    Hi All,
    I have searched various threads before posting this question.
    Is there any standard report available to view the breakup of raw material cost for a release finished material.
    I have cost component split report but it shows everything in raw materials.... is there any report to show a break up of this raw materials cost.
    If there is no standard report can you please how I should develop a customized report.
    Thanks,
    Srini

    Dear Srinivas,
    You will get the cost breakup in the following report:
    CK84_99 - Itemization
    CK86_99 - Costed Multilevel BOM
    CK80_99 - Cost Components
    You will get the same information in CK13N
    From the standard SAP,  no report will show breakup for all the materials in single report at a time.
    We have developed the report through ABAP functionality
    Regards,
    Pavan Kumar Arvapally

  • GOS(Generic Object Services) for Custom program ?

    Hi All,
    My requirement is to have GOS option to attach document for Custom program against each record.
    Do anybody have faced the same kind of requirement,please let me know how to do.
    Bharathi.J

    Hi Bharathi
    i to got the same requirement
    through manually im attaching the files,notes and URL's
    but how to attach through any class
    i use CL_GOS_DOCUMENT_SERVICE in that
    CREATE_ATTACHMENT method
    but it is not attaching the files to my GOS menu
    can u  help me
    Thanks
    Surendra

  • Planned costs for investment program

    I am having a problem configuring planned costs for inv program positions, which should reflect as the planned cost for the investment measure being created.
    Appropriation request is being used in the scenario to create measures automatically. these measures will require to have the same plan values as the position to which they are assigned.
    Please help.

    The Measure is the cost collector through which spending will be controlled & measured, which is a key integration object with IM.
    WBS Elements are the collectors associated with PS, whereas IO’s are cost collectors found in the CO module.
    The Measure is always assigned to the lowest program position within IM. Program Position is found on Investment Program Hierarchy at its lowest level which may relate to a capital project or project component.
    Hence accordingly the appropriation request serves as a tool to plan the spending and which is therefore upon approval becomes the Measure for the IO or WBS.

  • How can I determine material costs for a sales order

    We are using 11.5.10..2
    For sales orders that have shipped and details of which are stored in OE_ORDER_HEADERS_ALL, OE_ORDER_LINES_ALL and WSH_DELIVERY_DETAILS,
    I would like to determine the material costs that have been incurred for that order.
    I am guessing I will have to find the WIP order that has been created in response to that sales order and find the material costs for that WIP order.
    However, I am not sure which tables should I look at in WIP or Costing
    I would appreciate some hints i.e. the tables that could have this information.
    Regards
    Manav
    Any help on the above question would be appreciated.
    Edited by: manav_purohit on Jan 7, 2009 2:52 PM

    If this is not too late:
    If you have cost elements then you can use this.
    select .....
    where
    mtl_material_transactions.txn_source_line_id=oe_order_lines_all.line_Id
    and mtl_material_transactions.transaction_type_Id=33
    and mtll_material_transactions.transaction_id=MTL_CST_TXN_COST_DETAILS.transaction_id
    and oe_order_lines_all.line_id=&your_line_Id
    and MTL_CST_TXN_COST_DETAILS.cost_element_id=&your_element_Id_for_material;
    if you do not need cost elements
    you can just use mtl_material_transactions.transaction_cost to get that transaction's cost.
    Thanks
    Nagamohan

  • How to See logs for custom programs from without the logviewer in NWA

    Hello Experts,
    The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
    Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
    Thanks
    Jibin.

    Hello Jibin,
    Your developers should familiarize themselves with the Logging Framework of the J2EE Engine.
    Here is the guide:
    http://help.sap.com/saphelp_nw04/helpdata/EN/a2/15ab41d60bcb46e10000000a155106/frameset.htm
    If they use the Logging Framework you would be able to access the logs through NWA.
    Regards,
    Ventsi Tsachev
    Technology Development Support (J2EE Engine)
    SAP Labs, Palo Alto, Ca (USA)

  • See logs for custom programs from without the logviewer in NWA

    Hello Experts,
    The JavaAS developers want to see the logs for their custom programs from without the logviewer in NWA.
    Do you have any experience or know of any reference materials to instruct them on where to write their logs, and how to configure NWA to see them?
    Thanks
    Jibin.

    Hello,
    Via NWA I am not sure it is possible without logviewer, but via Portal you can if you are able to create an application with help of NWDS which will read log from OS level (need to provide path for default trace in your application) show on frontend.
    Then deploy this on portal.
    Regards,
    Abhay

  • Auth grp for custom program

    Hi,
    I have an custom program which i need to secure by auth group so i went to RSCSAUTH then i kept some auth grp...eg;- say "FI" under auth grp column....before this i did not create any auth grp named: FI any where in the system......
    so my question is by doing this is considered as creation and assignment of auth grp to this custom program ???
    and if i do this in dev then how come this piece carried to production.
    Thanks,
    Lisa Pl

    The field is however not limited to 4 characters, RSCSAUTH is protected by 7.
    As you would hopefully develop and assign Auth Groups to programs in your development system, it does not make sense (to me) that the defined Auth Groups of the concept are necesarily known to the Prod system, as the role(s) for the report / transaction should be created / changed from the same source, ideally. So transporting the Groups themselves is only usefull if you are, for example, protecting programs or queries or report trees in production which are also maintained there. Transporting the program itself with the assigned TRDIR-SECU entry is not hindered (unless there is some feature of the STMS which does this - for example the production system is the domain controller).
    You can assign the auth group in Production as well with RSCSAUTH, subject to having the correct authorization for it. But you should restrict that very carefully and take care with your client settings...
    Other similar topics are changing menus in production.
    Cheers,
    Julius
    PS: If the reason for your question is because of protecting the prgram to run online, then perhaps a simple SY-BATCH... check in the program is another (additional) option. S_PROGRAM P_ACTION = 'BTCSUMBIT' as well.
    Edited by: Julius Bussche on Apr 20, 2008 8:58 PM

  • SPAU for Custom program.

    Hello,
    I am new to Upgrade project.
    Is it required to adjust a customer program (z or y programs) using SPAU. If yes, please let us know why we need to adjust a custom program...
    Any documentation on SPAU would be appreciated.
    Kind Regards,
    Abhishek.

    Question on SPAU and SPDD.
    You have to aware of all related program like BDC's , Screens related errors and all dictionary related problems.
    Some function modules may become obsolete, and some screens will change
    abnd some new fields will be added in the new versions etc.
    Also take care of SPAU and SPDD tcodes.
    You should be able to know about Unicode concept in sap.
    Upgrading within a new version of SAP R/3 :
    The upgrade process for the SAP R/3 application does not modify any of the adapter's ABAP development, but it may modify the SAP R/3 application so that some of the adapter's ABAP development does not work properly.
    This section describes how to upgrade the adapter's ABAP development in an upgraded SAP R/3 application. Before you can upgrade the adapter, you must have already upgraded your SAP R/3 application.
    To upgrade the adapter's ABAP development:
    Install the latest ABAP Extension Module transport files for the correct version of the SAP R/3 application.
    You must install the correct version-specific transport files. For details on installing these transport files, see Connector transport file installation.
    Compile all programs and resolve syntax errors associated with the ABAP development.
    The easiest way to find syntax errors is to generate each function group associated with each object and fix the errors one at time. Repeat this process until all function groups compile successfully. Be sure to generate any other programs such as triggering programs that are not associated with a function group. Be aware that minor updates may need to be made to your ABAP triggering programs after applying the required new transports to upgrade the adapter.
    If you are upgrading to SAP R/3 version 4.x, note that the 4.x ABAP handlers use the product namespace /CWLD/. For special considerations for upgrading to the connector supporting SAP R/3 version 4.x, see Connector for SAP R/3.
    Test the new environment and make modifications as needed.
    Only a full system test enables you to work out any problems with the upgrade. Test your event detection mechanisms by running the appropriate transaction or program and sending business objects to the SAP system. Use the connector's log within the SAP system to help identify other issues.
    chk this
    http://www.thespot4sap.com/upgrade_guide_v2.pdf#search=%22upGRADE%20STEPS%20-%20SAP%22
    also chk these 2 notes in service.sap.com
    Technical Upgrade is only a version upgrade without any functionality changes.
    The objects that are needed to be upgraded are:
    Includes
    Function Groups / Function Modules
    Programs / Reports
    OSS Notes
    SAP Repository Objects
    SAP Data Dictionary Objects
    Domains, Data Elements
    Tables, Structures and Views
    Module Pools, Sub Routine pools
    BDC Programs
    Print Programs
    SAP Scripts, Screens
    User Exits
    You can refer to the below links for more information on technical upgrade:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/07/upgradeFROMR3TOmySAPERP-PARTII&
    https://wiki.sdn.sap.com/wiki/display/profile/UPGRADEFROMR3TOmySAPERP-PARTIII
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/6d66647d9011d396b60000e82de14a/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca
    Refer to these related threads
    Re: Role of ABAP Developer in Upgrade Projects
    ABAP developer part in an upgrade project
    wht abt the tcodes SPDD & SPAU
    please reward if useful
    Murali poli

  • SWI2_ADM1 : Without agents workflow for custom program

    Hi,
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and display error work items list in the output.
    kindly suggest me how to write the custom program.
    Thanks & regards,
    Bala.

    Hi,
    I think you have a two requirement.
    I have a requirement for without agent to make automatic Custom program to run background daily-basis
    and also execute rules(we have different client in the same server) and
    For this purpose please follow the below steps.
    1. Get all the dialog workitems from table SWWWIHEAD where WI_TYPE = 'W' , WI_STAT = 'READY' and WI_CD = current date.
    2. Now this dialog workitems are with agent and without agents. Now you need to filter them.
    3. use FM SAP_WAPI_GET_WI_AGENTS/RH_SWWUSERWI_READ_FOR_WI to find the agents of the dialog workitem.
        FM SAP_WAPI_GET_WI_AGENTS will return workitem list those have agents. FM RH_SWWUSERWI_READ_FOR_WI  will return
        initial  if the workitem does not have any agents. I would recommond you to use  SAP_WAPI_GET_WI_AGENTS. So you can filter them
        by using the above FM
    4. Submit the report RSWIWILS with the workitem ( without agents ) to execute agent rules
    display error work items list in the output.
    Use FM SAP_WAPI_WORKITEMS_BY_ERROR to get the list of workitem or select workitems from table SWWWIHEAD where, WI_STAT = 'ERROR' and WI_CD = current date.
    Hoping that this can help you.
    Thanks and regards,
    SNJY

  • How to get report for cost estimates material cost only

    Hi Gurus,
    We have requirement in sales order costing that we need to develope report which shows only Material cost for all BOM levels.
    Normally at lower levels cost of Material and activity cost will be treated as Material cost for next level. Here I want to consider only material cost not activity cost at lower levels
    Pls suggest the logic and tables for exploding BOM and fetching material cost only.
    Thanks
    Sneha

    Sneha
    If you tick the "Roll up" indicatorfor each cost component  in Cost Comp Str OKTZ, then overheads do  not get added to the material cost... This is my understanding about it.. Is it behaving some thing different in your case??
    br, Ajay M

  • FREIGHT COST TO BE ADDED TO MATERIAL VALUE FOR PRICE CONTROL"S"

    hi,
    How to add the frieght cost to  material cost for the materials with "S" price control While doing MIGO ?
    Edited by: ARITRA MUKHERJEE on Mar 3, 2010 5:07 PM

    Hi
    By stating Price control Indicator  S ,it means that you are valuating your inventory at a standard or Fixed price (As maintainred in the Material master ).Hence your Inventory will be valuated at the standard price no matter what additional expenses you incur
    Regards
    Sandeep

  • Exit for Material Costing CK11N

    Hello Experts ,
    I used Function exit EXIT_SAPLCK21_002 for material costing for CK11N .
    Its giving wrong value in valuation and effected in wrong Cost element or GL .
    please suggest me which parameter shoul i used to get correct value and affected in
    correct GL .
    Becuase when i enter fixed value opf EXP_PRICE_COMPONENTS_TABLE then five different value and wittout this then different .
    Thanks
    Gaurav sharma

    Hello ,
    How can get Material no which we enter on intial screen of CK11N in Exit EXIT_SAPLCK21_002 ?
    Is there any enhancement for that ?
    Thanks & Regards
    Gaurav Sharma

  • How to Update material cost of user defined org specific cost type

    Hi,
    We need to update material cost sub elements of an item for an org specific and user defined cost type.
    I have inserted a sample row in the CST_ITEM_CST_DTLS_INTERFACE, and running open interface 'Mass Update Material Costs', but the program is not at all processing the rows, the Process_flag remains 1.
    insert into cst_item_cst_dtls_interface
    (inventory_item_id,
    organization_id,
    resource_id,
    usage_rate_or_amount,
    cost_element_ID,
    Process_Flag ,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by
    values
    (96023,
    343,
    52538,
    0.00208012,
    1,
    1,
    sysdate,
    fnd_global.user_id,
    sysdate,
    fnd_global.user_id
    Can someone help me out with this, thanks.
    Regards
    Dasu

    I think there is some confusion.
    "Mass Edit Material Costs" program is used to apply new activity rates to item costs. For this, you don't have to insert records in the interface. You have to define/update the new activity rates using screen.
    To process records in the cost interface tables, you have to run the "Cost Import Process" program.
    For more details, refer to http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/cst/settas06.htm
    Hope this answers your question
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant

  • How to include Material Cost in the SD report

    Hi,
    I am working on Cube 0SD_C03 for the Sales and Distribution Report "Sales Contribution - Product Wise u2013 KPI" where I have to show the following information which are given below.
    1. Total Sales Qty.
    2. Total Sales Value
    3. Total Material Cost
    For third one I do not know how to include this in this SD report.
    so please tell me about this if anybody has idea about this?

    Hi Francisco,
    Note:
    your xml should only have
    <URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
    Show me your sample XML , i can help you.
    What is your expected output ? PDF or HTML ?
    here it is.
    option1:
    If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
    a. insert hyperlink from word menu
    b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
    c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
    where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
    option2:
    create a form field, you can add it
    <fo:basic-link external-destination="http://www.google..com">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link external-destination="{ELEMENT_NAME}">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link>
    <xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
    </xsl:attribute>
           <xsl:value-of select="LINK_NAME"/>
    </fo:basic-link>

Maybe you are looking for