Validate Materials according type of Purchase Requisition

Good morning.
At present the system we have several types of Purchase Requsitions (document created by the ME51N) that users can use (PR for Material, PR for contracts, PR for services, etc)
When creating the PR, the user chooses the PR type and write materials codes. The system is not Restrict the user to do things like, for a PR with type pshicical Materials,  request a service material, which is obviously wrong and generate rework.
What we require is to know how to parameterize the system to validate that type of PR, only to order the materials associated with each type and do not let things like the example above.
We have the material well classified by Material Group and Purchase Group. I just need to know how to assign materials to each type of PR.
Research on this topic, I found the SPRO something I think I could serve.
SPRO -> Materials Management -> Purchasing -> PR -> Documents types
See here for example for PR ZS01 - PR Materials (used to order everything that is NOT services, ie physical materials), if I go to see the types of position allowed me see the following:
Code:
Tp.Pos | Text Pos Type
Normal
C Appropriation
L Outsourcing
I Wanted to third
Transfer V
F Service
I also see that all other types of PR of which there are established, have enabled the same kind of position.
Anyone know if this is why users can request a service for a material type PR Materials. o A physical material in a service PR?
Could Restrict through this that for example if the user creates a type PR SERVICE, only to enter service type material (a material through the group I guess)?
At last if i cant by parameterization, which I think is to create a Ztable with the association "MATERIAL - TYPE Purchase Requisition" and a field-exit to the fields where the materials are entered in PR to validate that the user typed material associated with this type of PR chosen and if that does not leave PR record. What I like about this solution is that the material planner will add a function over having to keep this updated Z table.
I would appreciate opinions.

Hi,
By using following BADI you can put a check while saving PR
You can put a check with reference to item category and document type , and material group of the entered material and PR document type , if required you can maintain Z table with allowed relationship or you can update the same in BADI
(BAdI) ME_REQ_POSTED, you can trigger a variety of follow-on processing operations for purchase requisitions at the time of posting
Thanks
Diwakar

Similar Messages

  • Multiple Document Types For Purchase Requisition For Different Order Types

    Dear SAP Gurus,
    I want to have different document types of Purchase Requisition for different Order types.
    For Example:
    for Order Type ZT01- Document Type used should be YR01
    for Order Type YA01- Document Type used should be ZR01
    How could this be achieved?
    Regards.

    hi
    Kindly check the user exit for the same
    COZF0001 or COZF0002
    regards
    thyagarajan

  • Associate new type of purchase requisition to WRP1

    I have created a type of purchase requisition (ZNBB) and I can't associate it to the Replenishment Planning.
    I have tried to associate it in the SRS parameters and also using the MRP Groups, but WRP1 keeps calling the standard type of requisition (NB). This is a problem for us since we have a different logic for our retail operations than for the rest of our operations. Is there anyway of making WRP1 call the new purchase requisition type?
    Best Regards,
    Patrício Silva

    Hi
    Does anyone has the solution to this issue? I am also having the same issue..
    Best Regards
    Junwen

  • Materials available only for Purchase requisition creation

    Hi Experts,
    My client wants some materials available only for Purchase requisition creation and some materials donu2019t want available only for Purchase requisition creation.
    How we can control
    Thanks in advance,
    Chandhu

    1) Solve your issue first you have to bifurcate between the materials where requisition is possible & where not...u can do this by selecting some field which is not in use presently in material master-basic data view & maintain some unique value for those materials for which PR will be not possible....otherwise check whether you can bifurcate it through material groups or not...
    After this take help of your ABAP person and implement BAdI::ME_PROCESS_REQ_CUST...here use the logic that after user enters the material code in PR system will check in the background what has been maintained in the said field in the basic data view of the material...if found blank then it will allow the user process further or if found any data in that field then system will stop the user from processing the same by throwing some customized error message.
    2) Use the Plant-sp.matl status in purchasing view as Blocked for procment/whse for those material against which you don't want to create any PR.But this will be plant specific and both PR & PO will get blocked.
    Regards,
    Indranil

  • How do I enter Document Type for Purchase requisition IDOC

    Hello,
    File - IDOC (PREQCR.PREQCR02)
    The file is getting picked up and shows up a checkered flag in Moni..
    but in WE05, on R3 side, i see an error message
    "Enter Document Type"
    How do I enter document type for Purchase requisition IDOC?
    will that solve this issue?
    thanks and regards
    Nikhil.

    Hi,
    For error 51, you need to set the default document type in the inbound processing FM of the IDOC
    Standard type - NB
    Subcontrator type
    Blank PO
    Service PO
    Stock transport PO.
    Document types is used for below things,
    1. It controls the no. range of the document i.e. the doc no.
    2. It controls whether doc no. is auto assigned or manually entered
    3. It controls the field status of the doc header fields i.e. whether input is mandatory or optional
    4. It controls the physical doc filing
    Thanks
    Swarup

  • UB doc type for Purchase requisition

    Hi
    Please inform is it standard to have UB type purchase requisition.
    regards
    arvind

    HI,
    you meant to say UB -Stock transport order doc type?
    We have have it based on the Business requirement,which says a requirement have to be generated from the user for the stock transport and can be Processed after approval ,then it can be used or else it is not required.
    we can process the same using the PO- UB.
    regards
    Anjanna.

  • Work flow object  type for purchase requisition

    hello anji reddy
       u asked me to create a Customer Task in PFTC and assign this object and a Method  and define a triggering event etc for the workflow to get triggered,but in the triggering events there is no create event in it,so how and where should i create that event and also in the custom table which i have created there is a field approver user id ,where can i get this id frm?when the pr is created the fields storage location and issuing plant will be read and sent to the custom table where the related approver id should be chosen,,but the field will be blank so how to enter data into the approver user id field.....
    also in the business object(bus2105) is it that in the program only the create function module should be called and the rest of the fn modules which r there in the sample program which u have sent should be deleted?????????
    regards
    anik

    Hi
    It is <b>BUS2009</b>  for Pur Requisition
    Hi go to PFTC tcode and enter Workflow template and press F4, it displays all WF templates, then in that search and take the PR related one.
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Work flow object  type for purchase requisition   please do reply

    helllo anjireddy
    pls dont mind spare a lit bit extra time for my query....
    am giving u my requirement once again
       i have a custom table: the fields in it are storage location,issuing plant,approver user id..
    when a PR is created..the storage location(EBAN-lgort) and issuing plant(eban-werks) are to be read into the custom table where there is no data available for the approver user id...and a mail has to be sent to the approver ..when approved/ rejected a mail will be sent to the Requisitioner,approver and creator..
    as u said create a subtype of the Business object bus2105 and have to create a Customer Task in PFTC and assign this object and a Method  and define a triggering event.
    now wat i didnt understand is....when the fields location and plant r read frm the PR there will be no data in the approver user id field in the custom table,then how to get the approver' mail id...?
    pls do respond
    regards
    anik

    Hi
    You will get the UserID of the Approver from this
    then use the Tables <b>USR21 and ADR6</b> tables to get the mail ID
    See the sample:
    DATA :  lv_pernr LIKE adr6-persnumber,
             lv_adrnr LIKE adr6-addrnumber,
             lv_usrid LIKE pa0105-usrid,
             lv_mail  LIKE adr6-smtp_addr.
      CLEAR: lv_pernr, lv_usrid, lv_adrnr,
             lv_mail.
      lv_usrid = gv_ernam.
      SELECT SINGLE persnumber addrnumber FROM usr21
             INTO (lv_pernr,lv_adrnr)
             WHERE bname = lv_usrid.
      IF sy-subrc = 0.
        SELECT SINGLE smtp_addr INTO lv_mail FROM adr6
               WHERE addrnumber = lv_adrnr AND
                     persnumber = lv_pernr.
       endif.
    Reward points if useful
    Regards
    Anji

  • Multiple document types per Network in Purchase Requisition stage

    Hi,
    PRs get created automatically whenever we attach the material component to an activity.Required Document type of PRs are maintained in transaction 'OPTT'.
    My Client is using three document types for Imports, Material Procurement & Services Procurement respectively & he wants all the three document types to be mapped in Project System implementation.(All other modules have been implemented long back & now IM&PS modules are being implemented)
    In transaction OPTT, only one entry is possible to maintain as Document Type. Can anybody share how to maintain three Document Types?
    Thanks
    Kishore

    Hi Kishore
    Let me clarify one thing that Tcode:OPTT is to specify purchasing item categories(account assignment categories) and a purchasing document type for purchase requisitions in the network, this is not the area where u create new document type.
    1) u can create new document types in the IMG>Material Management >Purchasing > Purchase requisition>define document types. where in u have define the new document type with the allowed categories and link purchase requisition with the document types.
    2) U have to link this document type to the PO document type.
    3) Then go to the OPTT transaction maintain the account assignment categories for the new document type created.
    Reward points if useful
    Regards
    Murali

  • Creation of Purchase requisition in Maintainance order

    Hi
    I have a external operation in maintenance order , i have set the indicator in control key
    I assign service order in the maintainance order
    When i save the order system creates a purchase requisition
    Please let me know where is the setting which controls the creation of this purchase requisition
    Thanks

    Hi
    Check for Path
    SPRO>Plant Maintenance and Customer Service>Maintenance and Service Processing>General Data>Define Account Assignment Cat. and Document Type for Purchase Requisitions
    You will get Document Type for PR.
    Details of this document type are maintained in MM
    SPRO>Materials Management>Purchasing>Purchase Requisition>Define Document Types
    Hope this helps
    Regards
    Manish

  • Issue with Purchase Requisition Release strategy

    Hi Gurus,
    We are using ECC 6.0.For the approvals of purchase requisitions, we are using standard SAP functionality of release procedure. There were some 52 release strategies configured for the PR .The release strategy was based on value of the following fields that is below were characteristics grouped together for class for PR:
    1.     Creation Indicator of PR-R (Configured only for manually created PRs)
    2.     Purchasing Group
    3.     Value of the PR
    As a result of PM module implementation, there is requirement of additional 30 release strategies.
    We configured them but one more field of doc type was added in the characteristics fields.
    Now the release strategy was based upon following fields:
    1.     Creation Indicator of PR-R (Configured only for manually created PRs)
    2.     Purchasing Group-(Configured against new purchasing groups )
    3.     Value of the PR
    4.     Document type of purchase requisitions.
    Classification data was accordingly maintained that is for older release strategies,
    Old PR doc. Type: NB was maintained where as other values were same. For new release strategies, new PR document types:NB1-NB6 for Doc type have been maintained .
    The above set up worked fine for some time. But suddenly, none of the PR release strategies are working. I checked all the related configuration settings and all look fine. I also checked my release strategies in tcode: OMGQCK. But no error was there.
    Could any body help in finding the reason why PR release strategy stopped working all of a sudden? What could be the probable reasons? What should be the approach to resolve it?
    We are in testing phase. Many of the test scripts failed due to this issue.
    Quick response will be appreciated!!!
    Thanks & Regards,
    Niti

    Dear Niti,
    Please check if your "overall release" indicator is consistent for document type and release group:
    a)SPRO:MM-PUR-PR-Define Document Type
    "overall release" indicator
    b)SPRO: MM-PUR-PR-Release Procedure-Set Up Procedure with Classification
    ->Release group
    "overall release" indicator
    Regards,
    ian,Wong Loke Foong

  • Creation Of A Single Purchase Requisition From Different Planned Orders

    Hi,
         After MRP run i get different Planned Orders for different raw materials . My requirement is that can i combine all the Planned Orders for diiferent materials into a single Purchase Requisition.This is a urgent requirement.
    If useful i will award points.
    Regards
    Jimmy

    Hi,
    it is not possible to combine with planned orders for different materials into single PR but differet PR can combine into a single Purchase Order.
    pls let me know any clarification.
    thanks
    mohan
    Message was edited by:
            Mohan Ramalingam

  • Account assignement category for purchase requisition - error message

    Hi All!
    I created a new Item category in service order (IW31) "O" with the account assignment category "O". If I don't set the Consumption posting indicator to V for this category, when I set the account assignment category "O" to the purchase requisition in <i>Plant Maintenance and Customer Service-Maintenance and Service Processing-Maintenance and Service Orders-General Data-Define Account Assignment Category/Document Type for Purchase Requisitions</i>, I receive the message:
    <b>"Acct. assign. cat. "O" for purchase req. does not exist.
    Message no. CS 075"</b>
    The client request is not to charge immediately for the goods receipt with the relevant costs the service order. The client wants to create the goods receipt in a storage location for the plant and then confirm the components and charge the costs after the component confirmation (movement type 261) - similar to stock material.
    Any idea about what should I do?
    Thank you.

    Hi Everyone,
    The problem is solved now. The cause was that the test requisition that I was making was satisfying more than one rules and hence I end dated the remaining rules which solved the problem.
    Thanks!

  • Perform check after release step of purchasing requisition

    Hi,
    does anybody have a suggestion where to place best some logic which needs to be performed after a release step is performed successfully.
    background: we use different types of Purchase requisitions, while each one is assigned to a static release strategy. I like to change it in more dynamic way by adding certain logic after a release step is performed.
    example: if preceeding release step was 10 and purchase requisition is of type x then check purchase value and account assignment in order to process the current stepo automatically.
    Currently the logic runs during a nightly job, but I would like to add it immediately after a release has been performed. I would imagin something like user exit, BusinessAddIn, or an event which I can use assign the job.
    Can anybody suggest something?
    Thanks in advance
    Best regards
    Torsten
    Edited by: Torsten Hübsch on Apr 29, 2011 10:36 PM

    Hi,
    Enhancement  M06B0005 is relevant for PR in case of overall release
    Check on trx SMOD  :
    Enhancement        M06B0005
    Short text         Changes to comm. structure for overall release of requisistion 
    --> Function module                Short Text
    EXIT_SAPLEBND_004              Changes to Communication Structure for Over.
    Enhancement        M06B0002 is for item-release
    Short text         Changes to comm. structure for purchase requisition release
    --> 
    Function module
    EXIT_SAPLEBND_001
    BR
    Nadia Orlandi

  • Associate new type of purchase requsition to Replenishment Planning

    Hi
    I have created a type of purchase requisition (ZNBB) and I can't associate it to the Replenishment Planning.
    I have tried to associate it in the SRS parameters and also using the MRP Groups, but WRP1 keeps calling the standard type of requisition (NB). This is a problem for us since we have a different logic for our retail operations than for the rest of our operations.
    Best Regards

    Hi Patricio,
    Did you found any solution to your problem.
    I am searching for the same.
    Regards,
    Ashu

Maybe you are looking for

  • PLEASE help me to get Leopard to see my HP over the network

    Sigh..... I still cannot get this to work. Does anyone know of any way to get my PB G4 with 10.5.1 to see my HP Photosmart C7280 over my network so it will install properly? Oh, and yes, I would like to be able to use the full feature set that I paid

  • Update version 1.4

    I'd like to know what the updates are in version 1.4 I tried searching for information on the changes in version 1.4 but had difficulty finding any information. Are there any new features? Bugs fixed? I mean it would be nice to know what's different.

  • Is it possible to run 2 different reports SEPARATELY from a single query?

    Dear All, The title to my previous thread seems to be inaccurate and misleading. To encourage people to read it, I am giving it a more appropriate Title. Please do not reply on this thread, but refer to the original one. Thanks Leon Lai Here's the li

  • Windigo Botnet - Is this detection method correct?

    After reading today about the Windigo Botnet (http://www.eset.com/int/about/press/articles/article/operation-windigo-largest-s erver-botnet-uncovered/) I used the suggested method for checking for infection, which was detailed in the article. The cod

  • Right clicking causing spinning beach ball

    I am having trouble with accessing contextual menus via right clicking in several applications. I use Pathfinder and every time I right click on a file/folder the program hangs and need to force quit. I searched their forums/support site and saw seve