FX valuation query

Some GL Balance Sheet accounts do have US$ balance but FX revaluation process is ignoring them as the entries are coming from the prior years (2003).  FX process was not on in SAP during that time.
How can I have the FX Valuation process valaute them for the month end closing???
Thanks

Hi,
You need to create Valualtion Key and assign that in the GL a/c master.
Create Key at T-Code OBA1 and go to the Transaction KDB.
Give the Exchange difference Gain and Loss Accounts here.
For Open Item account use Transaction KDF
Regards,
VK

Similar Messages

  • FOREIGN CURRENCY VALUATION QUERY

    I am doing a customer invoice posting in USD for 1300$ (INR 46 Rupees) - Tcode F-22
    If I do a customer incoming payment for a total amount of 1300 $ (INR 47 Rupees) - Tcode F-28 - Here the system is creating a line item automatically generated for Exchange gain and posting the gain amount directly to Exchange gain account.Here I need not do any valuation of foreign currency.
    But in a scenario when the customer is doing a partial payment of 400$ (INR 47 rupees) - Tcode F-28 then system is not creating a line item for Exchange gain for the profit on 400$. When I do the valulation run through FAGL_FC_VAL then only system is crediting the exchange gain a/c.
    Now if i want the exchange gain amount to automatically credited when I do the partial payment also, i.e., if I need the line item Exchange gain account to trigger automatically when I do the partial payment instead of running the FAGL_FC_VAL then is there any option for the same.
    Regards,
    Padmavathi

    Hi JP,
    While making Partial Payments also you can post forex gain/Loss but for that a little configuration is required. The IMG path is :-
    Financial Accounting Global Settings (New)>Global parameters for Company code>Currencies>Indicate Currency Differences for partial payments.
    Here against the document type, which you are using for making partial payments you have to tick that doc type and then the Forex gain/Loss gets posted even on partial payments.
    Hope this help
    Regards,
    SAPFICO

  • Query giving wrong values in portal but correct through RSRT

    Hi,
    Users are running a query through portal which is giving wrong figures. But when we are running the query through RSRT it is showing correct values. The quesry is built on top of an InfoCube which is regularly updated and data in it is matching with R/3.
    This is an Inventory Valuation Query.
    Please suggest what could be the possible issue.
    BR,
    Sayan

    Hi,
    Make sure cache is deleted for the particular query. While the report is executed through portal it refers the cache and if the data in the backend is not changed then the cache for a particular query selection is active and referred each time the query is run.
    on other hand while running RSRT we have an option of not using cache and thus it refers the infoprovider and fetches the correct result. In this case cache could be invalid.
    Try deleting the cache.
    Regards,
    Amit

  • BX/BF  - Valuated Stock not correct in Bex-Query

    Hello Gurus,
    (we are on BI 7.0 with Sp16)
    The first qty for the material 10102883 was (assigned to Store) was posted on 01/16/2007.Why does the 01/2004 - 12/2006 shows as -4 and why does 01/2007 shows as 0.I have loaded BX [With 'NO MARKER UPDATE' Indicator NOT set] and the loaded History BF [With 'NO MARKER UPDATE' Indicator  SET] .Marker Update etc is correct.
    All I want to do is get  rid of -8 value for my history which is not correct in my query result:List cube value also pated in the end.:
    For :
    Material     Plant     
    10102883 2919
    ***************Without Movt Type Drill Down********
    Cal Yr/Moth Valuated stock qty     ValStockValue
    01.2004     -8.00 EA     -$ 27,580.72
    02.2004     -8.00 EA     -$ 27,580.72
    03.2004     -8.00 EA     -$ 27,580.72
    04.2004     -8.00 EA     -$ 27,580.72
    05.2004     -8.00 EA     -$ 27,580.72
    06.2004     -8.00 EA     -$ 27,580.72
    07.2004     -8.00 EA     -$ 27,580.72
    08.2004     -8.00 EA     -$ 27,580.72
    09.2004     -8.00 EA     -$ 27,580.72
    10.2004     -8.00 EA     -$ 27,580.72
    11.2004     -8.00 EA     -$ 27,580.72
    12.2004     -8.00 EA     -$ 27,580.72
    01.2005     -8.00 EA     -$ 27,580.72
    02.2005     -8.00 EA     -$ 27,580.72
    03.2005     -8.00 EA     -$ 27,580.72
    04.2005     -8.00 EA     -$ 27,580.72
    05.2005     -8.00 EA     -$ 27,580.72
    06.2005     -8.00 EA     -$ 27,580.72
    07.2005     -8.00 EA     -$ 27,580.72
    08.2005     -8.00 EA     -$ 27,580.72
    09.2005     -8.00 EA     -$ 27,580.72
    10.2005     -8.00 EA     -$ 27,580.72
    11.2005     -8.00 EA     -$ 27,580.72
    12.2005     -8.00 EA     -$ 27,580.72
    01.2006     -8.00 EA     -$ 27,580.72
    02.2006     -8.00 EA     -$ 27,580.72
    03.2006     -8.00 EA     -$ 27,580.72
    04.2006     -8.00 EA     -$ 27,580.72
    05.2006     -8.00 EA     -$ 27,580.72
    06.2006     -8.00 EA     -$ 27,580.72
    07.2006     -8.00 EA     -$ 27,580.72
    08.2006     -8.00 EA     -$ 27,580.72
    09.2006     -8.00 EA     -$ 27,580.72
    10.2006     -8.00 EA     -$ 27,580.72
    11.2006     -8.00 EA     -$ 27,580.72
    12.2006     -8.00 EA     -$ 27,580.72
    01.2007     -4.00 EA     -$ 13,790.36
    02.2007     -4.00 EA     -$ 13,790.36
    03.2007     -4.00 EA     -$ 13,790.36
    04.2007     0.00 EA     $ 0.00
    01.2004     4.00 EA     $ 13,790.36
    02.2004     4.00 EA     $ 13,790.36
    03.2004     4.00 EA     $ 13,790.36
    04.2004     4.00 EA     $ 13,790.36
    05.2004     4.00 EA     $ 13,790.36
    06.2004     4.00 EA     $ 13,790.36
    07.2004     4.00 EA     $ 13,790.36
    08.2004     4.00 EA     $ 13,790.36
    09.2004     4.00 EA     $ 13,790.36
    10.2004     4.00 EA     $ 13,790.36
    11.2004     4.00 EA     $ 13,790.36
    12.2004     4.00 EA     $ 13,790.36
    01.2005     4.00 EA     $ 13,790.36
    02.2005     4.00 EA     $ 13,790.36
    03.2005     4.00 EA     $ 13,790.36
    04.2005     4.00 EA     $ 13,790.36
    05.2005     4.00 EA     $ 13,790.36
    06.2005     4.00 EA     $ 13,790.36
    07.2005     4.00 EA     $ 13,790.36
    08.2005     4.00 EA     $ 13,790.36
    09.2005     4.00 EA     $ 13,790.36
    10.2005     4.00 EA     $ 13,790.36
    11.2005     4.00 EA     $ 13,790.36
    12.2005     4.00 EA     $ 13,790.36
    01.2006     4.00 EA     $ 13,790.36
    02.2006     4.00 EA     $ 13,790.36
    03.2006     4.00 EA     $ 13,790.36
    04.2006     4.00 EA     $ 13,790.36
    05.2006     4.00 EA     $ 13,790.36
    06.2006     4.00 EA     $ 13,790.36
    07.2006     4.00 EA     $ 13,790.36
    08.2006     4.00 EA     $ 13,790.36
    09.2006     4.00 EA     $ 13,790.36
    10.2006     4.00 EA     $ 13,790.36
    11.2006     4.00 EA     $ 13,790.36
    12.2006     4.00 EA     $ 13,790.36
    01.2007     4.00 EA     $ 13,790.36
    02.2007     4.00 EA     $ 13,790.36
    03.2007     4.00 EA     $ 13,790.36
    04.2007     0.00 EA     $ 0.00
    01.2004     0.00 EA     $ 0.00
    02.2004     0.00 EA     $ 0.00
    03.2004     0.00 EA     $ 0.00
    04.2004     0.00 EA     $ 0.00
    05.2004     0.00 EA     $ 0.00
    06.2004     0.00 EA     $ 0.00
    07.2004     0.00 EA     $ 0.00
    08.2004     0.00 EA     $ 0.00
    09.2004     0.00 EA     $ 0.00
    10.2004     0.00 EA     $ 0.00
    11.2004     0.00 EA     $ 0.00
    12.2004     0.00 EA     $ 0.00
    01.2005     0.00 EA     $ 0.00
    02.2005     0.00 EA     $ 0.00
    03.2005     0.00 EA     $ 0.00
    04.2005     0.00 EA     $ 0.00
    05.2005     0.00 EA     $ 0.00
    06.2005     0.00 EA     $ 0.00
    07.2005     0.00 EA     $ 0.00
    08.2005     0.00 EA     $ 0.00
    09.2005     0.00 EA     $ 0.00
    10.2005     0.00 EA     $ 0.00
    11.2005     0.00 EA     $ 0.00
    12.2005     0.00 EA     $ 0.00
    01.2006     0.00 EA     $ 0.00
    02.2006     0.00 EA     $ 0.00
    03.2006     0.00 EA     $ 0.00
    04.2006     0.00 EA     $ 0.00
    05.2006     0.00 EA     $ 0.00
    06.2006     0.00 EA     $ 0.00
    07.2006     0.00 EA     $ 0.00
    08.2006     0.00 EA     $ 0.00
    09.2006     0.00 EA     $ 0.00
    10.2006     0.00 EA     $ 0.00
    11.2006     0.00 EA     $ 0.00
    12.2006     0.00 EA     $ 0.00
    01.2007     0.00 EA     $ 0.00
    02.2007     0.00 EA     $ 0.00
    03.2007     0.00 EA     $ 0.00
    04.2007     0.00 EA     $ 0.00
    05.2007     0.00 EA     $ 0.00
    06.2007     0.00 EA     $ 0.00
    07.2007     0.00 EA     $ 0.00
    07.2007     0.00 EA     $ 0.00
    09.2008     4.00 EA     $ 13,790.36
         4.00 EA     $ 13,790.36
    ********With Movt Type Drill Down ************************
    Calendar Year/Month     Movement Type     Valuated stock qty     Valuated stock qty
    01.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    02.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    03.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    04.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    05.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    06.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    07.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    08.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    09.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    10.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    11.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    12.2004     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    01.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    02.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    03.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    04.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    05.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    06.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    07.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    08.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    09.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    10.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    11.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    12.2005     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    01.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    02.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    03.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    04.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    05.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    06.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    07.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    08.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    09.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    10.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    11.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    12.2006     101     -8.00 EA     -8.000 EA
         102     4.00 EA     4.000 EA
    01.2007     101     -4.00 EA     -4.000 EA
         102     4.00 EA     4.000 EA
    02.2007     101     -4.00 EA     -4.000 EA
         102     4.00 EA     4.000 EA
    03.2007     101     -4.00 EA     -4.000 EA
         102     4.00 EA     4.000 EA
    09.2008     #     4.00 EA     4.000 EA
    Over All Result          4.00 EA     4.000 EA
    **********************R/3 Values From MB5B ********************
    The MB5B (in R/3) values are as follows :
    Valuation Area   2919                                                                    
    Material         10102883                                                                
    Description      NUBBINS:LIFT,11-3/4" 54.50 LB FJL                                                                               
    Stock/Value on 01/01/0000                    0,000  EA                         0,00  USD 
      Total/Val. of Receipts                    12,000  EA                    41.371,08  USD 
      Total/Value of Issues                      8,000- EA                    27.580,72- USD 
    Stock/Value on 12/31/9999                    4,000  EA                    13.790,36  USD                                                                               
    SLoc MvT S Mat. Doc.  Item DocumentNo Pstng Date          Quantity BUn     Amount in LC                                                                               
    SB04 101 Q 5000509175    3 5000000647 01/16/2007            4,000  EA        13.790,36  
    SB04 102 Q 5000529373    3 5000004152 04/02/2007            4,000- EA        13.790,36- 
    SB01 101 Q 5000537141    2 5000005641 04/25/2007            4,000  EA        13.790,36  
    TPSI 415 Q 4900197566    1 4900003128 07/03/2007            4,000- EA        13.790,36- 
    TPSI 415 Q 4900197566    2 4900003128 07/03/2007            4,000  EA        13.790,36  
    List cube value  ********
    2919     000000000010102883     321     Q     B     Q     03.07.2007     200707     EA     USD     0,000     0,00     4,000
    2919     000000000010102883     321     Q     A     Q     03.07.2007     200707     EA     USD     4,000     0,00     0,000
    2919     000000000010102883     415     Q     A     Q     03.07.2007     200707     EA     USD     4,000     13.790,36     4,000
    2919     000000000010102883          Q     A     Q     10.09.2008     200809     EA     USD     4,000     13.790,36     0,000
    2919     000000000010102883     101     Q     B     Q     16.01.2007     200701     EA     USD     4,000     13.790,36     0,000
    2919     000000000010102883     102     Q     B     Q     02.04.2007     200704     EA     USD     4,000-     13.790,36-     0,000
    2919     000000000010102883     101     Q     B     Q     25.04.2007     200704     EA     USD     4,000     13.790,36     0,000
                                            EA          16,000     41.371,08     8,000
    *****************************End of List cube **Values .
    Most of the materials display the stock in the Bex correctly.Few of them (UOM) with EA (each- UOM) is behaving strangely.
    I hope some one can address this issue.      
    Pints will be awarded for sure.Thanks in Advance.

    Hello,
    I have the same problem with Flat mode is not supported! at ... Characteristic.setHierarchy(Characteristic.java:335):
    Open, close, reload of the query does not help.
    Other SDN-thread "500 Internal Sever - Flat Mode is not Supported!" related to transaction RSRT.
    Execution of query via RSRT works, but the problem still persists in the BEx Web Analyzer.
    Could be related to a BEx Web Analyzer "bookmark" ("Personalize Web Application").
    I have not deleted any item. We use SAP BW 7.0 with a patch level approx. 09.2009.
    The "flat-mode" seems to be the  "BEx table mode".
    SAP hints do not seem to fit here:
    - 715820 BW 3.x Front-End Patch 14 (we use BW 7.0)
    - 874825 SAPBWNews for BW 3.x Front-End Support Package 19
    - 874827 SAPBWNews for BW 3.5 Front-End Patch 08 (we use BW 7.0)
    - 905229 update to SAPTableTree
    - 909824 Termination in flat mode when an object is deleted (old?)
    - 909827 Incorrect InfoProvider-dependent characteristic values
    - 910602 Condition includes too many characteristics (usage of deleted elements)
    - 915215 Termination when a query definition is changed (old? visibility of elements?)
    - 968273 Cache with flat files: Exception is not caught (does not apply to given error)
    Any new solutions?
    Best regards
    Thomas

  • How to valuate efficiency of aggregates (in time of query run)

    Hi, all!
    Is there simple way to learn query execution time? I'd like to use it for valuating aggregates efficiency.
    I know that it can be done by looking at BW Stat tables, but  it is not comfortable. Maybe there is an option in rsrt to show total run time, without using cache?

    You can use RSRT to compare query results with and without the aggregate.  Use the Execute & Debug option when you go to run your query. Then near the of the Debug options under Others, is an option to Display BW Statistics.  Tihs option will display the components of the run time time and how many rows were read and how many were transferred to the OLAP processor. 
    Near the top of the the Debug options is the option Do Not Use Aggregates, so you can run the same query using the aggregates and then again without the aggregates and compare the results.
    Couple of important items -
    This is only testing one particular execution with the inputs you provide.  If the query you are testing has many input prompts and many free characteristics, your users could be running the query in very different ways than your test.
    Your primary interest in this test is the DB time which should pretty strongly correlate with the number of rows selected (read). The total RSRT time shouldn't be worried about for evaluating impact of an aggregate because the front end time should generally be the same regardless of use of the aggregate, since it is a function of the time it takes to get the data to the client and formatted, which should be the same since you are moving the same data to the client with the aggregate and without the aggregate.
    RSRT also has the Debug option Display Run Schedule, which will providew the database optimziers Explain (Execution) Plan which you could also use to evalue the query's performance with and without the aggregate.
    Before starting, you should make sure the DB statistics for the base cube and the aggregate are current in order to provide a valid comparison.
    Also, when using RSRT, keep in mind, that if the query is against an Infocube that has data in both the E and F fact tables, two SQL queries really run, and RSRT will show two Explain plans if you have the Disaply Run Schedule option checked.  If the query is against the multiprovider, you will have SQL queries against each underlying Infoprovider and Explain Plans for each.

  • Valuation Type - Query on GR and GI

    Hi, I am SAP FICO Consultant.
    I know meaning of split valuation and purpose of split valuation. Ex: Same FG needs to be valued differently (ex: locally purchased or imports, produced or procures, etc).
    But i want to know what we should do at the time Goods Receipt and Goods Issue.
    Do we specify Valuation type also at the time of Goods reciept (when we procure from external party or produce in house)
    Do we specify valuation type at the time of goods issue (i.e. at the time of issue to production or Post goods issue for sale).
    Please let me know how we can tell system from which valuation type we issue and receive goods.
    Hope you got the question. Please help.

    HI,
    But i want to know what we should do at the time Goods Receipt and Goods Issue.
    Do we specify Valuation type also at the time of Goods reciept (when we procure from external party or produce in house)
    Do we specify valuation type at the time of goods issue (i.e. at the time of issue to production or Post goods issue for sale).
    Please let me know how we can tell system from which valuation type we issue and receive goods.
    Yes,you are correct
    If your material is split valuated and you have activate it for your plant
    Then you have to specify valuation type in Po or IN GRN and same thing with goods issue
    read following link you will get clear idea
    [http://help.sap.com/saphelp_46c/helpdata/en/47/61017149f011d1894c0000e829fbbd/content.htm]
    Regards
    Kailas Ugale

  • Query on Foreign Currency Valuation(FCV)

    Hello Friends,
    Foreign currency valuation(FCV) program unable to post the entries when we maintain an Open item managed GL account as Balance sheet adjustment account in OB09.
    Why this program unable to post the entries to a open item managed GL account?
    Is there any SAP Note available for this?
    Rgds
    Murali. N

    Murali,
    I am sure you must have done all of these , but i will suggest few checks.
    1) Is the document currency and Local Currency same ? In which case it wont generate a reval
    2) Check the Valuation group in G/L Master for Original G/L account for which it is supposed to book adjustment. Make sure that right valuation group is assigned and it is supposed to undergo reval.
    3) Can you check Table T030HB, this is where the mapping for valuation area and B/S sheet account with Balance Sheet Adjustment account is maintained. Can you please check whatever is the valuation group in the source account ( for which adjustment needs to be booked) is maintained over here.
    Based on my experience , #3 is not so uncommon and sometimes people maintain OB09 but forget about maintaining it on valuation area level
    Hope it helps .

  • Fifo method inventory valuation sql query.

    Dear all,
    I want to stock valuation by FIFO method. if some one have any solution please give me advise.
    thanks

    You won't get any answers with a question like that...
    What is "to stock valuation by FIFO method"?
    Give us an example.

  • QUERY FOR STOCK VALUATION

    Folks
    One of my client need a report as below..
    *ITEMNO -- ITEMNAME-- O/S (in RS & QTY) --- PURCHASES  (in RS & QTY) -- ISSUES  (in RS & QTY) --- CLOSING STOCK  (in RS & QTY)*
    It should have the provision to select DATEWISE.
    Can anybody help me on this??
    regards
    KARTHIK

    Hi Kartik,
    Try the below query....
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    set @FromDate = '2005-01-01 00:00:00.000'
    set @ToDate = '2011-01-01 00:00:00.000'
    SELECT 
              T0.TransNum,
              T0.TransType,
              T0.CreatedBy,
              T0.BASE_REF,
              T0.DocDate,
              T0.DocDueDate,
              T0.CardCode,
              T0.CardName,
              T0.Ref1,
              T0.Ref2,           
              (isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.Warehouse=T2.Whscode and O1.docdate< T0.DocDate  ),0)-
              isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.Warehouse=T2.Whscode and O1.docdate< T0.DocDate ),0)) as [Opening Stock],
              T0.InQty,
              T0.OutQty,
        ((isnull((Select sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.Warehouse=T2.Whscode and O1.docdate< T0.DocDate  ),0)-
              isnull((Select sum(isnull(outqty,0)) from OINM O1 where O1.itemcode=T1.itemcode and O1.Warehouse=T2.Whscode and O1.docdate< T0.DocDate ),0))+T0.InQty -T0.OutQty )AS [Closing Stock]
        FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode =T1.ItemCode LEft Outer Join OWHS T2 On T2.WhsCode =T0.Warehouse

  • Inventory Valuation: Material Prices and Inventory Values Query

    I have been asked to install the cube 0COPC_C04 in BI.  The datasource that is recommened for this cube is 0CO_PC_ACT_04, but in R3 that datasource is not populated. 
    What is wanted is to have the price and value of inventory material in one report.  I can get the price from one datasource and the value from another, but the datasource that has the value information (from what I can find) 0CO_PC_ACT_02 only allows full loads and there are millions of records.
    I am fairly new at setting up extractors for use in BI and need to know if there is another datasource to use or a trick to getting the needed information into BI.

    No, my question has not been answered. 
    What I have done is use two different datasources and from the infopackage try to limit the data coming in to only the current fiscal year/period.
    My problem now is that the first data packages stay "yellow" because the data is not actually updated to the cube.  The last data package that come in turns "green".  In my code I need each data package that comes in to update the cube but I do not know what the code (from the infopackage) would be.
    I can not do this from the update rules because I actually need to limit the data as it comes into BI as there are millions of records.

  • MC.9 Caculation for Valuated stock turn over

    Hi All,
    For an item X –quantity sold is $ 11095
    May Opening stock in $ : 145044
    Stock as of today in $: 48879
    Can anyone help me to find out the inventory turn using the formula in MC.9? it is because am not able to find how MC.9 is calculating turn for valuated stock.
    Thanks Vijesh

    Hi ,
    MC.9 is designed S03* table , to my knowledge , you have to modify lis table.
    SAP Note 64636 - Procedure for statistical data setup in LIS
    SAP Note 111691 - Material-related statistical setup
    Inventory Controlling
    SAP Note 453420 - Incorrect stock values in LIS
    1858368 - Value for field “Valuated stock” or “ValStockValue ” is incorrect in S032
    On the otherhand, I understand that you need to period stocks quantity --> Please look at MBEWH table.
    Also , MB5B report might be respond your query.
    Regards.
    M.Ozgur Unal

  • Stock Aging Query/Report

    Dear all,
    We are on SAP B1 2007 PL42 and using Moving average as our cost valuation method.
    It doesn't have an inbuilt stock aging report, I have searched through the forum but none of the queries arebshowing the correct aging of stocks. Could anyone have a query/report/addon for stock aging?
    Kind Regards,
    Asif

    Hi,
    Try this one,with warehouse code as input parameter
    select b.code, b.name, b.Wh, b.Bal, b.Val,
    isnull(case when b.days <30 then b.bal end,0)'0-30 Days' ,
    isnull(case when b.days between 30 and 60 then b.bal end,0) '30-60 Days',
    isnull(case when b.days between 60 and 90 then b.bal end,0) '60-90 Days',
    isnull(case when b.days between 90 and 120 then b.bal end,0) '90-120 Days',
    isnull(case when b.days between 120 and 150 then b.bal end,0) '120-150 Days',
    isnull(case when b.days between 150 and 180 then b.bal end,0) '150-180 Days',
    isnull(case when b.days >180 then b.bal end,0) 'Above 180 Days'
    from (
    select a.code,a.name,a.wh,a.bal,a.val,datediff(dd,dt,getdate())'days'
    from (
    select max(t0.itemcode)'Code',max(t0.Dscription)'Name',
    max(t0.Warehouse)'Wh',
    sum(t0.inqty-t0.outqty)'Bal',sum(t0.transvalue)'Val',max(t0.docdate)'dt'
    from oinm t0 inner join oitm t1 on t0.itemcode=t1.itemcode
    where t0.warehouse='[%1]'
    group by t0.itemcode
    )a
    )b order by code

  • Stock report in BW (valuated stock and Storage Location level)

    Dear All,
                Regards.We got an situation here,
    Case 1:  R3 (MB5B) (Both "Storage loc" and "Valuated stock" shows the same Stock Qty)
    1).The BW Stock Report shows values the Correct Values for "Receipt Qty" and "Issue Qty" with the Correct  "Quantity total Stock" aswell.
    Case 2 :   R3 (MB5B) (Stock is different between "Storage Loc" and "Valuated Stock")
    1).The BW Stock Report shows the  "Quantity Total Stock according to VALUATED STOCK Level(MB5B),but  the "Receipt Qty" and "Issue Qty" according to STORAGE LOCATION Level(MB5B) .
    We followed the "How to Handle Inventory "Doc with the proper sequence of Loading of Infosources and Compression.The data is sitting fine at the cube level.
    It would be great if someone can throw some Light on this issue,on how the Query shows a COMBO of both Valuated stock and Storage Location stock....Held up with this issue for quite sometime..Had a look at the   Oss Note (589024)...........
    Manythanks
    Arun

    HI,
    In Inventory we have two quantity fields given to satisfy the requirement.
    Valuated stock Qty - 0VALSTCKQTY
    Storage Location qty - 0TOTALSTCK
    You can make use of them based on your requirement. Hope this helps for you.
    Thanks,
    Arun

  • How to create a query to see Opening stock and closing stock as on particul

    Hi All,
    How to create a query to see Opening stock and closing stock as on particul.
    Regards
    Albaik

    Hi,
    In BI 0IC_C03 will provide u the  required information and also having standard queries provided by the SAP.
    Plz find the list of Queries provided by the SAP.
    =======================================================================================================
    Inventory turnover      0IC_C01_Q0001
    Range of coverage - quantity      0IC_C01_Q0002
    Range of Coverage - Value      0IC_C01_Q0003
    Range of coverage of finished goods - quantity      0IC_C01_Q0004
    Range of Coverage of Finished Goods - Value      0IC_C01_Q0005
    Range of coverage of raw materials - quantity      0IC_C01_Q0006
    Range of Coverage of Raw Materials - Value      0IC_C01_Q0007
    Obsolete Stock on Hand      0IC_C01_Q0008
    Period-dependent requirement coverage      0IC_C01_Q0009
    Value of stock on hand      0IC_C01_Q0010
    Quantity of stock on hand      0IC_C01_Q0011
    Material consumption      0IC_C01_Q0012
    Material Movements      0IC_C01_Q0013
    Consignment stock: receipts and issues      0IC_C01_Q0014
    Valuated stock: receipts and issues      0IC_C01_Q0015
    Material stock and movements      0IC_C01_Q0016
    Material Movements (Healthcare)      0IC_C01_Q0020
    Material Consumption (Healthcare)      0IC_C01_Q0021
    Material Availability      0IC_C01_Q0022
    Inventory Turnover Frequency (Value)      0IC_C01_Q0023
    Consignment Stock Received and Issued per Unit      0IC_C01_Q0024
    Material Consumption (Quantity)      0IC_C02_Q0001
    Valuated Stock Receipts and Issues (Quantity)      0IC_C02_Q0002
    Range of Valuated Stock (Quantity)      0IC_C02_Q0003
    Inventory Turnover      0IC_C02_Q0004
    Receipt and Issue Consignment Stock at Customer      0IC_C03_Q0001
    Receipt and Issue Quality Inspection Stock      0IC_C03_Q0002
    Vendor Consignment Stock Receipt and Issue      0IC_C03_Q0003
    Receipt and Issue Stock in Transit      0IC_C03_Q0004
    Receipt and Issue of Blocked Stock      0IC_C03_Q0005
    Valuated Stock      0IC_C03_Q0006
    Stock in Quality Inspection      0IC_C03_Q0007
    Stock in Transit      0IC_C03_Q0008
    Blocked Stock      0IC_C03_Q0009
    Vendor Consignment Stock      0IC_C03_Q0010
    Consignment Stock at Customer      0IC_C03_Q0011
    Stock Overview      0IC_C03_Q0012
    Stock Overview (as of 3.1 Content)      0IC_C03_Q0013
    Quantities of Valuated Project Stock (as of 3.1 Content)      0IC_C03_Q0014
    Valuated Stock (as of 3.1 Content)      0IC_C03_Q0015
    Quantities of Valuated Sales Order Stock (as of 2.1 Cont.)      0IC_C03_Q0016
    Inventory Turnover      0IC_C03_Q0017
    Days' Supply      0IC_C03_Q0018
    SUS: Vendor Consignment Stock      0IC_C03_Q0019
    Scrap      0IC_C03_Q0020
    Inventory Aging      0IC_C03_Q0021
    Stock Overview - extended      0IC_C03_Q0022
    Demand Supply Match      0IC_C03_Q0023
    Warehouse Stock Analytics – Inventory Turnover      0IC_C03_Q0024
    Warehouse Analytics - Obsolescence and Variance      0IC_C03_Q0025
    Stock Overview: Materials      0IC_C03_Q0030
    Average Stock Value Over Time      0IC_C03_Q0031
    Stock Overview Over Time      0IC_C03_Q0032
    Range of Coverage Over Time      0IC_C03_Q0033
    ==================================================================================================
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Jan 18, 2010 8:06 AM

  • Creating query on Bex - Quaterly comparison for statistical & Actual

    Hi All,
    I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
    My Key Figures should be
    1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
    3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
    same thing for 4 Quaters. finally with
    4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
    The report was generated with 'no applicable data'.
    I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
    Please let me know how can I create this query with these Key Figiures.
    Any help would be appreciated. Please respond with the reply.
    Thanks,
    Aparna.

    Hi
    The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type,  Version , Valuation View
    Then you can check that you have some information with the combination of values of your chars:
    Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
    If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
    PY

Maybe you are looking for