Historical stock on table MARDH is different than calculation from MB5B.

Hi expert,
I've checked stock on posting date (MB5B) is correct, comparing with MMBE as well as the physical inventory stock.
Now I'm checking my historical stock (table MARDH) on period 06.2010, for specific material, plant and storage location is not the same result with MB5B in the same selection. Using my own calculation, MB5B is the correct one.
No problem found at period 04, 05 or 07.
What is the possible reason of this difference in table MARDH?
Kindly advise.
regards,
rob

Does it means if any movement in the next period then it copies from MARD into MARDH for previous period entry?
yes
Kindly advise how the calculation the qty copied into MARDH.
Please read OSS note 193554
It explains how the history tables are updated and it may help to retrieve your value.

Similar Messages

  • MDTB table Rescheduling date different than in MD04

    Hello,
    I am having a very strange situation here : i am getting different data between MDTB table and MD04 transaction.
    The following message in MD04 for a Purchase requisition :
    30: Plan process according to schedule (24.07.2007/18.07.2007) (U4)
    -> Rescheduling date appearing in MD04 is 24.07.2007 (logical)
    -> Rescheduling date appearing in MDTB is 23.07.2007 (strange).
    I don't know where this difference of 1 day is coming from. I thought MDTB was always reading the stock vs requirement list. Other PR for the very same item have the same data between MD04 and MDTB.
    Any idea anyone ?
    Cheers

    1 -> MRP systematically run with planning mode 3 "Delete and recreate"
    2 -> "From date" in the BOM for component is far in the past : No impact on planning run.
    3 -> MO05 is an unexisting transaction.
    No new recipees for this material and difference of one day on two MRP elements between MD04 and MD05 is still there immediately after MRP run.
    Will keep on investigating and keep everybody posted when solution found.
    Cheers

  • Actual tables size is different than tablespace,datafile size

    Hi,
    I had created 10 tables with minimum extents of 256M in the same tablespace. The total size was 2560M. After 3 months run, all tables sizes were not increased over 256M. But the datafile size for that tablespace was increased sharply to 20G.
    I spent a lot of time on it and could not find anything wrong.
    Please help.
    Thanks,

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the Oracle Technology Network (OTN) > Products > Database > Database - General forum.

  • Opening stock Balance Table

    Hi,
    I am writing FS for the following fields
    In selection screen i am selecting
    Material
    Posting date
    Plant
    Output
    Opening stock stock
    GR
    Issue
    Balance
    Closing Stock
    My problem is from which table to fetch  opening stock qty  which belongs to 3months back
    For example i am running this report from Jan09 to March 09 so my query i want opening stock for the month of Jan09 and subsequently reduction in stock after each issue.so from which table i can get this information.
    Need your expertise help
    Regards
    Vivek

    Hi Vivek,
    To Calculate Opening Stock & Closing stock there are different procedures.
    It just depends of\n the client requirements & usage of the material.
    For example, we have different types of stocks, like, Through Pipeline, Special, Unristricted, quality, safety,
    and many types of stocks.... so all these types are indicated in MSEG tabe in SOBTZ field,...
    Now Comimg to your Query, You need to calculate OPENING & CLOSING STOCK.
    We have a similiar standard report in MB5B Tcode..
    to get the same results in your report do like this...
    For valuated stock go to the MARDH, MBEWH, MCHBH tables But I Prefer MBEWH.
    here in MBEWH give the month & year and you get the result in LBKUM field...
    For Special stock, You need to go to another table like MKOLH,,(I forgot still 2 more) and
    give the month & year inputs and you will get the result in SLABS field.
    and remaining MB5B refers to its deetails lists with different Movement types,
    whcih you can get clearly from MSEG Table...
    Hope you can write the select Queries accordingly.
    If you want to find the Stock for a particluar date, It is not available in any table as I know,
    Rather you need to do calculations like this.
    1. Select the stock (Menge) till date from MSEG and add all with different movement types,
    Its a logic need to ask to your functional consultant,
    like 101 added to stock, 601 sales, 102 rejeted, 602 added back to stock,... transfers, 261,,, like this.
    But take a little time, get all these by using MKPF & MSEG tables... thats it.
    Or----
    2.Tables are MSEG , MKPF ... use Debit / Credit indicator ( Do not go woth any static Movement types ) and u have to consider all stock related table
    MBEW , EBEW etc..., to get the stcok on particular date .
    Please refer to Std. Tcode FBL5N for reference.
    Thanks & regards,
    Dileep .C

  • Moving Subpartitions to a duplicate table in a different schema.

    +NOTE: I asked this question on the PL/SQL and SQL forum, but have moved it here as I think it's more appropriate to this forum. I've placed a pointer to this post on the original post.+
    Hello Ladies and Gentlemen.
    We're currently involved in an exercise at my workplace where we are in the process of attempting to logically organise our data by global region. For information, our production database is currently at version 10.2.0.3 and will shortly be upgraded to 10.2.0.5.
    At the moment, all our data 'lives' in the same schema. We are in the process of producing a proof of concept to migrate this data to identically structured (and named) tables in separate database schemas; each schema to represent a global region.
    In our current schema, our data is range-partitioned on date, and then list-partitioned on a column named OFFICE. I want to move the OFFICE subpartitions from one schema into an identically named and structured table in a new schema. The tablespace will remain the same for both identically-named tables across both schemas.
    Do any of you have an opinion on the best way to do this? Ideally in the new schema, I'd like to create each new table as an empty table with the appropriate range and list partitions defined. I have been doing some testing in our development environment with the EXCHANGE PARTITION statement, but this requires the destination table to be non-partitioned.
    I just wondered if, for partition migration across schemas with the table name and tablespace remaining constant, there is an official "best practice" method of accomplishing such a subpartition move neatly, quickly and elegantly?
    Any helpful replies welcome.
    Cheers.
    James

    You CAN exchange a subpartition into another table using a "temporary" (staging) table as an intermediary.
    See :
    SQL> drop table part_subpart purge;
    Table dropped.
    SQL> drop table NEW_part_subpart purge;
    Table dropped.
    SQL> drop table STG_part_subpart purge;
    Table dropped.
    SQL>
    SQL> create table part_subpart(col_1  number not null, col_2 varchar2(30))
      2  partition by range (col_1) subpartition by list (col_2)
      3  (
      4  partition p_1 values less than (10) (subpartition p_1_s_1 values ('A'), subpartition p_1_s_2 values ('B'), subpartition p_1_s_3 values ('C'))
      5  ,
      6  partition p_2 values less than (20) (subpartition p_2_s_1 values ('A'), subpartition p_2_s_2 values ('B'), subpartition p_2_s_3 values ('C'))
      7  )
      8  /
    Table created.
    SQL>
    SQL> create index part_subpart_ndx on part_subpart(col_1) local;
    Index created.
    SQL>
    SQL>
    SQL> insert into part_subpart values (1,'A');
    1 row created.
    SQL> insert into part_subpart values (2,'A');
    1 row created.
    SQL> insert into part_subpart values (2,'B');
    1 row created.
    SQL> insert into part_subpart values (2,'B');
    1 row created.
    SQL> insert into part_subpart values (2,'C');
    1 row created.
    SQL> insert into part_subpart values (11,'A');
    1 row created.
    SQL> insert into part_subpart values (11,'C');
    1 row created.
    SQL>
    SQL> commit;
    Commit complete.
    SQL>
    SQL> create table NEW_part_subpart(col_1  number not null, col_2 varchar2(30))
      2  partition by range (col_1) subpartition by list (col_2)
      3  (
      4  partition n_p_1 values less than (10) (subpartition n_p_1_s_1 values ('A'), subpartition n_p_1_s_2 values ('B'), subpartition n_p_1_s_3 values ('C'))
      5  ,
      6  partition n_p_2 values less than (20) (subpartition n_p_2_s_1 values ('A'), subpartition n_p_2_s_2 values ('B'), subpartition n_p_2_s_3 values ('C'))
      7  )
      8  /
    Table created.
    SQL>
    SQL> create table STG_part_subpart(col_1  number not null, col_2 varchar2(30))
      2  /
    Table created.
    SQL>
    SQL> -- ensure that the Staging table is empty
    SQL> truncate table STG_part_subpart;
    Table truncated.
    SQL> -- exchanging a subpart out of part_subpart
    SQL> alter table part_subpart exchange subpartition
      2  p_2_s_1 with table STG_part_subpart;
    Table altered.
    SQL> -- exchanging the subpart into NEW_part_subpart
    SQL> alter table NEW_part_subpart exchange subpartition
      2  n_p_2_s_1 with table STG_part_subpart;
    Table altered.
    SQL>
    SQL>
    SQL> select * from NEW_part_subpart subpartition (n_p_2_s_1);
         COL_1 COL_2
            11 A
    SQL>
    SQL> select * from part_subpart subpartition (p_2_s_1);
    no rows selected
    SQL>I have exchanged subpartition p_2_s_1 out of the table part_subpart into the table NEW_part_subpart -- even with a different name for the subpartition (n_p_2_s_1) if so desired.
    NOTE : Since your source and target tables are in different schemas, you will have to move (or copy) the staging table STG_part_subpart from the first schema to the second schema after the first "exchange subpartition" is done. You will have to do this for every subpartition to be exchanged.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Apr 4, 2011 10:19 AM
    Added clarification for cross-schema exchange.

  • Table cell is longer than 176 cm in smartforms

    Hi all,
    While printing the smart form  output it is giving
    error : single table cell is longer than 176 cm
    I found the problem , one of the table field is getting more records
    Those records are not fitting in the screen  , what I will do?
    I referred note #690836 in this I found this solution ..
    u201Cif the text is really longer than 176 centimeters, it cannot be output in a table row. In this case, you must switch to a normal text output in a loop before outputting the table.u201D
    How can I switch to normal text output ,can any one give clear idea  about this
    Inside main table i find one loop condition which is printing more data..

    the problem is the length is so huge it will probably not fit on a single page...
    anyway the smarter way to solve it would be to split the contents of your field into another internal table and put the records of this internal table in different rows of your table
    I guess your field is of string type, then you can use function module SO_STRING_TO_TAB to get your contents into SOLI format then it will be easier to output it

  • Exported DDL different than the SQL tab

    Hi,
    I found that the DDL generated by performing Tools->export is different than what is shown in the SQL tab on RHS window for any table.
    Is there any reason, since the SQL tab's display is not useful to recreate the table, as the sequence of constraints/indexes is incorrect.
    The tools->export generates DDL properly.
    Can someone fix this issue?

    The Tools - Export reads DBMS Metadata, the SQL Tab does not. This is intentional. However I have logged a bug about the sequence of the constraints/indexes to track that issue.
    Regards
    Sue

  • Why is the contents of Safari's downloads folder different than the actual folder?

    Why is the contents of Safari's downloads folder different than the actual folder that resides in my users folder?

    Problem is if I delete that .plist I'll delete those downloads.  I'm still able to launch those downloads from that location so that tells that file is probably not corrupted. I need to be able to located that folder and transfer the downloads from it before I do anything like this.  So that begs the question, where is that folder located?  When I do a folder search I'm taken to a Downloads folder, but it's not the one that is showing up from within Safari as it's contents are too different. 

  • I am having a problem with homesharing on my apple tv. The email address on my tv is different than what I am registered with. How do I correct the email address that is being displayed under home sharing on the apple tv?

    Somehow my apple id email address under homesharing on my apple tv is different than that used for homesharing on itunes in my imac. I can't access home sharing on my apple tv because of this. Can you please tell me how to change it on the apple tv in order to get homesharing to work?

    turn off home sharing on apple tv, then turn it on again, entering new credentials. Apple-TV works very reliably with home sharing unlike iDevices which don't

  • Stock related tables

    Sir,
    i want table name to see stock on date basis for stock register. If any one hvaing alv report on stock register with date & storage location wise please help me.
    Actually, MB5B report is also very good but i am not getting ALV LIST storage location wise.
    thanks & regards
    Manoj.

    Hi,
    the stock related tables are....
    MKPF-> header
    MSEG-> Item
    Here MENGE is the stock field.....And DMBTR is the Value of that stock....Also there is a field SHKZG (Debit/credit indicator) where
    H     Credit
    S     Debit
    Check the stock manually with respect to this field....
    LOOP AT it_mseg1 INTO wa_mseg1.
        wa_mseg2 = wa_mseg1.
        IF wa_mseg1-shkzg EQ 'H'.
          sum = sum - wa_mseg1-menge.
        ELSEIF wa_mseg1-shkzg EQ 'S'.
          sum = sum + wa_mseg1-menge.
        ENDIF.
        AT END OF matnr_bwtar.
          wa_mseg3-matnr_bwtar = wa_mseg2-matnr_bwtar.
          wa_mseg3-matnr = wa_mseg2-matnr.
          wa_mseg3-menge = sum.
          wa_mseg3-werks = wa_mseg2-werks.
          wa_mseg3-meins = wa_mseg2-meins.
          wa_mseg3-ebeln = wa_mseg2-ebeln.
          wa_mseg3-bwtar = wa_mseg2-bwtar.
          APPEND wa_mseg3 TO it_mseg2.
          CLEAR: wa_mseg3,sum.
        ENDAT.
        CLEAR: wa_mseg2,wa_mseg1.
      ENDLOOP.
    Arunima
    Edited by: Arunima Rudra on Dec 16, 2008 12:37 PM

  • If I have two email accounts, one personal hotmail account and one MS Exchange work account, how can I setup individual notifications for each account. Right now, any email from any account has the same notification. I want work to be different than perso

    If I have two email accounts, one personal hotmail account and one MS Exchange work account on my iPhone 4s, How can I setup individual notifications for each account? Fore example, if I get a work email, I want to hear a DING, DING....If I get a personal email, I want to hear a BEEP, BEEP. Right now, any email from any account has the same notification. I want work incoming email notification to be different than personal incoming notification. The only semi-workaround I've seen is just disable any notification for the Hotmail account, so only work emails would notify. But then I don't know when I get a personal email. Even the lowely Blackberry Torch 9800 has this feature..not iPhone 4s??
    Thanks

    Sorry you get only one notification sound for all email accounts.  you can send a suggestion to apple here http://www.apple.com/feedback/

  • I had my itunes acct with a yahoo mail, now Im using icloud with my apple id, which is different than itunes I had.  how can I merge this 2 accounts? I still have money in my old itunes acct. 2 acct

    I had my itunes acct with a yahoo mail, now Im using icloud with my apple id, which is different than itunes I had.  how can I merge this 2 accounts? I still have money in my old itunes acct. 2 acct

    Is your phone still signed in with your old iTues ID for iCloud (in Settings>iCloud)?

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • Table referenced by more than one other table

    I'm no DBA so I was wondering if you could answer this fairly basic question. If I have a table that references more than 1 other table. For example Order links to a customer or Order can link to an Employee how would I represent that in the data model?
    I'm guessing I could have the Order table have both an Employee ID and a Customer ID columns and null one or the other out depending on whether it was linked to an Employee or Customer but that seems a bit redundant in that there would always be at least one column being null.
    Perhaps I could use table inheritance and just add the relevant foreign key col on the inherited tables but I'm fairly sure you can't have abstract tables.
    Thanks for the help.

    For example:
    table a = Primary_key1, col2, col3
    table b = Primary_key1, primary_key2, col3
    table c = Primary_key2, col2
    To join all this tables you must do something like this:
    select ....
    from tablea,tableb,tablec
    where tablea.Primary_key1=tableb.primary_key1 and
    tableb.Primary_key2=tablec.primary2;

  • Photo rotaion in organize view different than edit view & slideshow

    Photo rotaion in organize view different than edit view & slideshow. The fact that the power supply to the computer was accidentally disconnected while I was working in iPhoto no doubt was the cause of this phenom.
    Any suggestions as to how to re-sync the rotations back up?

    Thanks for the tip. I wasn't aware of the use of theses two keys simultaneously. It occured to me after this post to just trash the whole library which I had just created for this particular group of photos and re-import the photos to a newly re-created library. I still had the camara connected so as it turned out it was fairly easy. Now that I think about it, if this hadn't been a newly created library just for this group of photos it wouldn't have worked so simply, so I guess I discovered another benifit for having multiple libraries.
    I'm glad you recomended the apple/alt key combo though as this knowledge no-doubt will come in handy at some time.
    iMac PowerPC G4 800 mhz 1GBSDRAM 17" Flatpanel   Mac OS X (10.4.8)   Seagate external Firewire/USB HD's:250GB & 500GBSony DSC-V3 & DSC-S8 Cybershot

Maybe you are looking for

  • Vista to Windows 7 Upgrade Question

    I am preparing to upgrade from Vista Business to Windows 7 on a T500.  I noticed that 4 programs need to be uninstalled prior to upgrading, including McAfee Antivirus, which is the one I'm most concerned about.  Since McAfee was preinstalled on the c

  • How do I move Adobe Acrobat X to a new workstation.

    I need to move Adobe Acrobat X to a new workstation. How do i reinstall Adobe Acrobat X to this new station since Adobe Acrobat XI is now out? I have the serial number for Acrobat X. Do I install Acrobat XI and use Acrobat X license?

  • Problem with radio manual search

       Hi, problem searching radio wave, some of them i'pod can find automatic, but in manual search i can make step by 0.2 only, like 99.9 fm and then goes only 100.1, so can't use my favorite radio 101.00 because after 100.09 goes it 101.1 and don't pl

  • After downloaded the Apps the Apps was gone

    I'm download and install the apps from App Store,I can't find it in my iPad,except I can find it in settings-General-usage

  • Possible to downgrade software?

    I believe the first time I used my iPod nano 6th generation, it had just been updated to the 1.1 software. During the Summer of 2011, before I updated to the 1.2 software in the Fall, I had been able to dock my nano in a powered dock, and keep the wa