Controlling multiple workitem in purchase Requisition

Guys,
          I need some suggestions regarding the controlling of multiple workitem for Purchase requisition. Our client have a PR release wf and when a PR is saved a workitem is sent to approvers inbox. Within a timeframe say (15 sec) any changes to PR will trigger the same wf and creates one more workitem. I want to restrict the creation of workitem if it falls within the time frame. Good suggestions are greatly appreciated with points.
Thanks in Advance,
Isaac

I think you can use Function module SAP_WAPI_WORKITEMS_TO_OBJECT to retrieve the workitem that has been triggered for the same PR and the you can read the table SWWWIHEAD providing the workitem Id and then check the Creation time and compare.
Use this coding in a virtual attribute and use it to define the Start Condition using Tcode SWB_COND
Thanks
Arghadip

Similar Messages

  • Mass Deletion of Purchase Requisitions

    Hello Gurus,
    I have a unique issue. Our SAP system creates multiple MRP generated purchase requisitions on a daily basis and we do not have the manpower to delete each single PR using the ME52N transaction. I checked the MEMASSRQ transaction which is used for mass changes of PRs. However, in MEMASSRQ, there isn't any field mentioned particularly for deletion or blocking of purchase requisition. I found a BAPI, BAPI_REQUISITION_DELETE, but even this BAPI is used to delete the PRs one by one. Not for mass deletion.
    Right now, there are around 4000 PRs in our system which are lying and we have to delete them all. So, I want your help in finding out whether there is a transaction/report available for mass deletion of purchase requisitions.
    Your suggestions would be very much helpful for us.
    Thanks and Regards,
    Umakanth

    Hi,
    Perhaps you can try to archive them. Check archiving object MM_EBAN. See not Note 123900 - Archiving purchasing documents/purchase requisitns for futher information.
    I hope this helps you
    Regards
    Eduardo

  • Purchase Requisition created from Maintenance Order can not deleted

    Hi Gurus,
    I've create a Maintenance Order for External Service (Control Key: PM02) and Purchase Requisition already created related to this Maintenance Order.
    But when I want to cancel/delete the Purchase Requisition, there is error message "This item is only deletable via the associated production order". So II can not delete the PR.
    Any solution for this problem ?
    Regards,
    Tri W

    Hi,
    If the PR has not been approved and no PO has been created yet, you have to delete the external service operation (PM02) in the work order. This should delete the Pruchase Requisitions.
    Regards,
    Joey

  • No Purchase Requisition Generated after MRP Run MD02

    Hi All,
    After runing MRP Run MD02 for finish product with MRP Control parameters for create purchase requisition as 1 (Create Purchase Requisitions) . System is not generating any purchase requisitions for raw materials required for assembly.
    If we select 3 create planned order system is able to generate planned orders for raw materials required for assembly.
    Plz guide why am not able to generate purchase requisition directly.
    Regards,
    Sipra

    Sipra,
    Couple of checks,
    1. Check whether the Material is defined for "F" - External Procurement in MRP2 view of the material master.
    2. Check whether the material type used for the material is enabled for "External Purchase orders". Transaction OMS2.
    Regards,
    Prasobh

  • What program in SAP SD automatically creates Purchase requisition

    What program in SAP SD automatically creates Purchase requisition, and also please tell me the user exit that we can use to change the delivery address automatically from plant address to ship-to address during purchase requisition creation time...
    Your help will be appreciated.
    Thanks,

    Hi,
    The control to Create the PURCHASE REQUISITION is in the SCHEDULE LINE CATEGORY VOV6
    The Purchase requisition will be created  automatically for the THIRD PARTY and INDIVIDUAL PURCHASE ORDERS
    The field in VOV6 
    ORDER TYPE
    ITEM CATEGORY
    ACCOUNT ASSIGNMENT
    Will determine the  Document type for creating the Purchase requisition
    IFor both THIRD PARTY & INDIVIDUAL PURCHASE ORDER the standard Purchase requsition document type is NB and
    ITEM CATEGORY  5 will determine whether it is  third party or Individual PO.
    Hope it is clear,
    Please revert back if you need more details
    regards,
    santosh

  • Purchase requisition document type

    Hi,
    Could any body guide me on how to control the assignment of  Purchase requisition document type in project system.
    The system has been taking default NB for network 20 and I want system to assign document type based on plant.
    What is required to be done???
    Regards,
    Pradeep

    Hi Pankaj,
    What if we copy netword 20 and assign the copied network a different document type??
    If we do so, how that new network 20 copy settings will have to be taken care of, in term of its dependencies??
    Please suggest??
    Regards,
    Pradeep

  • How to Configure Multiple Purchase Requisitions per Service Order

    Hi experts!
    Sorry if this is in the wrong spot, but I was wondering how I can configure multiple Purchase Requisitions to be created from a service or maintenance order (IW31) based on the control key (or if it's even possible).
    What would be the pros and cons of doing this?  We currently only have one PR being created for one order (a 1-to-1 relationship), however now with implementing external services, we want 2 or more PRs created based on the control key.  Is the control key the best way to go, or should I be looking at a different deciding field?
    Thanks in advance!
    Stephanie

    Raj,
    Thank you so much for the information.  That does help!  However business requirements are now changing to have different Purchase Requisitions created for a single order in the following scenarios:
                 - New Purchase Req created for different operations (you explained how above, perfect!)
                 - Seperate Purchase Req created for non-stock items (your answer above seems to group service operations and non-stock into the same Purchase Req).
                 - New Purchase Req created if the order has already been released.  (If the order's status is still at "Create", then the additional component can be appended to the existing Purchase Req.  If the order's status is "Released", and a new component is added, a new Purchase Req is created).
    As mentioned, you explained how to do the first requirement.  Is there anyway SAP can handle the next two requirements using standard config and not customizing anything?
    Thanks in advance!
    Steph

  • One line item in po from multiple line items of Purchase Requisition

    Can we merge multiple line items for same item from different different purchase requisition into a single line item in Purchase Order ?
    For example, say department A and B made two different purchase requisition for 1 number of computer system. Now the purchaser viewed these requisitions and he want to make a purchase order to party X for 2 no of computer system. Now how he can do this in Oracle Purchasing.
    Regards
    Edited by: Saroj.Dash on May 31, 2010 6:02 AM

    Hi !
    thanx to all for your responses.
    But, let me explain better.
    Say Dept A raises an Requisition (Req No: 1 ) for 5 Chairs. In the same time Dept. B raises requisition (req no: 2 ) for 10 chairs.
    Now Purchase Dept. wants to make an PO to procure chair with respective to these 2 requisitions i.e. req no 1 from dept A and req no 2 from Dept B.
    Now my query is that, can the purchase dept. prepare a PO with 1 line item only i.e. for chair (5+10) of 15 numbers from these requisitions of dept A and B ?
    If yes then how ?
    Regards

  • How to change the Purchase requisition when control key is PP02

    Hi Exports:
      I want to change the  purchase requisition which was created after  production order was  released . The  control key is  pp02.
      I  changed the purchase requisition in OPJP .but I got an error .
      the error message is
      " Acct. assign. cat. "Q" for purchase req. Project Stock does not exist. "
      I don't know what should I do . would you like to give me some advice? thank you  very much.

    Hi, Umesh:
         Picture1 is  my OPJP initial screen ,I want to change to be Picture B . but I got an error .
         In fact , I  don't have project stock . but I have sales order stock.
         I try to change 'Q' to other option . but I got the same error.
    picture 1
    picture 2

  • Copy control from Sales Order  to Purchase requisition

    Can any one guide me how to set this, which fields need to be copied from Sales order to Purchase requisition.
    Vasu

    I don't think so sap has provided this kind of control but you can configure certain things as item category level for thirdparty in SD
    SPRO-SD-sales-sales document-sales document item-define item categories
    here you can check for item category TAS or you can create your own

  • Purchase Requisition Controls

    Hai,
    Is there any Standard process to control Purchase Requisition for Limited Quantity(for ex. 500KG) of XYZ material Per Month with the help of any Module integrating with MM.
    Regards
    JC

    Thanks Sanjay.
    When i use MRP, for ex my Maimum Stock Limit is 500KG,&i consumed 200 KG's of Stock & Minimum Stock level is 100 KG's. Then according to MRP the difference of Stock & based on Consumtion the Requisition is created Automatically for XXX Quantity.
    But here one of my Main requirement is inventory control, user create REQUISITION based on requiremnent only for current Month.
    I am repeting again, if the requirement is only 50KG's the requisitioner raised for 50KG. But if i run MRP PR is created for 200 KGS.
    which leads to increase in Inventory Value for excess 150KG's.
    Regards
    JC

  • Purchasing Controls - Purchase Orders from Purchase Requisitions

    I need some help with setting up purchasing controls.  We are looking to put in place a control that allows users to convert purchase requisitions into PO, but only create the purchase order for the quantity on the purchase requisition.
    As I see it, we need to do the following:
    1) Require that PO references a Purchase Requisition
    2) Do not allow the PO qty to exceed the Purchase Requisition qty
    Background
    - Purchase Requisition approval not needed for reqs created by MRP
    - Have investigated transaction OMET and function authorization, but does not fit the need.  If we require Purchase Req as reference, it does not allow reference to Contract.  If we select contract and purchase requisition, a PO can be created referencing Contract without a purchase requisition.
    Regards,
    Jeff

    1) Require that PO references a Purchase Requisition
    Use OMET adn do not select the ref to contract check box but select the ref to Purchase requistion
    now make the source list is required for mateiral and than create the source list and enter the contract in the source list.
    now  when user create the req and the source determination is check than system will put the contract as source in reqs and than you can create the PO using reqs.
    2) Do not allow the PO qty to exceed the Purchase Requisition qty
    Activate the message an error :  06 076 Materials of requisition & item & alr. ordered in full
    which will stop user to alter the quantity in the PO and will not allow to use again same reqs if orderd full

  • MRP - Single Purchase requisition for multiple Items

    Hi
    We have recently introduced MRP module in SAP .In some specific scaeanrios , we want to create a single Purchase Requisition for multiple items .Standard SAP generate different Purchase requisition for each item
    Is there any way out

    Sandeep,
    This topic has been covered numerous times in this forum and in the MM forum.  You evidently have not used the search feature.  There are thousands of posts in these forums, and the search function will be very helpful for you in future questions.
    To answer your question, No, nothing is available to make standard SAP MRP create Purchase requisitions for multiple items.
    Most companies address this issue during the conversion of Purchase Requisitions to Purchase orders.  During this process, you can add many items to a single purchase order.
    Rgds,
    DB49

  • Purchase Requisition Release Strategy - multiple account assignments

    Hello,
    We would like to be able to create a purchase requisition where each line item can have 1of 3 account assignments (KNTTP).  These 3 account assignments all have the same Release Strategy.  Our expectation was that the purchase requisition would have a release strategy but it doesn't.  If we use 1 account assignment withmultiple line items we get a Release Strategy but if we mix them we get nothing.
    Does anyone know how to make the Release Strategy show up for multiple account assignments that share the same Release Strategy?
    Regards,
    Corinne Taylor

    Dear Corinne Taylor,
    You may assign a BLANK value in the characteristic:
    You can add also as " " and named it as BLANK so you can have your release strategy get trigger
    for all MRP account assignment or multiple account assignment.
    Example setup
    Account assignment A
    Account assignment K
    Release group X1 strategy 01 classfication has blank in values.
    Classification:
    Value Description
    A         Account assignment A
    K        Account assignment K
               BLANK
    Test this and it will work.
    Best Regards,
    Ian Wong

  • Multiple account assignment in purchase requisition

    hi,
    when we are using multiple account assignment in purchase requisition we are getting following messege:
    error 1 : "Distr. ind. and partial invoice ind. must be set for multi acct. assgt."
    error 2 : "Multi acct. assgt. not allowed for ind. cust. req. or engineer-to-order"
    please suggest if i need to change configuration...
    thanks,
    shreya

    hi,
    error 1 : "Distr. ind. and partial invoice ind. must be set for multi acct. assgt."
    OME9- change the options other than nil, in distribution and partial invoice option, according to the requirement
    error 2 : "Multi acct. assgt. not allowed for ind. cust. req. or engineer-to-order"
    -can u check the system messages.
    (seems u r using M account assignment)
    OME9- activating the multiple account setting, and other fields depends on your business requirement.
    Edited by: Suresh Shenoy on Jan 29, 2008 6:27 AM

Maybe you are looking for

  • Error msg when connecting iphone to itunes 7.5

    There is an error when I plug my iPhone in and open up iTunes. It says "We could not complete your itunes store request. The network connection timed out. Make sure your network settings are correct and your network connection is active, then try aga

  • BSEG-XINVE not specific to accounting principle

    Hello gurus, I need to reclassify invoices related with capital investments using the indicator BSEG-XINVE and the transaction FAGLF101. My problem is that for some invoices there is a gap between the FR GAAP and IFRS rules: -Case 1: Investment in bo

  • Hr: Pay-Slip Layout Change

    Hi Guys, This is Prabhu from Pepsi, india. I am new to SAP-HR(ABAP).I have a requirement to chanhe the layout Format of pay-Slip. That is : In place of Company Code, i have to Display Emp PAN Number. In Tcode: PE51 , i am trying to change that fields

  • Dynamic Vlan assignment by Mac address SF300-48P

    We are trying to configure a Cisco SF300-48P so that when we plug in a specific manufactures device the port is set to a specific VLAN. We have configured mac address groups and assigned the groups to the required VLANs but when we plug the devices i

  • Unable to access apex console

    Hello guys, Database: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Beta Apex: Application Express 4.1.0.00.29 I was able to login to the development console without any problem. But now 1. When I try to access a workspace with the c