COPA document created from billing document, cost components are twice

Hi Experts,
Ref Subject line : COPA document created from billing document, cost components are twice.
I have checked the following :
1.  Cost Estimate of a material
2.  Production Confirmation of the Order
When comparing both of the above, they are same, without variance.
Now when a COPA document is created, we observe the Cost Component Split in Sales Order to be exactly TWICE as compared to Cost Estimate of the material.
May I please request help from you all. What must be the cause & where do i check / rectify.
Regards,
Hussein.

Hi Hussein
If you are seeing double in KE30 Report - May be you are updating both sales order and billing doc in COPA and hence you are seeing 2 line items.. But one of them will be record type A and the other one with F
If the above is not the case and you are seeing double in the COPA document itself - Then See if you have mapped VPRS cond type in KE4I to the same value fields as Cost Comp Split
Also, one strong possibility that you are using Batch Split in SD.. .... Which means your delivery document (VL03N) will have multiple batches of materials being delivered to the customer....
a. In this case, your Item Category for main item (HPOS) and Sub Item (UPOS) has to be different and the Item catg for UPOS should not be relevant for billing / Costs... Note 77414 descirbes this situation and the settings to be done in SD Customizing
b. You may need to apply note 352441 in your system
Regards
Ajay M
Edited by: Ajay Maheshwari on Dec 1, 2010 5:36 PM

Similar Messages

  • How to get Accounting document number from billing document number

    Hi,
    How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
    Cheta Pant

    Hi,
    VBAK is the Sale Order header table, Billing document table is VBRK.
    Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
    You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
    If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
    Regards,
    Chintan Joshi

  • PDF File to be created from Billing Document (VF01)

    Hi,
    I have created the Billing document.  When I select the following menu path.
    Billing document --> Issue output to -->
    I am choosing the message type RD00.  When I select the Message type and give enter i should get the PDF saved in my C:/.  I had also written the smartforms to work as per my requirement and assigned the smartform names to the Message type.  But when i try to do Issue Output, I am getting the message "Output Successfully Issued".  But the PDF file is not generated.  I beleive that there is an config issue.  Please help me in this regard.
    Regards,
    Shankar

    Hi,
    Did you try executing the SMART Form individually?
    Place a break point in the print program and then create the billing document, you should be able to find out what is the issue.
    If you are not sure of the print program you can find it from the TNAPR table.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Sales Document Number from billing document

    Dear all,
    How can i get the corresponding sales document number form a billing document number?
    I currently have data from VBRK and VBAK tables.
    so is it possible to get the corresponding sales order number for that billing doc no?
    Plz let me know.
    Regards
    Rahul.

    Dear Rahul
    If you want to see for a particular billing document the corresponding sale order reference, go to VF03, input the billing document and click on Document Flow
    If you want to see sale order references for multiple billing documents, go to SE16, input table VBFA, paste the billing document references in [Follow on doc] and C in [Prec doc categ] and execute.
    thanks
    G. Lakshmipathi

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • Can v create multiple billing document from delivery with single line item

    can v create multiple billing document from delivery with single line item

    Dear Sandesh
    Go to VOV7, select your item category.  In this maintain K  for Billing Relevance
    Now go to VF01, give the delivery number and do not press Enter.  Instead click on Selection list on the next screen, select the items you want to bill and click copy and continue if necessary
    thanks
    G. Lakshmipathi

  • Create SD Billing document from Vistex Claim Request or Billback document

    Is there a way to create SD Billing document(VF01) from Vistex Claim request or Billback document. Our business is requesting that they do NOT want to settle the billback in Vistex instead want to create a SD Billing document.
    I found a check box 'create billing document' in Vistex Claim request document type configuration - but that does not seem to do anything at all.  What is this for? does anyone know? 
    Is there another way Vistex allows to create SD billing document ?
    Please help.
    thanks
    Suren

    Hi,
    The sole purpose of Vistex is to create chargeback/billlback documents with reference to a Billing document in SD.
    After create the CB/BB docs in Vistex, settlements can be done only in Vistex and cannot be brought back to SAP.
    Other option is to create a Credit/Debit memo as applicable instead of doing the settlements in Vistex, however tracking the document flow and reporting will turn out to be more complex.
    In any case, take the help of an ABAP per who would suggest if any workaround in the form of a dewvelopment is possible or not.
    Regards,
    Amit

  • Zero BED value when posted J1IIN excise invoice from billing document

    Hi Guys,
    I created VA01, VL01N and VF01. Bed value is showing in VF03 but when I created J1IIN from billing document, BED value is zero. I checked several places like below
    a) Logistics-General > Tax on Goods Movements > India > Account Determination > Specify Excise Accounts per Excise Transaction. Here ensure that for DLFC, necessary Account names are maintained.
    b) Similarly, in the next tab, Specify G/L Accounts per Excise Transaction, ensure that for that Excise Group, relevant G/L Accounts are assigned
    c) Finally, in Business Transaction tab, select Outgoing Excise Invoices where you need to ensure that you have assigned billing type to delivery type and also the default Excise Groups and Series Groups are maintained.
    I couldn't figure it out where the problem is. Please help me where to check and what should be done for this?
    Thanks,
    Manohar.

    I maintained excise defaults for TAXINN, I am maintaining A/R BED % which is coming in billing document but not in J1IIN. When I click on simulate it is giving a popup box saying 'No defaults could be proposed for Excise utilization' and click on continue then it is giving another message saying 'Excise modvat accounts not defined for GRPO transaction and E2 excise group'. Please help me what is it?
    Thanks,
    Manohar.

  • Transfer document header text from billing document to FI document

    Dear all,
    Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
    Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
    In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
    Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
    Many thanks!
    Best regards

    Hi,
    We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
    Prerequisite:
    Document Type = 'RV' AND Reference <> '' AND
    ( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
    Transaction code = 'VF03' )
    Substitution:
    Using exit which coding is as below.
    *&      Form  u900
          Copy Billing Header Text to SGTXT
         -->P_SGTXT    FI Item Text
    FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
      DATA: lv_name TYPE thead-tdname,
            lt_line TYPE STANDARD TABLE OF tline,
            lw_line TYPE tline.
      lv_name = bkpf-xblnr.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id                      = 'Z001'
          language                = sy-langu
          name                    = lv_name
          object                  = 'VBBK'
        TABLES
          lines                   = lt_line[]
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc EQ 0.
        READ TABLE lt_line
          INTO lw_line
          INDEX 1.
      In Billing Header Text, the sign '&' (ampersand) is automatically
      added some characters so it becomes '<(>&<)>'.
      The logic below is to fix that issue.
        REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
        REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
        p_sgtxt = lw_line-tdline.
      ENDIF.
    ENDFORM.
    Regards,
    Teddy Kurniawan

  • Create new billing document if delivery line items have different UOM

    Hello,
      I have a requirement to create different billing documents if the line items in my delivery has different UOM.In my case if delivery is completely ok billing documents are automatically generated.
    How to do so what logic needs to be build.Please guide.
    Regards,

    Hi
    Answer is pure assumption
    You can try to implement VOFM Routine
    Data transfer -> Billing documents
    Check the Routine 351, you can copy the same and modify as per your requirement.
    I think you need to modify VBRK-ZUKRI field, during creation of Billing document.
    I suggest to take help from Functional consultant on this
    Regards
    Madhan D

  • How to Copy from Billing document F2 to Credit or Debit memo?

    Hello,
    I know the Menu path for copy control of billing document to billing document which  is as follows
    SPROIMG-Sales and Distribution-BillingBilling Documents-Maintain Copy Control of Billing document--Copy COntrol: Billing Document to Billing Document where I give the Source and the target.
    Now I have a scenarion where F2 invoice has ForTrade/Customs information in the Header of F2 invoice which can be viewd through VF03->Header->ForTrade/Customs tab.
    Now that inforamtion has to be transferred to CR/DR which is now not being copied although I have set the copy controls between the billing document.
    So, can anyone help me by providing the information for the following questions?
    1.How will I acheive the copy of Foreign trade to CR/DR from F2?
    2. When I copy from F2 to CR/DR, which all information from F2 will be copied to CR/DR?
    Thanks for the help.
    Anupama Rao

    Anupama,
    The foreign trade data is copied from delivery to billing and any order doesn't contains the foreign trade data and when you create a credit memo request CR by copying F2 invoice the foreign trade data is not copied to CR and when you create a G2 invoice from CR the foreign trade data is not copied because it doesn't exists
    the optimal solution for this is to keep the incompletion for foreign trade in the G2 and L2 inovices
    Regards,
    Santosh

  • Restricting for creating the Billing Document without PGI in STO Process

    We want to restrict creating the Billing Document  without PGI in STO Process
    Delivery Type:NL
    Item cataogory:NLN
    Billing Type: JEX Profroma Invoice
    I have check in VTFL
    At Header Level, Routine - 003.  for normal sales process LF-F2
    At Item Level , Routine  - 004
    in VTFL-- NL-JEX
    At Header Level, Routine - 009. 
    At Item Level , Routine  - 010. here when i changed to 003 and 004 for NL and JEX
    i am getting error after PGI when i am doing vf01 error is coming " document is not relevant for Billing"

    Hi
    Kindly do the belwo
    1. goto the t code VOV7 item category determination and select the item category and put  the billing relevance as "A"
    2. once the step 1 is completed then it will show the billing relevant status AS "A"in the delivery documnt at the item level
    The above configuration  will be applicable in the new documents only
    Regards
    Damu

  • While creating a billing document

    Hi All,
    I have a sales order, say with 3 line items with 3 different customer groups.
    Now i am creating a billing document for this order using the transaction VF01.
    As the Order has 3 items with 3 different customer groups, system is splitting each line item and creating 3 invoices.
    My requirement is that, what ever may be the customer groups of the items in sales order, i want to cretae only one billing document per sales order.
    Please help.
    Thankx in advance,
    Subhani.

    Initially we are prompting user to enter Customer group at item level, so that the corresponding Business area can be populated as per the mapping between them. But if customer group is different for each line item, at the time of invoice creating it is creating multiple invoices.
    So we did in this way,
    Instead of using Customer group, we used another field 'Product heirarchy' at product heirarchy. While creating a material we are prompting to provide Product heirarchy. depending on Product heirarchy we are populating Business depending on their mapping.

  • BAPI to create a billing document with reference to delivery or sales order

    Hi,
    Does anyone know any BAPI or function module that allows the creation of a billing document with reference to a sales order or to a delivery.
    Maybe the BAPI_BILLINGDOC_CREATEFROMDATA may be used to create a billing document with reference to a sales document, but i'm looking for a solution where I only need to indicate the number of the reference sales order or the reference delivery and maybe some few data more without the need of transfer all the items and conditions information.
    Thanks.
    Kind regards,
    Paulo Sousa

    Hello Paulo,
    To create a billing document based on a delivery use BAPI_BILLINGDOC_CREATEMULTIPLE. In table BILLINGDATAIN insert one line with the following data:
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    If it runs fine, table SUCCESS will bring back useful data, like BILL_DOC (Billing document number).
    Regards,
    Joã

  • User is having a save issue with Word 2007 documents created from a template.

    I have 1 particular user, out of approx. 30, that is experiencing an intermittent problem when trying to save a Word 2007 document to a network drive.  The particular error is
    "Word cannot complete the save due to a file permission error. (xxx.docx)"  CTRL-SHIFT-I Error Code is: 701743
    This only happens while he is working in a document created from a template (.dotm) file I made a few months ago.  The problem has never occurred with any other Word docs or Excel, or any of the other users accessing the template to create documents. He
    also gets an error message stating
    "xxx.docx cannot be found.  Check your spelling, or try a different path."  CTRL-SHIFT-I Error Code is: 200635
    But this only occurs when trying to "Save As"  The odd thing is that if he renames the file to something like xxx1.docx, it will allow him to save on the network folder with no issues.  And as mentioned, this is intermittent - he may go weeks without
    seeing the message while doing nothing different.
    I have tried search for similar issues in the forums but they don't seem to match exactly what is happening to us.  Our 3-man IT department seems to be at a loss and I have had good luck solving other issues in this forum so I thought I would give it
    a try.
    Any ideas would be appreciated.
    Thanks,
    Adam

    Hi,
    It's seems temporary internet folder corrupted, please try to modify the location for temporary Internet files for Internet Explorer test this issue:
     1.In Internet Explorer, choose Internet Options from the Tools menu to display the Internet Options dialog.
     2.In the Internet Options dialog, click the General tab. In the Browsing history section click Settings to open the Temporary Internet Files and History Settings dialog.
     3.In the Temporary Internet Files and History Settings dialog, click Move Folder to open the Browse for Folder dialog.
     4.In the Browse for Folder dialog, select the following location.
    C:\Users\<user name>\AppData\Local\Microsoft\Windows\Temporary Internet Files
    5.Click OK to close the Browse for Folder dialog. Click OK to close the Temporary Internet Files and History Settings dialog. Click OK to close the Internet Options dialog.
    6.Reboot the computer.
    More detailed information you can refer to below link:
    http://blogs.technet.com/b/ryan_christiansen/archive/2008/04/28/word-2007-file-save-errors-an-error-is-displayed-when-attempting-to-save-a-word-document.aspx
    If this problem still persists, please refer to this article troubleshooting problems:
    http://support.microsoft.com/kb/921541
    Best regards.
    William Zhou
    TechNet Community Support

Maybe you are looking for