Purchase requisition mandatory for raising a PO

Hi guys,
I am trying to make pr compulsory for my po type.
a) i made it compulsory(reqd) in the field selection group.
b) maintain the relation between pr type and po
c) linked the field selection group to the po type.
still cannot make the pr compulsory. i can still end up raising direct po's
am i doing something wrong or missing something,
please advise
regards

Hi Rajiv,
Pls try this ME_PROCESS_PO_CUST
put logic like:
it_ekpo = im_header->get_items( ).
  wa_ekko = im_header->get_data( ).
if wa_ekko-aedat gt v_date.
loop at it_ekpo into wa_ekpo.
  clear tmp.
  ls_mepoitem = wa_ekpo-item->get_data( )..
  if ls_mepoitem-werks = '1000'.
check PR document
  if ls_mepoitem-banfn is initial and ls_mepoitem-retpo is initial and ls_mepoitem-umson is initial.
   concatenate 'No reference to PR document number in item' ls_mepoitem-ebelp into tmp separated by space.
  message W001(ZM) with tmp.
    mmpur_message_forced 'E' 'XX '01' tmp '' '' ''.
    CH_FAILED = 'X'.
    CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
       EXPORTING
        TITLE              = 'ERROR!!! '
         textline1          = tmp
        TEXTLINE2          = 'TERMINATE! '
Regards,
Maia

Similar Messages

  • Purchase Requisition commitment for WBS

    Hi! PS Gurus!
    There is one issue in my support project. While closing one WBS, the system gives an error that u201CThere is still Purchase Requisition commitment for WBSu2026.u201D
    But when I checked ME5J, some cost exists at PR. Later on I came to know that Purchase requisition is missing from the system, it has been deleted from the system. The solution I find out from SAP note. Some report we need to upload from basis people, again later on  I came to know that the data is not uploadable, the main thing abaper found out that there is no program exists for that particular report.
    Plz tell me wht do I do to recover my PR.
    The report ZKAOIDEO edits commitments for which there is no P.O or P.R (for this reason, you cannot use ME23N or ME53N to display a P.O or P.R for these commitments.
    Plz give me ur suggestion. Need ur help.
    Regards,
    ANSAR.

    As per abopve query,
    In Production server the PR is Missing, that means it is deleted, it can be seen only in cji5, we see that commitment of Rsu2026. exists against PR no...., itself doesnot exist in system.
    Plz let me know how it is possible that PR is non-existent (T-code-ME53N) inspite of commitment against it & how to reverse/clear the commitment in such case to close the WBS.
    Report RKANBU01 is there in the system, but ZKAOIDE0 & ZKAOIDE2 doesnot exist in the system, then how to run RKACOR04 in the system.
    plz need some help.

  • Error-"There is still a purchase requisition commitment for ORD #########."

    Hello All,
    I am trying to set deletion flag an internal order using transaction KO02 and am receiving an error "There is still a purchase requisition commitment for ORD #########."
    1> What does this mean.
    2> How can I solve this problem
    Moosa

    Hello Moosa,
    When you want to close an order, the system checks for dependanting data
    to alert you that there are open items that have not been received, etc.
    You need to close the purchase orders and requisitions so that the  order is no longer "expecting" postings from these dependant objects.
    Please consider running the following reports which have been known to correct inconsistencies in commitments:
    Report RKANBU01 resets commitments on orders and ranges of orders.
    (See note 100409) (Note 125266)
    Reports ZKAOIDE0 & ZKAOIDE1 removes commitments which refer to purchase orders and purchase requistions which do not exist.
    (See ANote 100409)
    Report RKACOR04 corrects mistakes between total and line items in
    database tables. (See Note 113423)
    I would recommend implementing these programs in a test system first.
    You may also want to consider Notes 152571 & 157369 if you are receiving error messages KO447 and/or KO448 when attempting to delete/close the order.
    Best Regards,
    Gladys xing

  • Contract with Purchase Requisition mandatory

    Hi gurus,
    pls. I need help to customize during creation of contract, the purchase requisiton as mandatory.
    I made the next customizing, but doesn´t work
    1 - SAP Customizing Implementation Guide --> Materials Management --> Purchasing --> Contract --> Define Document Types:
    Create MK4W with copie to MK and create field selection MK4W with copie to MKK.
    Link purchase requisition - document type
    2 - SAP Customizing Implementation Guide -->  Materials Management -->  Purchasing -->  Contract --> Define Screen Layout at Document Level:
    Create MK4W with copie to MKK, and flaged purchase requisiton as reference data at item level.
    The problem is during ME31K, I create a contract without purchase requisition as mandatory, can you tell me if I need to customize something more ? Thanks to show me the path !
    Thanks in advance.

    Dear,
    Did you checked the indicator in selection group for "Reference data, item" for Purchase requisition  as " Reqd Entry".
    Also while creating Contract, make sure you are selcting  MK4W  Document type in Agreement type field.
    Check and revert.
    Regards
    Utsav

  • MRP is not generating purchase requisitions consistently for MRP type VB

    Issue: When executing consumption based MRP in ECC 6.0 using the following parameters; purchase requisitions are not created for all material with stocks below max stock levels. In other words  requisitions are  created incase of some materials and requisitions are not created for others.  
    u2022     MRP type VB ( manual reorder point) with reorder point qty
    u2022     Lot size HB with Max stock level
    u2022     Procurement type F (external procurement).
    Additional info: Some of these materials are batch managed and results are inconsistence whether it is batch managed or not.
    Regards
    Sai

    I checked that and planning file entry is created.
    Example 1: MRP is not working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200045
    Reorder point =30
    Max stock level = 300
    Available qty = 139
    No PRs are existing before MRP.
    MRP is expected to create PR  for qty 161 (300-139= 161)
    Example 2 : MRP is working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200052
    Reorder point =100
    Max stock level = 1000
    Available qty = 87
    MRP created PR qty of 913 and results are as expected.
    MRP is expected to create PR  for qty 161 (1000-87= 913
    NOTE: I am directly creating Purchase requisitions by selecting creation Purchase Requisitions Indicator =1  during MD01/MD02 trxs . Not creating any planned orders.

  • Purchase Requisition pending for approval

    Hi,
        How to find out the Purchase Requisitions that are pending for approval?
    Thanks and Regards,
    Pavan

    Hi
    Try with ME5A, with dynamic selection option release indicator - blocked or with selection option PReq. processing state- 03.
    Thanks

  • Purchase requisition generate for alternative bom use for finished product

    i hav alternative BOM for finished product in which different raw material component in both BOM of same finished product.But when i RUN MRP that time only one raw material requisition generate another alternative bom raw material requision not generate.
       Is there any option when i RUN MRP that time we select one of the alternative bom component of  raw material for generation purchase requisition.
    Thnaks in Advance

    Dear ,
    MRP will select the BOM based on the MRP4-BOM Explosion tab -Selection Indicator .It can eitehr of these ways :
    1.Maintain Production Version with  different Alternative BOM  and keep Selection Indicator -3 .So sysetm will look into only the Valaidty  and lot size of the Production version and select the correct BOM to explode  and generate PR for depednts based on stock situation
    2.If you maintain Blank -then it will look into order qty and select the BOM according ly
    As in your case , selection methods 3 will fit  and you need to maintain PV with correct validity and lot size in MMR-MRP4-PV option .
    Try in sand box with different lot size and validity with indicator-3 .Create Order and run MRP-MD02-1,,3,3,3,2
    Check and revert
    Regards
    JH

  • Can i delete Purchase Requisition  item  for that i followed like this

    hi i did this
    Go to transaction MB52N and enter the Purchase Requisition number. Select the Item in the grid and click on the Delete button in the toolbar.
    i followed this but when ever i m taking print out than in print taht item which i deleted that coming in print.
    in me52n its showing that item is deleted but in print that item is coming please help.
    thanks

    Hi
      The extracting logic for printing should be where EBAN-LOEKZ = SPACE.
      Using the above condition it will exclude items which are deleted.
      Hope this can help you.
    Kind Regards
    Eswar

  • SAP Purchase requisition (s) for component already archived in  MM

    Hi All,
    How do i get rid of the messega on cj20n, it comes every time when creating wbs.
    I suspect the purchase requisition was deleted,and everytime the wbs is created this messega pop out. the user does not want to see it
    Please help me.
    Thank you,
    Takalani

    Hi,
    Can you see the same information in EBAN table. check whether deletion indicator has been set or not.
    Try implementing following notes
    Note: 454054, 309795.
    Also go through the following links
    https://help.sap.com/saphelp_erp60_sp/helpdata/en/8d/3e5c07462a11d189000000e8323d3a/frameset.htm
    Network: Problem, if PReq in MM already archived
    Regards,
    Amit Rajoria

  • Purchase Order mandatory for Spl Gl Transactions

    Hi Sapiens,
    I have a requirement to make the Purchase order field mandatory when we do the Spl Gl Transactions, such as Retention, Advance to Suppliers and but not to the Employee related Spl Gl Transaction.
    I have a Option to see:
    1. I am trying to make the posting keys 29 and 39, the purchase order field as mandatory.
    Problem is that this will apply to all kinds of Spl Gl's. For this want to check that this shud not apply for Empl gl
    Option for this is(May be)
    Whenever we post the Employee Spl Gl Transactions, I wanted to create a dummy purchase order and assign the same.
    Will this work or any kind of complications will arise, please throw some light on this.
                                          OR
    Please any one would suggest me for any other solution.
    Points are assured. Please help me in resolving this issue.
    Thanks and Regards,
    Sri

    hi sree,
               Relating u r queary require entry for Purchases order number in pk 29 and 39 dont made required entery for posting key level.
    Create Two Special Gl account two for employee another is service vendor.
      make change in Spl Gl account Field status Group level  so u can post the transaction smoothly.
    Relating to employee Spl Gl Account would be different and field status also.
    any clarification let me know.
    Thnks and Regards
    Laxmi

  • Purchase Requisition mandatory in Purchase Order

    Hi
    I have a requirement to configure 5 document types and among that 2 documents types must have PR as mandatory and the remaining 3 document types will not have PR as mandatory.
    I've tried in screen variant but it is not working.
    kindly let me know the other way to configure the above requirement.
    Regards
    Bala

    Hi Bala
    Masa wanted to know, do you want to create the POs in SRM or not. SRM POs also end up reaching ERP in Classic and Extended classic Scenarios.
    Try this BADI in ECC ME_PROCESS_PO_CUST, This may help you build some check while using ME21N, ME21 or BAPI_PO_CREATE1 to check what doc type is selected for PO and then you may throw an error if it is not referencing a PR
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivations
    Change of data in standard fields
    Note
    Ensure that data integrity is guaranteed.
    Change in field selection
    Regards
    Virender Singh

  • Pending Purchase requisition lsit for a particular material group

    Hi Gurus,
    Pl advise .
    Regatds

    Dear,
    As per your mail, Limestone is your raw material.
    Then first check material group of Limestone with MM03 - Basic Data1.
    Then enter ME5A t-code.
    Enter material group in field of material group, select ALV in field of scope of list and select N in field of Processing Status.
    Tick on Requisition of overall release and Requisition of item wise release
    Then click on execute button.
    Regards,
    Mahesh Wagh

  • Purchase requisition waiting for approval

    Hi ,
    Can you please tel me a table name where i can see a PRs waiting for approval for particular user.
    Like , when we  see PRs  in ME55 tcode for particular user. From which table we get these entries??
    Much thanks in advance.,
    Nilesh.

    EBAN you get the exact level. but thing is here you can get the rel stat as X only.
    Say examply if you have 3 rel level means, in this rel stat each level release it will get update X. If two level released XX will be there.
    Create one Z table there you will maintain the release code,user and level combination. two compare this z table and eban you can get the user list.
    directly you cannot get the its lying with which user.

  • Questions on Rules-Based ATP and Purchase Requisitions for STOs

    Hello experts,
    We are working on rules-based ATP configuration and have several questions about the functionality.  Iu2019m hoping that some of you are using this functionality and can help give us direction.
    In our environment we have multiple distribution centers and multiple manufacturing plants.  We want to confirm sales orders against stock and production orders in any of those plants, depending on the locations that have stock or planned production.  For example, we will place a sales order against plant A.  If there is not enough stock in plant A then rules-based ATP will use location determination to check in plant B, then C.  The scope of check on the ATP check will include stock and released production orders.  We will configure plant A as the u201Cconsolidation locationu201D so if stock is found in plants B or C then stock transport orders will automatically be created to move the stock to plant A before shipping to the customer.
    We have configured rules-based ATP and this functionality is working well in our Development system.  The ATP check is executed and uses the rules-based ATP to find eligible stock in other plants.  The system is also creating purchase requisitions to move the stock to the consolidation plant. 
    Our first concern is that there doesnu2019t appear to be any firm linkage between the sales order and the resulting purchase requisition.  For example, if we create sales order 123 for plant A and the rules-based ATP finds stock in plant B it automatically creates a purchase requisition 987 to move the stock from plant B to plant A.  However, there doesnu2019t appear to be a linkage between sales order 123 and purchase requisition 987.  For instance, if we delete sales order 123 the purchase requisition doesnu2019t get deleted. 
    Our second concern is that the quantity on the purchase requisition can still be confirmed against later sales orders.  For example, say the above scenario resulted in a purchase requisition 987 that consumed all the stock available in plant B.  We then create a second sales order 456 for the same product.  Plant A is out of stock so the rules-based ATP looks in plant B.  We would expect that plant B would also not have any stock because itu2019s all been consumed by the purchase requisition.  Instead, the system creates a second purchase requisition to move quantity from plant B to plant A.  Itu2019s as if the system doesnu2019t realize that the purchase requisition 987 is already planning to move stock out of plant B.
    Does anyone have any thoughts or suggestions on these two scenarios?  Is there a way to configure the system so there is a hard linkage between the sales order and the purchase requisition so that if the sales order is deleted then the purchase requisition is also deleted?  Should ATP realize that purchase orders are consuming inventory and not allow later sales orders to confirm against that same inventory?  Any advice or experience would be greatly appreciated.
    Thanks,
    David Eady
    Application Delivery Team Lead
    Propex, Inc.

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • MRP creating additional purchase requisitions for the existing sales order

    Hi,
    We have scenario where we switch materials from POD material to ARP material. POD material is just like make to procurement which creates purchase requisition and purchase order upon saving the sales order. ARP (Auto replenishment) material creates purchase requisition based on sales order and re-order point while running MRP.
    When the material is POD title, it created purchase requisition and purchase order (example: 4500000110) while saving the sales order (example: 1000000010) for the quantity 10. After some time this material is switched to ARP and it has open sales order (1000000010) and purchase order (4500000110).
    We have special MRP run for ARP materials based on MRP type, which creates purchase requisition.. What is happening is when we run MRP; it is creating new purchase requisition for the old sales order (1000000010) for the quantity 10. But old sales order (1000000010) is already having purchase order (4500000110) to fulfill. So we donu2019t want to create new purchase requisition for the old sales orders. It should create purchase requisition only for new sales orders.
    Please advise
    Thanks in advance
    Srinivas

    Mangesh,
    If the components are Inhouse production then you can think of using collective orders by assigning special procurement key 52. If raw material exists then your requirement cannot be met..as i think your scenario is of assembly processing. The idea of assembly processing is that component materials will always be available and only assembly will be done based on Sale Order.
    Regards,
    Prasobh

Maybe you are looking for

  • Spry menu not working on mobile browser

    How are you with Mobiles, Originally, like a month ago, the main page  worked on my Iphone, but the menu has since disapeared. Is there an  issue with the spry or CSS.? Can anyone help with this please.   http://www.tompriceshs.wa.edu.au/publish/

  • Connecting a printer, but getting an error message

    Hi, I'm trying to connect my new printer "Epson sx515w" to my MacBook, using ox 10.4.11. I get the error message "client-error-request-value-too-long" when I try to add the printer to my printer list. PLease help!

  • FACES not showing on Iphone 6

    FACES from my Mac do not appear in my iphone 6 PHOTO apps, why? It does in my iphone 4s with same settings

  • Central Monitoring of Multiple XI Instances

    Is it possible to have central monitoring (message and end-to-end) for multiple XI instances in a landscape? We have a landscape with one Central XI instance and multiple local XI instances. Is it possible for me to ... 1. Add the local XI integratio

  • AXBS(n) to AExpress(n) "bridge" Ethernet to PS3?

    I have a PS3 that is wireless (from my Airport Extreme Base Station) and want to get the PS3 wired. I can't move my router, so I want to know if I can get a Airport Express or Base Station and use it as a "bridge" and connect the PS3 to the Express v