Cost of sale oinm table
Hi
One of our customers wants a report of all invoices and the actual cost price of the lines of the invoice. I think the information is held in the oinm table. You have a base_ref and a doclinenum field which seem to link back to the original invoice.
The problem I have is that when I join the oinm table to the invoice table I seem to be out very slighty on the total value of invoices, ie I my link must be wrong
Just wondered if anyone has tried doing this before ?
Many thanks
Regards Andy
Hi Paul
Moving average should be fine
make sure on it's own it works great before seeing base docs. The sum of the values that goes in oinm for a transaction will be the same that is written to the stock control account. Look in the journal linked to invoice.
let me know if you need to know more.
Similar Messages
-
Adding Cost of Sales for Non-Stock articles to POS Inbound Pricing Schema
Hi guys
I'm working on a requirement to derive the Cost of Sales for non-stock items by pulling the current cost for the site and multiplying it by the billed quantity on VBRP. We could create a new condition type using purchase org, article and site in the condition table and manually enter condition records. However it would be more elegant to copy prices from the Purchasing list or deal prices into new condition types in the POS inbound pricing procedure. However SAP standard doesn't seem to allow condition copying from purchasing to sales.
Regards
BrettHi ,
As it happens you need to do this for Non-Stock Articles only.... then you need a routine to do this .
And then in IS -Retail do we not use NETPrice or Final Cost Price to derive the Sales Price ... In that case you get the Cost Price when the Billing doc is getting posted at line level...
Regards
Amitava -
I have a requirement to determine cost of sales derivation.
My question is that what are the SAP fields used in determine it .
Or is there a field which itself says the cost of sales derivation?
Thanks..If the Goods Issue is already posted for a material, you can get it by reading accounting document generated for goods movement ( material document, table MSEG) otherwise read the cost estimate of the material. Get all the cost items for labor and material cost.
-
Dear All,
Client didn't activated the Cost of Sales Accounting initially and preparing Profit & Loss Account by periodic Method for the last four year.
Now Client want the profit & loss on the basis of Cost of Sales Accouting. We defined Functional Area , assiged to Cost enter, Order Type & GL as per user requirement.
I have the following question regarding the existing master data on which already transactional data posted without functional area. What must I consider about the following cost object
1-Internal order ( Real/statiscal settled , released & completed .......)
2-Production/Process/PM Order( settled, released, and closed.......)
4-Product Cost Collector
Further, our Fiscal year is K4, can we activate the Cost of Sales Accounting from start of Fiscal year, so that the date can be captured completely.. is there any time dependency for activation of cost of sales accounting..?Shalin
How did you finally solve these issue?
I have the same problem thou i have not yet installed the CoS accounting. I think that you are able to read the functional area form the new total table that is created once the COS Accounting is active. So the BSEG is reflected on both GLT0 and GLT0FUNC (which i think that the name of the new table with the Functional area included) and there are standard reports similar to RFBILA00 that reads form the new total table.
Is all i am expecting right according to your experience?
Please tell me what you have found on CoS Accounting grounds. Not many people install it this way. -
Substitution for "Cost of sales Accounting" not working with cycle-trx KSC5
Hello togehter,
I have a problem that it seems that a created Substitution for "Cost of sales Accounting" is not executed in our System when running a cycle for Indirect Activity Allocation (Trx. KSC5).
Now I want to debug the Indirect Activity Allocation but I don't know how those Substitution Steps are generated as code that I can set a breakpoint when executing the cycle with Trx KSC5.
I want to try a trace when activating the substitution with transaction OBBZ but I'm not able to analyze in which Forms/Functions the Code is generated.
I also saw some OSS Notes that there are problems with "Cost of Sales Accounting" but I don't know concretely what to do to solve that special problem.
Kind regards
Udothanks for your answer.
I added the filed FKBER in table VWTYGB01.
Now I can select field "functional area" for CO Substitution.
nevertheless substitution does not work and set functional area on Dummy FB 9990 for CO postings to CO-object without Functional area.
Thats curious because I maintained exactly the same Substitution on an other SAP System (IDES Test System) and here it works.
Any ideas?
Are there further settigs required after maintenance of table VWTYGB01??
Thanks in advance -
Cost-of-sales accounting / DUMMY-substitution for CO posting w/o func. area
Dear experts,
we activated Cost-of-sales accounting (special ledger - no use of NewGL functionalities).
We use the SAP "Standard substitition" in FI to make sure that all postings on P&L accounts go to special ledger. If no functional area can be derived, posting is assigend to Dummy functional area.
So far so good.
My question is: Is it possible to set up a "similar" substituition in case of CO postings with secondary cost element (e.g. Internal activity allocation, Overhead Rates) on other CO-object without functional area.
e.g. Internal activity allocation from Cost center to production order. No functional area assigned to production order.
I hope you unterstand my question for this issue.
Thanks in advance for your reply.
regards,
Butchthanks for your answer.
I added the filed FKBER in table VWTYGB01.
Now I can select field "functional area" for CO Substitution.
nevertheless substitution does not work and set functional area on Dummy FB 9990 for CO postings to CO-object without Functional area.
Thats curious because I maintained exactly the same Substitution on an other SAP System (IDES Test System) and here it works.
Any ideas?
Are there further settigs required after maintenance of table VWTYGB01??
Thanks in advance -
List of Materials sold with Cost of Sales below or above a particular limit
Hi,
For few imported articles, while doing the invoice verification and subsequent debits, the users wrongly keyed in the figures, resulting in the over/under valuation of inventories. Substantial part of such inventories had been sold out and based on the Weighted Average Price, the Cost of Sales were booked at incorrect values. The auditors now desire to have a report of articles, sold below a particular limit of Cost of Sales, for passing the provisonal entry thru GL document such that the revenue results appear to be reasonable and more accurate in the Balance Sheet. Could you please advise is there a standard report available in SAP, that could provide the details of material sold with a particular Cost of Sales or say within a limit ? Or else is there a solution to generate such details from SAP ?
Your help would be highly appreciated. Thanks in adavance.
Rgds.Hi,
Please give more info on tables and field where you are trying to pick the Prices
Thanks -
Item Interface error - "The Cost of Sales Account specified is not a valid"
A week back we migrated from 11.5.10 to 12.1.3
Since then, many items are failing in Item Interface with the error "The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV."
Item Master being the 'Inventory master organization'. I checked the cost of sales account & sales account. and they are Valid also their corresponding segments are valid in their respective value sets.
Log message for 'Item Import'
Import Items
Argument 1 (ORG_ID) = 167
Argument 2 (ALL_ORG) = 1
Argument 3 (VAL_ITEM_FLAG) = 1
Argument 4 (PRO_ITEM_FLAG) = 1
Argument 5 (DEL_REC_FLAG) = 1
Argument 6 (PROCESS_SET) = 77
Argument 7 (MODE) = 2
Argument 8 (Gather Stats) = 1
TRANSACTION ID : 42878726
ORGANIZATION ID : 174
TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
COLUMN NAME : COST_OF_SALES_ACCOUNT
MESSAGE NAME : INV_IOI_ERR
ERROR MESSAGE : The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV.
TRANSACTION ID : 42878726
ORGANIZATION ID : 174
TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
COLUMN NAME : SALES_ACCOUNT
MESSAGE NAME : INV_IOI_ERR
ERROR MESSAGE : The Sales Account specified is not valid or has expired for the organization ITEM MASTER INV.
Please help.The Cost_of_sales_account & Sales_account as defined in the MTL_PARAMETERS are different from those in MTL_SYSTEM_ITEMS_B for the corresponding item. The values for these accounts in the interface tables are same as that in the MTL_SYSTEM_ITEMS_B table and hence not same as those defined in MTL_PARAMETERS.
Actually we have a Custom trigger on the MTL_SYSTEM_ITEMS_B table which updates these accounts, once the item is created in the Master Organization.
To verify this issue, I updated the accounts on the MTL_SYSTEM_ITEMS_INTERFACE table to match with that of MTL_PARAMETERS. Ran the 'Item Import', now those records are processed.
Does this means that, the Interface is validating the cost_of_sales_account & sales_account to match with that of the 'Organization' ??.
But we never had this issue in 11i. Is this a part of R12?? -
HI,
Is there any extractor that pulls the Product Costs by Sales Orders?
The 0CO_PC_02 extractor extracts Product Cost by Order and Product Cost by Period. It extracts just the
OR* entries from the COSB, COSS tables but not the
VB* and PR* entries from the tables. Values of Transaction KABG
Regards
VijayHI,
Is there any extractor that pulls the Product Costs by Sales Orders?
The 0CO_PC_02 extractor extracts Product Cost by Order and Product Cost by Period. It extracts just the
OR* entries from the COSB, COSS tables but not the
VB* and PR* entries from the tables. Values of Transaction KABG
Regards
Vijay -
Business Content for Product Cost by Sales Order
Hi,
We need to do reporting on costs associated to Sales Orders. The corresponding R/3 Area is "Product Cost by Sales Order" in Cost Object Controlling. We have looked at the standard cube for Cost Object Controlling (0PC_C01) but this cube only contain costs related to manufacturing orders, whereas we need to look at costs associated with sales orders after Result Analysis.
Have you guys any ideas which content that might support this, if any?
Many thanks!
/ DavidHi Christian,
please refer to SAP Note 584791: <a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000584791&nlang=E">BW-BCT-CO: Costs not extracted on sales orders</a>.
Unfortunately there's no DataSource providing the data you need for your analysis scenario. A custom development is needed (<i>awful!!</i>)
<b>Note 584791 - BW-BCT-CO: Costs not extracted on sales orders</b>
<b>Symptom</b>
In R/3, costs are posted directly to sales orders. The costs have to be analyzed in the BW system. In the standard system, however, this data is not extracted into the BW system.
<b>Other terms</b>
0CO_OM_OPA_1; 0CO_OM_OPA_6
<b>Solution</b>
1. There are currently no DataSources for costs on sales orders in the standard BW Business Content. Unfortunately, there are currently no resources scheduled for a new development in this area either.
2. Therefore, the DataSources and the Business Content must be created in the customer project within the framework of consulting as a customer solution concerning the generic extraction options of the BW Service APIs or function modules you have programmed yourself for extracting data.
3. Technical background information about costs on sales orders:
The transaction data is available in the following R/3 tables
COSS and COSP - Totals records or COEP - Line items.
This concerns records for the VB* object numbers.
The master data of the sales orders is contained in the VBAK and VBAP tables.
The 0CO_OM_OPA_1 and 0CO_OM_OPA_6 DataSources only extract costs for orders with master data in the AUFK table. These types of requests always have OR* object numbers. Therefore, these DataSources cannot be used for sales orders.
However, you may be able to assign requests from the AUFK table (for example, maintenance orders or production orders) to a sales order through the AUFK-KDAUF table field. -
Cost of sales act. and Funds Management_example on KB11N
Dear expert,
I want to hear your opinion about this:
1. On ECC 6, i work with func_area on CO (cost of sales activate) and Not activate the func_area on Funds Management.
2. Based on point 1, how is your controlling transaction work to assigned value? Reposting that assigned budget, is it working as real integration? The controlling transaction update to FM not conflict with func_area from cost centre master data?
I face the condition such as KB11N, func_area derived from cost centre master data and posting as combination fctr/commitment item/func_area on table BPJA. The budgeting under combination fctr/commitment item. That is the reason why the posting KB11N not update correctly on tcode FR05. The report and FR05 will be differrent.
On my experience based 4.7. No issue about func_area between CO and FM on controlling transaction. It works as expected.
I'm awful about this, in fact the going live will be tommorow. I will try another user exit, however i need some suggestion.
Best regards,
DewiHello Eli,
Opposite things hapen to us.
The company already use func_area in Controlling. Funds Management then activated without func_area. For controlling transaction update on FM, func_area derive the same as controlling transaction.
In order update in FM correctly, func_area should be blank. It is helped by derivation rule to make func_area blank. Solving in FM, create new problem on Controlling.
The notes contain how to avoid blank. I need how when co transaction posting, func_area exist but no update on FM.
Have suggestion?
Dewi -
Changing Cost of SAles Account form Profit Centre to Cost Centre
In order to be able to forecast against Cost of Sales accounts within the same process and plan version as expenditure accounts, I am proposing to create Cost Elements on the G/L accounts associated (they currently post to Profit Centre).
Apart from losing history reporting, are there any issues to consider before making this change (e.g automatic account assignment)Hello Shirley,
Here are the areas that I can think of:
1) Field Status Group for Cost objects- OB41 and OB14: For all the GL's that will be created as Cost Element, ensure that Cost Center is not a "Suppressed" or "Display" field, it has to be a "Required" or at least an "Optional" field. (Internal Orders, if used, need similar treatment)
2) Field Status Group for Profit Centers: Similarly, if you have made Profit Center a "Required" field, then you may want to make it "Optional" and allow it to be defaulted from the Cost Center or Internal Order
3) Profit Center Derivation: 3KEH / 3KEI: Entries in these tables, if any, need to be removed for the Accounts that are being created as Cost Elements.
4) Default Account Assignment: OKB9: In case you are not able to enter Cost Center / Internal Order at the time of FI Document entry, then you will need to include these in OKB9.
Hope this information helps.
Regards.
Ashish. -
Hello BW gurus,
sorry for the incomplete question.
This is how i need my report.
Account Number Key Figure Type Company code Plant Sales Organization Fiscal year/period Z1/007.2006 Z1/008.2006 Z1/009.2006 Z1/010.2006 Z1/011.2006 Z1/012.2006
SALES x1
SALES x2
SALES x3
SALES x4
SALES x5
SALES x6
Overall Result SALES x1x2..x6
Similarly i need to get the cost of sales and its overall results
and then i have to get the gross margin as (Sales - Cost of Sales) for each fiscal period(columnwise).
i got the Sales and Cost of Sales like this
Plant Sales Organization Fiscal year/period
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
SALES
COST OF SALES
GROSS MARGIN
but i need all the sales data first and its total(S)
and then all the cost of sales data and its total(C)
and the gross margin (S-C) for individual fiscal period.
Please reply ASAP.Quick help is appreciated.
Thanks in advance,
Regards
Sam MathewHi Viraylab,
check <b>VBAP-NETPR</b> field of table <b>VBAP</b>
It gives the net price corresponding to a line item.
Goto Tcode VA03.See the <b>item overview</b> tab U will get <b>Net Price</b> field for indivisual line item.
Reward points if helpful.
Regards,
Hemant -
Sales charges in Sales Fact table
Hi
I need to build a Sales Fact table, i am putting Order No, line No, Product Sold , Quantity sold, Unit Price.
How can i add Order charges to this table? As this is a charge on the order level and not on the order line level. Will this duplicate the value of Order Charge when i create my reports later if i have an Order with multiple Order lines ?
Thank you.The 'correct design' depends entirely on the business requirements. The business needs to answer the question 'What do we need to know about sales?' The design then needs to support the business requirements. I can see several potential
scenarios so I can't answer that question for you. Does the company treat shipping as a pass-thru cost? The customer pays the shipping charges? If so, then it's relevance would be only related to analyzing if shipping costs are effecting
sales volume. It would not have an effect on product sales and margin so it likely wouldn't be needed in a sales fact table. Then again, does the company offer 'free shipping' on purchases over a certain dollar amount? If so, is the shipping
cost that the company pays factored into the gross margin of the product? Is it effectively treated as a sales discount? If so, then that shipping cost would need to be SKU-allocated to the cost of the ordered items.
See? There is no one-size-fits-all answer as it depends entirely on the business rules. The one thing that does apply is the concept of granularity... items on an order are the lowest grain. Order-level items are a level above that.
For shipping charges to appear in a sales fact table would require either the charge to be a separate item on the order, or an allocation of the charges to be pro-rated out to the other items ordered.
Makes sense? -
Cost of sales accounting in sap classical GL.
Hi Expert,
we are facing problem to know the Material Cost against Sales i.e Revenue for Particular Product. kindly help through which module we will configure so that customer will come to know, while producing the finished goods this much of material Cost, Manpower , Energy as so on occurred till finished goods. Client Manufacturing Automotive Spare Parts for Domestic customer as well foreign. Total 25 Products manufacturing , purchase Raw Material then produced finished goods.
Kindly let me know which Module we will start to config.
Note : we are working on ECC 6 but still NEW GL not activated and Document splitting. we want in existing GL i.e Classic GL.
Urgent Requirement.
Yr immediate response will be highly appreciated.
Kind regards
Pranav Kr. Gupta
SAP FICO ConsultantHi Pranav
Your requirement can be met by product costing and copa
Standard cost estimate split can be transferred to copa during billing. Your std cost estimate will comprise of raw material, labor, overhead etc. When you release bulling from vf01, system will update cost split also along with revenue
However, this split will be based on std cost. Variances are updated to copa during month end when you settle the prod order... if you want the split in copa based on actual cost, you need material ledger activated
To fetch std cost split in copa, you need
1. Costing key in ke40
2. Val strategy in ke4u
3. Val field mapping to cost components in ke4r
4. Costing key assignment in ke4j or kepc
This is addressed many times in the forum. You can check for the above steps in scn
Br. Ajay M
Maybe you are looking for
-
I can no longer edit my custom content management system using Firefox
Hello, I work for the University of North Carolina. We have a very old custom content management system that is built in Oracle (UCM). When logged in, it has little edit buttons that allow you to click on items and launch edit windows. I don't know w
-
Time Machine not resolving on a previously used External Drive (Resolved)
Not Often but I post on a resolved problem that might help. Please be aware that this involves using a root session that might be dangerous for your data if you don't know what you're doing. Problem: I had a Time machine dedicated drive that TM would
-
Error: Listener returned the following Message: 404 Not Found
Hello...I am new to Oracle, and when navigating through Portal it gives me this 404 error message. If possible I need to know where it stems from and how to resolve it. Please assist. Thanks in advance. Ben
-
Ipad just updated. Now App store is in Korean. How do I change?
My Ipad just auto updated. I live in Korea but do not speak Korean. Now my App Store and other things are in Korean. How do I chage it to English?
-
Do Folios need to be updated as well to 31.3 or 32?
My app has been approved and is already in the app store (31.3). My question is...do I also need to also update my folios that were not created since 31.3? Up until last week I was creating everything with CS5 but now I am using CC. (Digging it BTW)