Billing doc cost PCA versus GL

The billing doc cost should be different for the PCA posting versus the GL posting. We have transfer pricing activated as well as material ledger. On the material master the standard price for legal valuation is different than profit center valuation and that is fine. When the billing doc posts it uses standard price for legal valuation for the GL posting. It should use standard price for profit center valuation. It uses legal valuation instead. Goods issue does use the correct standard price for GL versus PCA though.
How do I make the billing doc use the correct standard price ( profit center valuation ) for PCA?

Hi,
I am a bit confuesed on scenario explained by you and I am tring to restate the same:
1.  You are using Transfer Pricing and Material Ledger is active.
2.  You have different prices updated in Standard Price for Legal and Profit Center Valuations respectively.
3.  When you make a goods issue, the system uses the Standard Price in the Legal Valuatoin for accounting. 
4.  You need the system to use Profit Center Valuation Price for accounting.
Opinion.
The Goods issue as updated in the Financial Accounting should use only the Legal Valuation values.  The Profit Center Document anyhow will have the cost of sales based on the profit center valuation.  This is by design and correct approach.
If your question is related to values posted in Profitability Analysis.  You need to activate profit center valuation in PA and then you will see that both values flow to Profitability Analysis.
Hope this helps you.
Varadharajan

Similar Messages

  • Cost Price for Returns order adopting cost from preceding billing doc

    Hi Forum Experts,
    Our Returns Order (SO) currently obtains cost price (VPRS) based on material moving average price.
    However, what we really need is to copy the cost price from the preceding Billing Document.
    I've explored using VOFM and created a routine under (Formulas --> Condition Value) as per below.
    I found that while the debugger steps through this code, the value of the cost gets copied from the preceding document.
    However, immediately after the code finishes execution, the value gets resetted back to the material moving average price again.
    What can I do do let the system keep the copied cost price from the preceding document instead?
    FORM FRM_KONDI_WERT_998.
    DATA: lv_kbetr TYPE kbetr,
          ls_vbfa  TYPE vbfa,
          lv_knumv TYPE knumv.
    IF SY-TCODE = 'VA01' OR SY-TCODE = 'VA02' OR
           SY-TCODE = 'VA21' OR SY-TCODE = 'VA22'.
    IF xkomv-kschl EQ 'VPRS'.
    Get billing doc and position
    SELECT SINGLE vbelv posnv
    INTO corresponding fields of ls_vbfa
    FROM vbfa
    WHERE vbeln EQ komp-aubel "returns order number
    AND posnn EQ komp-aupos "returns order item
    AND vbtyp_n EQ 'H' "returns order
    AND vbtyp_v EQ 'M'. "invoice
    IF sy-subrc EQ 0.
    Get billing doc conditions key
    SELECT SINGLE knumv
    INTO lv_knumv
    FROM vbrk
    WHERE vbeln EQ ls_vbfa-vbelv.
    IF sy-subrc EQ 0.
    Get moving average price from billing doc conditions
    SELECT SINGLE kbetr
    INTO lv_kbetr
    FROM konv
    WHERE knumv EQ lv_knumv
    AND kposn EQ ls_vbfa-posnv
    AND kschl EQ 'VPRS'.
    IF sy-subrc EQ 0.
    Recalculate condition values
    xkomv-kbetr = lv_kbetr.
    xkomv-kwert = lv_kbetr.
    xkwert = xkomv-kwert.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDFORM.
    Regards,
    Edric

    Hi,
    If you bring the Freight condition after PBXX and include in the net value, your problem will be solved.  so it will be 120 in MIGO, MIRO, Dellivery and VPRS in billing.
    We have the same situation and its working fine for us. 
    Thanks
    Krishna.

  • Shipment cost in customer billing doc

    Hi all
    I want to include shipment cost in billing document I want to know the detail process.
    After rising shipment cost doc vi01 this will get reflected in
    Shipment doc vt01n
    I need to charge the cost to customer .i want to include cost in customer billing document VF01
    I want to know from shipment document how will the condition types will be copied into billing document
    1.Should I have to maintain any copy control between these two docs?
    If yes what confi settings need to be done
    Pls let me know  the steps in detail
    regards
    srijen

    Hi mukund thanks for reply
    in copy control i need to maintain "D" or "F"
    i want to know from shipment cost document Vi01 how the conditions are copied to delivery document
    for example- i maintained ZF01,ZF02 in shipment cost doc and i need these two conditions to be displayed in customer billing Vf01
    1) from shipment cost doc how i have to get them in billing doc
    what confi settings are needed
    regards
    sujan

  • Double actual cost in Profitability Analysis for cancelled billing doc

    Dear expert
    Say we have a billing doc posted in May, and we run ML closing and KE27 during month end closing, which transfered actual cost from material ledger to value field in PA.
    In June, we cancelled that billing document, the question is why the system automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    The reason I asked is because when we run KE27 for June closing, the SAP transfer again actual cost from material ledger to value field in PA. So we will have double posting of actual cost for cancelled billing document
    Please help, which setting did I missed to prevent SAP automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    Thx

    Hi
    Thats because you had double +ve also..
    Let me u/s your situation better
    1.PGI Posted COGS of Say, 100
    2. KE27 posted, say, addnl 20
    So, total COGS is now 120
    3. You posted a reversal now... It should post -100 and not -120.... Is it posting -120?
    Run KE27 for this month and see if it really posts -120 again... If it does, raise an OSS message to SAP... They are liable to help
    In my opinion, there is no Config set up for this... At best, you can try to assign different VF in KE4R for PV = 02 as compared to PV=01 and see if it helps
    br, Ajay M

  • Wrong excise value is calculated in billing doc. = VF01.

    Dear All ,
    I have created a billing doc for a STO , now my price of 1 ton is Rs 57328.94 & in billing the Con for exc is JEXP it is for,14 % but the exc cal culating as Rs 8329.61 , instead of Rs 8026.05 here the wrong calculated Rs 8329.61 is 14.529 % of Rs 57328.94 .so i m in VF03 now selected the cond type & clicked on detail icon here what i see that the a screen opens for header cond. details , here in cond details tab the amount coming as 14 % , Cond base value is Zero & Cond value is Rs 57328.94 , After this on the same scren i had clikced on Go to -
    > cond record --> here also 14 % is given then how the system is calculating 14.529 % instead of 14 % .
    Rgds
    sap12

    in the STO under cond tab at item level i had clicked on analysis tab then the con appearing are as under --->
    Condition type     Message     Description
    P101     213     Amount copied from material valuation data
    FRB1     207     Condition has been found (without condition record)
    FRC1     207     Condition has been found (without condition record)
    FRA1     207     Condition has been found (without condition record)
    Y017     207     Condition has been found (without condition record)
    Y018     207     Condition has been found (without condition record)
    Y019     207     Condition has been found (without condition record)
    Y020     207     Condition has been found (without condition record)
    Y015     207     Condition has been found (without condition record)
    Total Cost     200     Subtotal
    Here there is no JEXP , now as u wrote thjat to check the excise rate in J1ID -
    > there is no excise rate made for this material , after this ---> in exceptional exc rate there are no entries., now pl guide that what to check .
    Rgds
    sap12

  • Grouping of Billing Docs.

    Hi abapers,
    The current functionality of creating a single
    sales order & invoice with many detailed line items creates the correct financial documents. However the 'print' if the invoice should show
    the sum off all lines and the markup line, so basically 2 lines.
    In short:-
    A. This is for invoice split of type ZSRC and ZSRD. The invoice should split if VBKD-IHREZ_E (cost center field)is different at line item level.
    There is a field VBRK-ZUKRI (Combination criteria) which can help here.
    B. If there are 5 line items with 4 as expense material (100000001) and have same cost center (VBKD-IHREZ_E)  and 1 as Markup material (100000005) with also the same cost center (VBKD-IHREZ_E) than in the invoice output (PLI1 )  there will be 2 lines i.e one as a consolidated line for     Expenses and another one for Markup.
    1. The functionality is applicable for SO Types ZSRC and ZSRD for Sales Orgn PL01.
    2. If there are 5 line items in a SO with different Cost centers than there will be 5 invoices created for that particular SO.
    3. If there are 5 line items in a SO and 2 are with same cost centers and rest 3 are with different cost centers than there will be 4 invoices created (1 with same cost centers and 3 for different cost centers)
    4. If there are 5 line items with 4 as expense and have same cost center and 1 as Markup with also the same cost center than in the invoice output (PLI1 and PLI2)  there will be 2 lines i.e one as a consolidated line for Expenses and another one for Markup.
    5.This is applicable for customer Z999994 and Expense material as 100000001 and Mark up material as 100000005.
    I need to find an userexit for billing to achieve this above funtionality for billing docs when created. Thanks in advance.

      i am getting a report for billing docs by using the tcode VF05N, in ecc 6.0, but the same t code is not working in 4.7 version,
    The "n" notifies - a "new" transaction - that one is not available on 4.7.
    can any one wl tell me, what is the OSS note no to get the same report in 4.7 or any other options to get a simmilar report
    VF05? (without the ´n´)
    Markus

  • Billing docs are 2x posted to accounting

    Dear all,
    I am currently struggling with the following problem - would be great if somebody could help me with ideas about the root cause:
    VBRK-RFBSK -- 'Posting status'
    Accounting relevance of export billing docs was set to D -- 'not relevant' due to wrong programming.
    We have manually corrected RFBSK-status to A -- 'Relevant for accounting'.
    T-code VFX3 -- 'Release billing documents for Accounting'
    The documents could be posted to accounting some weeks ago. Now I was informed that billing documents were posted twice to COPA / FICO, causing a dysbalance as turnover was booked twice. Creating a credit note cannot be considered due to manufacturing costs etc.
    Solution proposal from COPA support
    ...was to revert everything down to the deliveries, and then to create a correct billing document.
    But reverting 1 document should of course correct 2 bookings! My expectation is that the billing index was not correctly updated when VBRK-RFBSK changed to C -- 'Posting document was created'. So the system ignored that posting was already done. (I am not sure about that, as I am not familiar to FICO / COPA processes).
    Thanks again for your valuable help!
    t.

    Dear all,
    could OSS note 1261286 solve the problem?
    Please let me know your thoughts!
    Thanks!
    t.

  • Stop the Billing Doc creation for error confirmation

    Hello Experts,
    This is regarding the Billing issue.
    Our Service Process: We create the Service Process and also create the followup confirmations.
    For ex: I have created one SP and also created one followup two confirmations.
    The second Confirmation contained an error and it has generated Billing Document
    Actually The bill should not be generated until all confirmation contain no error and only one billing document should be generated per Service Call.
    Could you help to stop ,the Billing Doc creation for Error Confirmations?
    Regards
    Madhu

    Check the following thread: KEPM valuation K/(834) No standard cost estimate could be found for mat.
    Shail

  • When billing doc is reversed what the impact in FI

    Dear SAP Experts,
    I want to know the impact in FI when the below scenario are covered.
    1. When PGI is reversed
    2. When billing doc is reversed (Accounting Doc not Cleared)
    3. When billing doc is reversed (Accouring Doc is cleared)
    Regards.

    Dear:
                 Please follow
    1...When PGI is reversed Cost of goods sold is credited and Finished goods are debited since the stock it received back into storage location i-e
    Finished Goods Dr
                      COGS                    CR
    2....When billing document is reversed the customer gets credited and all duties along with sales and duties are debited i-e
    Sales Dr
    Tax Payable Dr
                          Customer            Cr( because his o/s balance is reduced to the extent of reversal)
    3.... When billing document that is already cleared is reversed then many things get open
    Customer payments for the invoice amount and its clearing will need to be reversed too.
    I mean
    For payment reversal of cleared invoice using FBRA
    Customer Dr
                       Bank                 Cr
    And subsequently reversing invoice
    Sales         Dr
                        Customer Cr
    Regards

  • Sales order with multiple billing doc's

    HI Guys
    My client has specific requirement related the freight charges .Freight charge is represented with a condition type in my pricing procedure. If a given sales order has multiple shipments (I.E deliveries) then this freight charge is getting calculated partially at item level and passing on to the   billing documents accordingly. Customers receive invoices with part of those charges. They will receive other parts with other shipments and invoices until sales order is completed
    As per my clients business it would be more logical that Freight charges are invoiced on the first invoice. And not as parts in each billing doc
    There are two things which are striking to my mind in terms of solution
    1.   Since it’s only to do with showing the freight charges on the output sent to the customer. Is there any option to display the complete freight charges on the 1st billing doc’s output type? And restrict to display in the remaining billing doc of a given sales order. Any idea how to achieve it this way
    2.   Can this be controlled with the help of copy controls between delivery and billing doc at an item category level .i hope there should be some standard routine in place if not what should be my logic in this routine that helps to accomplish this task
    3.   Create a routine and assign it to the condition type ZMIN…Not sure what logic should I built in here to get the above  requirement up and running
    Please guide me a way forward on this……………..
    Thanks for your support.
    Will reward without fail …
    Mohit

    Hi Madhu,
    The billing document cannot be deleted. It can either be cancelled or a credit memo created with reference to it. You can also check in the same VBFA table, if for a billing document any cancellation exists. If yes, then, the delivery cost becomes relevant. Else it does not.
    However, there could be a timing issue. Say if there are 3 deliveries and 2 of them are taken for billing at the same time in different sessions. (I am not sure if SAP will allow this because of the locking of VBAK table but still a possibility). Then, when the routine goes back to VBFA with the Sales order number, it does not find any billing document. So there is a chance that the freight charges may appear on both deliveries in full. So, you may want to test a few scenarios like this to make sure the logic is good and accommodates all scenarios. 
    Hope this helps.
    Regards,
    Mukund S

  • Currency Conversion for billing doc and after user exits in COPA

    Hello Friends,
    Need your view on this issue:
    1. Company codes currency and Operating currency is different., Costing Based CO-PA.
    2. Value filed "Gross Sales" get posted via Billing doc. In case of correction billing or re-posting (after reversal of original one) of billing doc value
    field "Gross sales" get posted based on exchange rate of original (very first) posted document because system is updating "Translation date"
    in table BKPF from very first document posted and not taking current date as a translation date. SAP standard program is  reading "Translation date" from BKPF to chose exchange rate and valuating "Gross Sales" on that ex.rate.
    3. Some user exits in COPA valuation to populate some values for other value field (Example - Gross Sales value should populate in value field
    "Sales ASP"). After valuation in exits, SAP standard program is re-valuating value fields value (program statement is : perform currency conversion for fields that were changed in exit ) and for this valuation system is taking posting date for exchange rate.
    Due to above logic company code currency value is different in Gross Sales and Sales ASP.
    Requirement is : Sales ASP value should be same as Gross Sales.
    Can you please share your thought to find the solution.
    Thanks
    Ravi

    Check if the currency key and the unit of measurement are filled in (these will be the reference fields specified in the field definition of the structure at the database level).

  • Condition type VPRS missing in billing doc while batch split delivery.

    Dear Gurus,
    We are facing problem of condition type VPRS (COST) missing in billing doc while batch split delivery,
    Please let us know what can be problem or cause for this,
    Regards,
    Sai

    Hi,
    Check copy controls from Delivery to blling document - VTFL is there any thing missing Header as well as item level, at what lelvel your determining the price.  pricing at main item level or batch level.
    Pricing should be at main item level
    There will be two items 1 is main item 2. is Batch item
    chek cumulate cost has checked on main item or not
    and also gothrough the related Notes:
    Regards,
    MH

  • 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

  • SQ01  to show condition types for the Billing doc

    Dear Friends,
    I need to show 3 cost condition types from a invoice in SQ01
    For  eg
    The Query  has   for eg
    Billing Doc     Material     Net value     ZT07     ZT08     ZT09
    The ZT07/8/9  are conditiontypes
    I need to link these at item level in SQ01, which tables should be linked
    Please help
    Kind Regards  Ravi  Kumar Rath

    Hi  Ravi
    Please use the following tables for SQ01
    KONV     Conditions (Transaction Data)     
    KONP     Conditions (Item)     
    VBRP   Billing Item data
    T685
    Regards
    Srinath

  • Automatic Billing Doc

    Hi All ,
    We have a business scenario where we have to trigger a billing doc when the sales order is created .
    We have thought of 2 ways .First is to create a Special function output type for a sales order which will in turn create a billing doc using a bapi.
    Second way is to create a batch job which will run every after 15 mins or so & will create a billig doc .
    Please let me if anyone has any new suggestion.
    Regards
    yogesh

    Dear Nicholas,
    With VKOA settings also check OKB9 settings from Costing point of view.
    Regards,
    Sandeep

Maybe you are looking for