MVER table - Manually corrected total consumption

I am trying to determine total and manual corrected consumption based on the tables MSEG & T156 instead of using MVER.
Could someone please explaine me how is the value of the field 'Manually corrected total consumption' determined in the table MVER.

Hi,
The below will help you in understanding the behaviour . Please check the same in such a way and please post back.
http://scn.sap.com/thread/1789094
Regards,

Similar Messages

  • Standard extractor for forecast & consumptions values (prow and mver table)

    Hi All,
    Is there any SAP BI standard extractor for forecast and consumptions data ?
    For information,
    ECC6 Forecast table : PROW.
    ECC6 Consumptions table : MVER.
    Thx.
    radj.
    Edited by: Radjech Radjech on Jul 27, 2011 11:13 AM
    Edited by: Radjech Radjech on Jul 27, 2011 11:25 AM

    I have created a generic extractor, in the past, with the FEBEP table. However, my requirement was to join it with the BSID and BSAD tables in order to determine payments that have been received into the lockbox but not cleared, so that the Credit Department has a more up-to-date look at customer accounts.
    If you have multiple companies you could end up with a Cartesian product when the data for this view is rendered because the Accounting Document and Fiscal Year don't uniquely identify records in BSEG and BKPF. Additionally, you wouldn't know exactly which Accounting Document Line Item is the correct record on BSEG. Both of these cases are potential sticky points for both a custom view or User Exit in CMOD, unless you've been given by the end customer a way to mitigate these. For instance, you may be able to derive the Company Code for the FEBEP entry by using the Cost Center or Profit Center, unless your Cost Centers or Profit Centers can span across companies.

  • Unable to add Total forcast,manual correction ky in infoject catalog

    Hi Guru's
    we have a project and where i  have to  create 9ATOTFC (Total forcast) , 9AMANUP (manual correction) keyfigures in BW to APO DP.
    i am trying to add Total forcast and manual correction keyfigures into infobject catalog but when i try to copy these standard keyfigures into infoject catalog , automatically fixed total forcaste and fixed manual keyfigures also copying into infoject catalog .
    i am unable to activate the infoject catalog if i remove the fixed total forcaste and fixed manual keyfigures into infoject catalog .
    Please help me out ...
    Thanks!
    Sruthi

    Hi,
    This is because, the KFs 9AMANUP and 9ATOTFC are compound info objects which have superior info objects 9AMANUPF and 9ATOTFCF. So, the superior Info objects also to be included in the structure if you want use the compounded info objects.
    Please refer the performance help while activating the Info catalog after deleting 9AMANUPF or 9ATOTFCF.
    If you don't want to use these standard KFs, create your own KFs by copying the standard KFs and use them.
    Regards,
    Manimaran M.

  • Mvt Types used to calculate Total Consumption Values

    Hi All,
    I have a report that has the Total Consumptions Output from the MVER table for every period. Now My requirement is to eliminate certain Movement types from the Total Consumption Quantity. These Movement types are input as select-options by user.
    Now my main problem is that , The values got from MVER table are total values per period. And if i need to exclude certain movement types that are in the total, i need to know which movement types were used to calculate the total. What movement types contribute to the values in MVER-GSV01, MVER-GSV02.....etc. How is that value found. How is that table populated by SAP directly. What is that criteria. Can i find any other table which can let me do the same, i mean manually add values to get that total.
    I tried MSEG-MKPF and got some values for Material-Movement type-Period combination. But which of those values should i consider for the total value? I guess only certain movement types are considered as sum of all movement types results in a value higher than the value in MVEr. Does T156 tell us anything about which to add?
    Thanks in advance..!

    Hi,
    Field KZVBU of T156 will give you clue which of the movement types will update consumption data. But you have to check for field XLAUT to check whether the movement is a reversal of some other movements and accordingly do the calculations.
    Give me some more time to find out whether the movement types we get from above observations are the once to be considered.

  • Negative postings to MVER table

    Dear SAP guru's,
    I am trying to simulatie the MVER table trough the MSEG material movements. I've accomplished 95% accuracy through the use of T156-KZVBU en MSEG-KZVBR fields. I'm still missing the posting of some material movement.
    For example the following line:
    MSEG-MENGE=500
    MSEG-BWART=602
    MSEG-SHKZG=S
    MSEG-KZVBR=V
    T156-SHKZG=S
    T156-KZVBU=G
    This has been posted as negative consumption (-500) in MVER. Although it is adding stock (S) this usually gets posted as positive consumption (like a 101 movement with KZVBR=V).
    What am I missing? Which fields are used to further determine the consumption posting to MVER?
    With kind regards,
    Nanne Sluis

    If it helps somebody, I wrote a little tutorial, documenting my research (no guarantees on completeness; and feedback welcome):
    How does MSEG-INSMK work, or better: How are the different stock types being updated in MARD/MARDH/MCHB/MCHBH/u2026
    According to SAP note 368259, MSEG-INSMK cannot be used to determine which stock type fields in history tables are getting updated by the MSEG row. Hence, we investigated the approach on how stock type quantities are getting updated:
    Required SAP tables:
    -     MSEG
    -     MKPF
    -     T156M
    -     T156F
    Maybe required:
    -     T156SC
    -     T156SY
    -     T156W
    -     T156X
    The following tables need to be considered and joined accordingly:
    Example:
    The following tables/fields need to be joined together to retrieve the information which history table fields of stock types are getting updated based on which material movement. Beware that multiple fields can get updated within one transaction; hence the joins can multiply rows. It makes sense to first create a table of T156M / T156F values and pivot it. Afterwards it can be used within the material movements flow:
    1.     Table MSEG (Document Segment: Material): Starting point
    MSEG-BWART = 555          (GI scrapping blocked)
    MSEG-SHKZG = H          (Credit posting)
    MSEG-SOBKZ = u2018u2019          (no special stock)
    MSEG-BUSTM= u2019MS01u2019           (Posting string for quantities)
    MSEG-ZUSTD_T156M= u2018u2019      (Stock Type Modification (Read from Table T156M))
    2.     Table T156M (Posting String: Quantity): Result after Join
    T156M-BUSTM=u2019MS01u2019          (Posting string for quantities)
    T156M-ZUSTD=u2019u2019           (Stock type modification)
    T156M-CNT02=u201801u2018           (Consecutive counter in ATAB tables for inventory management)
    T156M-SMARD=u2018LS1u2018           (Segment string) Updating table MARD
    T156M-SMCHB=u2018CD1u2018          (Segment string)  Updating table MCHB if batches are used
    3.     Table T156F (Fields in Quantity String): Result after Join
    T156F-SEGST=u2018LS1u2018           (Segment string)
    T156F-CNT02=u201801u2018           (Consecutive counter in ATAB tables for inventory management)
         T156F-FELDV=u2019MARD-SPEMEu2018  shows the updated history table field
    The following fields need to be joined, basically:
    MSEG inner join T156M ON
         MSEG.BUSTM=T156M.BUSTM
           and     MSEG.ZUSTD_T156M=T156M.ZUSTD
    T156M inner join T156F ON
         T156M.SMARD=T156F.SEGST
         T156M.CNT02=T156F.CNT02
    Additional Information:
    MSEG-BUSTM (Posting string for quantities)
    Key for the automatic determination of the stock fields that:
    u2022     Have to be checked when a goods movement is entered (availability check)
    u2022     Are updated following a goods movement.
    T156M-ZUSTD (Stock type modification)
    Serves to differentiate between quantity updates carried out for the various stock types.

  • Manual Running Total vs Running Total

    Morning all,
    It is some what strange to me when I try to use a formula to calculate the total jobs and when I try to use Running total to count the same total jobs. Both answers in theory should be the same however they are not. I am wondering where am I going wrong in the manual formula.
    If {despatch_summary.job_type}="FSV" then
    if {despatch_summary.order_status}<>0 then
    {despatch_summary.order_no}
    else
    0
    The above code then gets DistinctCount ({@FSV})
    The same method if I use by using Running Total it gives the correct number of jobs.
    Running Total
    field to summarize : despatch_summary.order_no
    Summary Type: DistinctCount
    Formula: {despatch_summary.job_type}="FSV" and {despatch_summary.order_status}<>0
    Reset: none
    The formula gives me 513 where as the same running total gives me 514
    Where am I going wrong?
    Strangely it is adding 1 to all of my manual running totals (1 is coming from canceled orders).
    Many thanks
    Regards

    Sastry I am adding this formula into the crosstab which is setup by Number of days. So on the column it is number of days and on the summarized field it is this formula.
    I chose Group options and clicked on DistinctCount after adding the formula into the summarized field.
    I have already tried the formula you have suggested however it doesn't seem to be affecting it.
    Apart from that what I have just done is added the Running Totals to the Summarized field which is coming up correctly however now the problem is to get their percentages.
    I have used the following code but it doesn't seem to be working.
    Whileprintingrecords;
    Numbervar g:=Currentfieldvalue;
    Numbervar h:={@TotalJobs-CanceledJobs};
    Numbervar i:=0;
    i:=((g/h)*100);
    Numbervar gTot:=gTot+i;
    if gTot > 100 then "100.00%"
    else
    totext(gTot,2)+"%"
    I know I am doing it wrong when it comes to percentages. I need to get the percentages off that Running Total (Grand Total).
    Am not sure how to acheive that either.
    Many thanks
    Regards
    Jehanzeb

  • Column expression @ dasboard level not divideing by correct totals.

    Having a problem with a column measure at dashboard level. I read a post regarding using a union to fix… but wasn't sure that was the right approach for this issue.
    We have columns 1, 2, A, B, C, values for A and C are within different Fact Dimensions, but do relate back to the common dimensions
    Column A only shows values that are > 0, which limits back values on column C
    Colman B uses an expression of C/A.
    We have table view result totals on Row 1 and 2
    Columns A & C are correct at the total levels, however column B isn’t. it appears that the C value for the expression ‘A/C’ at the total levels is a sum of all the rows for that fact not JUST the rows that match the A > 0 filter.
    Expect this:
    A     B     C
    10     3     30
    20     3     60
    30     3     90
    But get this:
    A     B     C
    10     3     30
    20     3     60
    30     *4.8*     90
    When we change the filter to A >=0 we see extra values in the C column
    A     B     C
    *0*          *15*
    10     3     30
    20     2     60
    *0*          *40*
    30     4.8     145
    I was thinking that I need to modify the column expression with a case statement to limit back the values or something but wanted to put this out there in case I’m missing something or aggregate function I just don’t know about to get back the expected results…
    Running 7.9.6 on 10g
    This was the post i was referring to... OBIEE Answers - Divide two columns from the sum of a union
    Edited by: jeremy21 on Dec 9, 2010 1:45 PM

    I'm assuming like your problem is in you are using a union request for getting the grand total. But in Grand total you aeg etting the results wrong.
    IF yes, then your solution might be this,
    in column B in the grand total criteria, use the formula as,
    sum(C by)/sum(A by)
    and apply the filter as A>0

  • Calculate % on manual running total??

    I have a three part manual running total that prints the final value in the report footer.  That total is based on groups of cities and time spent by each city on a project.  I'm trying to calculate the percentage of time they spent on the total project in each cities group footer.  So, of course (citytime % totalprojecttime).  However, since it's a manual running total it's calculating based on the time up until that point, so the first city is always at 100% because the manual running total and time spent by that city is always equal.  Then the next percentage is only based on the first two cities total divided by that current city, etc. so that the only city that actually has a correct percentage is the last one because it's finally calculated the totals at that point.
    I've tried various printing states (evaluate after, etc) but those aren't going to work because the total isn't done until the end.  Without doing a subreport, is there anyway to calculate that properly?

    If you can't do a simple summary to derive total time for City, then you will need to develop a hidden subreport which you place in city group header, and use that total calculate total city time. You can then use a shared variable to holding the total city time to calculate your %ages.
    Hidden subreport is a subreport will all sections suppressed and minmised so that it does not appear, it must be held in an unsuppressed section, you can section to underlay to ensure minimum space taken up.
    Ian

  • BDLS conversion require manual corrections

    Hi, I am currently running BDLS in a system that is copied from BI Quality system. After the copy, I have run BDLS conversion for few source system connections. For the source system conversion from URD030 -> DV2CLNT030, I found that few tables require manual correction and ran BDLS on these tables as below, but still requires manual correction.
    =======================================================================================
    Log for conversion: URD030 -> DV2CLNT030 in system CND900 (initiator CND 900)
    05/23/2008 16:05:32
    < Table T000 was not relevant for conversion
    Table Name Field Name Number of Relevant Entries Number of Converted Entries
    /BIC/SYPRODHIER* LOGSYS 1 0 <<<<
    RSISOSMAP* LOGSYS 1 0 <<<<
    RSOSFIELDMAP* LOGSYS 1 0 <<<<
    Identifies Cross-Client Tables
    <<<< Error in field of table . Manual correction required.
    < SAPoffice No object reference exists -> No conversion
    < SAPoffice Object references that have been converted: 0
    Table buffer in server synchronized after conversion
    =======================================================================================
    SQL Level Updation gives the following errors.
    I tried to update the table manually from database level, but couldn't. Can you give some suggestions.
    =======================================================================================
    SQL> select count(*) from SAPBIW."/BIC/SYPRODHIER" where LOGSYS='URD030';
    COUNT(*)
    4047
    SQL> update SAPBIW."/BIC/SYPRODHIER" set LOGSYS='DV2CLNT030' where LOGSYS='URD030';
    update SAPBIW."/BIC/SYPRODHIER" set LOGSYS='DV2CLNT030' where LOGSYS='URD030'
    ERROR at line 1:
    ORA-00001: unique constraint (SAPBIW./BIC/SYPRODHIER~0) violated
    =======================================================================================
    Can somebody give me some suggestions on this?
    Regards,
    Giridhara Tadikonda

    I am getting a similar error.  Please assit.

  • Logic for MVER table update

    Hi Experts,
    Can anyone let me know how this table MVER updates. What are all the mvt type it will consider for updation. Your fast reply is appreciated.
    Thanks,
    Suresh

    Hi Suresh,
    The following are the various mvmt types that are used for consumption.
    201
    221
    231
    241
    251
    261
    281
    291
    331
    333
    335
    551
    553
    555
    557
    These values are updated in the MVER table. For eg. V06, V08 fields of MVER are updated with 261 and 201 Mvmt types.
    Reward if cleared and close the thread.

  • Need total consumption quantity year to date for item in inventory

    Hi All,
    I have a requirement as below.
    I need to find the total consumption quantity for a item year to date in inventory i.e i need to find out total issued quantity from year to date for a item.
    so i need following details.
    Consumption 1st year
    Consumption 2nd year
    Consumption 3rd year
    we are following fiscal year JAN-DEC.
    I am looking for a query to find out the above details, please help me out
    Thanks

    Hi Prashant,
    I will try this out. If I remember correctly this did not work especially since we are using the same base condition across the board. I may have to try copying this standard condition and re-assigning it accordingly.
    Thanks for the suggestion
    Anirudh

  • T-code or Table to find total errors in SAP APO like ST22 in ABAP

    hi all,
    Could please tell me the T-code or Table to find total errors in SAP APO like ST22 t-code in SAP ABAP.
    Thanks.
    Suryam S

    Hello Venu,
    Do you mean other functional errors?
    You can check SLG1, /SAPAPO/C3, STAD
    Best Regards,
    R.Brahmankar

  • Inner Join of 3 tables is correct or not?

    Hi Guys ,
                 I have a requirement where i have to join 3 tables i  dont know whether the inner Join which i wrote for 3 tables is correct or not.I am not getting any Syntax error but whether the logci below which i wrote gets all the records or not.
    The Requirement is
    "c.     Select the BOL Number entered in the screen and query the table LIKP with the BOL number in the field LIKP-BOLNR.  Gather the list of ALL delivery documents (LIKP-VBELN) that is outputted.
    d.     Query the list of the delivery documents obtained into the table VBFA in the field VBFA- VBELV.  From the output that is displayed, select the Follow-On Document Field (VBFA-VBELN) for that item whose Subsequent Document Category (VBFA- VBTYP_N) is R and the Movement Type (VBFA- BWART) is 641.  Get the Follow-On document number for each of the above Delivery Document number.
    e.     Query the table EKBE with the Follow On document obtained above in the field Material Document (EKBE- BELNR).  Perform this activity for each of the follow on document obtained above.  Get the resultant Purchase Order (EKBE-EBELN) and Item Number (EKBE-EBELP) from the query.  After querying will all the Follow-On Documents, get the unique list of PO number and Item Number.
    The logic which i wrote is
                    Begin of t_PoolSTO_out,
                  BOLNR type LIKP-BOLNR,
                  EBELN type EKBE-EBELN,
                  EBELP type EKBE-EBELP,
                  VBELN type LIKP-VBELN,
                  VBELNV type VBFA-VBELN,
             End of t_PoolSTO_out.
          Data: i_PoolSTO type Standard table of t_PoolSTO_out.
      Select
            a~BOLNR
            c~EBELN
            c~EBELP
            a~VBELN
            b~VBELN
            from LIKP as a
            Inner Join VBFA as b on aVBELN = bVBELV
            Inner Join EKBE as c on bVBELN = cBELNR
            into Table i_PoolSTO
            Where a~BOLNR in S_LBLNE and
                  b~VBTYP_N = 'R' and
                  b~BWART = '641'.
              My doubt is whether the logic works or not i Mean does i getall the rrecords based on the requirement.?
                      If not please tell any alternative logic?
    Thanks,
    Gopi Anne.

    Hi Gopi,
    Your code is Good.
    But try to avoid Inner join with more number of Tables ...because this is a performance issue..
    try to use..
    select (primary key fields mainly,other fields) from LIKP into itab where bolnr in p_bolnr(paramater).
    next try to use for all entries option..
    select (primary key fields mainly,other fields) from VBFA for all entries in itab where (give the condition)....
    simillarly do for the other select ....ok this will try to reduce the performance issue....
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Tables for Vendor Totals

    Hi
    What are the tables for Vendor Totals.
    Regards
    Rupal

    Vendors it is LFC1.
    or
    Please use for vendor balances:-
    S_AC0_52000888
    Regards,
    vendor use table BSAK , BSIK

  • Manual Running Total won't Reset

    I've created the following formulas to create a manual running total.  However, I can't get the total to reset.  Instead, the total gets added to each time the group appears.  What am I missing? 
    GROUP 1 HEADER 
    ================
    //placed this in group 1 header to reset total each time this group appears
    whileprintingrecords;
    shared currencyvar TotalCore;
    TotalCore:=0
    GROUP 2 FOOTER
    ============================
    //placed this in the footer of next group to get total added to the TotalCore variable from above
    //the fields I'm adding to TotalCore are fields summarizing the detail fields
    WhilePrintingRecords;
    Global CurrencyVar TotalCore;
    TotalCore := TotalCore + ({@Core6-Sum} + {@CoreApp3-Sumfor#ofMos});
    TotalCore
    GROUP 1 FOOTER
    ============================
    //this number accumulates for each group...I need it to reset.
    WhilePrintingRecords;
    Global CurrencyVar TotalCore;
    TotalCore

    You left out two extremely important pieces of information:  the formulas for {@Core6-Sum} and {@CoreApp3-Sumfor#ofMos}.  It is possible (from where I sit) that they are carrying the values forward...
    Other than that, I don't see anything obviously wrong...
    HTH,
    Carl

Maybe you are looking for