Item Cost in query

Hi expert
how can i find last item Cost via query .

Item cost depends on the inventory valuation method.
You can view the item cost in the Inventory audit report-cost column,if its not visible in the report then check the form setting-cost.
If you would like to have a query report,you can use OINM table-price field
There are two system reports available. One is Inventory Audit Report. Another is Inventory Valuation Report. When you use right mouse click to pop up menu from Item Master, you could view Inventory Valuation Report within current year.

Similar Messages

  • Error In Updating Item Cost

    Hi all,
       I am getting this message when I attempt to update a particular items cost in Inventory.
      Field cannot be updated(ODBC - 1029) [Message 131-183]
       This happens only for a handfull of Items.
      Here are the details :-
      SAP Version : 2005A SP 00 PL 34
      SQL Server Version : 2005 SP1
      Set G/L Accounts by : Warehouse
      Valuation method : Standard
      When I ran the query pertaining to the update directly in Enterprice manager, it worked fine. but not from SAP. Here is the query.
    exec sp_executesql N'UPDATE T0 SET
    T0.[AvgPrice] = @P1,
    T0.[ValidComm] =  NULL ,
    T0.[FrozenComm] =  NULL  
    FROM [dbo].[OITM] T0 WHERE T0.[ItemCode] = @P2  ',N'@P1 char(21),@P2 nvarchar(40)','250.780000           ',N'DF5007SC'
    Noted that the fileds [ValidComm]   and [FrozenComm] are nvarchar fileds and allows null. Note that  the OITM table has User defined fields, allowing null but I dont see how they are affected as the query above is updating the Average price. Wondering though whether SAP should update AvgPrice as the Valuation method is standard and noting Moving Average ?
    I checked out the forum for information and found the same error had occured in different modules and tried out the solutions recommended but it did not solve this issue.
    Any help is greatly appreciated !
    Cheers !
    Adrian,V

    Hi Rahul,
      Yes.Upgrading is one option, but the customer is unwilling to do so as it cost them.
    Cheers!
    Adrian.V

  • Item Cost is missing

    Dear All,
    hopefully someone can kindly help on this.
    The item cost is missed
    in Inventory, for itemA there is still InStock 4, but the item cost is missed (not showing).
    And i cannot find the Base Price in the GP report, but Inventory Posting List has the purchase price.
    itemA still have the item cost in few days ago, but after today i use Credit Memo for returning itemA and enter the item cost manually, then i found out this problem. there is also itemB, but itemB has no problem.
    million thanks about this

    Hi Tac,
    you may have a look at this thread :
    https://forums.sdn.sap.com/click.jspa?searchID=20603446&messageID=6532368
    especially at the posting of  Jeyakanthan:
    Customer Cannot Issue Item From Warehouse
    Item Cost = 0 and Allow Stock Release without Item Cost is disabled
    Symptoms
    Error message on adding outgoing inventory document:
    "Cannot issue item from WH which is managed by batches or serial numbers".
    Customer cannot issue an item from warehouse (with some transaction decreasing on-hand quantity). When issuing item, customer cannot select an item batch or serial no. although it exists and has enough available quantity.
    Resolution
    Check setup options in SAP Business One:
    If in Company Details > Allow Stock Release Without Item Cost is selected.
    What the valuation method is in Item Master Data > Inventory Data Tab.
    Check Item Cost:
    For moving average price (MAP) and standard price, please check Item Cost in Item Master Data > Inventory Data Tab. If customer selected option: "Manage Item Cost per Warehouse" in Company Details, check the Item Cost for relevant warehouse in the tab row.
    For FIFO item, please check the Item Cost of open FIFO layers. In version 2004 C and 2007 A, Item Cost can be seen for remaining Open Quantity of FIFO layers in Inventory Revaluation window after selecting relevant item and warehouse.
    For all versions, please run following SQL query:
    SELECT T0.[ItemCode], T0.[Warehouse], T0.[OpenQty], T0.[OpenValue], T0.[OpenValue]/ T0.[OpenQty] as ItemCost FROM OINM T0 WHERE T0.[ItemCode] =[%0]
    If the ItemCost is zero and Allow Stock Release Without Item Cost is not selected, Customer needs to change Item Cost to a non-zero value.
    regards

  • Problems with item cost & batch table

    Hi experts,
    I have developed a crystal report recently, to retrieve all the data from batch table (OIBT) and present it in a report.
    Valuation method: moving average
    Begin:
    Item ABC
                  (batchnum)A1  blah   (qty)3   (itemcost)10.00  (whs)01
                  (batchnum)A2  blah   (qty)4   (itemcost)12.00  (whs)01
    tables involved OITM(retrieve info), OIBT(retrieve info), OITW(retrieve item cost)
    Everything was fine until the problem(step) below occurred:
    In my query, I already included a condition whereby BatchQuantity must be greater than 0, OITW.OnHand must be greater than 0
    Then, I created a Inventory Transfer document to move A1(full quantity) from Whs 01 to Whs 02.
    I opened up my crystal report, the result shown as following:
    Item ABC
                  (batchnum)A1  blah   (qty)3   (itemcost)10.00  (whs)01
                  (batchnum)A1  blah   (qty)3   (itemcost)10.00  (whs)02
                  (batchnum)A2  blah   (qty)4   (itemcost)12.00  (whs)01
    How to solve the above issue?Please advice. Thank you.

    Hi Tou,
    Check your query  warehouse are linked in your query
    Batch quantity greater than Zero means it consider the IN, OUT batch transactions.
    Regards
    Jambulingam.P

  • Batch Wise Item Cost

    Hi
      Any work around for batch wise item cost at the time of issue.
    Thanks

    From your example, you have 2 batches
    Batch A1 is received first with  Qty 10 Cost 10,000
    Batch B1 is received next with  Qty 10 Cost 20,000
    Now when you  issued qty from batch B1 then Item cost will be only 10,000.
    This is the default B1 functionality.
    To know the next FIFO layer for an Item and its remaining quantities and price use the following query
    /* Unlike items managed by Moving Average and Standard valuation methods, the item cost of
       items managed by FIFO are only accessible through OINM. This query will enable the user
       to find the next item cost for a given item numbermanaged by FIFO. */
        Select
          Top 1 T0.HTransSeq, /* The highest transaction number represent the
        highest revaluation line for a given layer. Selecting the top 1 when
        order desc will enable to select the last revaluation of the layer */
          T0.Transtype, /*Provide the information on the origin of the layer*/
          T0.Base_REF, /* Provide the document number when exists */
          T0.ItemCode, /* Item number */
          T0.calcprice, /* Cost price */
          T0.openqty, /* available qty for the layer */
          T0.BaseCurr, /* currency of the transaction */
          T0.TransSeq, /* Layer number */
          T0.HTransSeq /* Highest revaluation of a given layer */
        From
          OINM T0
          Inner Join
          OITM T1 on
        T0.Itemcode = T1.Itemcode
        Where
          T1.Evalsystem ='F' and /* check only the item manage by FIFO */
          T0.openqty > 0 and  /* exclude the layers where the open quantity is null */
          T0.itemCode = '[%0]' and /* Select Specific item number */
          T0.Warehouse =  '[%1]'
        Order by
          T0.HTransSeq desc /* Order desc enable to select the last layer
        revaluated */

  • Add "cost center" query to a start condition?

    Hi there,
    we got a new requirement for one of our plants.
    We're on SRM 5.0 classic scenario.
    Is it possible to add a "cost center" query to a specific start condition (SWB_PROCUREMENT) of a workflow?
    E.g. if a user uses cost center 4711 for a shopping cart item a specific cost center responsible xyz should approve this item.
    If the user uses another cost center 4712 for a second item in this shopping cart this item should be approved by another cost center responsible abc.
    Is that somehow possible ?
    So far I did not find a suitable expression for cost center.
    Thanks in advance for your answers.
    Best regards,
    Henning

    Hi Masa,
    thanks for your answer. Perhaps you also have a hint for the following:
    I can't really find in the metioned thread or in note 731637 what happens if a SC with several items is partially approved.
    Example:
    SC with 3 items:
    item 1 cc 1000
    item 2 cc 2000
    item 3 cc 1000
    Let's say item 1+3 have been approved by the approver found by badi and WS14500015. Is a PO or a purchase requisition created in backend? Or is it only created after the whole SC has been approved (i.e. also item 2).
    Thanks for a hint and best regards,
    Henning

  • Inserting data in Item  Cost -Layer Cost Update

    Hello experts,
    Is there an interface table for inserting data in Item Cost - Layer Cost Updates?
    Or can I insert on it directly? Can you provide an example Insert query for this?
    Thank you.
    Pam

    Hi
    My understanding is that only Item Types are being picked up by the Actual Cost Process and the others wouldnt be. You should raise an SR to Oracle to confirm the same (as I havent done this for a long time and hence cant be 100% sure). However, if you have already done these then you can run a query to get all this data and use Cost Adjustment as a workaround to load all these values to the items
    Hope this helps
    Regards
    Girish

  • Decimal points for Item Cost

    Hi,
    When i call out the query from OITM which has the average price (item cost), the result showed me in 2 decimal points. But in my item master data, it shows 3 decimal points. How can call out a query that shows 3 decimal points? Is there any condition i should use?
    Thanks,
    Rgds,
    Harith

    Hello Harith, I will test this issue on pl36 to see if it's reproducible. anyway, you are always suggested to patch up with the latest patch. I will let you know the result.
    Just tested and I got the same result as my previously reply, it shows 3 decimals witch complies with both general settings> decimal places for price and item cost in Item master data.
    please try to recall the Avgprice from OITW table to see what you get there.
    Thank you.
    Wilma Wang
    SAP Business One Forums Team

  • How the details of Item Cost can be viewed?

    I need to see what materials were costed for reaching cost of an item. How can it be viewed?

    Query the item in the master item form n click on Tools -> Item costs.
    Make sure you r in the correct org.
    There are other navigations as well.
    Sent from my iPhone

  • Item cost not found for one or more items - Inventory Posting

    Good Day Mentors,
    My user has encountered an error during Inventory Posting and its "Item cost not found for one or more items".
    The specific Message ID from SAP's System Message Log is 10001287.
    I found a similar post which addresses this error here.
    But unfortunately it did not help me solve my user's problem.
    I already checked if the items had a defined "Item Cost" in the Item Master Data Inventory Tab, and they all have "Item Cost" defined.
    I'm not sure if this will help, but below is the Inventory Audit Report of one of the items that is throwing the "Item cost not found" error.
    I am not a business consultant neither am I literate in accounting, so thanks for the patience.
    SAP Version: 9.0 PL5
    Valuation Method: Moving Average
    Thanks in advance!
    Sean

    Hi Augusto and Raviraj,
    I've already verified in our production database the points you made:
    - Is the "Manage Item cost per warehouse" selected in the Basic Initialization Screen?
    YES
    - Is the "Manage Inventory by Warehouse" ticked/checked in the "Inventory Data" tab of the "Item Master Data" screen?
    YES
    * I apologize for not have been able to give this information upfront.
    Anyway, the database only has one warehouse at the moment.
    I've checked the items, like the item in the screen shot above, and it does have an item cost.
    Below is the screenshot of the sample item from my original post,
    Thanks in advance!
    Sean

  • Managing item cost per warehouse.

    Hello,
    I have a client who recently migrated from SAP Business one 8.81 to 9.0 PL8. And now they want to manage items cost per warehouse.This is because although the cost and quantities are okay at company level, at warehouse level there are now some negative values as they have been in operation for over 3 years. In the setups, I found out that the manage item cost per warehouse check box settings was not ticked. How do i ensure that this check box is ticked and what procedures do i take to make this happen. The client has more than 2,000 items and about 30 warehouses.
    Most of the recommendations in the discussion  forum talk about creating a new database, After creating it, how do you go about it. what are the procedures involved?
    Kind regards,
    Maureen

    Hi Maureen,
    This setting one time setting and you can not change once Transaction is posted in System. Please also check below link.
    https://help.sap.com/saphelp_sbo882/helpdata/en/45/07edb6ae742461e10000000a1553f7/content.htm
    Please also check below links.
    Manage Item Cost by Warehouse Function
    changing Manage Item Cost per Warehouse
    Manage Item Cost per Warehouse and Warehouse for Damaged Goods
    Hope this help
    Regards::::
    Atul Chakraborty

  • Manage Item Cost per Warehouse

    Previous posts have confirmed that it is not possible to change the Manage Item Cost per Warehouse option once any inventory transactions have been posted.  One entry posted in Feb 2010 (below) even offered a link to other "Irreversible Ticks" (although that link is now broken).  This limitation is required in order to preserve the relational integrity of the system, within its design architecture.
    Manage item cost per warehouse
    If a database has been in operation for several years with company-level costing, and business changes now force tracking costs by warehouse, I see no option other than creating a new database with the per-warehouse option, then loading items, inventory, GL, etc.  Unfortunately, all history (GL transactions, document history, change log, etc.) is no longer available in that database.
    Is anyone aware of SAP plans or tools to support any other alternatives to this kind of business change?
    Thanks, Dave

    Hi Dave,
    I am afraid creating a new database is your only option.
    For old data, you may still keep access for certain reports. All open items has to be imported to new db. It is a kind of manual archiving. Your database performance will gain a lot though.
    Thanks,
    Gordon

  • Should the Goods Receipt Inventory Transaction include Item Cost selection?

    When processing a Goods Receipt inventory transaction, the Price List pull down does not display "Item Cost" as a selection.
    The user can make the Unit Price field visible and active, compare the cost displayed from the Price List selected to the current Item cost and update if different. This forces the user to be very cost cognizant as none of the price lists available are guaranteed to be equal to the current item cost.
    Update of the record can cause a cost revaluation in moving average or a cost varinance account adjustment in a standard cost system.
    The companies I have talked to would prefer to select Item Cost in the price list field as they can do in the Stock Posting.
    I am looking for further input on this.
    Thanks,
    Jim

    No replies since April 2009, closing.

  • Item cost showing R 3 971.77 instead of R 1.88.

    Hi All
    We have a problem where one of the items is showing an incorrect item cost amount, instead of showing R 1.88 it has R 3 9 71.77. This might be due to the incorrect item cost entered initially by the user.
    When creating any marketing document the journal posted is using this incorrect amount and thus making the account balances incorrect.
    I did an item revaluation for this item to R 1.88 while there was 456 items in stock, then when I looked at the journal it posted there was a debit on the Stock Diff account and also on a credit on the Inventory account.
    We are not satisfied with this journal posting, since the extra R 3969.89 is also posted on the accounts how can we deal with this issue.
    System Setting are:
    SBO 2007A SP0 PL42
    Inventory Valuation : Moving average
    Item Management : Item groups
    Allow negative stock : Yes
    Rgds
    Bongani

    Hi,
    Check that particular Item's Last Evaluated Price.
    And Also Check the Current Item Cost.
    There may be plenty of reasons for this case.
    1. That Particular Item May Revaluated
    2. Any Goods Issue or Goods Reciept has created with Wrong Price (May be in 15 - 16 Thousands)
    3. There may be a chance, that the Item is recently converted to FIFO method and after some transaction again it is Recovered to Moving Average.
    4. Also Check your opening balance entries for that particular item.
    To Solve this Problem...
    1. If Opening Balance Qty and Price for this entered wrongly you can Adjust in Opening balance Window itself
    2. If Some Other Reason, You can do Material revaluation to change the Item Cost.

  • Item Cost update Coneversion Error

    Hi All,
    I am doing item Cost Update conversion, while doing this i am getting the Following only one error for all the items.
    Error Explanation - 'The default cost type for the cost type is not valid.'
    Error Code - CST_INVALID_DEFCSTTYPE
    i am inserting the data in the interface table 'CST_ITEM_CST_DTLS_INTERFACE'
    in this table i am taking only the below columns
    INVENTORY_ITEM_ID,
    ORGANIZATION_ID,
    COST_TYPE,
    RESOURCE_CODE,
    USAGE_RATE_OR_AMOUNT,
    COST_ELEMENT_ID,
    PROCESS_FLAG
    and i am doing this only for materail cost, is there any extra columns i have to take in the interface table for doing with out getting the above error.
    please provide me the data also for the extra columns.
    Any help would be appreciated.
    thanks
    Anushka

    the above error can come only when the row being imported is missing any of "lot size" or "based on rollup flag" or
    "shrinkage rate" or "inventory asset flag" values. Most probably it could be a setup issue.
    when any of these values are missing, the values are defaulted from the default cost type
    of the current cost type into which item costs are being imported into. If the
    default cost type too does not have the values set for the above mentioned
    columns which are having Null values, this message is displayed.

Maybe you are looking for

  • WebAccess problem with Windows Client 8

    Hi,  We have a problem, with external access with windows 8 client Only, with the following error  The user "user@domain", on client computer "IP:33050", has initiated an outbound connection. This connection may not be authenticated yet. There's Gate

  • Vertical JMenuBar width problem

    When I flip my JMenuBar vertical instead of horizontal by doing BoxLayout bl = new BoxLayout(this,BoxLayout.PAGE_AXIS); setLayout(bl); in a constructor for a class that extends JMenuBar. When I do that only 3 characters of each JMenu in the menubar a

  • WRT55AG drops connection

    I've read that there's an issue with the WRT54GS series that will have a loss of internet connection with a high load of P2P traffic (Azureus, DC++). I have seen the third-party firmwares that "fix" the issue. My question is, will that firmware work

  • About database modeling

    hi all, I wonder if there is a forum dedicated to database modeling (I don´t mean a forum about sql syntax but a forum that discusses about how to model relationships between entities and all that stuff) I know this forum has nothing to do with datab

  • Does the portal utilizes Internet Explorer's ADODB.Stream object?

    Does the portal utilizes Internet Explorer's ADODB.Stream object? We're attempting to understand the impact associated with disabling the ADODB.Stream object within Internet Explorer as recommended by Microsoft - http://support.microsoft.com/default.