Run MRP for STO only when material type MTART = FERT (condition)

Dear Expert
I am trying to implement BADI MD_CHANGE_MRP_DATA and method CHANGE_MDPSX_MDUP. This will exclude considering STRs for MRP depending on the condtions written in the code.
the condition is material type mtart will be fert only so can anyone provide me sample code to make this enhamncement and above badi and method are right place for this code.
I think can be the option to solve the issue. Please let me know your thoughts.
Thanks

Hi Shukla,
Check this note  note 190298.
*--> delete flag for availability
clear ch_mdps-vrfkz.
*--> set changing flag
ch_changed = 'X'.
endmethod. "IF_EX_MD_CHANGE_MRP_DATA~CHANGE_MDPSX_MDUp
Regards,
Madhu.
Edited by: madhurao123 on Jul 12, 2011 10:18 AM

Similar Messages

  • When SAP run mrp, it could only identifiy first 9 characters as material?

    Hi experts
      In SAP, Could we set when we run mrp, sap will only check the first 9 chars as mateiral number ?
    eg: material 12345-67890 and 12345-6789,  Could sap consider it as same material ? If there is any configure for this ?
    Thanks
    Alice

    Hi experts
    Our purpose is we need setup two material number like aaaa-aaaa1 and aaaa-aaaa2 for same part but from different localization source.
    Since they are same part , if mrp could only reconginze the first 9 character as materail number to run requirements ?   what does it mean planning material ? It could set the first 9 character as planning material different from the normal materail ?
    Thanks
    Alice

  • Best MRP type and strategy to run MRP for component using PIR and forecast

    Hi Experts,
      I want to run MRP for Component parts. I need to run MRP based on Planned independent requirements and Forecast Data.
    Which is the best suited MRP type and strategy.
    Please help to share bestpractices if any. thank you.
    Rayudu

    Hi,
    is the components you are talking are Semi finished materials or Raw materials and Packing materials which are procured from vendors ???....
    It is not a good idea to maintain planning strategy for Components which are part of BOM...these materials are automatically planned when the header materials of these components are planned....
    If these components are not part of any BOM then you can try the option of using forecast based planning.. MRP type  VV and maintain the forecasting view in the material master
    You can also explore the option of consumption based planning like manual or automatic reorder point planning...
    Thanks
    Kumar

  • Running MRP for finised product material

    i have a material BOM (finished product material and it consist of some raw material) those materials have MRP
    when i run MRP for this BOM i want to generate PR for the raw materials and a production order for the finised product material
    Please i want all the steps for these senario

    Nehad,
    You need to create PIR(Demand) for the finshed product for the MRP to trigger Planned order for the Finished product and Dependent requirments/PR for the Raw materials.
    1. Use transaction MD61 to enter demand for the finished product with respect to the plant and requirement type "LSF" if it was strategy "10" or "BSF" for strategy "11". You can check the planning strategy used for the finished product using transaction "MM03" in the MRP3 view... if no strategy is assigned you can still use "LSF" requirement type.
    2. Now run MRP using "MD02", you should get planned order for the finished materail and PR for raw material. Please note the MRP type for both the materails should be "PD" you can check this in "MM03" - MRP1 view of the materails.
    Regards,
    Prasobh

  • Grouping, Pegging and Distribution (GPD) when run MRP for PS

    Dear all,
    As you know, MRP is a core of Planning Process. So when you run MRP for PS, SAP can't check stock in general stock and project stock at the same time. Now, my client have accept to run MRP base on project stock. But there are some problem when they give me requirement and actually situation in their company. One of them as below:
    They have 3 WBS element (WBS 1, WBS 2, WBS 3) and they use the same material A. Their requirement is they want to run MRP to plan material for 3 WBS.
    Solution 1: use MD51 and run MRP for Project definition and each of WBS element have respective project stock, the system will generate some of planned order for each oder reservation. After that, I will convert all of planned order to PR => PO => Good Receipt for each WBS element. When run MD04, I can see the stock for each project stock for respective WBS element.
    Ok, I will talk about the limited of this solution. I suppose after complete technical for all of order reservation in WBS 1 and in project stock of WBS 1 have 3 material A not be use. But in WBS 2 is missing 3 material A. So when I run MRP again for WBS 2 by tcode MD51, the system will generate new planned order for this missing material A. This is not logic because I have enough material A for reservation in WBS 1. So I suggest my client that you should transfer material A from WBS 2 to WBS 1, they agree with me if they don't have many WBS element. But they have about 300 WBS element and they can't do transfer posting between many many WBS element. This solution 1 is not be accept.
    Solution 2: I use GPD for this requirement. Firstly I will group WBS 1, WBS 2 and WBS 3 into WBS group. So use tcode MD04, I can see only WBS group and all of order reservation in each WBS 1, 2, 3 be showed on MD04 table. When I run MRP, the system will generate planned order for them. After that, I will conver all to PR => PO => Good receipt to WBS group. And in MD04 table, I can see project stock for WBS group. I begin transfer material from WBS group to each WBS 1, 2, 3. When all of order reservation in WBS 1 is technical complete, the material in WBS 1 have 3 material A not be use. And in WBS 2, I have a new order reservation and it be assigned 4 material A. At this time, project stock on WBS group is 0 but in WBS 1 is 3. But when I run MRP by tcode MD51, the system generate planned order with amount is 4. I wonder that why SAP does not check all material on all WBS element in WBS group to suggest a planned order with amount is 1. If SAP can solve this problem, my client will be accept this solution.
    Hoping you support me.
    Thanks, Regards
    Hoai Vu

    Hi Ahmed Rifaee
    Thanks for your reply, I will talk about process in SAP.
    So, I have 2 WBS element, that's simple because my project is have about 200 WBS element.
    WBS1 have 2 order reservation for each actvity and material A0001 be use in 2 order reservation.
    Order Reservation 1 needs 3  A0001
    Order Reservation 2 needs 5  A0001
    WBS2 have 1 order reservation for each activity and material A0001 be use in it
    Order Reservation 3 needs 4  A0001
    1.)     If I don't group 2 WBS1 and WBS2 to one WBS group, SAP will have 2 project stock for each WBS. and when I run MRP, WBS1 and WBS2 run independent base on current project stock at each WBS. So, although project stock WBS1 is run out of A0001 while A0001 still exist A0001 in project stock WBS2, SAP still generat planned order for missing part A0001 in project stock WBS1.
    2.)     If I use GPD by group WBS1 and WBS2, I can solve this problem easy because they will use only one project stock for WBS group. Ok, after I good receipt A0001 into project stock, I'm sure that I have enough A0001 for 2 WBS1 and WBS2. But I can trace which reservation be ordered to delivery to them exactly. I try to use tcode MD09 to trace from Purchase order to Order reservation but I have just to trace in case PO have not been good receipted. I wonder that Pegging can help me in this case (PO have been good receipted).
    Can you give me any idea for these problem
    Thanks, Regards
    Hoai Vu

  • How to run MRP for Bulk Material without using LTP

    Hi, how can I run MRP for BULK material without using LTP.
    Thanks in advance
    BK

    Hi,
    Use trasnsaction code OPPQ and goto BOM Explosion and selection depends on
    Field selected
    No dependent requirements are created for informational purposes for bulk material items in the plant selected. This can improve system performance.
    Field not selected
    Dependent requirements are created for bulk material items in the plant selected. These dependent requirements are displayed in the planned order for informational purposes only. They are not considered in the net requirements calculation; that is, they are not included in material requirements planning (MRP) and are not displayed in the stock/requirements list
    Reg,
    Deepak.
    Edited by: deepak k b on Nov 11, 2008 6:56 AM

  • Run mrp for specific material

    i want to run mrp for specific material (not for all the plant materials) in background in scheduled intervals............what can i do?

    Dear,
    You need to go for enhancement M61X0001 with function al modules EXIT_SAPLM61C_001 and EXIT_SAPMM61X_001
    Please refer my reply from this link,
    [MRP run for Specific Material|Re: Excluding materials from mrp run]
    Regards,
    R.Brahmankar

  • Mrp for sto

    Our requirement is that, plant-1 will create STO on plant-2 for some materials (fg).  When we run MRP for plant-2 this STO qty is also to be considered as requirement and it should generate production order for the same material.  we will be considering sales ordre qty also seperately.
    is it possible to do this?  If yes, how can we do this

    Yes, you can achive this requirement by maintaining the MRP parameters for both the plants.
    Please select the Procurement type and special procurement key for both the plant in MRP view of materail master and also maintain all the MRP parameters for both plant.
    Once STO got created for one plant, system will consider this requiremnt while running MRP for another plant ansd it will generate Planned orders.
    Edited by: Manish Kumar Agarwal on Jun 15, 2009 8:03 AM

  • Using MD50 to run MRP for Sale Order

    Dear all,
    I have some problem when using MD50 with Mill Product Industry.
    When SAP system not activate Mill Product yet. I used transaction code MD50 to run MRP for Sale Order, the system have generated planned order for multilevel. But when SAP system have activated Mill Product, I used transaction code MD50 to run MRP for Sale Order, the system only generate planned order for single level. I think that we have to configure something based on Mill Product Industry. So can you help me for this
    Thanks, Regards

    Hi,
    Check with following links which may help you resolve your issue :
    http://www.sap.com/sme/whysap/industries/millproducts/index.epx
    http://help.sap.com/saphelp_di471/helpdata/en/4e/1796374b088e5ce10000009b38f8cf/frameset.htm
    http://help.sap.com/content/documentation/industry/docu_is_mill.htm
    Regards,
    Tejas

  • Run MRP for multi Plant

    Dear all
    I want to ask you about running MRP for multi plant based on SAP ECC EHP4.
    I have a situation as below:
    I have 2 plant are 1000 and 2000. In plant 1000, I create a production order in plant 1000. The component is store in both of plant 1000 & 2000.
    So, when I run MRP. Does system will check stock from both plant 1000 & 2000?
    Because my company is keeping raw material in 2 plant, and there are one plant have been used for production.
    I want you confirm that Does SAP ECC EHP4 can run MRP for multi plant and the system will check stock on multi Plant?
    Thanks

    Hello,
    The scope of planning is used to control whether the total planning run is executed on a multi-plant level
    several plants
    one MRP area
    several MRP areas
    a combination of plants and MRP areas.
    Here the planning will cover all the material which is relevant for planning in all the above given areas.
    You can carry out the total planning run for the scope of planning online or in background mode. The planning run, however, must always be started with parallel processing.
    Hope it helps. Please revert back.
    Alok Tiwari

  • How to run MRP for BOM as well as ROL items

    We have only one plant. I  want to run MRP for BOM items as well as ROL items.  MRP can be  run plant wise thru tcode MD01.  I want to run mrp for only ROL items.
    Please suggest
    Regards,
    ( Rajneesh Gulati )
    Edited by: Rajneesh  Gulati on Jun 20, 2008 11:33 AM

    As I understand for Quartz, I think you should create a security subject for it in your code. I guess the background tasks in Quartz work in separate threads. It is not recommended in EJB application. you can use EJB timer service instead.
    -Albert

  • Run MRP for production order/maintenance order has been release

    Hi all,
    please tell me how to configure for running mrp for production order/maintenance order has been release. as you know, i want production order has not release will not appear in MD04. I think that is the way for running mrp will not take care about this production order has not release
    Thanks all

    Hi Hoai,
    It is impossible to exclude production order from net requirement calculation in MRP run. You may take a look at the online documentation under the PP-MRP area.
    Material Requirements Planning (PP-MRP)
       Planning Process
         Net Requirements Calculation
           Net Requirements Calculation for MRP
    But there is a way to temporarily exclude production order from MRP. That is you can set the 'delivery completed' indicator in 'Goods receipt' Tab in in production order. Please note that this order will not appear in MD04. Actually to some degree, this order could be considered as completed because ticking the indicator could set status 'DLV' for the order. But you still can execute confirmation, goods issue and goods receipt activities. This way is just a workaround. You may
    consider it.
    Or maybe you can consider the useage of BADI: MD_CHANGE_MRP_DATA to change the MRP run data to see if this could fulfill your requirement.
    Regards,
    Rachel

  • For STO with Doc. Type UB, shipping instruction not picking automatically..

    Dear All,
    For STO with Doc. Type UB, shipping instruction not picking automatically.. Please advise.
    Regards

    Hi
    Please verify in the config the below is populated already....
    SPRO -> Material Management --> Purchasing --> Purchase Order --> Set up Stock Transport Order --> define Shipping Data for Plants
    Open the Recieving & Shipping plant ID's and maintain their own shipping data and save.
    Maintain: Sales Org:
    Distr Channel:
    Div:
    Aside: your shipping plant is already configured with Sh.Point - Tcode: OVL2
    Regards
    RG

  • Running mrp for a particular group of amterials

    How do we run mrp for a particular group of materials.not for the whole plant.like running mrp to mrp group.

    Hi,
    You also have three other choices:
    1. MPS vs MRP for splitting into two sets of materials, e.g. daily MPS for manufactured material and weekly MRP for purchased material.
    2. Running Single Item, Multi-level MPS (MD41) or MRP (MD02) for a product group
    3. Develop an ABAP using your selection criteria (based on view MA61V?) that makes calls to FUNCTION BAPI_MATERIAL_PLANNING.
    Regards
    Alex Dixon

  • My iPhones email app is not checking automatically for emails, only when I open it.. How to fix?

    My iPhones email app is not checking automatically for emails, only when I open it.. How to fix?

    Settings > Mail, Contacts, Calendars > Fetch New Data > On
    then scroll down to bottom of that page to check whether you want to fetch email:
    every 15 minutes
    every 30 minutes
    hourly
    manually

Maybe you are looking for

  • Ipod Classic won't display on Samsung HDTV

    Hi, I searched the forums, and someone has already asked this but no one has been able to answer. I thought I'd try it because I'm desperate. I have an awesome brand new HDTV by Samsung. I went and purchased the component cables for my ipod classic.

  • Active x problem

    Hi, I have a slideshow on my homepage, what is happening is that on all browsers the active x is automatically blocked and the slideshow does not work. Is there anything I can do? slideshow can be found at www.photomarvel.co.uk thanks for any advice

  • Fail to change "AddressState" using powershell cmdlet "Set-NetIPAddress"

    PS C:\Users\webadm> Get-NetAdapter | Get-NetIPAddress IPAddress : 10.145.0.118 InterfaceIndex : 12 InterfaceAlias : Ethernet AddressFamily : IPv4 Type : Unicast PrefixLength : 24 PrefixOrigin : Manual SuffixOrigin : Manual AddressState : Deprecated V

  • Film ROLLS have vanished

    I am using iphoto 6. Normally each set of new of pix I upload would sit in its own roll but a few days ago all the rolls spontaneously vanished except for one (roll 60) I don't think I have lost any photos (over 1000 of them) but they are all now sit

  • Everythings gone! Music, Videos, Podcasts, Playlists... ALL GONE!

    I have just come to sync my iphone with itunes... and everything's gone! There is nothing in any of my lists.. everything I have purchased has dissappeared - all my tv shows, movies, ringtones, all my playlists.. the lot!! I cant now sync my iphone o