Material ledger Tables

Dear All,
Issue: Not able to post Good receipt due to the error that material does not exit.
Background:  we have activated user exit in material master for material type ZROH and assigned a internal number range to it in MMNR. this user exit will append the material group mentioned during master creation in the internal code generated by system.
example PPMM is the material group and the internal code generated by system is 122222 so when we save the material in mm01 our material code is PPMM122222.
we are trying to do GR by 501 and now the material ledger function module is truncating PPMM from the material code and its trying to post document with 1222222. which then goes into error that material does not exist.
Analysis: I have checked in the MARA/MARC the material code is PPMM1222222.  but i guess in some table whcih is relevant for material ledger system has stored internal material number 1222222.
So I am looking for tables or solution for this isssue

Hi Expert,
Please refer the SAP Standard Material Ledger Tables:
The following tables contain data that can appear in the material ledger documents:
Table - MLHD - Material Ledger Document: Header
Table - MLIT- Material Ledger Document: Items
Table - MLPP - Material Ledger Document: Posting Periods and Quantities
Table - MLPPF - Material Ledger Document: Field Groups (Posting Periods and Quantities)
Table - MLCR - Material Ledger Document: Currencies and Values
Table - MLCRF - Material Ledger Document: Field Groups (Currencies and Values)
Table - MLCRP - Material Ledger Document: Price Change (Currencies, Prices)
Table - MLMST - Material Ledger Document: Costing Run Header Data
Regards,
GK
SAP

Similar Messages

  • Material Ledger Unit Of Measurement different from Material Master

    Dear Team,
    In my client, there is a difference between unit visible in CKM3N and MM03. The base unit of measurement in MM03 is MT. Other than that, there are some other units maintained (not M3) in additional data tab in material master. In CKM3N, the visible unit is M3. M3 is not present anywhere in MM03.
    Why would such unit flow in material ledger table? (CKMLPP has unit M3). Please advise.
    One more observation is that when there is some price change document in Material Ledger, the proper UoM (MT) is being captured. Only in the basic price determination structure visible unit for each head is M3. Please check the attached screen shot.
    Any help would be appreciated.
    Thanks.
    Jay Shah.

    Hi..
    Refer to Data Inconsistency of BUOM in Material Ledger Tables

  • Historical moving average price in material ledger

    Hi SAPGURUS,
    Every Month when doing the Month-end closing,  system re-calculate the moving average cost   in material ledger . Is there a way to get this information for all plant, all model and download to the EXCEL.
    Could you please tell if we can the information from any database table.
    Thanks and regards,
    Priyajit

    Hi,
    Look at the following table data MLCRP for price changes.  MLCR is the basic material ledger table.  There are other ML tables that you may need to refer to: MLCRF and MLPPF.
    Cheers.

  • Reading material ledger header record

    Dear Gurus,
    I am getting the following error when i save the 561 movement posting.
    Error reading material ledger header record
    Message no. C+065
    Diagnosis
    Internal error in function module CKMS_HEADER_READ_WITH_ITAB.
    System Response
    The transaction was terminated.
    Procedure
    Inform your system administrator.
    Kindly help..
    Aktolga

    Hi Aktolga,
    The mentioned error means that the material is relevant for Material Ledger but it does not exist in Material Ledger tables. It is
    an inconsistency and should be repaired. This type of inconsistencies are repaired by Sap support, to repair it, you should create a oss message.
    Best regards,
    Maria Luisa

  • Material Ledger Active Historical GC Tables

    Material ledger is activated. We use Mr21 for standard cost estimates. For some reporting purposes I will need to find the current standard price, previous srandard price in GC (type 30).
    MBEW does not show the GC price. I found the current month's GC price in CKMLCR.
    But I have difficulty in getting the previous month's standard cost from this table, because this talbe doesn't have the material number.
    I tried going through MBEWH History table that gives Prices in Local currency, not in GC. Also this table does not have the cost estimate number. CKMLCR does not have reference to Material. But it refers the cost estimate number. How to bridge these two? Is there any other table?
    Any help most appreaciated.
    thanks

    HI,
    This sort of implementation in the live system happens every where and there is no risks involved.
    There will be some challenges might be.
    1.a)We need decide, are we going to have raw materials with pricing control S or V.
      b)Are we going to have actual price of last month is going to be new planned price of new month or not?
      c)Is it only for reporting purpose or more than that? like inventory control sort.
      d)User training
    2.Ususally, this will be considered as separate procject
    3.refer point 1.
    Vijay

  • Tables used for material ledger

    What are the standard tables used for material ledger

    Hi,
    All req. configuration i have defined in last thread...
    The following tables contain data that can appear in the material ledger documents:
    ·        MLHD      Material Ledger Document: Header
    ·        MLIT  Material Ledger Document: Items
    ·        MLPP      Material Ledger Document: Posting Periods and Quantities
    ·        MLPPF    Material Ledger Document: Field Groups (Posting Periods and Quantities)
    ·        MLCR      Material Ledger Document: Currencies and Values
    ·        MLCRF    Material Ledger Document: Field Groups (Currencies and Values)
    ·        MLCRP    Material Ledger Document: Price Change (Currencies, Prices)
    ·        MLMST    Material Ledger Document: Costing Run Header Data
    The following types of material ledger documents are available, differing by transaction type:
    ·        CL     Material Ledger Closing Entries
    ·        UP    Material Ledger Update
    ·        PC    Price Changes
    ·        ST     Single-Level Price Determination
    ·        MS    Multilevel Price Determination
    ·        RE    Material Ledger Data Repairs
    USE :
    Material ledger documents are data that is recorded during each business transaction that is relevant to valuation. You can archive documents for closed periods when they are no longer needed for material price determination or reporting purposes. Archiving the documents deletes them from the database.
    Regards,
    Priyanka.P
    PLS AWARD IF HELPFULL
    Edited by: Priyanka Paltanwale on Aug 7, 2008 9:34 AM

  • Material ledger activity rate revaluation account determination modification

    Scenario:
    SAP ECC 617
    Material ledger activated with activity rate revaluation (i.e. cost center over/under absorption posts to ML and not to production orders)
    Standard SAP setup has PRV transaction key used to post both multi-level price differences to inventory and to capture the offset to the cost center clearing entries (GBB-AUI) causing the values to get comingled in the same account
    Question:
    For reporting purposes I would like to determine a unique account for the activity rate revaluation entries.  There is no relevant general modifier available for transaction key PRV. Is it possible and practical to modify table T169A for a specific value string / field name combination that represents this material ledger transaction?  If so, what is the combination?  Or will this cause major issues with ML processing?
    I'm trying to find a creative way to fill this gap without account substitution.

    Hi Eric,
    This is an interesting one.
    Modifying value string might be an option but in my opinion is quite a serious "brain surgery" on the system :-).
    You may want to try another option.
    In SPRO -> Controlling -> General Controlling -> Organization -> Maintain Versions
    for version 0, Controlling Area Settings, Settings for Each Fiscal Year in tab Price Calculation there is field Revaluation.
    One of the options there is 'Own business transaction'. With this option posting to sending Cost Centre resulting from actual activity price revaluation will be posted with different Business Transaction (although same secondary cost element as original activity allocation).
    In reports you can separate postings based on Business transaction.
    It definitely works for Activity Update 1 (revaluation of production orders).
    I'm not sure if it works for Activity Udate 2 (no revaluation of production orders).
    Please let us know the results of your investigation.
    Regards,
    Szymon

  • Material Ledger -- WIP values

    Hi,
      We have material ledger functionality active and want to extract the WIP values based on the Production Order. Currently we are executing transaction Code CKMLWIPDISP for viewing the WIP details and the values in object currency and controlling area currency are appearing. We want to know the table which provides the above details
    Can anybody suggest the table which will provide us the WIP values based on the Production corder incase if the material ledger active.
    Regards,
    Shree.
    Edited by: Shree Ja on Nov 18, 2010 10:19 AM

    Hello Shree,
    Some more tables
    CKMLCRWIP                      Material Ledger: WIP Period Records (Values)
    CKMLLACRWIP                    ML Activity Types: Period/ Currency Records WIP
    CKMLLAPPWIP                    Ml Activity Types: Period Records WIP (Quantitie
    CKMLMV004WIP                   Process Model: Deductions WIP
    CKMLPPWIP                      Material-Ledger: Period Records WIP (Quantities)
    CKMLWIPCUST                    Customizing: WIP To Actual
    As told earlier I'm not in a position to verify since there are no records in the current system.
    Kind Regards // Shaubhik

  • Material Ledger Conversion in a Parallel Valuation Scenario

    Hi All,
    I'm working in a scenario where the Material Ledger is already active (without multiple currencies - in other words, with the local currency).
    We would like to activate parallel valuation introducing a new currency type (group currency).
    We have already read SAP Note 120380 - "Subsequent activation of multiple valuation approaches" where the preservation of ML historical data would involve a SAP intervention.
    It is not clear which kind of activities SAP should do in order to preserve ML historical data, i.e. which kind of data should be involved in a potential ML conversion data process.
    Any help will be GREATLY appreciated.
    Regards, ALDO26X1

    Hi Udo,
    first of all thanks very much for your answer.
    As described in the note 120380 we are in the following scenario:
    The ML is already active (without multiple currencies - in other words, with the local currency)
    B) You now require historical data: In this scenario, you must set a new currency key in the ML tables. The fields are filled as start
    values with the posted transaction data in local currency (depending on the currency, either transferred or translated). This procedure is
    very complicated and can be carried out on a project basis only. Contact SAP if you want to do this.
    Unfortunately it is not clear which kind of impacts this procedure would have on the actual data and which are the new values introduced (only stock values in the new group currency for MM periods?).
    Thanks for you cooperation.
    Kind regards, ALDO26X1

  • MM closing period problem when material ledger is activated

    Hi!
    the MM period is opened for period 7,2010, now we want to close that period and open period 10,2010 ( this is sand box system only, so no one used from last 3 months), but when I am executing MMP to close period 8 ( as we have to close periods till 10th period) , system is giving erros saying key duplicate records are not allowed in table "ckmlkev" ( as material ledger is activated), in this table already periods are existed till 9,2010 for all valuation areas.
    Now how to close 7th period in MM ( MMPV)?
    can any one suggest alternative ways?
    regs,
    ramesh b

    Hi,
    As it's your sand box and you don't need to fix the root cause of the error, try to execute MMPV with option "Close period only".
    Regards,
    Szymon

  • Dump when execute MMPV (Material Ledger is actived)

    Hi experts,
    This is my scenario:
    - We are testing in a Development system (No productive system)
    - Material Ledger is actived since 12-2011
    - No Material Ledger period end closing made in 12-2011
    When we execute MMPV the system shows the dump:    SAPSQL_ARRAY_INSERT_DUPREC
    We applied the sap note: 1123034 - MMPV: SAPSQL_ARRAY_INSERT_DUPREC error in SAPLMLCCS, but the dump continues.
    I checked the table ckmlkev and I saw registers to Company Code 0200 Period 2 and Year 2012, however if I check OMSY transaction, I saw only Company Code 0200 Period 1 and Year 2012.
    There is something extra to do?
    Thanks in advance for  your help,
    José Luis

    Hi,
    This short dump is produced when the system tries to insert a new
    entry in table CKMLKEV but a duplicate entry already exists in the same
    table.
    CKMLKEV indicates in which period which cost component structure is
    used for the actual cost component split. CKMLKEV entries are created
    by MMPV. Their existance for these periods indicates that the period was
    shifted already by MMPV.
    What you can do now is the following: please check the period
    status in ML.
    If the status is undefined, then delete the CKMLKEV entry and re-run
    MMPV.
    If the status is period opened (or higher), then you have to reset
    the MM period.
    Best Regards,
    Arminda Jack

  • 3 valuations in Material ledger

    Hi,
    My client's requirement is as follows:
    1) Legal valuation has to be in Local currency but on Actual Costing
    2) Profit Center Valuation in Local currency but on standard costing - same as Group valuation
    3) Group Valuation in Group currency in standard costing - Group valuation
    Is this possible when, Actual costing Material ledger implemented?
    I imagin, Legal valuation field in Material Master will be updated by periodic unit price when we run CKMLCP.  Then Profit center valuation field in the Material Master will be updated when we run CK40N in standard costing PC valuation costing run.  Then again we will run ck40n in standard costing for Group valuation to update Group valuation in Material Master.
    If my client opts to run ck40n for legal valuation, then he should also be able to mark and release standard cost new price, in Legal valuation field of material master and actual costing will not release standard price for new period.
    The requirement is typically complicated, as my client wants to maintain his Global template, though one country comes under actual costing requirement.
    I would like to dig out answers from real time experience please.
    Cheers,
    Ashok

    I can give you some information but not everything.  I have gone through the deployment of material ledger using 3 valuations, but not the ones you are using.  We used Local, Group and Group at Group.  All 3 are at actual costing.  What this means is that the local currency is the currency in the country where the plant exists.  The group valuation is a straight conversion to US dollars from the local currency based on the currency conversion tables M and P rates.  Note that both of these first two currencies can include intercompany profit if reflected on the transferring sales order between companies.  The Group at Group is the US dollar conversion without the intercompany profit.  We find this works for our business.
    The other thing about material ledger is that you need to have a standard cost estimate so that material ledger can keep track of the cos component structure.  The way it works is as follows:
    Say the standard estimate shows labor=$100, materials=$200 and overhead=$300 for a total cost of $600.  All transactions in the month using this material use the $600 standard.  Now, when material ledger is run at month end, the PUP (periodc unit price) is calculated and let us assume the PUP values are labor=$150, materials=$250, overhead=$350 for a total PUP of $750.  Material ledger already has tables with the details of the standard components against every transaction.  Now it will apply the remaining adjustments totalling $150 to the proper cost components for COPA purposes.  This is pushed to COPA using transaction KE27.  Think of it like this...Actual cost is equal to standard ($600) plus/minus variances ($150). 
    Therefore, you always should have a standard cost estimate when using material ledger.  At least that is my usage and understanding.  I hope I provided useful information for you in some way.
    David

  • Material Ledger x IFRS x Depreciation

    Hi All
    In South America companies are used to run actual costing run (CKMLCP) to valuate the stock with actual price. This actual price uses local depreciation method in their depreciation activity.
    Due consolidation purposes and IFRS requirements companies also must report the stock of materials using other depreciation methods.
    In few words, we have to maintain the actual cost but change the "local" depreciation cost to "IFRS" depreciation. It´s an additional material ledger.
    So far I know you can do it using the following scenarios:
    1) Develop a custom report that recalculates your material ledger (CKM3 massive).
    2) Use IFRS as local depreciation, calculates a difference from local depreciation, make a posting, run CKMLCP and reverse.
    3) Use Alternative Valuation Run (CKMLCPAVR) besides regular CKMLCP to have an additional actual price for materials using different stock valuation method or parallel valuation ledgers.
    I´m very interested in the third scenario but until now nobody has implemented it.
    Pls let me know your opinion and thanks for your cooperation
    Frederick Ramos
    SAP CO Consultant
    Brazil

    Hi,
    We had a similar requirement. And we decided to use Delta version (with a bit of a twick ;-).
    It's based on the principle that we want to calculate different activity prices in different versions (0 and delta) using different splitting structures. We want to use the same data posted only once in version 0 (primary, secondary and production confirmations). However in one version you include depraciation CE from main dep. area and in delta version you include depraciation CE from IFRS (I presume you can post both depreciations into CO with different cost elements).
    Then we use AVR which references delta version for activity prices.
    I only prototyped it and this solution was not fully tested yet. So let me know if you encounter any problems.
    Step by step description of the solution below:
    1. Transaction OKEQN
        a) Create a delta version referencing version 0. Make it valid for actuals, plan and variance.
        b) Under Controlling Area Settings -> Settings for Each Fiscal Year -> Price calculation Tab set revaluation to 0 u2013 u201CDo not
             revalueu201D. Otherwise in CKMLCPAVR price cal we get error KP291.
            Please see SAP note 420366. Note 420366 - Error in cumulation actual price in ML delta versions
        c) Under Controlling Area Settings -> Delta Version: Transfer Business Trans. from Ref. Version thick all the boxes for actual.
             This setting defines which transactions are REFERENCED from version 0. Transactions are grouped per check box. If a
             box is checked a group of CO business transactions is treated as to be referenced from version 0.
             If a box is not checked a group of CO business transactions is not referenced from version 0 but can be executed
             explicitly for delta version.
             The logic here is that table TKA09V contains CO business transactions which can be explicitly executed for delta version.
             CO business transactions which are not in TKA09V are referenced from version 0 and must NOT be executed explicitly
             for delta version.
             Check box u201CActivity allocationu201D controls several CO business transactions which are related to activities, amongst them
             RKL - Actual activity allocation.
             So if we want to use in delta version the same activity quantities confirmed in version 0 we need to tick this box.
             However ticking this box also controls CO business transaction KSII - Actual price calculation.
             In other words if we tick for actuals box u201CActivity allocationu201D neither activity RKL nor KSII can be executed explicitly in
             delta version. Both transactions are referenced form version 0.
             So now if we try to execute Actual activity price calculation for delta version we get an error:
             "Message no. KI506
             Transaction KSII for version YYY is not permitted"
    However what we want is to reference activity quantities from version 0 AND to execute activity price calculation explicitly for delta version (using dedicated splitting structure with IFRS depreciation cost elements included).
    In order to achieve the above (and avoid KI506 in KSII) I had to u201Cmanuallyu201D maintain table TKA09V. I just manually entered entry KSII - Actual price calculation for delta version. This way I can calculate actual activity prices separately for delta version using quantities (and costs) already posted in version 0 and dedicated splitting structure.
    d) Create additional splitting structure as per your alternative valuation needs (transaction OKES).
        For delta version assign your cost centres to this new splitting structure (transaction OKEW).
       So now we are ready to execute actual activity price calculation for delta version in transaction KSII.
    In my testing everything went as expected. Actual activity prices for delta version were calculated according to new splitting structure and saved in table COST.
    e) Create AVR and specify delta version as u201CVersion for Price for Cumulation in Legal Valuationu201D. Specify 7 u2013 Actual price for  the period.
    In my testing system used the correct price from delta version.
    NOTE: Do not use "Determine Actual Prices" activity in CKMLCPAVR but calculated activity pricers for Delta verrsion in KSII.
    Good luck,
    Szymon

  • Material ledger wrong cost component split

    i have change the price detemination from '2' to '3' in the material ledger in period 04/2011.
    now i wont to execute costing run for actual cost in period 10/2010. to do this i have update tables CKMLPRKEKO e CKMLPRKEPH..
    in this mode I don't have error in costing run, but i have a big problem . i don'have a correct cost component split becouse all the value is on row material.
    i give a look to the SAP table and i find table MLAUFKEPH and table MLKEPH that don't have data for period 10/2010.
    someone can help me?
    thank you.
    Your issue is not related to FI but with MM, therefore your thread was moved to MM forum so the experts will be able to help you better.
    FI Moderator.

    I think this table gets updated only during changes to the material price(Accounting View) thats basically price change.
    Once the Material is created, price changes are carried out using MR21.
    Rajeev

  • T-stock price differences were not distributed by Material ledger

    Dear All,
    We have configured T-stock (Stock in transit) for movement types 601,921 in t-code OMJJ and have assigned this movements types to movement type groups of material ledger in  spro: Controlling -Product Cost Controlling -Actual Costing/Material Ledger -Material Update -Assign Movement Type Groups of Material Ledger. We use movement type group  CF with revaluation of G/L account and CO account assignment .
    Than we have performed operations with T-stock movement types.
    However, in ckm3 we don't see any G/L account in consumption line. In ML document there are no movement type group CF
    During actual costing run (t-code ckmlcp) system requires COC.
    We have analysed CKMLMV005 table data. For movements types with T-stock system puts V_REST in field User-def.name.
    And there are no G/L account.
    How can we solve this issue?
    With best regards,
    Kamila.

    Hi Kamila,
    SIT supports the revaluation to the original account.
    Please check if the ML document has not updated the
    movement type group CF, hence the revaluation of consumption points
    to the COC account.
    Therefore, there are two possible reasons for the revaluation going
    to COC in the example:
    1. The 601 T movement was posted before the customizing was carried out.
    2. The customizing is incomplete for the Revaluation of consumption in transaction OMX0.
    For instance if currently, there is one entry for 601 T:
    601 T L E -> CF
    Please, try to include additional entries for 601T:
    601 T     -> CF
    601 T L   -> CF
    601 T   E -> CF
    Please, try this in a test system, post the 601 T movement afterwards
    and check the results.
    Best regards,
    MLM

Maybe you are looking for

  • Hiding Characteristics in SAP Bex/ WAD

    Dear Experts, I have a requirement of hiding columns in my report dynamically.   Parameter Char1 Char2 Char 3 A 10 5 6 B Yes No Yes C 15 41 40 D 12 12 4 In Input Selection,  I have a field called Char4. When Char4 = 1, it needs to shows only two colu

  • Using UME to read binary attribute from LDAP (objectSID)

    Hi, I am trying to read the ObjectSID of an LDAP user (from MS Active directory) from an IUser object. This attribute is binary retrieved from the LDAP and if I defined a normal extra attribute in the datasourceconfiguration file and retrieve it as a

  • ADDING A DATE FIELD IN THE OUTPUT SCREEN OF Tcode FBL1N

    Hi guys..I want to add a From-->To 'DATE' field in the output screen of Tcode 'FBL1N' in the line items header part....Please tell me how to do this..??

  • Passing memory settings from the Node Manager to the Managed Server

    All, I am trying to start a Managed server from the Node Manager. The configuration is as follows: I have a domain with two managed servers(M1, M2). I could start both of them using the shell scripts without any problems. Both of the servers has cust

  • Workbook Options in EVDRE on BPC10 MS

    Hi, We have an EVDRE that was built in v7 but has been setup to run successfully in v10.  The issue is that the EVDRE returns over 10K rows on one tab, and 100 rows on the second tab (multiple EVDRE tabs).  When we change the workbook options to have