Reg:  material type according to the unrestricted stock equals to zero.

Hi gurus,
how to use alv for this .
regards,
vivek

Hi,
Are you talking about the KMAT purchases should be always sales order specific, if yes then In MRP4 view of material master, enter Individual/Collective as "1" (Individual Stock)
And now, if you want the Stock Valuation of Sales Order then check following points;
1. Go to VA03 - Here under "Procurement" Tab, get the RqTy (Requirement Type, for e.g. KE)
2. Go to OVZH - Here get the Requirement Class assigned to this Requirement Type (for e.g. 040)
3. Go to OVZG - Here go to details of Requirement Class (for e.g. 040) and check following under "Account Assignment" Tab,
Acct.assig.cat. - M
Valuation - Blank
Here Valuation should be "M" i.e. Separate valuation with ref. to sales document/project
If it is blank, then you can not enter "M" here in this screen.
4. Go to SPRO > Sales and Distribution > Basic Functions > Account Assignment/Costing > Maintain Requirements Classes For Costing/Account Assignment > Here for Requirement Class (for e.g. 040), maintain Valuation as "M" i.e. Separate valuation with ref. to sales document/project
Now run a complete new cycle and check.

Similar Messages

  • Get the qty from the unrestricted stock

    Hi,
       My Requirment is below
         Select material (MATNR), plant (WERKS), unrestricted stock (LABST) from table MARD where material (MATNR) IN S_MATNR AND plant (WERKS) IN S_WERKS. Inner join the selection above with table MAKT to retrieve the material description (MAKTX) into itab1. Collect the itab1 to add all the unrestricted stock. For abaper’s info, the data retrieved from table MARD is by storage location. All these storage location will be added to get the total qty for that material.
    Select single material group (MATKL), external material group (EXTWG), unit of measurement (MEINS), division (SPART) from table MARA where MATNR = itab1-matnr.
    In this how to get the total qty for that material.pls help me to find the quantity.
    Thanks,
    Regards,
    Rajendra.

    Hi ,
      The code can be split into two portions first select the data from the tables mara , mard and makt , and second is loop on this table and collect the data into another internal table.
    here is a code which does the same
    tables : mara , mard.
    data : begin of it_1 occurs 0 ,
            matnr type matnr ,
            matkl type matkl ,
            meins type meins ,
            spart type spart ,
            werks type werks_d ,
            lgort type lgort_d ,
            labst type labst ,
            maktx type maktx ,
           end of it_1.
    data : begin of it_2 occurs 0 ,
            matnr type matnr ,
            matkl type matkl ,
            meins type meins ,
            spart type spart ,
            werks type werks_d ,
            labst type labst ,
            maktx type maktx ,
           end of it_2.
    select-options : s_matnr for mara-matnr ,
                     s_werks for mard-werks.
    start-of-selection.
    select mara~matnr mara~MATKL mara~MEINS mara~SPART
           mard~werks mard~lgort mard~LABST makt~maktx
    into table it_1
    from ( mara inner join mard
    on mara~matnr = mard~matnr )
    inner join makt
    on mara~matnr = makt~matnr
    where mard~matnr in s_matnr and
           mard~werks in s_werks and
           makt~spras = sy-langu.
    loop at it_1.
      move-corresponding it_1 to it_2.
      collect it_2.
    clear it_2.
    endloop.
    regards
    Arun

  • Can system consider the unrestricted stock when planned with MD50???

    Hi,
    We have scinerio where FERT with Strategy 20 (MTO Process) is planned with MD50 against the sale oder. Every time Dependent items stock needs to be posted with Movement type 412E against that sale order or else dependent items stock though available in unrestricted is shown as unable against that sale order no. Enitre cost of the FERT material is accounted against sale order number.
    Can we avoid posting of sales order stock?? can we make system to consider the unrestricted stock when planned with MD50.
    Thanks in advance,
    Regards,
    John

    if u want to consume the unrestricted stock, why u implemented MTO??
    what was the requirement to implement MTO, when u r asking such question in support............
    check first requirement of the client.......if u think they need to consume unresc stock...i will say...implentation was very poor,
    regards,
    Pravin M

  • Movement type to scrap the Restricted stock from warehouse

    Hi,
    Kindly advise the movement type to scrap the Restricted stock from warehouse.
    Thank you.

    hi
    what do u mean by restricted stock
    i thnk it is BLOCKED stock
    please clerify that
    u cant see any restricted stock in MMBe
    it is GR blocked stock and blocked stock or reserved stock
    hope it clears
    regards
    kunal

  • Outbound delivery allows only the unrestricted stock for particular material and plant

    Hi,
    In STO I have an problem the outbound delivery creations allows all stocks under unrestricted, Quality inspection, Block stock.
    I want the outbound delivery creation of a particular material and  plant it allows only the stock under the unrestricted only. It doesn't allows the stocks under the Quality inspection and Block stocks.
    I need to know how to configure this or how to solve my requirements.
    Regards,
    Ramesh N

    Dear Mohammed ,
    as per your scenario , there is two movement type has to trigger in the Delivery level according to the plant and material combination .
    as per my knowledge it will not configurable in standard process . this will possible with user exit logic only .
    follow the below logic to achieve your issue .
    you have to create two item categories and two schedule lines with (655 &653) , that means your movement type has to trigger at sales order level only . write a logic in the user exit - MV45AFZZ -USEREXIT_MOVE_FIELD_TO_VBAP , if this combination matches then automatically item category has to over write other wise it will copy the existing item category .at delivery level you can see two movement types in item level.
    wait for other experts solution , if any standard is possible or not  .
    Regards,
    C.B Reddy.

  • Putting stock into Quality from the Unrestricted stock

    Hi,
    I have a material which is having the stock in "unrestricted Use" , but I want to move the stock to "Quality".
    I have already done the GR for my material.
    Please let me know , how I can put the stock back to the Quality. As I want the stock in the same batch in which its showing the stock in unrestricted.
    If I cancel the GR Document, will the Stock be  moved to the quality after the document cancellation ?
    Please help me to resolve my problem.
    Regards
    Toshi

    hi
    1.pl activate the QM view in the, by extending the QM view from MM01.
    2.IF QM is there already then enter the inspection type 01 for Goods Receipt Insp. for Purchase Order. or if the GR is related to Production then
    04 Goods receipt inspection from production
    3.then cancel the GR or reversr 102 for which you have doen GR already.
    4.Now re do GR, at the time of GR check the  stock type (it should be Quality inspection) the do the posting.
    Before posting to Quality ensure
    1. materia should ahve inpspection plan (QP01)
    with operations assingned with MIC(QS21)
    with out the above master data you cann ot process the quality lot
    -ashok

  • Goods Receipt of a material in Quality aswell as Unrestricted stock

    Hi All,
    When receiving material against PO from different vendors ,stock from few vendors should go into Quality stock whereas receipts from other vendors should be received into Unrestricted stock.
    Please suggest how to achieve this.
    Regards

    Hi,
    Thanks for your replies but i had made the selections as per senthil's suggestions but still the Inspection lot is being created and the stock is posted into Quality.I am not sure which CTRL Key to select i have tried the underlined ones from below ..should i be selecting some other key and are there any more settings that need to be done.
    0000 No active functions
    0001 Vendor release (with Warning)
    0002 Vendor release, tech. delivery terms
    0003 Vend.release, tech.del.terms, QA agreem.
    0004 Vend.rel,TechDelT.,QA agreement,certif.
    0005 Vendor release, certificate
    0006 Delivery release, documentation required
    0007 Delivery release, invoice block
    0051 Vendor release, certificate,Inv Block
    0052 Vendor release, Inv Block
    0053 Inv Block
    0054 Vendor release, certificate, error mess
    0055 Vendor release, certif, inv block, error
    0056 Vendor release (with Error)
    0057 Certificate,Inv Block (with Warning)
    0058 PBB - VenRel/Cert + Sub Spec Mgmt
    0059 PBB - VenRel/Cert + Packing/SMI
    0060 certificate required
    8888 Vendor block inactive
    9999 All functions active with error message
    Regards

  • Reg: Material types

    H i All,
    I have special scenario, a material which is FERT in one plant is sold thru IPT to another plant which would be ROH in the receiving plant ,
    In this case how would i treat the material types for the same material code and alo let me know the respective valuation classes.
    Reg
    VKK

    Hi,
    I'm not creating two different material type but I would create the material as HALB across the plants and delare the FERT valuation class in the sending plant(i would also delcare it as RG1 in J1ID) at receiving end the valuation class would be ROH's valuation class. Is this right ?
    Reg
    VKK

  • Restiction of material types based on the industry sector?

    I have developed  specific industry sector for my client and also developed specific material types (Z*) for them.         
    But then i cannot prevent my user from creating the material master with the incorrect industry sector and also they are able to create material types choosing the incorrect material type?
    Can somebody please advise how to restric this.
    Thanks
    Regards

    In the MM01 trxn ..
    Enter Industry sector & Material Type.
    then Click > Defaults > Industry Sector > Put tick to Industry sector ..
    So, that the Z* Industry sector will become Default..
    As user will not see Industry sector , there is no Question of changing..
    Pls do it for All Users..

  • Annual Material consumption in accordance to material types

    Hi all,
    I am stuck in a report. Require ur ideas on this:
    My client wants to see a report on how much quantity to be issued to production orders and how much actually issued.
    He needs the break up of in form of Raw Material, Semi Finished , Trading goods and Service Material.All these data is to be fetched year wise (e.g. 2008,2009, 2010 etc).
    I am aware of standard report MCRE. But this report does not gives us break in accordance to the material type.
    Also the SME requires the list of all the materials whose stock has fallen below the safety stock .
    Please advise us . Thanks in advance
    Regards
    Ayaz A Khan

    Hi,
    You can use report MCRE if you are using seperate material number ranges for each material type. In this case the material number range serves purpose of the filter for material type you are looking for .
    If it doesn't serve the purpose then go with Custom developed report. You can use table S026 this table is updated using LIS & it will help you to improve performace of your report compare to using other database tables like RESB & MSEG.
    Hope this will help you.
    Regards,
    Navin

  • Quality Inspection stock passed to new material unrestricted stock

    Hello Friends,
    I have created production order and done MB31 with ref to production order and at that time inspection lot is automatically created and quality having the stock suppose 10 kg.
    And then i have completed the usage decision and passed 5 kg to production order material unrestricted stock and 5 kg to some another material unrestricted stock and now therefore no stock in quality.
    Now i have do the reversal scenario.
    With the help of movement type 102 with ref to production order i can reverse the unrestricted stock quantity of the production order material
    then 5 kg is reversed . and i have cancel the inspection lot.
    But i have to ask how to reverse the quantity with have passed to new material unrestricted stock ie remaining 5 kg.
    My solution says:
    I have to first with help of mvt type 310 pass the stock from the new material to production order material and then have to 102 mvt type with complete quantity 10 kg and then cancel of inspection lot and creation of new lot again with 101 mvt type.
    Please tell me above procedure is the right solution or there any other method also exist.
    I have read one solution that i have to change the inspection type 08 in material master and then do reversal with the help of movement type 322. but in this i have to go material master.
    We are avoiding to make material master changes .so this solution doesn't suits me.
    Secondly with the help of user exits , i have done the cancel of usage decision but that also never reverse the material stock.
    correct me if am wrong.
    Thirdly  i have implemented the note report also ,but that also doesn't work becoz my material is serialized and for serialized material that report doesn't get executed.
    Please give me ur suggestions and solutions.
    Thanks a lot.

    Dear,
    I think you have no perticular solution if it is intergated with QM.
    Once you do UD and the reversal is very deficult.
    Hence if you want to get the original material stock from new material..perform MB1B and tranfer the stock.

  • How to consider unrestricted stock for the run of MRP project?

    Hi every one!
    We are facing a problem using MRP on project stock.
    We would like that the MRP takes unrestricted stock into consideration while calculating quantities to order for project stock.
    For example, a project request 100 pieces of material X.
    We have already 25 pieces of material X in unrestricted stock and 0 in project stock. 
    When I run MRP (MD51), it creates a Purchase Requisition of 100 pieces on the WBS element I have defined and not 75 as expected!!!
    By searching in documents and forums, I have read I have to set the value "2 - Collective requirements only" into the field MRP4 > BOM explosion/dependent requirements > Individual/coll. of the Material Master.
    I have done it but it doesn't change anything.
    Thanks in advance for your support!!!
    Bogdan

    Hello guys!
    As told, here I come with news about my problem.
    Finally, the Strategy Group didn't solve our problem.
    We didn't solve our problem as planned but we have found another way to work.
    Instead of including the unrestricted stock in the MRP project, we use transaction CO46 to have an overview of the unrestricted stock of all the components of the project's BOM.
    Based on that overview, the user can make stock transfers of the available quantities from the unrestricted stock to the project stock.
    I hope it can help people having the same problem!
    Bogdan

  • Wrong procurement type showing in the material master

    Hi,
    I am creating a material Procurement type is comming as E in the MRP2 view, To where it is comming?
    I have checked the material type setting in the tcode OMS2 and it below are showing there:
    Ext. purchase orders   2
    Int. purchase orders   2
    Hence it's allowed int. and ext. proc. then why in the material master procurement type is comming E not X.
    How can I change it?

    Check to see if you have assigned an MRP Profile which has defaulted Procurement Type. If this is the case, you will have to remove the MRP Profile before you can change the entry. Or you can maintain the MRP Profile by deselecting "Write-protected in material maintenance" and selecting "Only default value in material maintenance" for Procurement Type. The Transaction is MMD2.
    BR,
    Krishna

  • Plz can someone tell me where can I define the material type?

    Hi All,
    I want to create a new group of material, there is a material type should be specified. I want to use my own. plz can someone tell me where can i define it?
    thanks and regards,
    samson

    Hi Samson,
    U can create a new material type using the tcode OMS2 and then copy the material type which u need to modify and then define the name of the new material type and make the required changes which u want for that material type and save it.
    Hope it wud have answered ur question
    reward if useful
    Shawn

  • Exch.Rate Type for Determining the Proposed Rate

    Dears,
    I defined, in the document type to be used for Goods Receipt, the field T003-KURST (Exch.Rate Type for Determining the Proposed Rate) equal to u2018Pu2019: exchange rate type used also for standard translation for cost planning.
    Then, I created a Purchase Order using a vendor in foreign currency, and in the header section within tab u2018Delivery/Invoiceu2019 in field "Exchange Rate" I filled in the exchange rate valid at the moment of the Purchase Order creation and I also put the flag in the indicator "Fixing of Exchange Rate".
    Afterwards, I posted  the Goods Receipt against the Purchase Order created at the previous step.
    My expectations were to find in FI accounting:
    - 1 line item for stock increase (transaction BSX) valuated using the exchange rate defined in the document type in field T003-KURST;
    - 1 line item for GR/IR increase (transaction WRX) valuated using the exchange rate defined in the Purchase Order and indicated as fixed;
    - 1 line item for difference (transaction PRD) between stock and GR/IR.
    but when I checked the accounting document, these my expectations were not met, because:
    - the line item for stock increase (transaction BSX) has not been valuated using the exchange rate defined in the document type in field T003-KURST, but a differet exchange rate that I didnu2019t find defined for this couple of currencies;
    - the line for GR/IR increase (transaction WRX) has been valuated as expected using the exchange rate defined in the Purchase Order and indicated as fixed;
    - the line item for difference (transaction PRD) between stock and GR/IR has been created.
    The help (F1) for field T003-KURST, show the following indication:
    Exch.Rate Type for Determining the Proposed Rate
        Rate type under which the proposed rate is defined for foreign currency documents.
    Use
        If no exchange rate is specified in the document header when entering documents in foreign currencies, the system will automatically select a rate from the currency translation rate table.  The system then converts all amounts in the document's line items using this exchange rate.
        The system uses the average rate as a default value as long as no other exchange rate type is entered here.
    Based on this message, my expectation is that all documentu2019s line items have to be converted at the exchange rate type defined in field T003-KURST. And in the case mentioned above, the line for stock (BSX) should be converted at exchange rate type defined in field T003-KURST.
    While, correctly, the line for GR/IR (WRX) has been converted at the exchanged rate fixed in the purchase order.
    Can you please let me know how can be fixed the problem for the line related to the stock allowing the conversion using the exchange rate type defined in field T003-KURST?
    Thanks and Regards,
    Jody

    Hello Jody,
    kindly consider the information contained under the attached note:
    191927 - Posting logic: GR for foreign currency PO.
    As stated in it:
    Postings to the material stock account (BSX):
    In order to be able to determine the value of the stock posting, the
    valuation methods which exist in the material master in local currency
    (standard price, total value of stock) must be converted into document
    currency. This translation is thus carried out on the posting date with
    the exchange rate type that is assigned to the FI document type used,
    that is, independent from the exchange rate defined in the purchase
    order!
    If no exchange rate type is assigned to an FI document type, the system
    uses exchange rate type M.
    Please, check in your system the settings stored in the customizing
    transaction OBF4 for the document type WE (Goods receipt). If the field
    'Exch.Rate Type for foreign currency documents' is empty, the exchange
    rate type M is used.
    The fixed conversion rate in the purchase order refers to the valuation
    approach in the purchase order and, therefore, to the costs for the
    purchased material. Therefore, the posting amount to the GR/IR clearing
    account (WRX) is converted according to the fixed conversion rate in the
    purchase order header.
    On the other side the fixed conversion rate in the purchase order is not
    designed for converting the posting values to the material stock account
    (BSX). This conversion reflects the situation of the valuation of the
    material stock and is therefore designed to be independent of the
    conversion rate defined in the purchase order. This is what note 191927
    outlines.
    In the note 191927 you will also locate relevant information about the
    postings to the KDM key:
    Exchange rate differences (KDM):
    As of Release 4.0A, exchange rate differences (KDM) can be posted to a
    separate account. The exchange rate differences result from the
    difference of the clearing value on the GR/IR clearing account (WRX) in
    document currency that is translated to the current exchange rate stored
    in the system in local currency from the clearing value in local
    currency that is determined with the conversion factor from the purchase
    order or the invoices.
    The offsetting entry for the exchange rate differences is settled with
    the price difference.
    (Price difference = GR/IR amount - stock value - exchange rate
    difference)
    KDM is only posted during the GR if the flag T169P-XPLCU is initial,
    therefore, KDM postings will not occur during incoming invoices.
    This is determined in the IMG path:
    Materials Management
    -> Logistics Invoice Verification
       -> Incoming Invoice
          -> Configure How Exchange Rate Differences Are Treated
    Here, you have the following options per Company Code:
    .- The exchange rate differences will be calculated from the difference
       between the exchange rate at the time of the goods receipt and the
       exchange rate at the time of the invoice receipt.
    .- The exchange rate differences will be calculated from the difference
       between the exchange rate at the time of the invoice receipt and an
       assumed exchange rate that is valid for a specific amount of time,
       such as a year or a season.
    .- No exchange rate differences will be calculated. Instead, differences
       from exchange rate variations will be considered as price differences
       and posted to a price difference account.
    The field T001A-CURDT for the company code will determine which date is
    relevant to calculate the exchange rate difference.
    This is set under the IMG path:
    Financial Accounting
    -> Financial Accounting Global Settings
       -> Company Code
          -> Multiple Currencies
             -> Define Additional Local Currencies
    So, finally, the value for KDM calculates as difference between
    GR/IR amount in local currency - GR/IR amount in foreign
    currency*exchange rate.
    I hope this information can be of help.
    cheers
    ray

Maybe you are looking for

  • Brought my phone to Apple to get my screen replaced and now it won't turn on!! HELP

    I brought my phone to Apple yesterday with my friend, and the employee helping me told me that there was a chance that the screen wouldn't be able to get fixed. When I went to go pick it up they told me that the machine had broken my phone and it was

  • On change Java script

    HI, i have try to do this but i can't. i have jus created an demo application for this point.Please resolve it in my demo applicatiuon. Workspace: APEXUSER User: [email protected] Password :hugeni Applicayion No :-49448 Page No :- 3 I need here if i

  • Performance data collection issue

    Hi, We are using SCOM 2007 r2.We have some servers not collecting performance data.These servers are up and running fine and generating alerts (Monitoring Working fine). Can any one please suggest us what is the work arround for this. Thanks&Regards,

  • Set value to attribute created in other enh. point by SAP

    Hi all, I'm modifying a standard component, I've created an enhancement point and a post-exit in some methods. Within this methods I want to read/modify the value of one attribute that is created in other enhancement point by SAP. I've tried to read

  • Setting Directory for utl_file

    Hi, We've just installed Oracle 11g on our server, and I'm having trouble determining what the directory name should be so that I can read it. I have tried: \users\mhoward\temp\ \\servername\users\howardm\temp s:\servername\users\howard\temp What I'm