Sales BOM distribute header cost to the subitems in the invoice

Hi all,
I have next BOM scenario in the invoice:
Header Item   Sales Price: 0     Cost: 20
Subitem 1      Sales Price: 20   Cost: 0
Subitem 2      Sales Price: 20   Cost: 0
I can't move up the Sales Price of the subitems, because they are relevant for the pricing and the invoice.
I'd like to distribute the cost of the header item to their subitems.
It's possible? Perhaps with a routine in the copy control or an alternative calculation type in the Princing Procedure?
What I'd like to get is:
Header Item   Sales Price: 0     Cost: 0
Subitem 1      Sales Price: 20   Cost: 10
Subitem 2      Sales Price: 20   Cost: 10
Thanks in advance

You can use <b>T.code: COOIS </b> if Product Costing has been configured for MTO scenario whcih gives the costing details.
You can also use To.code: <b>KE30</b> if CO-PA implemented.
but if you want to link with billing, Please search for any reports in Sales information system.
One more you can create a ABAP Query Report using T.code: <b>SQVI</b>
Regards,
Anbu

Similar Messages

  • Sales Order Report Showing Cost on the Sales Order & total invoice dollars

    I am looking for a report in SAP that shows you the Sales Order number, the cost on the sales order (NOT the average cost) the actual cost on the sales order detail line and then the total invoice dollars in month to date and year to date?
    Thanks,
    Linda

    You can use <b>T.code: COOIS </b> if Product Costing has been configured for MTO scenario whcih gives the costing details.
    You can also use To.code: <b>KE30</b> if CO-PA implemented.
    but if you want to link with billing, Please search for any reports in Sales information system.
    One more you can create a ABAP Query Report using T.code: <b>SQVI</b>
    Regards,
    Anbu

  • Distributing Actual Costs to the Product Level

    We are using Material Ledger at my client and we have some things such as Freight, Depreciation etc. being added to the standard cost as an additive cost. For the actual values for these is it possible to include this in the ML actual cost without having to go through MR22?
    Thank you

    Hello,
    I think you need to rethink the scenario. Freight should have been added to the material cost at the time of procurement and depreciation should flow from cost centers. Another alternate can be that you post actual freight and depreciation both in cost centers , define activity for them , plan them as well and use formula based planning templates to allocate so that they are build up in the cost estimate as well and in actuals they are actualised through the cost center route.
    Kind Regards // Shaubhik

  • Sales order info and quantity in the invoice accounting document

    Hi,
    When saving the accounting document at sales invoicing time, I do not succeed in retrieving information such as the quantities sold, sales order number,... whereas the field status group for the concerned account is activated (optional) for the field "quantity" and "sales order".
    Moreover, there is a field I would to retrieve the net weight that is displayed in the sales invoice, in my accounting document. Is this possible?
    Thank you for your help,
    Ronan

    Hi Kapil,
    Just commit the data base .Generally when we create any data using fm or bapi it wont commit database. Take the fm and sequentially use another fm if you did this from se37. If you did this from report just commit data base. It will commit data base and create a record. Please close the thread if it is answered.
    Regards,
    Madhu.

  • VAT /CST% manually in the sales order,not getting copied to the Invoice

    Dear Friends,
    If I change the VAT /CST% manually in the sales order,its not getting copied to the Invoice
    Thanks
    Ivy

    Dear Friends,
    Thanks for your valuable inputs....
    I have maintained the condition record for the combination of delivery plant region and the customer  region.......assigned dummy tax code against the Tax condition...therefore I think there wont be any problem in posting billing doc to accounting doc.
    There are different combinations,where sometimes the user is liable for 2% CST ....sometimes 4%CST... but I am able to pick one tax value say 12.5% CST across and maintained the tax condition types - manual entry has priority, as allowed the user to change the value manullay as per the user requirement ....
    Now if i change the Tax condition value in the sales order ,the same is not reflecting in the Invoice....this also is applying from contract to a sales order...
    Please advice me accordingly...
    Thanks
    Ivy

  • Sales Bom explode for ATP subitem

    Hi,
    We have a senario that customer orders parent item, so we input parent item. In sales order, this parent item will go to APO for ATP check. then APT will force to create new subitem in the sales order after ATP check. After new item created, I want sales BOM can be exploded as the subitems of APO confirmed item.
    It seems std SAP dun allow link any subitems to APO subitem. Does anyone has similiar solution to share? Thanks a lot.

    Hi,
    We have a senario that customer orders parent item, so we input parent item. In sales order, this parent item will go to APO for ATP check. then APT will force to create new subitem in the sales order after ATP check. After new item created, I want sales BOM can be exploded as the subitems of APO confirmed item.
    It seems std SAP dun allow link any subitems to APO subitem. Does anyone has similiar solution to share? Thanks a lot.

  • How to transfer sales bom from SAP R/3 to APO?

    Hi Experts,
    I just want to ask how to transfer sales bom from R/3 to APO? if i change my bom usage to 5 and use this BOM in my Production version be enough to send it to APO?
    Also, this is my first time using sales bom, could you please help me understand how sales bom work in APO planning?
    Thanks so much.
    Mylene

    Hi Senthil,
    Thanks again for your reply. I was trying to CIF sales BOM in APO but only the header material are being created in APO. The component are not added in PDS. This is how I create it in SAP R/3:
    1. transaction cs01 -->  enter header material, plant and BOM USAGE =5
    2. inside cs01, i entered components, quantity for each components and ITEM category = L (stock item)
                            i also eneterd base quantity for header material
    3. create production version for header material with routing and this BOM
    4. create and activate material CIF model for header and components
    5. create and activate PDS CIF model for header and components.
    After doing all these steps, PDS is created in APO but I only have the header material (no components)
    I tried changing BOM to other bom usage and components were populated in PDS.
    Am i missing nay steps?  Thanks.
    Regards,
    Mylene

  • Sales bom - parent item

    when i create a sales bom, all the components display as independent items on the picklist. why? and it also does not display the parent item. the picker needs to see this information! how can i make that show up on the picklist? any ideas?

    Hi Gordon,
    I appreciate your mature reply to my critical posting.
    Do you know what the Sales BOM is supposed to be used for? I am not sure how in any possible context can the below make sense:
    1. Currently B1 will deliver components only of a Sales BOM at zero cost
    2. Given sales orders can "expire" (in the sense they can have a cut-off date - typically 30 days by default I think), surely if one doesn't receive the remaining components in time, this would lead to a very awkward situation! What if the remaining component(s) is/are non-purchased item(s)?
    If the above was registered as a program error, fair enough. But they won't register it. any ideas why?
    Although with each version (see below), everything works "as designed" - they keep changing it:
    In 2004A, Sales BOMs were working "as designed" - but P&P manager couldn't be used (parent item was lost when making delivery note)
    In 2005A, Sales BOMs were working "as designed" - same as above - but Assembly BOMs (essentially the same thing) were improved would print off a separate component picking list.
    In 2007A, Sales BOMs are working "as designed" - note, this hasn't officially changed yet - but we now get the parent item in the delivery via P&P
    Our SAP partner was just as surprised at the functionality as we were when we moved ahead with the install a few years ago.
    Please understand, my only issue is the lack of willingness from SAP to recognise the problem at all - and the standard answer of "as designed" even when it is clear there is a problem. If you can help myself and perhaps Prem improve our understanding of the design (especially points 1 and 2 above) I would genuinely be grateful.
    Thanks,
    Raj
    Edited by: Rajiv Agarwalla on Dec 12, 2008 2:24 AM
    Edited by: Rajiv Agarwalla on Dec 12, 2008 2:25 AM

  • Sales BOM per customer

    This might be a strange question but still. We have a customer who ships out pallets and crates to their customers. They want to be able to track these items of course and bill the customers according to the number of items they received. N.B. these items are not returned so returnable packaging is out of the question.
    We are looking at the use of a sales BOM so we can calculate the number of pallets and crates per sales order and delivery based on the number of finished products they ship out and of course create an invoice where these items are listed as part of the delivery with the actual costs. This works quite satisfactory BUT it will only work when either all customers use the sales BOM or all customers do not use the sales BOM.
    What's the problem, as this is a new process, they will not be able to convince all customers to directly pay for pallets and crates that are being shipped out. We are now facing the problem that for part of the customers they want to use a sales BOM and invoice them for the pallets and crates they receive BUT for part of the customers they do not want to invoice them for the pallets and crates they receive. This means that we are looking for a way where we can indicate, per customer, whether to use a sales BOM (ship out and invoice pallets and crates) or not to use a sales BOM (do not logically ship out and invoice pallets and crates).
    Is this possible yes or no? Maybe with a user exit that checks for a specific field in the customer master? We have already defined two sales BOM's per material, one where pallets and crates are used and one without pallets and crates so we could mis-use the alternative sales BOM principle, but we still need a trigger to call either sales BOM.
    Any help would be appreciated.

    Hi Roberto and Biju,
    We looked at both options but neither are workable. Not all warehouses use HUM because not all warehouses are their own warehouses, some are from logistics service providers who have not SAP access, otherwise the problem would be a bit easier, plus the customer does not use packing and will not use packing in the future.
    The dynamic product proposal was a bit more promising but also there, we encounter a problem because we cannot make a calculation on the number of crates and pallets shipped out to a customer, which is one of the requirements.
    The problem still lies in the fact that
    - Customer A does not want a bill for crates and pallets and therefore does not want to see the items on the delivery and the invoice.
    - Customer B does want a bill for crates and pallets and therefore needs a calculation for the number of pallets and crates he received.
    We cannot set a field somewhere that says customer A without these items, customer B with these items and then trigger something else.
    Thanks for the help but we still haven't solved the problem.

  • Sales BOM Table

    Hi ,
    Is there any table , which can give details of Open Sales BOM in System
    Regards,
    Vikas

    Hi
    The BOM tables are as follows:
    MAST---->Material to BOM Link
    STKO -
    >BOM Header
    STAS -
    BOMs - Item Selection
    STPN -
    BOMs - follow-up control
    STPU -
    BOM - sub-item
    STZU -
    Permanent BOM data
    PLMZ -
    Allocation of BOM - items to operations
    MAST -
    Material to BOM link
    KDST -
    Sales order to BOM link

  • Can sales bom contain sales bom?

    Hi,
       Can any tell me in SAP standard can one sales bom's item is another sales bom's header? For example, material code " A" is the header of sales bom, it has 3 component materials: A1, A2,A3. If A3 is another sales bom's header, it has 2 components:B1, B2. Can this suppose support in SAP ?
       When i entry material code "A" in sales order, will it bring out  A1,A2,A3, B1,B2 ?
       Thanks in advance!
    Edited by: Irene Shen on Apr 2, 2008 11:05 AM

    Hi Shen,
             I think you can get your requirement through Multilevel BOM concept.
    Here Iam giving the link about multilevel BOM go through this it may help you.
    http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb7f2f43a311d189ee0000e81ddfac/content.htm
    I hope it will help you
    Regards,
    Murali.

  • Referencing Sales BOM on Contracts

    Hi All,
    I have tried searching but have not found many specifics to answer my question.  We wish to create quantity contracts for sales BOMs which have pricing at the "parent" item and we pick and ship the "child" items.  I have assigned the same item categories we use on sales orders, ZTAH (parent) and ZTAC (child), to the contract order type. 
    I have entered the BOM on the contract and it explodes and prices per usual.  I am able to reference the contract when creating an order for the BOM, such that each line on the order contains the contract document in the referenced field.  However, the BOM on the sales order does not decrement the contract quantity for the "child" items.  I have compared the item category configuration and copy control between ZTAH, ZTAC, and the standard BOM item categories, and don't see what the problem could be.
    Any help is appreciated!
    J

    dear friend,
    please run t-code VTAA for your contract/order types
    and have a look at item details - do you have 'A' in "Copy quantity" field?
    i also recommend to test the fileds "Cont.item copy made" and "Copy product select" (if still doesn't help)
    good luck!
    p.s. in the item category configuration do you have any settings regarding the Bill of Material?

  • Error in Loading Sales Bom

    Hi ..
    When im  loading Sales BOM from Sales Quotation to Invoice with Sales Bom  via SDK , im receiving this error message .
    " Error The complete Sales BOM, not just some of the components, must be copied to an A/R Invoice or a Delivery  [INV1.TreeType][line: 42] " , im basically transfering record by record from  Sales Quotation to Invoice
    But if i used the copy to function to invoice this Sales Quotation , i can be invoice
    I would like to know, whats is reason of this error message?
    thanks
    Loren

    Hi Yatsea
    Thank you for your response,
    Yes i followed some of the documents in the forum on how to add /copy a document to another document . My problem right now, if i will load 2 or more bom items on one invoice,  i receive the same errror "Error The complete Sales BOM, not just some of the components, must be copied to an A/R Invoice or a Delivery http://INV1.TreeTypeline: 42"
    but if a sepate the sales bom on different invoice (1 invoice = 1 Sales BOM) , the transaction goes well ....
    please see code
      start code -
        Private Function CreateInvoiceFromQuotation()
            Dim oInvoice As SAPbobsCOM.Documents
            Dim oSalesQuotation As SAPbobsCOM.Documents
            Dim rsForInvoice As SAPbobsCOM.Recordset ' A recordset object
            Dim rsFrInvDtls As SAPbobsCOM.Recordset ' A recordset object
            Dim oRecordCount As Integer
            Dim rUpdateStatus As SAPbobsCOM.Recordset
            Dim SQLStr As String
            Try
                rsForInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                SQLStr = "SELECT OQUT.DocEntry,OQUT.DocDate, OQUT.DocDueDate, OQUT.CardCode, OQUT.NumAtCard, OQUT.Comments "
                SQLStr = SQLStr & "FROM [@TDOCPROC] INNER JOIN OQUT ON [@TDOCPROC].U_DocEntry = OQUT.DocEntry"
                rsForInvoice.DoQuery(SQLStr)
                oRecordCount = rsForInvoice.RecordCount
                Do While rsForInvoice.EoF = False
                    'oCompany.StartTransaction()
                    oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                    oInvoice.CardCode = rsForInvoice.Fields.Item("CardCode").Value
                    oInvoice.DocDate = rsForInvoice.Fields.Item("DocDate").Value
                    oInvoice.DocDueDate = rsForInvoice.Fields.Item("DocDueDate").Value
                    oInvoice.Comments = rsForInvoice.Fields.Item("Comments").Value
                    oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
    details -
                    Dim StrFilter As String
                    Dim z As Integer
                    Dim RecCnt As Integer
                    Dim oInvNum As String = 0
                    rsFrInvDtls = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    StrFilter = "SELECT * FROM qut1 WHERE DOCENTRY =" & rsForInvoice.Fields.Item("DocEntry").Value & " order by linenum "
                    rsFrInvDtls.DoQuery(StrFilter)
                    RecCnt = rsFrInvDtls.RecordCount
                    z = 0
                    Do While rsFrInvDtls.EoF = False
                        Dim prodCode As String
                        prodCode = rsFrInvDtls.Fields.Item("ItemCode").Value
                        If z = 0 Then
                            oInvoice.Lines.ItemCode = rsFrInvDtls.Fields.Item("ItemCode").Value
                            oInvoice.Lines.ItemDescription = rsFrInvDtls.Fields.Item("Dscription").Value
                            oInvoice.Lines.WarehouseCode = rsFrInvDtls.Fields.Item("WhsCode").Value
                            oInvoice.Lines.Quantity = rsFrInvDtls.Fields.Item("Quantity").Value
                            oInvoice.Lines.UnitPrice = rsFrInvDtls.Fields.Item("Price").Value
                            oInvoice.Lines.CostingCode = rsFrInvDtls.Fields.Item("OcrCode").Value '--- Profit Center             
                            ' oInvoice.Lines.TreeType = rsFrInvDtls.Fields.Item("TreeType").Value  '--- Profit Center
                            'oInvoice.Lines.AccountCode = rsFrInvDtls.Fields.Item("Acctcode").Value
                            oInvoice.Lines.LineTotal = rsFrInvDtls.Fields.Item("LineTotal").Value
                            oInvoice.Lines.BaseLine = rsFrInvDtls.Fields.Item("LineNum").Value
                            oInvoice.Lines.BaseEntry = rsForInvoice.Fields.Item("DocEntry").Value
                            oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oQuotations
                        Else
                            oInvoice.Lines.Add()
                            oInvoice.Lines.SetCurrentLine(z)
                            oInvoice.Lines.ItemCode = rsFrInvDtls.Fields.Item("ItemCode").Value
                            oInvoice.Lines.ItemDescription = rsFrInvDtls.Fields.Item("Dscription").Value
                            oInvoice.Lines.WarehouseCode = rsFrInvDtls.Fields.Item("WhsCode").Value
                            oInvoice.Lines.Quantity = rsFrInvDtls.Fields.Item("Quantity").Value
                            oInvoice.Lines.UnitPrice = rsFrInvDtls.Fields.Item("Price").Value
                            oInvoice.Lines.CostingCode = rsFrInvDtls.Fields.Item("OcrCode").Value '--- Profit Center             
                            'oInvoice.Lines.AccountCode = rsFrInvDtls.Fields.Item("Acctcode").Value
                            oInvoice.Lines.LineTotal = rsFrInvDtls.Fields.Item("LineTotal").Value
                            oInvoice.Lines.BaseLine = rsFrInvDtls.Fields.Item("LineNum").Value
                            oInvoice.Lines.BaseEntry = rsForInvoice.Fields.Item("DocEntry").Value
                            oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oQuotations
                        End If
                        z = z + 1
                        rsFrInvDtls.MoveNext()
                    Loop
                    rsFrInvDtls = Nothing
                    Dim cResult As String
                    Dim cMessage As String
                    Dim dPostDate As Date
                    cResult = ""
                    If oInvoice.Add <> 0 Then
                        ' MsgBox("Error " + oCompany.GetLastErrorDescription())
                        cMessage = "Error " + oCompany.GetLastErrorDescription()
                        cResult = "Failed"
                        dPostDate = DateTime.Now.ToString
                        dPostDate = Date.Parse(dPostDate)
                        rUpdateStatus = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                        SQLStr = "update [@TDOCPROC] set U_DOCSTATUS = '" & cResult & "' ,U_InvNum = " & oInvNum
                        SQLStr = SQLStr & ",U_REMARKS = '" & cMessage & "'"
                        SQLStr = SQLStr & ",U_POSTDATE = '" & dPostDate & "'"
                        SQLStr = SQLStr & " where u_DocEntry = " & rsForInvoice.Fields.Item("DocEntry").Value
                        rUpdateStatus.DoQuery(SQLStr)
                    Else
                        Dim rs1 As SAPbobsCOM.Recordset
                        Dim retval As Long
                        Dim cValues As Integer
                        cResult = "Success"
                        oInvNum = oCompany.GetNewObjectKey()
                        oSalesQuotation = oCompany.GetBusinessObject(BoObjectTypes.oQuotations)
                        cValues = rsForInvoice.Fields.Item("DocEntry").Value
                        If (oSalesQuotation.GetByKey(cValues) = True) Then
                            oSalesQuotation.Close()
                            oSalesQuotation.Update()
                        Else
                            Dim errcode As String
                            Dim errmsg As String
                            oCompany.GetLastError(errcode, errmsg)
                            MsgBox(oSalesQuotation.CardCode)
                            MsgBox("Failed to Retrieve the record " & errcode & " " & errmsg)
                        End If
                    End If
                    dPostDate = DateTime.Now.ToString
                    dPostDate = Date.Parse(dPostDate)
                    rUpdateStatus = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    SQLStr = "update [@TDOCPROC] set U_DOCSTATUS = '" & cResult & "' ,U_InvNum = " & oInvNum & ","
                    SQLStr = SQLStr & " U_PostDate = '" & dPostDate & "'"
                    SQLStr = SQLStr & " where u_DocEntry =" & rsForInvoice.Fields.Item("DocEntry").Value
                    rUpdateStatus.DoQuery(SQLStr)
                    'If oCompany.InTransaction = True Then
                    '-ompany.EndTransaction(BoWfTransOpt.wf_Commit)
                    'End If
                    rsForInvoice.MoveNext()
                Loop
                rsForInvoice = Nothing
                '    'msg2send(NumOfInv) = oDocNum
                '    'Insert2OCTP(vDocNum, vDocDate, oDocNum, Now.ToShortDateString, vCardCode, vCardName)
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End Function
       end code
    thank you

  • Delivery of Sales BoM

    Hello Experts,
    When a sales BoM (LUMF type) is delivered, the system makes it possible to split the components (stock materials) into different deliveries by giving only a warning message. Could this be controlled?
    Any help would be rewarded with points. Thanks
    UV

    In Item category defination
    Bill of material config
    If u want to create a common delivery date for the order qty along with bom items
    Create delivery group        use indicator  x
    If u want to send the materials as soon as any materials are available use indiacator A
    if u do not want any delviery groups leave it blank.
    deepak

  • Sales bom and assembly bom

    i want to make sales bom which consists of all the materials to make a product(machine).this sales bom is available to sales person and he has to select the varients depends upon customer requirement(varient configuration).
    then all materials are to be manufactured and are to be available in stock.
    after this step assembly person has to assemble the components according to the assembly procedure for that he has to refer assembly bom which consists of logical grouping of components for his easiness in assembly.
    so sales bom has to be with materials only(components which are to be produced to make final product) and assembly bom is with logical grouping of these materials according to assembly procedures and total materials are same in sales bom and assembly bom
    is there any method in sap to link sales bom and assembly bom which are different for sales and assembly?this is make to order scenario
    thanking you
    srinivas

    Hi Srina,
    The difference between them is
    In the assembly bill of materials, the finished product appears in the sales order document.
    But in Sales bill of materials, the finished product and the components appear as separate items in the sales order document.
    For example the finished product can be a set of office furniture.
    you can use the assembly bill of materials to define the composition of the set. The finished product is not stored as an entire set in the warehouse. However, the individual components of the set (for example, chairs, tables, and Almirah) are items in stock. If a customer buys a set of Office furniture, draw the components from stock and deliver them to the customer as a set.
    Hope this help,
    Regards,
    MT

Maybe you are looking for

  • Multiclip editing error message 'video frames don't match'

    I basically need help figuring out how to make these video frames work together. Also, what is the easiest/quickest way without loosing quality. (I have a ton of clips to get through) 1st image is settings for the camera I'm trying to match everythin

  • Reverse y axis columns

    Hi. I'm using numbers to create a chart for my website alexa rank. x axis is dates; like september 13 2011. and y axis is site rank in each day. as you know, when rank number is lower its better, so I need to reverse the y axis columns. how can I do

  • Tables for  bill to and ship to addresses in crm order

    Hi Experts, In which tables the bill to and ship to addresses are stored in CRM order? Thanks in Advance.

  • Function module RZL_WRITE_FILE_LOCAL is missing?

    Hi, To avoid using OPEN DATASET command, to read and write into Application server I usually use function modules RZL_WRITE_FILE_LOCAL to write to, and RZL_READ_FILE to read from app servre, but unfortunately I could not find RZL_WRITE_FILE_LOCAL in

  • Number Validation in ADF-BC

    I am using JDeveloper 11.1.1.4 and ADF-BC in my project. In one of my pages,I display a table and a panel form for the table rows in my page. In my panel form I have two fields ex:minAge and maxAge. On change of row/save I need to display a validatio