Purchase Requisition effacted by workflow?

Hi,
i have a taks of setting up purchase requisition release and then the workflow to complete the process.
am i right in thinking that i setup the purchase req release part before I touch workflow?
thats what iv been trying to do but the release isnt working and i thought, am I missing doing somthing in workflow ie. does SWU3 need to be configured before pur req release?
Thanks in advance
Liam

I would suggest you to consult you functional consultant to set up release procedure first and once the release procedure is working fine start up with your workflow settings.

Similar Messages

  • Last approver of purchase requisition linked to workflow

    Hi Guys,
    Im writting a report to display retrospectively the usernames of the last approvers of a company's purchase requisitions for auditing purposes.
    After searching the forum I found a way to do this:
    1) use SAP_WAPI_WORKITEMS_TO_OBJECT to retrieve the Workitem Id of PR.
    2) read table SWWWIHEAD with TOP WI_ID as the workitem id and WI_TYPE as W and WI_STAT not equal to Completed
    3) use SWWWIHEAD-WI_ID from previous step in SAP_WAPI_WORKITEM_RECIPIENTS to get the recipients.
    Does this sound right to you?
    should not wi_stat be EQUAL to 'completed' instead?
    why can I not just do  select wi_agent from SWWWIHEAD after getting wi_id from the first step?
    Thanks in advance for your help.

    after tracing SAP_WAPI_WORKITEMS_TO_OBJECT and SAP_WAPI_WORKITEM_RECIPIENTS I found a few tables but I dont know exactly what they are used for.
    Could I maybe get the last approver from table SWWVEAGENT (AGENT_ID) coming from swiwiobjct like this:
      SELECT SINGLE wi_id
      INTO ls_wi_id
      FROM swiwiobjct
      WHERE
      objtype = 'BUS2105' AND
      objkey = l_objkey AND
      wi_stat = 'COMPLETED' AND
      wi_lan = 'E' AND
      wi_type = 'F'
      SELECT SINGLE wi_id
      INTO ls_wi_id
      FROM swwveagent
      WHERE
      wi_id = ls_wi_id

  • Purchase requisition release (WS00000038)

    Hi
    I'm, testing the workflow WS00000038 for liberate purchases requisition.
    The workflow run succesfully, when i liberate the purchase requisition, this follow the standard flow correctly and send the respective workitems (TS00007986, TS00008018 ), to the respectives actors.
    But in the case when i receive the request for liberate but reject the position, the workflow don't execute the TS00008014, negative conformation, the workflow, follow the alternative events (SIGNIFICATLYCHANGED), that finish the workflow, and don't send message to the initiator of workflow.
    I don't know why the workflow don't execute the standard task (TS00008014) when the event was triggered, in the transacción when i execute the reject of position.
    For your suggestions.
    Thanks

    Hi all,
    Here's the scenario: We are developing our workflow strategy for purchase reqs. We have several levels of approval based on Purchasing group,Rel code, amount, and so forth. My problem is when the first rel code is release PR and he has also able to release other .my question is if one rel code release a person does not authorised to release other . I am using standard workflow template like WS00000038.
    Is that possible? If so, please advice..
    Thanks in advance. Points will be given..

  • Workflow error in release Purchase requisition

    Hi All,
    I configured the settings for workflow in Purchase Requisition.(both purchsing & task specific )
    Now, my workflow is started but its status is Error.
    actually it is not able to find the recepient in role 20000026.As i already mark relevent release code as 1 & also assign US user id in the PR release settings & also put the User ID in task specific customization.
    Still i am facing this error.One thing i want to mention is i am not aware of the settings required in the Edit Qrganizational Plan tab in SPRO.
    If some more clarification is required ,i will prode the same..
    Plz suggest some solution in this regard with T codes & bit detail.
    Thanks & Regards,
    Sandeep Sharma

    Sandeep,
    Okay here's some details which will help you out. I presume that you have done customizing for PR release strategy.
    If not then follow this procedure:
    http://help.sap.com/saphelp_47x200/helpdata/en/04/92761846f311d189470000e829fbbd/frameset.htm
    Once you establish release strategy , event releasestepcreated will automatically created by system based on release codes.
    so say for a standard pr type you have defined two release codes I1 and I2 (based on certain amount- you can see this in class characterisitic using tcode CL02) and class type -032 and class PR_RELEASE most probably, check Char. tab).
    Once you define char. in CL02, you gotta run tcode CT04, give the name of char. and fill all tab.
    inside tab Addl data, you have to define CEKKO table and field too
    this is where we have referenced the event releasestepcreated implicitly.
    FOR all customizing of release strategy check this link , this is really great blog
    http://www.sap123.com/forumdisplay.php?s=cced678eca43fe7a7e3bb9b83dc94022&f=2
    then search for "setting up simple release procedure" thread in it.
    It is for PR.
    So if I1 release take place event will triggered, say A has approved I1 level and for whole PO release I2 is also required then one more time event releasestepcreated event would be triggered.
    You can create workflow for PO release. Approver are determined based on rule AC20000026 (check in PFAC) based on FM  which has user exit EXIT_SAPLEBNF_001 where you can write down your own code for approver determination.
    I think that you gotta put 9 (in release code settting in SPRO). If you are inserting 1 then you have to define US and user name (which I think you have done).
    Hope it will clear your doubts
    Cheers
    Jai

  • Workflow for MM purchase Requisition steps required

    Dear all,
            I am trying to configure purchase requisition Workflow.
            I am working with Work flow, WS 00000038
            I have assigned agents to TS 20000162
            Now how to proceed further, do i need to maintain some more settings
            or i should try to test system.
            Regards,
            Gaurav sood

    Under the assumption that things have not changed much since 4.70, here's quick introduction:
    The workflow is started only when a relevant release strategy is found, so customizing of release strategies is a very important (first) step here.
    In the Implementation Guide you find the customizing in the following path:
    Materials Management
    -- Purchasing
    -- -- Purchase Requisition
    -- -- -- Release Procedure
    -- -- -- -- Procedure with Classification
    Only the procedures with classification are relevant if you want to use workflow to notify about requisitions waiting for release.
    First you must set up a classification class if that has not already been done. Derive your characteristics from the structure CEBAN. The online help is not too bad, I had never set up classifications before and managed to get it working.
    If you need data that are not available in CEBAN, or you want to modify them for the purpose of determining the release strategy there is an enhancement you can implement, and there are customer fields you can use. The enhancement definition's name is M06B0002.
    As an example of what you can do, I have used it to set the company code in one of the customer fields, and to change the account assignment type. However, whether you need this enhancement or not depends strongly on what data you use to determine your release procedures (a step in customizing you will get to later).
    When that is done you define release groups and release codes. Release codes are defined within each release group. Whether you should use one group or several groups is often a matter of choice.
    I myself prefer using several groups even if I don't have to, so long as it doesn't lead to having to define duplicate release strategies (which you will soon get to). So, if there is some characteristic that clearly separates your release strategies, e.g. the highest amount that does NOT require release etc, you can define one group for each value (group) of this characteristic.
    For instance, if some company codes require release for everything worth more than 100EUR while the default is to require release from 10.000EUR you could create to release groups. None of your release strategies will be duplicates since the value from which release is required will be different and you thus need to have that as a characteristic.
    You then check that the set-up of release indicators is OK, and then you are ready to start defining the strategies. Release stragies are defined within each release group, and use one or more release codes (two or more release indicators).
    It is fairly self-explanatory once you get into the screens. The thing to be observant about is to not define overlapping strategies, as this will prevent the solution from working.
    When you are done, and have tested the solution in DEV it is time to transport it to the QA system. That's when I got a rather unpleasant surprise. The classification data are not transported, so both the characteristics and class, as well as the classification data in each release strategy had to be redefined. And in roughly two hours I have to do it again in production.
    It is possible to transport classification information, it is described in SAP OSS Notes (different solutions for different versions).

  • Reg Workflow Copy while copying Purchase Requisition to different user ID

    Hello Guru's,
    Will anyone suggest me, i have copied a purchase requisition from user D1 to user ID2.  Once it has copied to ID2 it should work as per the workflow which is assigned to ID2.  But it is taking *ID1 workflow* is there any way to stop it and assign it to ID2 workflow. Will anyone guide me.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 12:57 PM

    Hi Ram
    In SWI5 transaction, check whether a work item has got generated for director and VP or not.....
    You will find the work items in SAP Inbox if system has generated a work item for director or VP....
    That will narrow your analysis
    Regards
    Virender Singh

  • Purchase Requisition to Purchase Order conversion through workflow

    Hello Experts,
    My requirement is to create purchase requisition to purchase order automatically through workflow. How to proceed with these conversion, since am new to workflow please help me with the  valuable inputs.
    Thanks,
    Naveen

    How does the senior person approve? using workflow or using transaction ME54N?
    if it's the standrad transaction then again, use a user exit or the released event.
    even if the approval is done in the workflow I would not recomend using creating the purchase order as part of the workflow since this is not a workflow issue, but if there is no other option create a new method in BUS2105 (use delegation) and call the BAPI in it.

  • Purchase Requisition Workflow - Organizational Plan required?

    Hi,
    We are implementing purchase requisition workflow.
    Based on what I have read, it says that the workflow table (table V_T16FW) and SAP HR-PA-OM (organizational plan) must be set up to support the solution. 
    Question:  If we are routing the workflow to a UserID, i.e. Object Type = US (and not an HR data object like Position or Job), do we require an Organizational Plan to be also set up?
    Cheers,

    Thanks so much for your response.
    What about assigning tasks to users, etc. that is usually done in org plan, correct?  If object type US is only used, I assume this is not required either?
    Also, what is the benefit of using Object type = 'S', i.e. position?  At my company, most of the time, when people leave, the position is deleted and a new one is created (there are a couple reasons for this), which means, even if we did use positions, the workflow table would still need to be maintained everytime a person leaves/joins the company (I understand if only the user to position mapping changes, then it makes sense to use positions, and therefore the workflow table stays constant, and only the user to position mapping changes).  Are there any other benefits of using S instead of US?
    Also, is it possible to NOT use a workflow table, and ONLY define an organizational plan?  I was thinking to activate user exit M06B0001, and perhaps ONLY maintain an org plan, and use this to determine approver, rather than maintaining both MM workflow table and SAP Organizational Plan (HR-PA-OM).  Bottom line, we want to maintain as little data as possible.
    Your thoughts?
    Cheers

  • SAP  workflow for purchase requisition and purchase  order

    Hello  Sap Workflow,
    Can you  please help me on  building workflow for purchase requisition and  purchase order    with  the necessary screen shots  ?
    your quick response  will be greatly appreciated.
    Thanks in Advance

    Hi,
    Please check http://help.sap.com .
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92761846f311d189470000e829fbbd/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92775546f311d189470000e829fbbd/frameset.htm
    Configuration guides are available in SAP Solution Manager.
    Regards,
    Masa

  • Purchase requisition workflow - reset release via BSP and BAPI

    Hello,
    We have a small workflow to release purchase requisition.
    A mail is send to the approver. The approver opens an BSP application to release or refuse the PR.
    The approval works well.
    The rejection doesn't work well.
    I use the BAPI_REQUISITION_RESET_REL_GEN to reset the first release of the PR (00 release key)
    We have 00, 01, 02 as release key, and all the release have to pass to release completely the PR.
    00 is the requester level.
    My problem is :
    for example I am the 01 level. I received the mail from 00 level, I refuse the PR via the BSP. In ME53N, the current release key is now 00 but when I look at the workflow, the following agent (corresponding to 02 release key) is determined. Normally nothing has to happen.
    Someone has an idea to stop the workflow ?
    thanks
    Véronique

    Hi Martin,
    When I checked the contain of container in the workflow (in the log), I saw that the release key is 02.
    I don't know why but the WF received the event RELEASESTEPCREATED instead of normaly it is finished.
    When I reset the release via ME54N, the WF ends correctly and no new event is received.
    How can't I see why the event is started in the BAPI.
    In fact it is very strange, if I used the BAPI alone, all works, no new event is started.
    But if I used the BAPI in my BSP, a new event is started.
    Thanks
    Véronique

  • Purchase requisition & Purchase order Workflow

    Hi,
    We have activated workflow for Purchase requistion & Purchase order. Workflow is working fine but the client requirement is to have mail to be triggered to the person who creates purchase requisition or purchase order through workflow to go ahead for sending to vendor i.e it should trigger message through workflow to the user saying he/she can forward this PR or PO to vendor.
    The following workflow objects are used.
    WS20000075
    WS20000076.
    Can anybody let me know how this can be achieved through workflow.
    The message should be like your purchase order has been approved & you can send it to vendor.
    Regards
    Ravi Shankar.

    Hi,
    We have used user exist in the release strategy after release of PO/PR mail will be sent to PO/PR creator with required text.
    These text are maintained through SO10 by technical team.
    Regards
    Ravi Shankar.

  • Call purchase requisition approval workflow in abap program

    Hello,
    I copied the standard workflow for the approvaI of a purchase requisition WS00000038 and i tested it. I create a purchase requisition in me51n. This is triggering the event releasestepcreated which starts my workflow. Everything goes ok.
    Now, i want to call this workflow in ABAP. I do not know exactly how to do it. Here is the code I tried.
    data: ls_objkey type SWR_STRUCT-OBJECT_KEY,
    lt_mesage type table of SWR_MESSAG,
    gt_container type table of swr_cont,
    gs_container type swr_cont.
    gs_container-element = 'ReleaseCode'.
    gs_container-value = '01'.
    append gs_container to gt_container.
    gs_container-element = 'requisition'.
    gs_container-value = '0010000362'.
    append gs_container to gt_container.
    gs_container-element = 'RequisitionHeader '.
    gs_container-value = '0010000362'.
    append gs_container to gt_container.
    ls_objkey = '0010000362'.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
    EXPORTING
    object_type = 'BUS2009'
    object_key = ls_objkey
    event = 'RELEASESTEPCREATED'
    TABLES
    input_container = gt_container
    MESSAGE_LINES = lt_mesage.
    As you can see i filled he RequisitionHeader, requisition and release code. I saw in the workflow that i copied, that these are import parameters. Requisition and release code are mandatory. 0010000362 is a purchase requisition that i created.
    After i run the program i receive a work item in SBWP but it has the status error.
    Can you help me?Perhaps anyone has done this. I think that i am not filling the correct data or something like that. Maybe you can look in the standard workflow WS00000038 and tell me what I should pass and how.
    Thank you,
    Efren

    Hi Efren,
    The Problem is, for the purchase requisition there is two key fields.
    So when you pass the keyfiled to workflow it should be the concatenation of Purchanse requisition number and the item number.
    You have to pass the object key as below.
    ls_objkey = '00100003620010'.
    Then only your business object will getting insatanciated.
    Thanks,
    Viji.

  • Purchase Requisition (PR) Workflow

    Hello all,
    I hope you can lend your thoughts/experience.
    I have been advised that a PR workflow (without the need of a user exit) can be designed to route notification to the approver based just on the structure in organizational management (OM).
    For example in OM users, John and Jane is assigned to Finance department while the approver for Finance department is Mary.
    When a PR is created by John or Jane, notification will be routed to Mary based on the structure in OM.
    To do the above, I have been advised that the I will still have to maintain the workflow configuration in MM but that I do not need to assign a position to the release group/release code.
    The problem is that if I do not assign a position, I cannot save. So this is a dead-end.
    My thoughts are that this requires implementation of user exit, M06B0001.
    I hope someone can help.

    Hi Richard,
    I have done many of the Purchase requisition workflows before and according to the customizing it is not mandatory to have a position or the user assigned to a release strategy. It becomed mandatory only if you have the value "1" in the Workflow column of the Release codes. If you do not have a 1 in that field then the event will be raised but it will not start the standard workflow. Once you have a workflow attached to the event "ReleaseStepCreate" and within the workflow you have an activity to release the PR based on the rule which searches for the manager of the user who created the PR you have the workflow ready. Just incase you need it the rule number is 00000168 and you can view it via transaction PFAC.
    Hope this helps,
    Sudhi

  • Workflow purchase Requisition through transaction ME51.

    Dear Friends,
    Can anybody help me out by telling me a step-by-step process as setup up workflow purchase Requisition. and one more thing i wants to complete this through purchase Requisition transaction .
    scenario is just like,
      firstly i want create the purchase Requisition then this is directly connected for approver through WORKFLOW,
      How to connect the creation purchase Requisition through Transaction and that number goes for take approver through Workflow.
      Can you please you give me one example step by step , so i can do this one.
      Thanks in Advance for help.
    Cheers.
    Puneet.

    You check standard Business object BUS2009 thru SWo1 and standard Workflow Template WS00000038 thru PFTC_DIS.
    <b>Please reward points if useful</b>

  • Workflow Purchase Requisition

    Dear Friends,
    we activated WS00000038 Workflow for requisition release. But we have a problem in this condition; if the initiator is approver in any step, purchase req must be approved automatically. How can we do?
    Thanks.

    Hi,
    I guess you are looking at creating a custom workflow, a copy of  WS00000038 would be a good start. This custom WF would have additonal step to check if the next approver is the initiator and if true do a background step by calling the "Release"  method from the object "BUS2009-Purchase requisition item".
    Remember to change workflow starting event to your custom WF to avoid multiple WF instances. 
    Viren.

Maybe you are looking for

  • Errro when referring a Bean in Sender file adapter

    Hi I have created a sample code and deployed in  the server and when i refer that in the sender file adapter module processor using the naming format localejbs/sap.com/com.vas.mod/GetFileNameBean where com.vas.mod  is the EAR Project name GetFileName

  • Macbook Pro Mid 2010 (Model 6.2) restarts like cray cray

    Can't believe this is happening... Macbook Pro Mid 2010 Model - Intel i5 2.4GHz - RAM 8GB - GPU NVIDIA GeForce GT 330M So I've seen quite a lot of threads discussing the 'GPU Panic' issue since I first encountered it a few weeks ago. The problem had

  • Discoverer 9.0.2 vith EULv5 and OracleApps11.5.7... compatible??

    I am aware that the apps 11.5.7 are distributed with 9iAS 1.0.2.2 and that Discoverer 9.0.2 works with 9iAS Release2. If I install a second 9iAS to connect to the same Apps Database, will that conflict? After that, if I create an EUL version 5 over t

  • I sync my ipod to my itunes but my ipod tells me there is no music on it but my itunes says there is

    I had to restore my ipod because my itunes said it couldnt connect to it and once i did that and synced it again it says i have no music on my ipod and i tried restoring it again and its the same problem. But when im in my itunes it shows my ipod is

  • Problem with reinstalling Tiger

    I wanted to reinstall Tiger with X11, so I put in the disk and started the installation process. I went through the part where it asked if I wanted to save my home files and whatnot, and of course I said yes. However, a few seconds after the installa