Query on PIR consumption.

Hi all,
One of the PIR created in Aug (MD61/MD62) is still appearing in MD04. If it is not consumed, whether it will still reflect in MD04 now (October). I have a doubt in this. I think if the PIR is -30 days and +30 days after date of forecast, it should actually disappear in MD04 even if it is not consumed. Could anyone clarify on the same?
Regards,
Brijesh

Dear ,
MD04 will populate the PIR based on MRP run result .It depends on your Planning Horizon  in OPPQ-Carry all over all plant paraemters -Planning Horizon .If the PIR is not consumed  , it should appear as Indepedent Requirement  in MD04 screen .
If you do not want to conside them then hit the Indepedent Requiremet in MD02-Change mode -either shift in October or remove it from Aug and SAVE so it will disapear .
Also check in SPRO-MRP-Evalution -Define Display Filter -SAP00007-SAP Display horizon for the user-Check the User set up-Start day display and End day display
Just simulate in  sandbox  and test the scinario to check the result in MD04
Regards
JH
Edited by: Jiaul Haque on Oct 11, 2010 9:46 AM

Similar Messages

  • PIR Consumption - Sales Order & Service Order

    All -
    I've come across an issue in our system as it relates to PIR consumption.  We create a PIR forecast which is designed to be consumed by orders.  (MM strategy group 40, PIR consumption indicator 1).  PIR is successfully consumed upon sales order creation.
    In the same area of our business (aftermarket service and repair), we also require PIR consumption when component requirements are added to our repair service orders.
    With the current setup (strat 40, CI 1), the PIR is not consumed after service order component addition.  It adds to the total material requirements.
    I've altered our settings across the board to account for both order types, however, i am hitting a wall as to if my new settings are a help or a hinderance.
    New settings are (MM strat 40, MM mixed MRP mode 3, PIR CI 3).
    Visually, i can see that my total PIR count is actively reduced via MD04 monitoring, however, when looking at the PIR directly, I see that the PIRs have not been consumed.  Instead they are still active and the reqs are hidden.
    I don't know if consumption of PIR is allowed for multiple order types.  I know that strat 40 directly relates to sales order requirement planning.  I do not know if there is a strategy that works similarly for both sales order AND service order types.  I'm also very skeptical of using mixed MRP mode 3 to accomplish the PIR consumption.
    Could anyone enlighten me on this?  I can't find any information on this sort of order types with consumption.  If it's not possible to combine order types with PIR consumption, so be it.  I'd just like some info.
    Thank you in advance,
    Ehren

    Sure thing. I'm running in our test client for the results, but my settings are identical:
    Image 1 = MD04 result of addition of PIR using VSF with consumption indicator 3:
    Image 2 = Addition of sales order requirement for the same part, VQTEST1.  Successfully consumes qty 1 of PIR material:
    Image 3 = Modification of service order to add qty 1 of component VQTEST1. Rather than consuming one of the remaining PIRs, the order created a new requirement above the PIR forecast:

  • Query on memory consumption during SQL

    Hi SAP Gurus,
    Could I kindly request for your inputs concerning the following scenario?
    To put it quite simply, we have a program where we're required to retrieve all the fields from a lengthy custom table, i.e. the select statement uses an asterisk.  Unfortunately, there isn't really a way to avoid this short of a total overhaul of the code, so we had to settle with this (for now).
    The program retrieves from the database table using a where clause filtering only to a single value company code.  Kindly note that company code is not the only key in the table.  In order to help with the memory consumption, the original developer had employed retrieval by packages (also note that the total length of each record is 1803...).
    The problem encountered is as follows:
    - Using company code A, retrieving for 700k entries in packages of 277, the program ran without any issues.
    - However, using company code B, retrieving for 1.8m in packages of 277, the program encountered a TSV_TNEW_PAGE_ALLOC_FAILED short dump.  This error is encountered at the very first time the program goes through the select statement, ergo it has not even been able to pass through any additional internal table processing yet.
    About the only biggest difference between the two company codes is the number of corresponding records they have in the table.  I've checked if company code B had more values in its columns than company code A.  However, they're just the same.
    What I do not quite understand is why memory consumption changed just by changing the company code in the selection.  I thought that the memory consumed by both company codes should be the same... at least, in the beginning, considering that we're retrieving by packages, so we're not trying to get all of the records all at once.  However, the fact that it failed at the very beginning has shown me that I'm gravely mistaken.
    Could someone please enlighten me on how memory is consumed during database retrieval?
    Thanks!

    Hi,
    with FAE (FOR ALL ENTRIES) the whole query even for a single record in the itab is executed and all results for
    the company code are transfered from the database to the DBI since the duplicates will be removed by the DBI
    not by the database.
    If you use package size the resultset is buffered in a system table in the DBI (which allocates memory from your user quota). And from there on the package sizes are built and handed over to your application (into table lt_temp).
    see recent ABAP documentation:
    Since duplicate rows are only removed on the application server, all rows specified using the WHERE condition are sometimes transferred to an internal system table and aggregated here. This system table has the same maximum size as the normal internal tables. The system table is always required if addition PACKAGE SIZE or UP TO n ROWS is used at the same time. These do not affect the amount of rows transferred from the database server to the application server; instead, they are used to transfer the rows from the system table to the actual target area.
    What you should do:
    calculate the size needed for your big company code B. How many row  multiplied with line length.
    That is the minimum amount you need for your user memory quota. (quotas can be checked with
    ABAP report RSMEMORY) If the amount of memory is sufficient then try without packagesize.
    SELECT * FROM <custom table>
    INTO TABLE lt_temp
    FOR ALL ENTRIES IN lt_bukrs
    WHERE bukrs = lt_bukrs-bukrs
    ORDER BY primary key.
    This might actually use less memory than the package size option for the FOR ALL ENTRIES.
    Since with FAE it is buffered anyway in the DBI (and subtracted from your quota) you can
    do it right away and avoid double saving portions (the DBI buffer and a portion of that in the
    packe in lt_temp).
    If the amount of memory is still too big, you have to either increase the quotas or select
    less data (additional where conditions) or avoid using FAE in this case in order to not read all
    the data in one go.
    Hope this helps,
    Hermann

  • FM : For reduction of  PIR /Consumption

    Hi.
    Is there any FM for reduction of PIR <Forecast> quantity for consumption mode forward/backward> .

    Hi ALL experts,
    I can send my screenshot to you guys, but I cannot upload them via picasaweb.
    Is there any chance that SAP made some "upgrade" and make it happen by using "consumption 3+Mix MRP 1".
    I use a customized strategy and I compare it with 40, here is the defferences:
                     Reqmts type (indep./customer)    Reqmts class (indep./customer)
    40                        VSF/KSV                                       101/050
    ZZ                      VSFB/KSV                                      105/050
    default values for consumption type per reqmts class, VSF(101) is 1; VSFB(105) is 3.
    Thank you.
    BR!
    ROCVEL

  • Use of PIR consumption for advance material order (MTO prototype)

    Hi planing Gurus,
    I am investigating the possibility to use PIR to trigger replenishement long lead time sub level mfg or purchase products in the context of building MTO prototype. I believe I could use planning strategy 70/consumption mode VSFB to handle eventual actual requirements that will be created at higher levels.
    Q1. The parameters Fwd and Bwd consumption in MRP 3 are limitted. For instance, if I set 7 days each the system will only consider actual demand in this timeframe. I am not too in favor to set large value there to manage the fact that actual demand may not occur exactly as planned by the PIR. Is there any way the consumption can be iterative (eg. bwd 7, fwd 7, bwd 14, fwd 14)?
    Q2. Is there another mean to trigger replenishment of long lead time mfg part/purch part in the contexte of MTO prototype and manage consumption.
    Your help is greatly appreciate and speed up my curve to learn SAP PP architecture (I have experience with other mfg systems).
    Francois Paquet

    You had another question
    Q2. Is there another mean to trigger replenishment of long lead time mfg part/purch part in the contexte of MTO prototype and manage consumption.
    FOr this I would suggest even looking at Planning strategy (PS) = 50.
    This strategy are probably the most widely-used strategies in a make-to-order environment.
    Procurement of the long lead items (components) is planned by means of planned independent requirements entered at the finished product level. The system creates special planned orders at the finished product level for these planned independent requirements. These orders are only relevant for production once a sales order for the finished product exists.
    The assemblies are, however, produced or procured before the sales order is entered. Production is carried out up to one level before the finished product level, and the assemblies and components required for producing the finished product are placed in stock to await the incoming sales order.
    Final assembly is triggered once a sales order has been entered.
    Hope this helps you take a good decision.
    Thanks,
    Ram

  • SQ01/SQVI SAP QUERY for PIR Planned Independent requirement

    I wanna make a query to see all the PIR with respect to a plant , material , date etc ..
    I tried with table PBIM and PBID , but could not get a success.
    Can you tell me the table names to be included to make this query along with the links.
    Thanks

    Dear,
    Even i have created query with three tables, and kept plant as input field from one of the table, but after executing system responding as no data exists. please guide
    thanks in advance
    kaialsh thakkar

  • Restricting PIR consumption based on custom Order Type

    Hello Experts,
    We have implemented BADI MD_PIR_FLEX_CONS in our system ( Version 4.7 )so that we can restrict the consumption of Order Reservations.
    For this we have added code as per OSS Notes# 608760 and 127370 for the BADI Interface.
    We have included MRP Element "AR" so that consumption can happen for the order reservations.
    The BADI is restricting consumption of PIR now for the order reservations, but now we want to restrict the Consumption of independent requirement only against reservation generated by customized Order type ( Say ZXXX ).
    Does this functionality exist for this BADI? If yes,then how can we implement this?
    Regards,
    Debasish Sahu

    Hello Prakash,
    Thanks for your response.
    The Def. Documentation does not describe how the process is carried out.
    The documentation is as follows:
    Application component:  PP-MRP, PP-MP-DEM, PP-MP-LTP
    Function group:  M60A, M61X
    You can use Business Add-In (BAdI) MD_PIR_FLEX_CONS to make the consumption and reduction processes for planned independent requirements more flexible.
    In the SAP R/3 standard system there were previously four possibilities for consumption and reduction of planned independent requirements (planned independent requirements consumption indicator):
    SPACE     no consumption
    '1'     Consumption with customer requirements (planned independent requirements)
    '2'     Consumption with dependent requirements, dependent and manual reservations, release order requirements from stock transfers (dependent requirements)
    '3'     Consumption with planned independent requirements and dependent requirements
    You can use Business Add-In MD_PIR_FLEX_CONS to realize consumption processes in which there are controls to define for each MRP element whether consumption or reduction should occur.
    This Business Add-In replaces modification note 127370 in release 4.70.
    &PRECONDITIONS&
    &STANDARD_SETUP&
    o     The Business Add-In is not active in the standard system.
    o     The system cannot be used multiple times.
    &ACTIVITY&
    INCLUDE MD03_BADI_MRP OBJECT DOKU ID TX LANGUAGE EN
    INCLUDE MD03_BADI_IMPLEMENT OBJECT DOKU ID TX LANGUAGE EN
    &EXAMPLE&
    In the sample-coding, planned independent requirements with consumption indicator '4' (see method documentation) are consumed against all of the consumable SD document types (sales orders, SD scheduling agreement schedule lines, deliveries) and release order requirements from stock transfer purchase procurement proposals (purchase orders, purchase requisitions, scheduling agreement schedule lines, planned orders).
    &ADDITIONAL_HINTS&
    <DS:IO.IF_EX_MD_PIR_FLEX_CONS        CHECK_PIR_CONS_REDUC> Documentation on BAdI method CHECK_PIR_CONS_REDUC
    There is no details on the manner in which we implement this functionality.
    Please let me know if this is of some help.
    Thanks,
    Debasish

  • PIR consumption issue

    We have been having intermittent problems with our R/3 implementation (4.7C)for a long time. PIRs get consumed without explanation (i.e. no sales orders coming it to consume the forecast, which is expressed as PIRs). We suspect it might have something to do with our delivery process, but have been unable to pinpoint it, or re-create it for showing SAP, or anyone else. Has anybody out there experienced something similar? We're at the end of our rope!

    I am sorry for the very late reply Senthil.
    Yes PIR is basically a requirement that is created manually ( t code :MD64) on the manufacturing plant. This enables the manufacturing plant to produce materials to stock ahead of actual customer requiremnts( the sale order).
    The advantage of consumption mode is that it prevents dual planning. To better explain if the sale order is created when actual customer order is received it will first consume the PIR requirement as stocks have been produced ahead of time
    (made to stock strategy) against the PIR. If the sale order qty is over & above the PIR reqt then only system will plan for additional qty to meet the remaining sale order qty. 
    For your case
    Lets assume unconsumed PIR for last month was 10. This month PIR is 20.
    now sale order comes this month for 10. It will consume the PIR of this month & not consume PIR of last month as your backward consumption is only 5 days. Then your earlier month PIR remains unconsumed & will cause excess planning.
    Lets assume another sale order comes for 20. System will consume the remaining PIR (of this month) =10 & replan for additional 10 to meet actual Sale order.
    So my advise for consumption periods is backward =30, forward = 30 or 60 days if you create PIR monthly. If your PIR is for weekly or daily buckets then consumption periods as per your selection should work well.
    Lastly enusure that unconsumed PIR  reorganisation run is carried out to avoid excess planning( tocde: MD74)
    Hope this helps you. If you have further doubts please send me an email on [email protected]
    Thanks,
    Shenoy

  • PIR consumption at different plant

    Hello dear gurus,
    Here's a tough one; I have a situation (quite common) where there's a supply chain with one manufacturing plant and a number (like 4) of distribution plants. (CPG)
    Normaly in SAP in such a situation you need to maintain PIRs for each distribution plant (there's where sales take place), and with special procurement key relate the supply to the manufacturing plant.
    Thing is that in my case customer is not willing to maintain PIRs for each DC, but rather have one global forecast (at manufacturing plant level). To accomodate that I made a development that reflects the available stocks in DCs as supply elements in MFG. plant, so we can run one MRP planning run to get production planning.
    My yet unsolved problem is the incorrect consumption of PIRs. I use strategy 10.
    Ideally was if I found a way to consume planning in the MFG plant with sales in the DCs.
    Any ideas?

    Dear,
    If you are maintaining the PIR in manufactering plant system will take the stock of manufactering plant.
    Requirement will flow from DC to manufactering plant, In this case you maintain the requirement from in the form of PR from DC, how the system will understand the requirement from DC.
    Hence correct and stright forward way is you need to maintai n stg 40 in C and maintain special stock indicator. Hence system will create PR after considering the stock at DC.
    If this is not the case, you need to go for ZMRP.
    Please come back your view is different and looking for some thing different

  • REM PIR consumption.

    Hi Gurus,
    Previously material has strategy 10,now i changed to 40 but the PIRs are not consuming by incoming orders.
    In other plant materials having strategy 40 working fine,the same i wanted to do in different plant (in which strategy is 10)thats why i made changes from strategy10 to40.But it dosent works i.e. PIRs are not consuming by incoming orders.
    Pls help
    Regards,
    -Deven

    Hi Deven.
    check in "Requirement Class, Tcode : OVZG, The "Transfer of Requirement should " (Rq) should be clicked (on). Also check the Allocation Indicator (Allln).
    The Allocation Indicator Controls the consumption of customer requirements with planned independent requirements whereby the customer requirements type is only allocated one consumption st
    Also check in Requirement Class, whether the Right Requirement has been Assigned to Requirement class. Tcode : OVZH.
    If solved, reward point & close the Thread.
    Regards,
    Nayeem Ahamed

  • PM Query - For Spares Consumption

    Hi,
    I'm looking for an SAP standard PM / MM report to give me the "Detail Spares Consumption".
    It should provide the "Total Spares Costs" compared to the "Planned Costs"
    This is to illustrate:
    Rows
    > Plant
    > Maintenance Order
    > Cost Element
    > Storage Location
    > Unit Of Measure
    Taking the column information
    > Planned Cost
    > Actual Cost
    Thanks,
    Ishaam

    No response

  • Query on Memory consumption of an object

    Hi,
    I am able to get information on the number of instances loaded, the memory occupied by those instances using heap histogram.
    Class      Instance Count      Total Size
    class [C      10965      557404
    class [B      2690      379634
    class [S      3780      220838
    class java.lang.String      10807      172912 Is there way to get detailed info like, String object of which class consume much memory.
    In other words,
    The memory consumption of String is 172912. can I have a split up like
    String Objects of Class A - 10%
    String Objects of Class B - 90%
    Thanks

    I don't know what profiler you are using but many memory profilers can tell you where the strings are allocated.

  • Mixed MRP indicator 1 for PIR consumption of STO

    I am aware that Mixed MRP indicator is used in planning strategies 70, 11 and 74.
    could some one please help me understand the rationale behind using mixed mrp indicator 1 for consuming PIR by Stock transfer documents using BADI MD_PIR_FLEX_CONS
    http://wiki.sdn.sap.com/wiki/display/ERPLO/PIRconsumptionwithStockTransport+Documents

    Question is
    what is the technical reason behind using mixed mrp setting in material master for consuming pir with STO using badi dm_pir_flex_cons. I do not see how they are related??

  • PIR consumption

    Please suggest me with effective planning.
    I have a FG "A" having phantom A_PHAN which has a component "B" (planning strategy 70). when i plan for B, lets say i entered 600 qty in a planning table for 12/2010. now i got a sales order with 2 schedules line item for same material A with delivery dates as 10.12.2010, 15.12.2010, when i ran MRP before sales order i got a planned order for qty 600 on 1.12.2010, after SO when i re ran MRP i got 2 planned orders, 1 for qty 100 on 1.12.2010, second one for qty 500 (200+300, 2 dependent requirements of A) on 10.12.2010. what should i do to get one planned order with 600 qty and rest are as dependent requirements of 200 and 300.
    when i used PS 40 it will generating 3 planned orders one with 100 qty others 2 with 200 and 300 respectively. what strategy di i need to use for component "B". is there anything to do with consumption periods lengths.
    if i have multiple similar components (d,e, f) can i put them in phantom assembly A_PHAN, can i plan for A_PHAN for 600 qty for 12.2010 will they transfer to all components, in that case what strategy do i need to use.
    Thanks in advance.

    7,
    For your component part, you are saying that you have two requirements, each of which is on a different day, you have no stock, and you want MRP to create only one planned order which will 'cover' both of the requirements..
    The creation of planned orders is dependent upon the Lot sizing procedure.  I will assume you are using EX lot size in the Material Master of your component.  If you wish to consolidate planned orders, you probably want to use a "Period Procedure" based lot size, such as "weekly" (WB), Monthly (MB), or a custom built Period procedure lot size.  You can create new lot size strategies in OMI4.
    Best Regards,
    DB49

  • Strategy 70 PIRs Consumption problem

    Dear All
    I am using strategy 70 at my HALB, the problem is system is not reducing its PIRs when i make GI against its FERT Order reservation.
    Please advice..
    regards
    Navaid

    Dear Navaid,
    Thanks for feed back and nice to hear that your issue is resolved
    I guess based on your below thread you have tried option 40 and 70 stratagies and it worked
    [Planning Strategy;
    Since issue is resolved close the threads
    Good Luck !
    Regards
    Madhu

Maybe you are looking for