Billing document configuration  - recognizing cost of sales

We have a billing doc type (ZIV) that we are using for one specific business process. The problem is, it recognizes the financial impact of the cost of sales (as well as the sales revenue). It does not relieve inventory however. To accomplish that we PGI the shipment. This creates an accounting document that recognizes the cost of sales and also relieves the inventory. The net result of these two transactions is that the cost of sales is recognized twice thus necessitating a correcting journal entry.
How do I change the configuration of the ZIV billing doc type so that there is no accounting recognition of the cost of sales?
Thanks

Hi,
When PGI is done, Accounting document will be created, since goods movement (601) happens. To address the issue of double "Cost of Sales" posting , make the condition type used to capture "Cost of sales" as statistical in the relevant pricing procedure (V/08).
Hope this helps.
Regards,
Sharan

Similar Messages

  • Not display billing document in R3, only display Sales Document

    Hello,
    We need to make a change on CRM. On CRM environment we have the document flow in the sales document. If we replicate the document to R3, in R3 we can see the sales document replicated and the document flow, for example, the billing document. We need to stop to some users to display the billing document in R3(only display the sales document replicated from CRM).
    Is there anyway to apply this possibility on CRM, because the replication to R3 is only with one user RFCUSER, could be possible to create another user like RFCUSER2 for example, with less authorizations in R3.
    We have been answered on this forum to to this:
    This you can achieve by creating one more RFC destination.
    Logon & Secruity Details for this RFC Destination should be
    Trusted System : Yes
    Logon : Select the Current User
    After saving this check for the Remote Logon, it should navigate to your ECC system with your current user.
    Next go to BD97
    Assign this new RFC destination as "Standard BAPI Destination".
    After this, when ever you navigate to ECC from CRM document flow, it will logon to ECC system with Current User.
    But where we can custimize all this requirements??
    Any other help?
    Hope you can help us,
    Thanks in advance

    Hi Felix,
        You will perform this customization setting using two transaction codes BD97.
        Create RFC destination using SM59 transaction in CRM system.
        Assign this new RFC destination as "Standard BAPI Destination" in BD97 transaction. code Here assign this standard BADI destination to the ECCLogSystem. In BD97 you should see the logical destinations assigned to your CRM system.  If you wont see ECC Logical System in CRM, then maintain ECC logical system using ALE Configuration. This entry should exist in the table TBDLS of CRM System.
         I hope this answers your question.
    //Bhanu

  • Billing Document has different price to sales document

    Hi,
    we had an order which generated a billing document for £622 with a pricing date of the 8.02.2007.
    The customer returned the goods and a returns order was created for £622 with the same pricing date.
    The problem is that when the billing document was created using batch program RV60SBT1 the proce changed to £576 but the pricing date remained at the 8.02.2007.  When I look at the pricing conditions it picked up a promotion that was active from the 11.02.2007 - 25.02.2007..
    I cannot understand this as I thought the pricing conditions were determined by the pricing date?
    Am I wrong or is there some setup that needs changing.
    Any help appreciated.

    Hi,
    I've had a look and I have noticed that it is pricing date.  It appears that the pricing date of the billing document & sales document differ.
    We process these billing documents collectively and would like the billing document price date to be the same as the sales order pricing date.  It looks like it's defaulted to the billing date.
    Not sure how to change this.
    Thanks

  • Invoice/billing document Number  not appearing on sales order document flow

    Dear all,
    After saving the sales order invoice when i check in va02 sales order document flow invoice number is not generating

    Really something is wrong in your configuration.  When your delivery status shows Being Processed, I could see subsequent two documents, viz.Confirmation of Service and GD doc reference as complete.
    Can you let me know how many line items that delivery contains?  The reason for this query is normally, for stock item, we see Material Document reference and for non-stock item, we see Confirmation of service.  But in your case, I could see both.  From your VBFA table screen shot, I could see two different material document references.
    G. Lakshmipathi

  • Create Sales order with reference to a Billing Document - Net price issue

    Hi Everyone,
        The Billing Document has one line item with Net value of 16,000. However, when I create the Sales Order with reference to the Billing Document, the net price shows 64,000.  When I check the Document flow of the Billing Document, there were two Contracts on top of my Billing Document. One is a contract with the overall status of "Being Processed" and this is where I checked the net value is 64,000. The next contract invoice is already completed (net value is 16,000).
        Has anyone encounter such case? How would I be able to create the sales order with reference to the Billing document and have the net value of what is in the Billing Document (16,000). Which part of the configuration is setting this up. Thanks!

    Hi,
    This is a very rare case, if you are sure of the scenario, would suggest you two alternatives:
    1) whenever you go against the flow of SAP, you have customize it, so its better you discuss this matter with your ABAP person.
    2) never tried it out but you can:
    you cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship,
    we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
    Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
    Hope this will help you.
    Regards,
    Siddharth.

  • 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ã

  • Shipment cost condition not copied in the billing document

    hi
    I have created shipment for the delivery and compelted the shipment cost as well , however when i create the billing document the shipment cost conditions are not copied in to the billing document.
    i have already set up pricing source as F in copy control from Delivery to billing document ,
    what are the other settings to be done to copy the shipment cost condition types to billing document  ?
    Regards
    Dinesh

    You migth include it on copy control frome delivery to invoice.
    Regards,
    RP

  • Billing Document - Sales Order

    I know VOV8 shows me the sales order to billing document defintions but is there a way to see with a billing document type which sales order type creates it?

    You cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship, we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
    Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • Collective Billing Document for Resource-Related & Order-Related Items.

    Gurus,
    Due to the nature of our service related business our contracts are made up of fixed price (periodic) billing, hourly & cost+ mark-up (resource related) billing invoiced on monthly cycles.
    Our clients expect to see 1 invoice each month covering this combination.
    Production of billing documents is follows:
    A single sales order created with line items classified as either periodic or resource related.
    For the periodic items a billing plan is maintained in the sales order.
    For resource related items a debit/credit memo request is created using t.code DP91
    Running t.code VF04 with the Sales Order, Debit/Credit memo request number and billing dates returns 2 lines.
    Bililng date is entered in the default data tab to overcome invoice splits.
    When running collective billing - individual billing documents are created.
    What config or SAP notes are availble to make combining into a single billing document possible.
    Thanks in advance.

    Hi,
    You have sales order item and resource related debit/credit memo
    If you want to combine this then you have to set up proper copy control setting from SALES DOCUMENT to BILLING DOCUMENT
    T-CODE VTFA
    check at item level Data VBRK/VBAP, Maintain proper routine
    Kapil

  • Pricing procedure with a reference of a billing document

    Hi all,
    How to apply new pricing procedure when you use a reference of another billing document?
    by VA01, I want to use a billing document as a reference to create another sales document. Tthese 2 has different pricing procedures but when I do this, I want the sales document to use its own procing procedure.
    But when I refer a billing document and create a sales document at VA01, it copies the billing document's pricing procedure.
    These 2 pricing procedures have different condition types.
    I already went to "Maintain Copy Control for Sales Document" - "Copying Controld: Billing Document to Sales Document"  and set "B" as its pricing type.
    Waiting for a valuable replies from y'all.
    Best regards
    Misaki

    HI,
    Thank you for your reply,
    I already have assigned pricing procedures to the required order types at OVKK, and V/08.
    but it still doesn't go right.
    When I don't refer any billing document at VA01 and simply create a sales document using required order type,  the assigned pricing procedure is used. However, when I use a reference of a billing document to create a new sales document, it copies a pricing procedure from the refered billing document and doesn't  use its own pricing procedure.
    Wanting to know how to redetermine a pricing procedure to create a sales document when referring a billing document.
    Ideally, the new sales document doesn't copy a pricing procedure at all from the reference(billing document), if possible.
    I really appreciate for your help.
    Misaki

  • Create billing document from IDOC INVOIC01

    Hi Experts,
    I created a function module to extend IDOC_INPUT_INVOIC_MRM. After created successfully the invoice from this inbound idoc, I tried to create a billing document by code below:
    get sale order number from purchase order *****************************
        CALL FUNCTION 'BAPI_PO_GETDETAIL'
          EXPORTING
            PURCHASEORDER                    = lw_tfrseg-ebeln
            ACCOUNT_ASSIGNMENT               = 'X'
         TABLES
            PO_ITEM_ACCOUNT_ASSIGNMENT       = lt_acc_***
    ****get sale order details*******************************************************
         CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
          EXPORTING
            I_BAPI_VIEW                   = lw_order_view
          I_MEMORY_READ                 =
          TABLES
            SALES_DOCUMENTS               = lt_sales_key
            ORDER_HEADERS_OUT             = lt_ord_headers
            ORDER_ITEMS_OUT               = lt_ord_items
            ORDER_SCHEDULES_OUT           = lt_ord_schedules
            ORDER_BUSINESS_OUT            = lt_ord_business
            ORDER_PARTNERS_OUT            = lt_ord_partners
            ORDER_ADDRESS_OUT             = lt_ord_address
          ORDER_STATUSHEADERS_OUT       =
          ORDER_STATUSITEMS_OUT         =
            ORDER_CONDITIONS_OUT          = lt_ord_cond
    ****Fill billing data in*******************************************************
               lt_bill_data-SALESORG = lt_ord_headers-sales_org.
             lt_bill_data-DISTR_CHAN = lt_ord_headers-DISTR_CHAN.
             lt_bill_data-DIVISION   = lt_ord_headers-DIVISION.
             lt_bill_data-DOC_TYPE   = lt_ord_headers-DOC_TYPE.
             lt_bill_data-ORDBILLTYP    = lt_ord_headers-ORDBILLTYP.
             lt_bill_data-BILL_DATE    = lt_ord_business-bill_date.
             lt_bill_data-SOLD_TO    = lt_ord_headers-SOLD_TO.
             lt_bill_data-ITEM_CATEG    = lt_ord_items-ITEM_CATEG.
             lt_bill_data-ACCTASGNMT    = lt_ord_business-ACCNT_ASGN.
             lt_bill_data-PRICE_DATE    = lt_ord_business-PRICE_DATE.
             lt_bill_data-COUNTRY    = 'US'.
             lt_bill_data-PLANT    = lt_ord_items-PLANT.
             lt_bill_data-BILL_TO    = lw_partner_bp-customer.
             lt_bill_data-PAYER    = lw_partner_py-customer.
             lt_bill_data-SHIP_TO    = lw_partner_sh-customer.
            REF_DOC    = lt_sales_orders-DIVISION.
             lt_bill_data-MATERIAL    = lt_ord_items-material.
             lt_bill_data-REQ_QTY    = lt_ord_items-req_qty.
             lt_bill_data-CURRENCY    = lt_ord_items-currency.
             lt_bill_data-SHORT_TEXT    = lt_ord_items-short_text.
             lt_bill_data-TAXCL_1MAT    = lt_ord_items-TAX_CLASS1.
            REF_ITEM    = lt_sales_orders-DIVISION.
            STAT_GROUP    = lt_sales_orders-DIVISION.
             lt_bill_data-NO_MATMAST    = 'X'.
             lt_bill_data-ADDR_NO    = lt_ord_address-ADDRESS.
            lt_bill_data-TITLE    = lt_ord_address-DIVISION.
             lt_bill_data-NAME    = lt_ord_address-NAME  .
             lt_bill_data-NAME_2    = lt_ord_address-NAME_2.
             lt_bill_data-POSTL_CODE    = lt_ord_address-POSTL_CODE.
             lt_bill_data-CONSUMCTRY    = lt_ord_address-COUNTRY.
             lt_bill_data-CITY    = lt_ord_address-CITY.
             lt_bill_data-DISTRICT    = lt_ord_address-DISTRICT.
             lt_bill_data-STREET    = lt_ord_address-STREET.
             lt_bill_data-REGION    = lt_ord_address-REGION.
             lt_bill_data-PROD_HIER    = lt_ord_items-PROD_HIER.
             lt_bill_data-SALES_UNIT    = lt_ord_items-SALES_UNIT.
             lt_bill_data-PROFIT_CTR    = lt_ord_items-PROFIT_CTR.
            TAXJURCODE    = lt_sales_orders-DIVISION.
             lt_bill_data-PURCH_ORD    = lt_ord_headers-PURCH_NO.
             lt_bill_data-DOC_NUMBER    = lt_ord_items-DOC_NUMBER.
             lt_bill_data-ITM_NUMBER    = lt_ord_items-ITM_NUMBER.
            ORIGINDOC    = lt_sales_orders-DIVISION.
            lt_bill_data-ITEM    = lt_sales_orders-DIVISION.
             lt_bill_data-CREATED_BY   = sy-uname.
            MATERIAL_EXTERNAL = lt_sales_orders-DIVISION.
            MATERIAL_GUID = lt_sales_orders-DIVISION.
            MATERIAL_VERSION = lt_sales_orders-DIVISION.
             lt_bill_data-INCOTERMS1  = lt_ord_business-INCOTERMS1.
             lt_bill_data-INCOTERMS2  = lt_ord_business-INCOTERMS2.
             lt_bill_data-EXCHANGE_RATE = lt_ord_business-EXCHG_RATE.
             lt_bill_data-PAYMENT_TERMS  = lt_ord_business-PMNTTRMS.
             lt_bill_data-HG_LV_ITEM   = lt_ord_items-HG_LV_ITEM .
    ******call bapi function to create billing document********************
      CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
       EXPORTING
         CREATORDATAIN         = lw_creator
         TESTRUN               = lc_testrun
         POSTING               = lc_posting
        TABLES
          BILLINGDATAIN         = lt_bill_data
        CONDITIONDATAIN       =
        CCARDDATAIN           =
        TEXTDATAIN            =
          ERRORS                = lt_bill_errs
          RETURN                = lt_bill_retu
          SUCCESS               = lt_bill_succ
    A return message in the table lt_bill_retu:
    "This item is not relevant for billing!"
    Anyone can tell me why? I think this problem be generated from the step "fill billing data" but I don't know where.
    Pls help me!!!
    Thanks,
    Gy

    Hi,
    In the condition data, I want to add new condition type as below:
    <<  Add new condition type
        CLEAR: lt_cond_data.
        lt_cond_data-COND_TYPE = 'ZHD0'.
        lt_cond_data-COND_VALUE = mrm_ship_charge-summe.  " amount of shipping charge
        lt_cond_data-COND_CURR = mrm_ship_charge-waerq. " USD
        append lt_cond_data.
    *>>
    But I created successfully billing document, this condition type is not appear in the billing view by transaction VF03.
    Could you help me to find out the fault?
    Thanks,
    Gy

  • Billing Document positions with zero

    Hi Guys,
    I am having an error when creating SD Billing Document. I have a sales order with some position with net value 0 and when I create the billing document I dont want this positions to be copied.
    I know I can reject this positions on the sales order, but this process is something automatic and there is no control.
    Is there anything I can do on the control copy to avoid copying values on 0 from sales order to billing document?
    I hope you can hel me.
    J. Garibaldi

    Hi,
    You can create a new item category " ZXXX"and make it as not relevant for billing in billing relavancefield and also maintain the item category determintaion settings.
    Now when you have line item with 0 value change the item category to "ZXXX" and save the document . So when you create a billing for the respective sales order the particular line item with item cat as "ZXXX" will not be copied.
    OR
    You can create a new routine in the transaction VOFM and assign it in the copy control of order --> billing at item cat level.
    Please go through the below link to create the new routine
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    Hope this will help you to resolve your issue!!
    Regards,
    Krishna O

  • How to create the billing document without reference

    Hi,
    I want to create a billing document in R3 without any reference with sales order or delivery.
    Aare there any FM or procedure to achieve this.
    If you cna send me the sample code it will be really helpful.
    Regards,
    sasi

    Hi,
    Iam trying to use the FM BAPI_BILLINGDOC_CREATEMULTIPLE
    But iam unable to create through this.
    If you have any sample code on this.It will be really helpful.
    My scenario is,
    I have an existing floe of data
    ie salesorder--delivery-billign document.
    But my requirement is to create two billing documents point to two different sales areas.
    Sincle we already created the billing document it will not allow to create one more billing document.
    Thats why iam lanning to create the billign document wihtout any reference.
    Please help me.
    Regards,
    sasi

  • Authorization problem with VF01 "Create Billing Documents"

    Dear All,
    We face following problem with VF01 "Create Billing Documents".
    Transaction: VF01
    User: Joe
    Authorization of Joe:
         VKORG Sales Organization: A, B (authorization object V_VBRK_VKO)
         FKART Billing Type: 1, 2 (authorization object V_VBRK_FKA)
    The objective for Joe:
       Joe is qualified to create bills in
          sales org A only for billing type 1 and in
          sales org B only for billing type 2.
       Joe should not be able to create bills for
          sales org A with billing type 2 and in
          sales org B with billing type 1.
    How can we solve this problem?
    We already searched for userexits without any success.
    Any help or ideas are very appreciated.
    Regards
    Markus Wilhelm
    Project Manager ERP

    Dear,
    There are standard authority-checks based on Sales organization (authorisation object V_VBRK_VKO) and/or Billing type (V_VBRK_FKA).
    An option would be to create a new billing type, define specific authorisations and use the new billing type for these documents.
    The bad thing is that you would also need a special (new) sales order type, because the billing document type is unique per sales order.
    So maybe it is easier to have a different sales organization.
    Another option would be to create a new authorization object and check it in the billing documents.
    If you wish, you could modify program LV60A005 & LV60A006.
    Then you might check various user/customer exits.
    Some functions to check: EXIT_SAPLV60A_001/002,
    EXIT_SAPLV60B_001 - 008, EXIT_SAPLV60B_010 - 011.
    Regards,
    R.Brahmankar

  • Problem while creating Billing Document.

    Hi,
    I'm creating a Sales order(VA01) and
    then creating a billing document(VF01) with the created sales order,
    the system is running for a longer period(this time we will check with SM66.
    Sales order is creating with limitted time.But Billing Document creation this problem is occuring,
    I checked no BADI's and User-exits taking place.
    Can u suggest me on this.
    Thank You,
    Sri..

    Hi,
    Try to find your sleeping process in SM50 transaction. If you find it you can make a debug and see what is happening (Program/session->Program->Debugging).
    Issa

Maybe you are looking for

  • How to show weather icon on top screen smb talk

    I have bought smartband talk yesterday. I see on review page, on clock sreen, at top,it show weather. But my smb talk,I can't see. Anybody help me? Thanks

  • Insert New Records to the same table based on an existing record

    How do I write a query to get the output shown in the OutputTable?  Salary in OutputTable  = TableA.Salary * TableB.SCode I posted a similar question earlier but no solution, so, I've decided to use a different approach to get it done. TableA EmpId F

  • Need help opening a pdf?

    I uninstalled and reinstalled my adobe reader x and i am still getting the error message File does not begin with '%pdf-" (then my file name it is trying to open.) I used it all morning and now am unable to open a pdf. Please advise

  • Creative Media Source Player 3.30.21 say it isn't

    I just did a fresh Windows xp install and of course Creative with all the latest updates. All has gone very well but now the player is missing the slider that indicates the progress of the tune. The was very handy when listening/burning discs and so

  • Image scaling produces moire

    I use Labview 8.01 and need to read grayscale images (bmp, png) and fit them to user window for display. Images are scaled via entering a scaling factor into property node for the frontpanel display. If the scaling factor is larger or equal to one, e