Cost of Goods Sold Calculations

I have a planning folder where the user first enters a company code, a currency and a profit center into the respective variables.  In the subsequent template user enters material SKU along with planned Sales Quantity and planned Average Selling Price (ASP).  I load standard prices for all material from R/3.  I have two FOX formulae running in the background as soon as the user saves his/her entries.  First one calculates product revenue, which is (ASP * Quantity).  This one works perfectly fine.  The second formula needs to calculate Cost of Goods Sold (COGS), which is (Standard Price * Quantity).  This formula fails miserably.  As far as my understanding goes, in order for a FOX formula to work all the characteristics that are not in the parameter group between the standard price record and the quantity record should match exactly.  If there is an inherent mimatch between the records then you try to take care of the mismatch in the FOX formula by hard coding.  The quantity records have SKU, company code, profit center, currency (!yeah, currency!), units of measure.  Whereas the standard price records have SKU, distribution plant, currency.  I understand that I can put # sign for company code and profit center in the FOX formula for selecting a standard price record, but unfortunately the currency of the standard price record may not be the same as that of currency of the quantity record since many materials are sourced from a distribution center outside the company code!!  So the simple multiplication of Std price * quantity is not working!!!
I think of two options here.
1.  As it doesn't make sense to populate currency field for a quantity record, I should move the currency variable into the data field for ASP records only.  This way I can put # in currency field for quantity record selection.  But the downside of this is that instead of posting quantity and ASP in one record into the cube, two seperate records get posted when user saves the data.  As our users plan on 10000 different SKUs across the globe, this may not be a good idea unless the option two doesn't work.
2. There must be a way to make the FOX formula work even with the mismatch of currencies between quantity and standard price.  I need your inputs in this regard.
If someone could also explain whether or not my understanding of FOX formula is correct, that would be great.  As always, I would appreciate all the helpful inputs with points.

Yes FOX can be difficult to achieve things that are simpler than simple
The way you described, it will only search fo a standard price on the same currency.
Try to set the currency as changeable characteristic and then search prices for each possible currency.
standard price value  = {standard price, currency1} +                 {standard price, currency2} etc..
The possible currencies could also be filled in a variable which is read at runtime.
Don't know an easier way!
Regards,
Beat

Similar Messages

  • Posting of Commission Exp to calculate the Cost of Goods Sold

    Hi Team,
    I do work in an automobile manufacturing organization and is new to SAP FI module. I have a business requirement which I need to fulfill; I would appreciate if all you gurus help me with finding the solution.
    Business Scenario:  at present, we are posting the following entries to record the commission we paid to dealers for selling vehicles.
    Commission Exp (DR)
         Customer (CR)
    Customer (DR)
         Dealer (CR)
    With these entries we are not been able to track the commission based on vehicle variants i.e. Toyota GLI, XLI etc.
    New Requirement:
    To calculate the Cost of Goods Sold for a variant, I need to track the commission expense based on vehicleu2019s variants. Please help me in finding the solution.
    Thanks

    Thanks for quick response.
    Let me give little more details of type of commission entries we have
    1) Normal Commission - Fixed commission variant wise and is derived from SD.
    2) Additional Commission - No predefined formula, this is totally based on top management discretion. Management decides how much would be paid to a particular dealer.
    3) Sliding Commission deduction - Deduction of certain amount from commission on late payments.
    4) Additional Sliding Commission - Payment of additional commission based on early payment terms.
    Currently, FI department is calculating all these figures on Excel sheets and then post a JV for each type of above mentioned commission.
    How can I configure the system to calculate these amounts automatically without involving Excel Sheet help?
    and how to post these amounts variant wise along with dealers and customers.

  • Cost of Goods sold in cross company sales

    Hi ,
    We have a situation where we need to transfer goods from one company code and site ( Company A ) to another company code and site ( Company B )at the cost price of company A. We are creating a purchase order for this goods from Company B to Comapny A and in turn a sales order is issued for this from Company A.We pick up purchase price in PO from as the Per unit cost of comapny A.
    The issue arises here about in the delivery from company A where the cost of goods sold in delivery is done based on the total stock value divided by the quantity sold as this is SAP method of calculation and this does not always match with the per unit cost. Currently we are passing this difference as discounts.
    This is the best we could achieve where by we have been able to satisfy the business need of having no difference on the purchanse price of company B and sales price of company A.
    My question is : Whether is there any more effecient method of achieving the desired result without having the difference which we are currently passing on as discounts ???
    Would really appreciate any help.
    Thanks and Regards,
    Kartik Shah

    Hi Raj/ Mahendro,
    Thank you for sending me the reply. I will briefly explain you the our process. The purchase from external vendor is done in warehouse belonging to one company code. The purchase is done at Moving average price but normally for an  article there are no price variations. Goods receipt in warehouse is done after adding freight and insurance onto the cost of article.This is the value at which we want to transfer to another site in anotehr company code.
    Now the replneshiment requirement from the other site which belongs to different company code raises a PO on to the warehouse. This PO picks up the article price (KOMV-KBETR) as the MAP from the warehouse (MBEW-VERPR). However the field MBEW-SALK3 for the warehouse is not exactly the quantity multiplied by MAP.It is actually the VERPR field which has the value based on the field SALK3 divided by the stock quantity and rounded off to the two decimal places. There is slight variation here itself due to the rounding of the total stock value and then again rounding at the per unit price.( Both the above fields of MBEW)
    What we are doing on the sales order is to pass the MBEW-VERPR as EDI1 and the sotck value for the quantity ordered  ( ZDEI a new condition) by the site as MBEW-SALK3  divided by the total stock at that point and multiply by the quantity ordered. So due to rounding differences there is difference in the value of EDI1 and ZEDI . Again during the billing from warehouse this condition ZEDI picks up the stock value based on the quantity delivered.
    Since there are minor differences due to the rounding of values between per unit price and the actual stock value this are being passed off as discount and the payables by the ordering site and receivables from the warehouse are the same. Cost of goods sold from warehouse is the actual stock value being sold which is the revenue for the warehouse. 
    Even if we use the standard SAP stock transport order with billing how could we ensure that we do not have even this minor differences.
    Doing away with another document is not the requirement  since we already have automated the process of sales order creation from the pruchase orders.
    Do you think we can achieve our requirement using SAP standard process? Except for this rounding differences we are fine with the current process as well.
    Do Look forward to your answer.
    Warm Regards,
    Kartik Shah

  • Cost of Goods Sold Accounts by Region

    Hi Friends,
    While doiing the GL settings base on Item Groups, there is an option to set the Revenue Account based on Domestic.EU.Foreign.
    Bu why is there no Cost of Goods of Sold accounts based on that.
    Is Cost of Goods Sold account use for calculating gross profit. If so it makes sense to have a single Cost of Goods Sold.
    Can anyone correct me if ia m wrong and please explain to me why  Cost of Goods Sold account is not divided in to Domestic, EU, Foreign.
    Further what is the Expenses Account, in GL settings according to Item Groups, mean.
    Thanks & Regards
    Shiva

    Hey Julie,
    We also need to use a different GL account for inter-company and I am wondering where do you setup GL account by warehouse?
    Can you please provide the menu path or transaction code?
    Thanks,
    Kundan

  • Cost of Goods Sold account determination by customer type (inter-company)

    We have a business need to separate the the cost of goods sold be customer type.  Specifically separating the inter-company cost of goods sold from the 3rd party cost of goods sold. 
    The standard COGS account determination in GBB/VAX only allows for differentiating between material valuation class. 
    Has anyone attempted this before and what method worked?

    For those who may need an answer to this, our solution was the following: 
    1)       Created new types for SO, SO Item, Sched. Line, Delivery, Delivery Item, Billing type  
    2)       Created new Pricing procedure
    3)       Created new movement type Y61/Y62 modeled after 601/602
    4)       Mapped Y61/Y62 to account modifier ZAX.
    5)       Mapped GBB/ZAX to the new account.
    Benefits, they now have better view of the orders going inter-company.  It is flexible enough to adjusting prices for intercompany separate from standard orders, even though for now it is a straight copy of cost.  They are able to remove the sales/use tax, from the calculations. They are able to plan with these orders separated out.  Plus, this will standardize their process for inter-company. 
    Hope this helps someone. 
    Cheers!
    Rick

  • Cost of goods sold duing cross company sales

    Hi ,
    We have a situation where we need to transfer goods from one company code and site ( Company A ) to another company code and site ( Company B )at the cost price of company A. We are creating a purchase order for this goods from Company B to Comapny A and in turn a sales order is issued for this from Company A.We pick up purchase price in PO from as the Per unit cost of comapny A.
    The issue arises here about in the delivery from company A where the cost of goods sold in delivery is done based on the total stock value divided by the quantity sold as this is SAP method of calculation and this does not always match with the per unit cost. Currently we are passing this difference as discounts.
    This is the best we could achieve where by we have been able to satisfy the business need of having no difference on the purchanse price of company B and sales price of company A.
    My question is : Whether is there any more effecient method of achieving the desired result without having the difference which we are currently passing on as discounts ???
    Would really appreciate any help.
    Thanks and Regards,
    Kartik Shah

    Hi Christian,
    Thank you for sending me the reply. I will briefly explain you the our process. The purchase from external vendor is done in warehouse belonging to one company code. The purchase is done at Moving average price but normally for an  article there are no price variations. Goods receipt in warehouse is done after adding freight and insurance onto the cost of article.This is the value at which we want to transfer to another site in anotehr company code.
    Now the replneshiment requirement from the other site which belongs to different company code raises a PO on to the warehouse. This PO picks up the article price (KOMV-KBETR) as the MAP from the warehouse (MBEW-VERPR). However the field MBEW-SALK3 for the warehouse is not exactly the quantity multiplied by MAP.It is actually the VERPR field which has the value based on the field SALK3 divided by the stock quantity and rounded off to the two decimal places. There is slight variation here itself due to the rounding of the total stock value and then again rounding at the per unit price.( Both the above fields of MBEW)
    What we are doing on the sales order is to pass the MBEW-VERPR as EDI1 and the sotck value for the quantity ordered  ( ZDEI a new condition) by the site as MBEW-SALK3  divided by the total stock at that point and multiply by the quantity ordered. So due to rounding differences there is difference in the value of EDI1 and ZEDI . Again during the billing from warehouse this condition ZEDI picks up the stock value based on the quantity delivered.
    Since there are minor differences due to the rounding of values between per unit price and the actual stock value this are being passed off as discount and the payables by the ordering site and receivables from the warehouse are the same. Cost of goods sold from warehouse is the actual stock value being sold which is the revenue for the warehouse. 
    Even if we use the standard SAP stock transport order with billing how could we ensure that we do not have even this minor differences.
    Doing away with another document is not the requirement  since we already have automated the process of sales order creation from the pruchase orders.
    Do you think we can achieve our requirement using SAP standard process? Except for this rounding differences we are fine with the current process as well.
    Do Look forward to your answer.
    Warm Regards,
    Kartik Shah

  • Account Based COPA Cost of goods sold and Revenue Split

    Dear Experts,
    We are using account based copa in a automobile company.
    As per the requirement when a car is sold, depending on the customer request the car  goes for a conversion. like adding Radio, Seat cover, etc
    As per our setup we have different profit centers for vehicle and Parts(radio, seat cover etc) and in this case radio, seat cover, etc are the classes of the material vehicle(not separate material).
    After the vehicle conversion there is a sales order raised which goes to profit center derived from vehicle material master.
    As per the reporting requirement I need to spit the Cost of good sold  and revenue by vehicle profit center and parts profit center for COPA reporting purpose
    Is there any way to do this in standard SAP? Or I need an exit?
    Appreciate your response and please let me know in case of any clarification.
    Many thanks
    Roy
    Edited by: roy001 on Aug 4, 2011 4:52 PM

    For those who may need an answer to this, our solution was the following: 
    1)       Created new types for SO, SO Item, Sched. Line, Delivery, Delivery Item, Billing type  
    2)       Created new Pricing procedure
    3)       Created new movement type Y61/Y62 modeled after 601/602
    4)       Mapped Y61/Y62 to account modifier ZAX.
    5)       Mapped GBB/ZAX to the new account.
    Benefits, they now have better view of the orders going inter-company.  It is flexible enough to adjusting prices for intercompany separate from standard orders, even though for now it is a straight copy of cost.  They are able to remove the sales/use tax, from the calculations. They are able to plan with these orders separated out.  Plus, this will standardize their process for inter-company. 
    Hope this helps someone. 
    Cheers!
    Rick

  • Substituting Cost of Goods Sold Account Profit Center

    Hi
    I am using Sales Order substitution to change the Profit Center according to Sales Org + Product Hierarchy + Customer Group + Acct Asst Grp.  This perfectly replace the Profit Center in Sales Order.  The Profit Center from Sales Order is perfectly flowing to Outbound Delivery.
    While doing PGI, in accounting document, Cost of Goods Sold line item is not getting the profit center from outbound delivery.  It post COGS line item with Material Master profit center.  We want profit center of Cost of Goods Sold line item is same as Sales order / Outbound Delivery.
    I checked SCN, everyone provided the solution of using FI Substitution to change the Profit Center of COGS line item.
    Is it any other way it can be achieved?  if FI Substitution is only the way, can anyone provide the sample code, so that it can be developed fast.
    Thanks
    Venkat Ramachandran

    For those who may need an answer to this, our solution was the following: 
    1)       Created new types for SO, SO Item, Sched. Line, Delivery, Delivery Item, Billing type  
    2)       Created new Pricing procedure
    3)       Created new movement type Y61/Y62 modeled after 601/602
    4)       Mapped Y61/Y62 to account modifier ZAX.
    5)       Mapped GBB/ZAX to the new account.
    Benefits, they now have better view of the orders going inter-company.  It is flexible enough to adjusting prices for intercompany separate from standard orders, even though for now it is a straight copy of cost.  They are able to remove the sales/use tax, from the calculations. They are able to plan with these orders separated out.  Plus, this will standardize their process for inter-company. 
    Hope this helps someone. 
    Cheers!
    Rick

  • Cost of good sold

    Hi
    is there any tocde for get reports  COST OF GOODS SOLD
    regards
    ss

    Hi,
    You need to define your own Account Group for calculating Cost of Goods Sold.
    Many schools of thoughts have different version and hence ask user to give you the list and you can create account group to get the report.
    Hope this helps, if yes, please assign points.
    Regards,
    Harish

  • Cost of Goods Sold Value

    Hello,
    In our material master, neither Moving Average price nor Standard price is maintained,But while doing PGI it is taking value of Cost goods Manufactured from costing Sheet.
    Pls help me to know,how this value gets determined during PGI and procedure to capture this cost of Goods manuf. in condition type in a sales order.
    Regards
    Amit
    Edited by: Amit Gupta on Mar 23, 2009 5:40 AM

    Hello Lakshmipathi ,
    Yes, Our is Make to Order Scenario.Pls help us to determine this cost in Sales order after costing Run.
    In EK02 we can capture Cost of Goods Sold,But i want to capture Cost of Goods Manufactured.
    Thanks for your prompt response.
    Regards
    Amit

  • Cost of goods sold is related with gl code combination id

    Can any one pass the query how the cost of good sold account is l liked with GL code_combination_id

    Like any other GL code, i.e.:-
    select code_combination_id
    from gl_code_combinations
    where segment1 = ’01’
    and segment2 = ’540’
    and segment3 = ’5360’
    and segment4 = ’0000’
    and segment5 = ’000’
    -- etc. according to how your COA is structured
    and chart_of_accounts_id = +{ your COA id }+;
    Regards,
    Jon

  • Cost of Goods Sold - Cost Element asking Cost Object

    Dear All,
    We have defined a G/L account :500000 (Cost of Goods Sold - Field Status Group:G030).
    Normally we should not create it as a cost element,but when CRM consultant does a transaction ,system asks that GL account :500000 not created as a cost element,Hence that time I have created as a cost element.
    Now every time ,system is asking for cost object for this cost element.
    As you all know that ,we can maintain in OKB9,but in our scenario,we have more than 3500 Cost Centers,which is not possible.
    Can anybody share as how to resolve this issue?
    Regards
    Subbu

    Thanks Mr Ajay for understanding my question.
    As I told mentioned in my initial question that  I have created the GL:500000 (COGS) when CRM/SD issues the stock for delivery.
    What my FI done is that the same GL (500000) is assigned both in GBB-VAX and GBB-VAY as per the client requirement.
    Now suggest me as how to come out from this situation?
    If I need to do Validation ,request you to give your guidance as how to do it as I never done.
    Thnaks in advance.
    Su

  • Cost of goods sold report

    Hi all,
    Is there any standard report for Cost of goods sold by production order?Please let me know how to see cogs report by production order.
    Let me know how to calculate this cogs .
    Thanks,
    Sai.
    Edited by: fico sap on Jul 11, 2008 1:42 PM

    Friend
    Order shows material cost & activity cost ; you can charge over head as well
    Means;
    Total order cost = Material costActivty CostFOH
    You can check order wise planned vs actual cost KOC4
    if useful assign points.
    bukhari

  • Cost of Goods Sold Table of CK13N

    Dear Experts,
    How to find Cost of Goods sold components of CK13N values with respective  cost element in Table
    kindly provide valuable suggestion
    With regards,
    Ganesh

    Ganesh,
    you will get the cost estimate results from KEKO and KEPH tables.
    In the standard cost scenario COGM and COGS values are same.
    when yo see the cost component view in the CK13N it will match with cost fields in the KEPH.
    pass the material and plant in KEKO table from there take cost estimate number, now pass this cost estimate number in KEPH table as per your cost components in each cost fields you will get the details.
    Please let me know if you need any further help.
    Regards,
    Ravi

  • Cost of Goods Sold Turnover Ratio query

    Has anyone written a Cost of Goods Sold Turnover ratio query?  The formula would be Cost of goods sold/(beginning inventory+ending inventory/2) within a specified date range at the item key level.
    Thank you for any assistance
    Gary

    Hi Gary,
    We, at our end have scheduled a PROFITABILITY STATEMENT on a monthly basis to management.
    The logic behind that is as follows :
    we batch manage the items on first in first out basis.
    By designing view for GRPO and corresponding batch related tables we retrieved the GRN information with the batches created in system and joined them with sale related information from within another view.
    So our management is getting item group wise and batch wise profitability for a particular period.
    let me know if you want those views.
    thanking you
    Malhaar

Maybe you are looking for