PR/PO generate by MRP not calculate factory calendar

hi,
if PR/PO generate by MRP did not consider factory calendar, possible?
pls advice? thanks

Hi,
Your possible checks should be:
1) Whether material has proper MRP type
2) whether there is enough demand
3) whether the stock available is less than the demand
4) Whether planning parameters are set properly
5) Whether external procurement is setup for material master
6) Whether planning file entry took place
so many but a few listed on possibilities of failure to get PReqs out of MRP run...
Regards

Similar Messages

  • Note 1529649 - Factory Calendar expires 2010

    Hi Experts,
    Need a clarifications. Does it affect any work schedule, when we extend the validity of factory calendar.
    when Public Holiday Calendar are used in factory calendar does it affect any work schedule .
    Please let me know if it affects anything related to HR.
    Regards,
    M Bharath

    We don't use Factory Calendars, only our own Holiday Calendars, but they must be valid in the future if we want to generate the Work Schedules. 
    Our Holiday Calendars are currently valid until 2020, and our Work Schedules have been generated up to December 2015.
    This allows the system to "count" the number of absence days (and quota utiliization) for long-term absences (provided they have an end date smaller than 01.01.2016).

  • Problem with OSS note 1529649 - Factory calendar expires 2010

    Hi Experts,
    I found a OSS note that is telling that calendar validity ends in 2010.
    For the moment in my system factory calendar for all my sites is valid till 2020.
    My question is that doesn't matter what date i have now in the system the validity will finish?
    What i should do!!!
    Thanks a lot for your help.

    Dear
    If the factory calender and holady calendar which is assinged in FC , both have same validity , then there should not be any problem .
    For  consistency , you can go down to OP03-Slecet HC-Change Mode -Keep the valaidty along with all the public holday calander validity till 2011 or 2012 .Similarly , do the same in Factory calander  .
    But re-assing the Calander to Plant once again in OP03 -Plant Assingent tab  or re-assing at WC ( CR02-Capacity tab -Standard Avalaable Capacity )  also if you have similar kind of canalder also .
    Hope this helps
    Regards
    JH
    Edited by: Jiaul Haque on Dec 10, 2010 10:56 AM

  • Function Module to Calculate Factory Calendar

    Hi,
        We are Working generating a report for discrete Manufacturing. We need a actual days worked from the factory calendar for our MIS Reports based tat.
        Help us in find a Function Module for it.
    Regards
    Naga

    *&      Form  BILLING_DAY_IS_WORKING_DAY
          Using the date passed in next_date, verify that the date is
    a working day in the factory calendar the user specifies.  This form
    calls the standard ABAP function for determining if a date is a
    "working day".  The function first determines if the day of the week
    corresponding to the calendar date entered is a billing day.  Then
    it checks to see if the calendar date is a holiday.  If either are
    true the date_no_workingday flag is passed back as "X" and this
    routine passes back "X" to the calling routine in the parameter
    p_billing_flag.
    FORM CURRENT_DAY_IS_WORKING_DAY USING    P_NEXT_DATE TYPE D
                                    CHANGING P_NOT_BILLING_DAY TYPE C.
      CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
           EXPORTING
                DATE                       = P_NEXT_DATE
                FACTORY_CALENDAR_ID        = FACTCALD
                MESSAGE_TYPE               = 'I'
           EXCEPTIONS
                DATE_AFTER_RANGE           = 1
                DATE_BEFORE_RANGE          = 2
                DATE_INVALID               = 3
                DATE_NO_WORKINGDAY         = 4
                FACTORY_CALENDAR_NOT_FOUND = 5
                MESSAGE_TYPE_INVALID       = 6
                OTHERS                     = 7.
      CASE SY-SUBRC.
        WHEN '0'.
          CLEAR P_NOT_BILLING_DAY.
        WHEN '4'.
          IF SY-DATUM > CURRENT_BDATE.
            P_NOT_BILLING_DAY = SPACE.
          ELSE.
            P_NOT_BILLING_DAY = 'X'.
          ENDIF.
        WHEN OTHERS.
          CONCATENATE: 'Error Accessing Calendar with ID: ' FACTCALD
          INTO ZZMSG_TAB2.
          APPEND ZZMSG_TAB2.
          CLEAR  ZZMSG_TAB2.
          V_LEVEL = 'E'.
          PERFORM F_ERROR_MESSAGE.
          MESSAGE E305 WITH FACTCALD.
      ENDCASE.
    ENDFORM.                               " BILLING_DAY_IS_WORKING_DAY
    *&      Form  BILLING_DAY_IS_WORKING_DAY
          Using the date passed in next_date, verify that the date is
    a working day in the factory calendar the user specifies.  This form
    calls the standard ABAP function for determining if a date is a
    "working day".  The function first determines if the day of the week
    corresponding to the calendar date entered is a billing day.  Then
    it checks to see if the calendar date is a holiday.  If either are
    true the date_no_workingday flag is passed back as "X" and this
    routine passes back "X" to the calling routine in the parameter
    p_billing_flag.
    FORM BILLING_DAY_IS_WORKING_DAY USING    P_NEXT_DATE TYPE D
                                    CHANGING P_NOT_BILLING_DAY TYPE C.
      CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
           EXPORTING
                DATE                       = P_NEXT_DATE
                FACTORY_CALENDAR_ID        = FACTCALD
                MESSAGE_TYPE               = 'I'
           EXCEPTIONS
                DATE_AFTER_RANGE           = 1
                DATE_BEFORE_RANGE          = 2
                DATE_INVALID               = 3
                DATE_NO_WORKINGDAY         = 4
                FACTORY_CALENDAR_NOT_FOUND = 5
                MESSAGE_TYPE_INVALID       = 6
                OTHERS                     = 7.
      CASE SY-SUBRC.
        WHEN '0'.
          CLEAR P_NOT_BILLING_DAY.
        WHEN '4'.
          P_NOT_BILLING_DAY = 'X'.
        WHEN OTHERS.
          CONCATENATE: 'Error Accessing Calendar with ID: ' FACTCALD
          INTO ZZMSG_TAB2.
          APPEND ZZMSG_TAB2.
          CLEAR  ZZMSG_TAB2.
          V_LEVEL = 'E'.
          PERFORM F_ERROR_MESSAGE.
          MESSAGE E305 WITH FACTCALD.
      ENDCASE.
    ENDFORM.                               " BILLING_DAY_IS_WORKING_DAY
    Reward if useful

  • PO Receipts not using Factory Calendar - Workaround?

    We are in the process of implementing SAP.
    We have a gap that can not be unique to our company and I'm looking for advice on how other companies have handled it.
    The problem:  We have agreements with third party suppliers that they will ship their product in three BUSINESS days and we measure their performance to this standard leadtime.  SAP uses calendar days.  If we give our supplier a PO on a Thursday, our expectation will be that they ship the product on the following Tuesday, which is three BUSINESS days.  Because SAP uses calendar days, the auto generated PO will reflect a Sunday expected ship date.  The same problem exists if we give them a PO on a Friday.  The system will reflect a Monday expected ship date, when, per our agreement, they would not be expected to ship the product until Wednesday.
    How do we get the system to automatically recognize that the weekend (Sat and Sun) should NOT be counted in the leadtime expectation? 
    Thank You in advance for your assistance.
    Greg

    Hi,
    Your possible checks should be:
    1) Whether material has proper MRP type
    2) whether there is enough demand
    3) whether the stock available is less than the demand
    4) Whether planning parameters are set properly
    5) Whether external procurement is setup for material master
    6) Whether planning file entry took place
    so many but a few listed on possibilities of failure to get PReqs out of MRP run...
    Regards

  • Lead time from catalog does not consider factory calender

    Hi,
    we are working with SRM 2.0 classic scenario. I have following problem:
    We take over lead time from a supplier catalog via OCI in EBP. This works but the lead time does not consider holidays and weekends. How can I activate the Factory Calender?
    Thanks Thomas

    Hello,
    I just sniff arround and found out that EBP 3.0  does not support factory calendar.
    You should use BBP_DOC_CHECK_BADI or BADI BBP_CATALOG_TRANSFER and call within this BADI the function modules requesting the factory calendar data via RFC on the backend.
    i.e.
    get the target system of the follow-on document            
        SELECT log_sys from BBP_DET_LOGSYS INTO wa_logsys-log_sys
        WHERE CATEGORY = ls_item-category.                       
        ENDSELECT.                                                                               
    read table T001WK                                          
        CALL FUNCTION 'META_READ_TABLE'                          
          EXPORTING                                              
            query_table    = 'T001W'                             
            logical_system = wa_logsys-log_sys                   
          TABLES                                                 
            options        = options                             
            fields         = fields                              
            data           = tabcont                             
          EXCEPTIONS                                             
            OTHERS         = 1.
    fill the internal table xt001w                         
        LOOP AT tabcont INTO la_tabcont.                     
          MOVE la_tabcont-content+3(4) TO la_xt001w-werks.   
          MOVE la_tabcont-content+61(2) TO la_xt001w-fabkl.  
          APPEND la_xt001w TO xt001w.                        
        ENDLOOP.                                             
        SORT xt001w BY werks.                                                                               
    get the fabric calendar related to the plant           
        READ TABLE xt001w INTO ma_XT001W                     
        with KEY werks = ls_item-BE_PLANT.                   
    check if delivery date is a working day                
        CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'          
          DESTINATION wa_logsys-log_sys                      
          EXPORTING                                          
            DATE                 = ls_item-DELIV_DATE        
            FACTORY_CALENDAR_ID  = ma_XT001W-fabkl           
          IMPORTING                                          
            WORKINGDAY_INDICATOR = W_IND.                                                                               
    get an error message if delivery date is not a working date             
        IF W_IND = '+'.                                                                               
    CLEAR ls_message.                                                                               
    ls_message-msgty   = 'E'.                                           
          ls_message-msgid   = 'ZBBP'.                                        
          ls_message-msgno   = 'xxx'.                                         
          ls_message-msgv1   = 'error message text, e.g. delivery date not    
    working date'.                                                            
          ls_message-item_guid = ls_item-guid. "assign message to item        
          APPEND ls_message TO et_messages.                                                                               
    ENDIF.                                                                               
    endloop.

  • Factory Calendar MySAP ERP 2004

    Recently upgraded to MySAP ERP 2004, previously factory claendar was automatically calculated for many years ahead.
    After upgarde only calculates factory calendar to 2009. This is noy far enough ahead for us as we use calendar to schedule contracts up to 5 years.
    Any suggestions please?

    check here
    spro > SAP ref img > time mgmt > work schedules >factory calender > change valid to year.
    Go in change mode,  u need to know what calender ur organisation is using. HOpe this helps

  • Schedule lines not generated after MRP run

    Dear All,
    I am trying to create Schedule lines through MRP run , but instead system creates MRP element PRqRel  and its PurRqs when i check in MD04 ,  the following are the prerequisite i done before MRP run , but still Schedule lines are not generating.
    1.activated checkbox source list in material master.,Procurement type is F, MRP type PD , lot size MB , marked JIT  Scheduling indicator as 1 in Pur view of material master , no MRP group is used in our process.
    2.Maintained Inforecord.
    3.Maintained source list for the material and marked MRP relevant as 2. Validity also checked.
    4. Quota arrangement for this vendor only.
    5. Created New scheduling agreement.
    6. Material is not sent for subcontracting.
    7. Ran  MD02 with following parameters ,
    Processing key NETCH Net Change in Total Horizon
    Create purchase req. 1 Purchase requisitions in opening period
    Delivery schedules 3 Schedule lines
    Create MRP list 1 MRP list
    Planning mode 3 Adapt planning data (normal mode)
    Please let me know if i am missing something
    Thanks in Advance
    Benny

    Hi,
    Please check the below links...
    Schedule Lines not getting created in MRP
    Schedule Lines not generated for MRP Type PD
    Kuber

  • Schedule lines are not getting generated during MRP Run

    Schedule lines are not getting generated during MRP Run. I have maiantained source list for the material with proper validity date and also maintained scheduling agreement . MRP relevvant Indicator , I have marked - 2 which means -Record relevant to MRP. Sched. lines generated automatically.
    Still I am not able to get schedule lines and instead of that *Purchase Requisitions* are getting generated.
    Can any one help me and suggest me what to be done in this case .
    Thanks & Regards ,
    Nirmalya

    Dear,
    Welcome to SDN,
    In transaction OMDT you have to enable the indicator create schedule lines
    In MD02 MRP control Prameter here select the Delivery schedules -3- Schedule line. Processing Key as NETCH and Planning Mode - 3 delted and recreated.
    Maintain source list ME01, in that put MRP indicator as '2' i.e. schedule lines via MRP.Put your agreement no in that.
    If u run MRP properly u will get schedule lines automatically in ME38.
    Make the schedule agreement, make it source relevent in the source list make is FIX and MRP indicator as 3.
    Regards,
    R.Brahmankar

  • MRP Generated PR should not be converted into PO before release date.

    Gurus,
    In MRP generated PR system defines a release date for the PR(date by which the PR should get converted into PO).My requirement is system sholud not allow me to convert that PR into PO before that Release date.
    MRP generated PR are not subjected to Release strategy.
    Is their any Configuration,User Exit for it.
    SN

    Hello Sanjay,
    please try setting up an error from OMCQ t-code.
    If this not helps then please contact your abaper, I m sure he will find out a way out of this.
    Hope this helps..
    Robin

  • Issue in PDT of PR generated from MRP

    Hi All,
    We had a issue in the PR generated from MRP. Actually the Planned delivery time(PDT) of the PR(Purchase requisition) is supposed to pick from the PIR(Purchase info record) for the given material if PIR is existing, instead the PR generated from the MRP is picking the PDT that is maintained in the Material master. After our analysis, we are seeing that Purchase Organisation details is not mentioned in the PR and this PR is created from the MRP. How to ensure the Purchase organisation details are to be picked for the PR that is generated from the MRP run  so that PDT from the PIR is picked up for the PR instead of PDT of material master. Can anyone suggest us does we need to maintain any setting in MRP Run?. How can we avoid this issue.
    Thanks in advance.

    Dear Aditya,
    Check in OPPQ,for the plant whether the check box for determining the planned delivery time is set or not.
    Scheduling according to purchasing info record or agreement
    Determines whether the planned delivery time specified in the purchasing info record is used for scheduling in the planning run.
    Use
    If you set this indicator, the system checks whether a planned delivery time is entered in the purchasing info record or in the
    outline agreement. This planned delivery time is then used to calculate the delivery date and the release date.
    Dependencies
    If you want to use the planned delivery time from the purchasing info record, you must maintain a source list entry for the
    material in addition to the purchasing info record, and enter the same vendor in the source list as in the purchasing info record.
    Check and revert
    Regards
    Mangalraj.S

  • Purchase Order is generated after MRP for Material with MRP Type ND

    Hi Everyone,
    Material type := HAWA
    My material procurement type = F i.e. External Procurement.
    MRP Type = ND in Production server , and VB in Quality
    Lot Size = EX
    Material Status :- 15 Pre-release both for Quality and production server
    The Material is bulk material and bulk material indicator is set.
    Purchasing View is also maintained for the same.
    Planning Strat = Z5 Company specific
    Special procurement key:- Z7 Company specific
    I am running MD02 with following parameters.
    Create Pur Req =1, PR
    Create MRP List = 1, MRP List
    Delivery Schedule = 3, Schedule Lines
    Planning Mode = 2 Re- Explode BOM & Routing
    Scheduling = 1
    Issue:
    After MRP run, system is  generating PR, Though with MRP type ND purchase requisition should not be generated.
    Observation:- Looks like there is inconsistency of material date in Quality and production server.
    When I tried to run the planning , The Error message was generated"Material status is set to pre- release.
    After changing the material status to 20 (Active ) , when we run the MRP , The error message is generated "Material is not planned automatically "
    We havent been able to locate the root cause so far
    Please guide us
    Thanks in Advance,
    Ayaz
    Edited by: Ayaz Alam Khan on Feb 16, 2011 2:41 PM

    IF the material is ND, system won't Run MRP for the material
    Observation:- Looks like there is inconsistency of material date in Quality and production server.
    There is no link
    When I tried to run the planning , The Error message was generated"Material status is set to pre- release.After changing the material status to 20 (Active ) , when we run the MRP , The error message is generated "Material is not planned automatically "
    system will read the X plant  material status or plant specific material status first and then only system will read MRP type

  • How can we default a Purchase Organisation in the PR generated through MRP

    Hi,
    How can we default a Purchase Organisation in the PR generated through MRP
    (This is a Auto generated PR when the MRP Run is taken)
    We take a MRP Run for CBP. After the MRP Run system Auto generates a PR. But this PR does not have the P.organisation mentioned in it. It has to be done manually.
    How can we Default the P.Organiastion in the PR.
    NS

    The Purchasing Organization is only filled in the Purchase Requisition
    when a source is assigned because it represents a source of supply.
    Please also refer to attached note 206684 for more information.
    When executing a MRP-run, it is checked first if there exists a quota
    arrangement, the source list is read after it and the purchasing
    organization is taken from the source list. But before filling
    the relevant field in the purchase requisition (EBAN-EKORG), the
    system checks if there exists a record in the source list which is
    RELEVANT TO MRP, which means that the parameter 'MRP' has to be set to
    '1'.
    So please ensure that MRP = 1 in ME01 for the existing records and start
    the next planning run with planning mode = 3 and check the results.

  • After firming planned order, new planned order is generating in MRP run

    Hi Experts,
    I am using SAP AFS. Planning strategy is 21- MTO with Project settlement. MRP type is PD. Lte size is EX. Procurement type is X.
    We are using the production versions. Individual / collective reqmts is 1. Planning time fence is not maintained.
    In sap AFS T.Code for MRP run is /n/afs/md02. After receiving the Sales order, MD04 screen gets updated accordingly and I am running the MRP.Planned orders are generated accordingly. I am firming the planned order manually through MD04. The satr mark is also appearing.
    My problem starts now. If I am running  the MRP again for the same requirements another planned order of the same qty. is getting generated. That means after the second MRP run, I am having two planned orders (one firmed plnd order) and second is the new planned order. My requirement is that MRP should not generate any new Plnd. order / PR's if there is no new Sales order.
    The parameters for MRP run are "1" for "Create PR's", '1" for "Plng Mode" and '"1" for "scheduling ".
    I have tried in all the possible ways, but of no use. Still new plnd order is generated after firming the 1st plnd. order in MRP run.

    Thanks all for your feedback..
    @ Vishal
    1. Yes, Both Old firmed planned order and newly generated planned order have the same grid value
    2. For both the planned orders :
    Special Stock is E u2013 Orders on hand,
    Consumption is V,
    Sales order is the same (As we are using MTO , Strategy 21) and same WBS element.
    3. First planned order is not in the assigned tab of MD04. This means that has been allocated to some object. u2013 I didu2019nt got this point. Can u please elaborate?
    @ Nikhil
    1. Quantity of sales order is not reducing after firming the sales order
    2. Account assignment category for both the planned orders is u201CZu201D - Indiv.cust./project
    I have made some more observations and found the following differences between the two planned orders
    From  MD04 , keep the cursor on corresponding planned order
    & click on upward arrow ( available on bottom side of the report).
    It will show what will be the originating requirements i e. for which requirements this planned order generated.
    For Firmed planned order it is taking me to screen u201CPegged Requirements
    u201D*And the following data is present:
    Planned dates: 04.07.2010
    MRP element No. 3100001185 (Sales Order No.)
    MRP element item 100
    Scheduling No. is 1
    MRP element indicator - VC u2013 Order
    MRP element data- 3100001185/000100/0001
    Plng segment u2013 3100001185000100000
    P.O / Order Type u2013 ZX
    Rec/reqd Quantity 10
    MRP element u2013 Order
    For new planned order generated, I am going to Screen *u201CProcurement without Requirementsu201D
    *The following data is present
    Planned date 03.07.2010
    MRP element No. 0000123522 (Planned order No. of the newly generated after MRP Run)
    MRP element Ind. u2013 PA
    MRP element data 0000123522/SO
    MRP element item 1
    Scheduling No. 1
    MRP segment 20
    Plng segment u2013 3100001185000100000
    Rec/reqd Quantity 10
    P.O/Order type- KD
    MRP element u2013 Plnd Order

  • How to find parent ITEM in pr generated by MRP?

    Dear Gurus,
    Please find below explanation and let me know what can be done.
    We have implemented MRP for our finish goods.
    For Example : I need to Produce ITEM Z001.
    We prepared a bom.
    We run MD02 and PRs generated automatically.
    But since, some Raw Materials are very common in other products. But while checking PRs by number, we are unable to find that whcih material is for which Finish good.
    Suppose BOM for Item Z001 is containing items A , B , & C.
    Item B & C is used in many other Final products.
    There are too many prs generated for items B & C.
    How could I know which PR is for Which Final Product? Is there any indication in PR or any report that suggest us that particular PR is for this final product.
    Please suggest.
    Thanks in Advance

    Hello
    Generally, transaction MD09 or the procedure mentioned by Jurgen can be used.
    However, keep in mind that there is no firmed link betweent the requirement and the receipt generated by MRP. That means, this information is not stored on any table and it's builded dynamically.
    Check my answer on the thread below for more details:
    Link between Planned order and Maintenance order from different plants in SAP table
    BR
    Caetano

Maybe you are looking for

  • Deskjet 3050 Won't Print Wirelessly

    Hi there, My new all in one 3050 won't print for me. It is "Offline" in the network page. I feel I have explored every avenue and it will still not print. The wireless network configuration page I printed says everything passed. The home network disa

  • My ipod touch 4G is having several problems, how could that be ?

    Look guys, my ipod touch 4G's seems to be a lot weaker than its friends. There were a lot of lags even after restoring (I haven't jailbroken it yet). And even a lot of wierd problems. Here's a list of where these problems took place : Lagging after s

  • Using itunes to perm delete files from ext hard drive

    hello. the ext hard drives that contain my music crashed some time ago, and most of the files were thankfully restored, but in a slightly messy fashion, so now there's a lot of duplicate files and folders. the easiest way for me to clean this up woul

  • Message Transformation Bean - Usage of external classes

    Hi SDNers, I am planning to write an external Java class to be loaded from AF_Modules/MessageTransformBean . The idea is simple, I want my class to handle an extra level of hierarchy in FCC process. I know writing the Java class which is as generic a

  • Load an external gallery  file into a host div via Ajax method?

    I was just wondering if anyone has been able to get a spry gallery to work when placed within an external html file and loaded into the host div of a page using Ajax method to load. It must work remotely (on the Internet). I've tried and mutilated en