In which field is the current valuation price (FIFO) stored?

We need the current valuation price of FIFO-related items
Previously, the valuation price was stored in oitm.avgprice or oitw.avgprice. In the current version these fields are not filled.
How can you determine the current price of a FIFO-related item?
Valuation Price = (sum of single FIFO prices of the items in stock) : (inventory)
A similar problem occurs with charge-off. So far, the total booking price was stored in ige1.stocksum, but in SAP8.8 it is not. For a recalculation we need the value actually posted at the item level. This is the reason why the price cannot be determined from the posting journal jdt1, because there, a sum of all entries calculated.
Is there a reliable way, which works with both SAP2007 and SAP8.8?
regards
M.Heigl

Hello János
Thanks a lot for your advice, this helps me to advance
Unfortunately, the calcprice is not filled correctly.
Example:
Number of decimals in Price = 2
Posting in 1 piece
Factor = 1000 (1000 pc are posted),
Total price 0.05 u20AC,
Single Price = 0.00005,
now in oitm.calcprice is stored : 0, in oinm.openvalue=0.05u20AC, in the jounrnal (jdt1) 0.05u20AC
Alternatively, the field  u201Copenvalueu201D may be used?
To get out the correct average inventory value, the following SQL statement would be correct:
select sum (openvalue / openqty) from where oinm itemcode = N'test_fifo 'and openqty! = 0
At charge off, the total value is determined via
select sum (-1 * transvalue) from where oinm transtype=60 and createdby=164 and itemcode = N'test_fifo'
In this test, I have also found an error:
If the single price (oinm.calcprice) = 0, for example because it was posted with a large factor, the item cannot be issued anymore.
Error message "acquisition price" is missing (...)
Tested with 2007ASP1PL9 and SAP  8.8 (8.80.230) SP0PL12
I assume that for FIFO evaluation SAP uses the calcprice and not the total price, the single price is determined, which in this case is 0 because of rounding.
Apart from this error: Are my assumptions and SQL statements correct?
Regards,

Similar Messages

  • I recently upgraded to iWork v9.0.3, but when I access each applications the versions are different (i.e. Pages V.4.1, Numbers V2.6, Keynote V5.1.1) with a install date of 3/18/09 -- which is not the current install date of 2 weeks ago. Why?

    I recently upgraded to iWork v9.0.3, but when I access each applications the versions are different (i.e. Pages V.4.1, Numbers V2.6, Keynote V5.1.1) with a install date of 3/18/09 -- which is not the current install date of 2 weeks ago. Shouldn't Pages, Numbers, and Keynote show version 9.?? My MAC confirned installation of v9.0.3 and even accepted the software code. With this discrepancy, how can I determine if the latest was installed and operational? I even downloading v9.0.4, 9.0.5, and 9.1. When I tried installing these downloads it popped up note stating that a later version of Keynote was already installed.

    You used the data.  Verizon can not see what it was sued for.  However your phone can see whats apps used the data.  go to settings-data usage- there will be a place that says data usage cycle.  line the dates up with your cycle.  then there will be a bar graph below that   extend bother white bars one all the way to the left and one all the way to the right.  after those are extended below that will be a list of apps,  there should be one that used over 2 gb and that will show you what app used that data in her purse

  • Inserting text into a field at the current cursor position

    Does anyone know how to insert text into a field at the current cursor position? I would like it to work similar to the Syntax Palette in Forms. I cannot figure out how to retrieve the current cursor position in order to manipulate the text.
    Any help would be great.
    Thanks.

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • Which generation is the current iPod classic?

    Which generation is the current iPod classic?

    Apple stopped with the 6G Classic, although it introduced updated capacities over the next couple of years.
    B-rock

  • TCODE to findout the current material price

    What is the Tcode to find out the current material price?

    dear debashish,
    I dont know the Tcode but you can view it it in SE16 and table name MBEW.
    hope solved you querry.
    Njoy
    Ashish

  • How do I lock a field so the current type in it cannot be overriden?

    how do I lock a field so the current type in it cannot be overriden?

    You can make the field Read Only. You need to be aware that if the form is cleared the typed value in the field will clear and the text in the "Options" "Default Value" will become the field's value. You can use JavaScript to make a form field Read Only and set the default value.

  • When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI

    When target DB is down in which table is the data from source is stored, also where are the error messages stored in ODI( I am not getting any error message in E$_TARGET_ANI_TEST).
    When i am running the interface i am getting the below error against the errored step
    "ORA-01045: user ABC lacks CREATE SESSION privilege; logon denied."
    Only E$_TARGET_ANI_TEST  is created with no data. No such tables like C$_0TARGET_ANI_TEST, I$_TARGET_ANI_TEST are created and also data is not inserted in the target table TARGET_ANI_TEST.

    Hi,
    I have checked that only E$ table is created. C$ and I$ table are not created ( I have selected my target schema as the part for the staging table).
    All the parameters for dropping the tables are selected as "<default>:false".
    I am importing the following KMs with the following parameters:
    1) CKM Oracle
    DROP_ERROR_TABLE
    :false
    DROP_CHECK_TABLE
    :false
    CREATE_ERROR_INDEX
    :true
    COMPATIBLE
    :9
    VALIDATE
    :false
    ENABLE_EDITION_SUPPORT
    :false
    UPGRADE_ERROR_TABLE
    :false
    2) LKM SQL to SQL
    DELETE_TEMPORARY_OBJECTS
    :true
    3) IKM SQL Incremental Update
    INSERT
    :true
    UPDATE
    :true
    COMMIT
    :true
    SYNC_JRN_DELETE
    :true
    FLOW_CONTROL
    :true
    RECYCLE_ERRORS
    :false
    STATIC_CONTROL
    :false
    TRUNCATE
    :false
    DELETE_ALL
    :false
    CREATE_TARG_TABLE
    :false
    DELETE_TEMPORARY_OBJECTS
    :true 

  • How to check which user has the privilege to execute a stored procedure?

    I am using Oracle 7 and I would like to check which user has the privilege to execute a stored procedure. How can I check it? Is there any view I can query for?
    Alex Hung

    Please check DBA_SYS_PRIVS.
    SQL> select * from dba_sys_privs
    2 where grantee='HARY';
    GRANTEE PRIVILEGE ADM
    HARY EXECUTE ANY PROCEDURE NO
    ....

  • Testing a user group field with the current users group

    I have a list which has a column which contains groups.
    I want to create a view with a condition that the current users group should match the group of that field.
    for testing against current date, its [today]
    for testing against the current user, its [me]
    is that a standard way of testing against the current user.
    Tnx 

    Hi,
    According to your post, my understanding is that you want to create a standard view to filter on the current user’s group.
    Per my knowledge, it’s by designed that the [Me] function is only supported to filter on the current user in a SharePoint list view.
    If you want to filter on the current user group in the list view, I recommend that you can try to use the following methods to implement it in your environment.
    1.  Modify the query on a web part in SharePoint Designer:
    http://www.makdeniz.com/how-to-filter-sharepoint-2010-tasks-which-are-assigned-to-you-and-the-group-your-are-member-of/
    2.  To create a custom web part filter that will dynamically filter your content.
    http://christopherclementen.wordpress.com/2012/04/02/filter-a-list-dynamically/
    Whatever your choice, the query will be the following:
    <Or>
    <Membership Type=”CurrentUserGroups”>
    <FieldRef Name=”AssignedTo”/>
    </Membership>
    <Eq>
    <FieldRef Name=”AssignedTo”/>
    <Value Type=”Integer”>
    <UserID/>
    </Value>
    </Eq>
    </Or>
    For more information, you can refer to:
    http://christopherclementen.wordpress.com/2013/05/20/filter-on-current-user-and-current-user-groups/
    http://go.limeleap.com/community/bid/297846/Custom-List-View-Based-on-Current-User-Using-SharePoint-Designer
    http://spuser.wordpress.com/2012/01/13/filtering-list-items-in-sharepoint-based-on-current-user-and-current-user-groups/
    http://techtrainingnotes.blogspot.com/2012/10/sharepoint-filtering-view-by-group.html
    Best Regards,
    Yumi Fu

  • How to find the current User Name and stored in which table

    In which table the current user name (Login) is stored?

    Hi Mohanapriya
    The query provided by Gordon can not run on query generator as the $USER is a runtime variable.
    You need to save it to a query then use it in a FMS(Formatted Search.)
    Just open a form(ex:sales order ), click the field in which you want to show the user name,
    then press ****+F2 or Tools->Search Function->Define,
    Search by Saved query,then assign the save query to the field.
    After that ,you can run the FMS(shift+F2) to get the current user info.
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Error message is not telling which field causing the issue!

    Hello
    I am developing the Adobe Interactive Form and launching this form from WebDynPro ABAP application, fine.
    This form has tonns of dropdown fields, mandatory fields, greyed out fields. Fine.
    I am filling the list the drop-down fields from webdynpro ABAP, but, i am filling list for only 80% of the drop-down fields, rest 20 % is not filling at all (bcz, business want to have those 20% dropd-owns on the form by thinking going further they require, this moment they dont need so they dont want to fill the lists)
    Now the form is launching on the browser, fine. But when user submits it i am getting the below erro:
    The Entered Value Is Not on the List of Valid Values.  (I am guessing this error is talking about the DROPDOWN fields only)
    I hv tonns of drop-down fields, so, its very difficult for me to go and trace each and every drop-down fielld!! But, i checked all the populated/entered values in the drop-down fields, they are all fine. Sone dropd-down fields are GREYED OUT, they are defaulted from webdynpro ABAP
    Pls. let me know How can know which field/drop-down is causing this issue? Wht are the possible causes for this error? Error is not telling which fields is making issue?
    How can i trace and how can i fix it, pls. let me know
    Thank you

    Thank you for your tips.
    But, as of my knowledge every thing (case sensitive, list box entries) are fine, not sure, why am getting this error! I will double chk again.
    But, thing is.... actually, i have 4 pages, depending on the logged in user, i will HIDE the pages (say, for me the 3 rd page will be hidden), i am hiding the pages by using JavaScript in the form.
    So, this error is not coming if i execute/launch all the 4 pages, but, its coming if i hide any page for any user!!
    By chance, do we debug to figure out which FIELD is CAUSING issue/this error?
    From where this message is coming, i mean, from the SAP's JAVA stack? Wht is the message ID and #?
    or is it Adobe's/Form's error?
    Thank you

  • Which field is the workflow trigger for a Contract Agreement ?

    Greeting everyone,
    I am not sure if this has been answer before or if this is the correct forum. If not, apologies in advance and do direct me to the appropriate topic/forum.
    I have an inquiries with regards to Contract Outline agreement and workflow trigger.
    Based on my company configuration, the trigger is based on the changes in value and release strategy.
    What I am unsure is that which field the workflow-trigger checks?
    Does SAP checks the field "Target Value" in contract header, or  the sum of net value in each of the contract items?
    Thank you

    Hello Sek,
    In contracts, the target value is used for the release strategy determination and not the net contract value. If you maintain a target value in the contract header, this value is set in field CEKKO-GNETW to determine the strategy. If no target value exists on header level, a cumulation of the target values of the items is carried out and used for the release strategy determination.
    Regards,
    Mauro

  • How to identify which drive is the current boot drive?

    I have a PowerBook running Leopard, and I prefer to boot from the external drive. It's bigger and has my working files. The current internal drive is for future use, for when I have a replacement machine. I know how to specify the boot drive in Preferences, but sometimes the machine reboots without me. I don't know how to verify which drive I'm booted from. I changed the desktop background, so that once I'm logged in I can tell, but surely there is a more direct way to determine this. Isn't there?

    A simple option would be to select About this Mac from the Apple menu.

  • Which field carries the "reson for rejection" text to the smartforms?

    Hi All,
    In the portal if the user returns an item then he needs to give the reason for the rejection/return..
    Can anybody tell me which field carries this data (Reason for rejection) to the smartform..
    The field reason_code in the structure bbp_pds_conf_header_d does not get the details..
    Even in the line item structure there is no such field..
    Please help..
    Thanx in advance..

    Call BBP_PROCDOC_GETDETAIL with document GUID, get the return table E_LONGTEXT and have a look at those entries with TDID = "IREJ".

  • Which generation for the current macbook pro 13?

    Which generation proccessor the macbook pro 13 normal and retina currently selling in apple store?
    Which should I go for?

    vzhen,
    you can get the non-Retina model with either a 2.5 GHz Core i5 or a 2.9 GHz Core i7 Ivy Bridge CPU. You can get the Retina model with either a 2.4 GHz Core i5 Haswell, a 2.6 GHz Core i5 Haswell, or a 2.8 GHz Core i7 CPU.
    You should go for whichever model best meets your requirements.

Maybe you are looking for

  • Excise duty to be inventorised on material

    Hi Gurus Well in am implementing SAP for Food industry. where there is Excise duty exemption. But for certain Raw material my client is paying Excise duty(14% BED as well as ECess) Which they are not availing the credit and is getting inventorised th

  • Dumb question of the week...

    how do i remove songs from my i-pod? i've looked at the manual and it doesn't make any sense to me...

  • My iPad mini battery dies super quick

    Anyone have a. Solution to solving this issues with my iPad mini battery?

  • Sound not working on MacBook Pro

    the other night my earphones were plugged in to my MacBook Pro and it dropped on the floor and wedged the jack inside. I eventually managed to get it out but now the sound doesn't work at all. Any ideas how I can fix this? And will it be expensive? a

  • Final Cut green screen key in HD.  Good Enough?

    This basically is my question.  Some of this is too complicated.  I'd rather not do AE and Automatic Duck if possible.  I might have to go into my own pocket have someonee come in here and show me what to do.  I think FCP would save me time.  Would i