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.

Similar Messages

  • Stop zero value postings on anla table

    any suggestions?  getting to many entries in the tables.

    The table ANLA is for master date, there are no postings in this table.
    When you create an asset it updates this table

  • 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.

  • Diff between  Nornal Reversal and Negative postings

    Hi,
    Can any body explian the exact difference between Reversal and a Negative Postings technically, I mean in back end.
    Thank You,
    Purnachandra RM

    The standard reversal posting causes the system to post the debit in error as a credit and the credit in error as a debit. The standard reversal posting causes an additional increase in the transaction figures.
    Example  for Standard Reversal 
    (1).Wrong posting   
    (2).Standard Reversal 
    Account  100000                                 Account  200000
    (1).Dr 100  I   (2)   100                        (2) Dr 100  I   (1) 100 Cr
    Nett Balance is Zero
    �� The negative posting also posts the debit in error as a credit and the credit in error as a debit. This time the posted amount is not added to the transaction figures but it is subtracted from the transaction
    figure of the other side of the account. This sets the transaction figures back to as they were before the incorrect posting took place.
    Example
    Example
    (1).Wrong posting   
    (2).Negative Reversal 
    Account  100000                                 Account  200000
    (1).Dr 100  I                                                 I   (1) 100 Cr
    (2)Dr -100  I                                                 I   (2) -100 Cr
    Nett Balance is Zero
    I hope above example gives clarity

  • Negative postings.... version difference

    HI gurus,
    please help me on the below.
    1. can SAP accepts Negative postings?
    2. What is the main difference between Version 4.7EE and ECC6.0
    3. what is the importance for version maintain in controlling? why do we use a common version0 even more versions available in the system? 
    Thanks
    regards,
    satya

    HI gurus,
    please help me on the below.
    1. can SAP accepts Negative postings?
    2. What is the main difference between Version 4.7EE and ECC6.0
    3. what is the importance for version maintain in controlling? why do we use a common version0 even more versions available in the system? 
    Thanks
    regards,
    satya

  • Runtime error while putting negative value in to table control field

    Hi Guys,
                  I am working on a Table Control which has Currency
    and quantity fields.In PBO when the program is trying put a
    negative value then It is going into a runtime error.
    The Error description is,
    Runtime errors         DYNPRO_FIELD_CONVERSION
                                                                                    Error analysis                                                                               
    The program flow was interrupted and could not be resumed.                                 
    Program "SAPMZDBPRJCTEDFIG" tried to display fields on screen 0100. However, an            
    error occurred while this data was being converted.                                                                               
    How to correct the error                                                                               
    A conversion error occurred while the program was trying to   display data on the screen.                                                                               
    The ABAP output field and the screen field may not have the   same format.                                                                               
    Some field types require more characters on the screen than                                
    in the ABAP program. For example, a date field on a screen needs                           
    two characters more than it would in the program. When attempting to                       
    display the date on the screen, an error will occur that triggers the                      
    error message.                                                                               
    Screen name.............. "SAPMZDBPRJCTEDFIG"                                
                  Screen number............ 0100                                               
                  Screen field............. "ZDB_PROJCTD_FIG-ZWORKDONE"                        
                  Error text............... "FX015: Sign lost."                                 Further data:                                                                               
    I have tried increase the screen field length to more than the ABAP program field length and the scrren field name is of data type which supports signed value.
    But still I am getting the error.the error is 'Sign is lost'.
    I would appreaciate if you can help me with this.
    Correct answer will be rewarded.
    Thank you in advance,
    Sanujit Acharya

    Check The Forum
    Re: PA-BN : "FX015: Sign lost." dump
    Kanagaraja L

  • MVER Table

    Hello experts,
    I would like to know ,based on what factors does the material consumption table is updated ??? I knw that when they do the config OMJJ TCode they would specify if that movement type is specific/relevant to Consumption or not by checking the Consumption posting indicator ( If my understanding is correct) ,But how would one know if we need to consider or enable that based on the movement type ????
    Pls let me know if iam not clear in explaining my question ?
    regards
    Roa

    Hi suresh
    As far as i know
    Every time a material has been used or issued system makes an entry in MVER (T code MB1A - mov. type 261)
    Mov. 261 is for --Goods issue for an order (for example, production order, maintenance order, except customer orders.)
    I hope this will clarify ur doubt
    Vishal...

  • 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,

  • MVER Table Delta Extraction

    Hi,
    My requirement is to create a generic delta which should run on daily basis to deliver deltas to BW system.
    I am wondering what is the field that i should use in the generic delta definition of the to be created datasource as in the
    Table MVER,  i do not find any date field or timestamp field to determine delta.
    The field i have are Fiscal Year and Period Indicator (Daily,Weekly, Monthly etc Flag).
    Any one has any idea of how one can create generic delta datasource if underlying table does not have any Date field or timestamp field or Numric key for that matter?

    Hi,
    You can achieve that as well using Rule group in transformation. Keep the same datasource as I have mentioned and similar selection conditions as well.
    As you have mentioned that you want to store the data on monthly basis rather than yearly basis, you can achive so in Transformations using concept of Rule Group. See below article on same.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90754b76-bcf1-2a10-3ba7-b299b2be09f2
    In your case, table has entries in this fashion:
    Material    Fiscal year  Consumption1month consumption2month consumption3month .........
    ABC         2010             10                             20                             30 
    whereas as I understand you want to have data as
    Material   fiscal year  Month    Consumption
    ABC        2010            1           10
    ABC        2010            2           20
    ABC        2010            3           30
    Please see the link below which gives the details about fields that denote data for a particular period in table MVER.
    http://www.sap-img.com/materials/how-to-get-the-total-stock-consumption-data.htm

  • How to deactivate postings to custom table YFAGLFLEXA

    Hi,
    We have generated custom YFAGLFLEXT table using FAGLFLEXT as a template. This caused table YFAGLFLEXA to be generated automatically by the system to store the Actual Line Items Postings.
    Since the YFAGLFLEXA table is not of any utlity to us, we would like to deactivate it or cause it to not have any updates while posting to YFAGLFLEXT table.
    Is there any way to deactivate postings to YFAGLFLEXA while keeping the rest of the functionality intact?
    Please respond.
    Thanks for your help.

    Hi,
    1. Use se11 in Tab "Delivery and Maintenance"
    2. Change "Data Browser/Table View Maint." to Display/Maintenance Allowed.
    If you don't have yet generate the Maintenance View, go to the menu "Utilities / Table Maintenance Generator" to generate one.
    Best regards,
    Mathieu
    <<removed_by_moderator>>
    Edited by: Vijay Babu Dudla on Jun 9, 2009 8:01 AM

  • Negative spent budget in table HRPADPM, question ???

    Hi HR Experts,
    We have LTI process happening but somehow we get negative spent budget which is not possible.  I checked and found that in the table HRPADPM SAP stored negative amount. What could be the reason for this?
    Thanks,
    Duy

    Hi Duy,
    Were you able to figure out what the root cause was for this issue? If yes, could you please share the solution?
    We are dealing with the same issue for a few org units, were not able to figure out the root cause yet. we have been manually fixing those errors.
    Thanks a lot in advance,
    Jaya

  • 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.

  • Calendar postings from 2 tables

    How could I post events from multiple tables into a calendar page. I have a schema with a few tables that have different activities but all need to be posted to a single calendar as a group and as individuals. Any ideas??
    Thanks

    Scott,
    Our Calendar is built off just one query (we don't support series like we do with some charts - interesting idea for the future though). Because of the single query, if you want to display data from unrelated tables, you will need a view (or query) that unions the data together. Then your links can be specific as well. Something like -
    select hire_date d, employee_name ||' began work' v
    from employees
    union all
    select seminar_date d, seminar_title v
    from seminars
    -- Sharon

  • RFEBKA00 multiple file postings - modifying TVARVC table structure

    All
    I have requirement to write a bespoke program that will pick up multiple MT940 files from a directory AL11 and submit them to the report RFEBKA00.
    I am doing this by putting the file path and file name into a TVARVC variable and using this in the RFEBKA00 variant.
    However the TVARVC-LOW can only handle 45 characters where my file path including the name is more like 70-80 characters long so the TVARVC variable is being truncated to 45 characters.
    I do not really want to bespoke the receiving program (RFEBKA00) to handle multiple TVARVC entries and concatenate the strings together. The only other option I have thought about is modifying the TVARVC structure.
    My question is:
    What would be the implication of modifying the TVARVC table structure to increase the field lengths of the low/high to say 100 characters to handle the filepaths needed in this case?
    Thanks in advance
    David

    You should not modify the standard SAP DDIC objects.
    Also, the table will be used in so many reports/programs,etc. and it may happen these objects iwll not work after your changes.
    the first approach is quite safe though or you may create a new custom table

  • Info about report to rebuild MVER table

    Dear guru ,
    Can you give me info about  report ZMVERBRP that rebuild historical consumptions ?
    Oss note 804011 describe that I can use note 791728.
    But this note doesnu2019t exist.
    Can you help me ?
    Thanks

    The implementation is free of charge from SAP's perspective as you apply the note. Please make sure that you actually read the code and adapt to your needs if needed.
    The note exists but only as a pilot release and and customers will be added only if they really want the reports. SAP does not officially support it. I know it from first hand, I'm the one who releases it to the customers
    Cheers,
    Attila

Maybe you are looking for

  • MacBook Pro 15" Late 2008 will not sleep on its own

    My MacBook Pro will sleep just fine if I close the lid or select sleep from the Apple menu. It won't, however, ever fall asleep on its own. I've tried resetting the SMC to no avail. Any suggestions as to what I should look for?

  • ORA-00600: internal error code, arguments: [kcbgtcr_5] ...

    Hi, I'm getting the error ORA-00600: internal error code, arguments: [kcbgtcr_5], [4294967295], [1], [0], [], [], [], [] with a simple insert command on my XE database. SQL> l   1    insert into sscm_content   2    ( KEY ,   3      NAME ,   4      TO

  • How do I prepare my iPad to give to a new owner?

    What are the steps I must take to transfer all my apps and info to my new iPad from my ipad2?  I want to give my iPad 2 to a family member and I want him to be able to have the iPad 2 to be like a brand new one so that he can set it up the way he wan

  • Sent email to be shown on more than 1 computer in the same premise

    there is small business company that has got 4 computer on same network and every computer has mozilla thunderbird installed. My question is that if i send mail from one computer it does not show the sent mail in another computer's sent folder. why i

  • Any method to query inventory by period

    I need to get the inventory by specific date range, other than using material doc to calculate the inventory(I afraid the performance issue), Any other method can i use. Thanks!