Requisition workflow

Hi all,
I have done the workflow(like cusotm approval rule set, business process, activities, etc) for Purchase Orders. The Purchase orders works fine.
Now i am trying to implement the same for Requisitions.
I have created an Approval rule set, all the required business processes and activities.
I have gone to the Set up financials/supply chain-->business unit related-->purchase order-->purchasing definition. and then i went to Req Approval Options and then i selected my business process and approval ruleset and checked the "Req Amount Approval Needed" check box.
But when i am trying to enter a requisition and approve it. it is just approving the requisition even if the user does not have the role which can approve the requisition.
Can anybody say why it is happening?
Please help me.
Thank you,
Bye.

Hi
If your rule is not showing your expected result. Built your own logic to get the supervisor. Here is the way i find the immediate supervisor.
select single orgeh from pa0001 into v_pernr
  where pernr = PERNR and endda = '99991231'.
PERNR ----> employee number whose supervisor need to find
select single sobid from hrp1001 into v_pernr1
     where objid =_pernr and rsign = 'B' and relat = '012'
     and endda = '99991231'.
SELECT single sobid from hrp1001 into v_super_pernr
      where objid = v_pernr1 and subty = 'A008'
      and endda = '99991231'.
So you can get the supervisor pernr. 1st creat a test report program use this code if code finds your answer then use this in your method.
Regards
vijay

Similar Messages

  • 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

  • E-recruitment requisition workflow(WS 51800008)

    Hello All,
    We are facing issue in approval of requisition workflow(WS 51800008).The issue is as follows,
    When we forward the requisition to recruiter for approval,the workflow WS51900008,WS51900005 are triggered corresponding to events CREATED,Status Change,but no agent is assigned for both of them.So i suppose the approval  Workflow WS51800008 is not triggered
    Could someone pls explain me in detail as i m relatively new to e-recruitment.We have done all the necessary settings for the workflow and implemented the note
    Note 746709 but with no results.
    Thank you pls do advice.

    Hello Pavan,
    I m pasting the url which is generated which contains all the import parameters and after pressing the approve button there is a page that comes up saying "Request approved".but that url doesnt contain decision parameter.
    http://tcscq1.hrservicesonline.com:8001/sap(bD1lbiZjPTQ1MQ==)/bc/bsp/sap/hrrcf_approval/application.bsp?objid=50002412&otype=NB&plvar=01&requestdate=20090420&requestedRsnCode=12&requestedstatus=1&requester=Dave+Bankar&SAPWFCBURL=http%3a%2f%2ftcscq1%2ehrservicesonline%2ecom%3a8001%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000006031%26_saptask%3dTS51807979%26_saplogsys%3dTD1CLNT451%26_sapuname%3dAARONMINYARD%26_saplangu%3dE%26_sapxid%3d976FEC491D6F880DE1000000AC11300B%26sap-client%3d451
    Url after clicking approve button.
    http://tcscq1.hrservicesonline.com:8001/sap(bD1lbiZjPTQ1MQ==)/bc/bsp/sap/hrrcf_approval/application.bsp?objid=50002412&otype=NB&plvar=01&requestdate=20090420&requestedRsnCode=12&requestedstatus=1&requester=Dave+Bankar&SAPWFCBURL=http%3a%2f%2ftcscq1%2ehrservicesonline%2ecom%3a8001%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000006031%26_saptask%3dTS51807979%26_saplogsys%3dTD1CLNT451%26_sapuname%3dAARONMINYARD%26_saplangu%3dE%26_sapxid%3d976FEC491D6F880DE1000000AC11300B%26sap-client%3d451
    Both the url are almost same,atleast the return url should contain decision parameter but its not the case here.
    What can be the problem,have any one faced similar issue.
    And what are the events/workflow steps that occur after clicking approve button.i guess it should trigger
    status change workflow WS51900005 to change the status.
    In my case if i check in swel it jus says WEBSERVICE completed event been triggered.
    Pls do help stuck in this for very long now.
    Regards,
    Sharad

  • Purchase Requisition workflow escalation

    Hi All,
    I need help with purchase requisition workflow escalation. The workflow for the requisition escalate to the next level if not approved within 24 hours.So i dont want the workflow to escalate on weekend.
    I want to know what can i do.
    Tx Rosi

    Hi
    For your Requirment :
    "the requirement is that if an approver doesnt approve in 2 days time then the PR will automatically go to the next approver for release."
    Please follow the below steps.in copy of  WS20000077.
    1.For taskTS20000159:Overall release of requisition , go to
    Latest END tab:  put ACtion as :Modeled ,  Refer.date/time:Workitem creation , below time : choses: DAY,  and on left add 2.
    Outcome :Deadline Montoring.
    2.Then come to OUTcomes tab of the same task:  see  there are 3 lines 1.Step executed, 2.Latest end:Deadline Montoring, 3.Processing obsolete:Processing obsolete ,, all are ACTIVE or not , if not, Activate .then  all should be Green.
    4.next in the OUtcome :Deadline Montoring , use a process control step. to Set missed workitem to obsolete,  in Function: chose : set Work item   to Obsolute. and Workflow Step : chose then step no for the above task(TS20000159:Overall release of requisition).
    5.In "Processing obsolete" path, again call the same task TS20000159. in different activity . and see to the agent assignment.
    I think this will slove your problem.
    How it works:
    1st the PR is send in a WI to the perticular agent by the 1st activity . if the agent do not execute for 2 days. then that WI will set to obsolute . and process flow to" Processing obsolete" path, then agian PR is send to the next agent using the same task but activity created in  step 5.
    thanks
    Kakoli.

  • Link a MRP Purchase Requisition to a  Purchase Requisition Workflow

    Hello Gurus,
    I have a Purchase Requisition Workflow  already created.
    I want to create a MRP purchase requisition that start my workflow.
    How can I do that?
    Thanks in advance,

    Hello Charlie.
    Our release strategy hasn't classification. When we I create a MRP purchase requesition, the release stratagy is already assigned to that. however the worklow is not started.
    thanks

  • PO Auto creation through Requisition Workflow

    Hi,
    I am creating a Non-Catalog Request type of requistion in iProcurement. When I submit the requisition for approval and if the requisition is approved the PO is not getting created.
    Some of the metalink notes said a Contract PO needs to be created for the Supplier but which is not part of our business requirement. However following this method PO is getting created.
    The Document types setup for Purchase type requisition has the following setup
    Approval Workflow : Requisition
    Workflow Startup Process : Main Requisition Approval
    Autocreate Workflow : PO Create Documents
    Autocreate Startup Porcess: Overall Document Creation/Launch Approval
    Can anybody please help me understand why the PO is not getting created.
    Thanks
    Mithun

    That is standard functionality. You would have to modify how your workflow works in order to autocreate with a contract po been available. You would have to use the Autocreate form from within purchasing superuser to create the PO's manually. This allows for greater control.

  • Information on Personnel Requisition workflow.

    Hello All,
      Can anyone tell me about the Personnel Requisition workflow HRPERSREQ. I am trying to add custom task at the end of the workflow for which I need the position number (OBJID). Does the workflow provide the position number for which the requisition is created at the end of the workflow.
    Unless I know the position number (OBJID), I cannot create a new requisition. So does the workflow HRPERSREQ contain position number (OBJID) as an attribute.
    Regards
    srinivas

    Hi Srinivas,
    Firstly when you create the container element for the task set is as an import parameter ( Double click on the container element-> Properties (Tab)-> Import(Field) ). Save the task. In SWDD select the activity. Put in the task and Click on Binding button. You will get a pop up showing all the workflow elements and the task elements. Map the workflow element to the task element here. Save and activate the workflow.
    In SWO1 open the method for the business object. Click on parameters button and add an import parameter of the same data type as the task container element. In the program add the following code:
    Data: newvariable type datatype
    swc_get_element container 'NEWVARIABLE' newvariable.
    Open the task definition and click on method binding. Map the task container element to the method input parameter.
    After these steps you should be able to use the new variable in your code.
    Regards
    Bhooma

  • How to resign a requisition workflow to another user

    Hi to all,
    Recently our institiution has made some changes to jobs-positions heirarchy. Previously we were using supervisor-employee relationships.
    What has happened some far that a requestor has placed requisition and has been submitted to manager for approval. Now since we made the changes to the approval heirarchy. The requisition workflow can not find an approver.
    We have corrected the approval heirarchy, but now how does one fix the requisition thats needs the approver.
    In iProcurement, we can not see the requisition. But if go to sysadmin and search for the workflow. The workflow exists.
    If anyone has some suggestions how to rewind the workflow or has a way to point the requisition to a manager. Would be greatly appreciated.

    if you are using R12,
    you can login with sysadmin user, and select 'Workflow Administrator web application',
    then click on Status Monitor menu, and query your PO/Requisition number on USER KEY field,
    dont forget to select your Workflow type as PO Approval.
    check on last point that your document has been stuck and then Retry using RETRY button.
    another alternative, you can use wfretry.sql, and has been detailed on Note: 134960.1 via SQLPlus command line.

  • Purch.requisition workflow : 1 email for 1 PR (Instead of 1 for 1 PR ITEM )

    Hi,
    The purchase requisition workflow has been sett-up by a consultant.
    It works fine, but we'd like to improve it : at this moment for each item of the same Purchase requisition an email is generated, so if a PR contains 10 items, the responsible who should released the PR receive 10 emails.
    How can I change this customizing so that for a PR only one email is generated ?
    Thx for helping,
    Regards,
    Erwan

    Hi,
    If you are getting workitems per line item then, it seems that you are using a container element of type multiline and using it in the 'multiline element' field in miscellaneous tab of a User decision step.
    If you use it you will get a workitem per line item.
    so what you do is not to use multiline container element and use header data details to trigger 1 email per 1 PR.
    regards,
    Srinivas.

  • Personnel requisition workflow: positionNumber/OBJID.

    Hello All,
    I want to know whether the personnel requisition workflow HRPERSREQ, has the "positionNumber/OBJID" as an attribute in the container. My requirement is to bind this positionNumber(or OBJID) to a custom task at the end of the workflow.
    Can anybody put some light on this. Whether the position number can be found at the end of the workflow ? Because the new position in the HRPERSREQ workflow is based on position number.
    Am I thinking correct here with regards to HRPERSREQ workflow ?
    Kind Regards.
    Srinivas

    Hi Srinivas,
    Firstly when you create the container element for the task set is as an import parameter ( Double click on the container element-> Properties (Tab)-> Import(Field) ). Save the task. In SWDD select the activity. Put in the task and Click on Binding button. You will get a pop up showing all the workflow elements and the task elements. Map the workflow element to the task element here. Save and activate the workflow.
    In SWO1 open the method for the business object. Click on parameters button and add an import parameter of the same data type as the task container element. In the program add the following code:
    Data: newvariable type datatype
    swc_get_element container 'NEWVARIABLE' newvariable.
    Open the task definition and click on method binding. Map the task container element to the method input parameter.
    After these steps you should be able to use the new variable in your code.
    Regards
    Bhooma

  • Requisition Workflow - Bypass approval authority

    Hi All,
    I'm customizing the requisition workflow to include several notifiers at different levels of the hierarchy. Can you please direct me as to what package I should modify to bypass approval amount? Basically, I need to add one more notifier to the approval list after a certain requisition amount is met.
    Thanks,
    Sarah

    Looks to me like you are customizing REQAPPRV (Requisition Approval workflow) provided as part of Oracle iProcurement. Please post this question in iProcurement forum to get an appropriate answer.
    The Approval List could be maintained in either AME or within iProcurement itself. Based on the installation the customization should be performed. Please check with iProcurement group.
    Thanks, Vijay

  • 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

  • Urgent: Attachments in Requisition Workflow Notification

    Hi All,
    I am displaying attachments in the header level of a requisition notification. When I tried to open the attachment link from the email notification,it is asking for the apps login. Is there anyway to supress the login page as these attachments are stored in the same server.Please help me its bit urgent.
    Thanks in Advance!
    Regards
    Srini

    When you open the attachment from e-mail it will look for a valid application context. Enable Guest access to notifications as follows
    1- Set the WF: GUEST Access to Notification profile option to "Enabled" at the site level.
    (The default value for this profile option is "Disabled", which disables guest access.)
    2- Create a function grant assigning the WF_GUEST_GRANTS function set to the Guest user.
    a. Navigate to the Functional Administrator responsibility
    b. Choose the Security tab
    c. Click the Create Function Grant button to create a grant
    d. Enter the name of the grant. I(WF Guest Access)
    e. Enter today's date as the Effective Date
    f. Select "Specific User" in the Grantee type field
    g. Enter Guest as the Grantee
    h. Click Next
    i. Look for the "Workflow Guest User permission set" in the list of values.
    The other criteria to find it is Search by Code = WF_GUEST_GRANTS
    j. Click Next
    k. Click Finish
    l. Stop and restart Oracle HTTP Server
    j.In Oracle Applications Manager, stop and restart the service
    Regards,
    Ravi.

  • How to attach a document with the Requisition Workflow?

    I am testing the Oracle Requisition Demo workflow.Whenever i initiate the
    workflow process with Reminder Requisition Document Option.The browser pop up
    with the Error "The requested URL cannot be retrieved". Can anyone please guide me how do i attach a document with this process?
    Regards,
    Abrar

    This field in the demo is designed to execute a PL/SQL procedure not store and attached document.
    for example if you launch it from the demonstration Page instead of the launch process page the following will be populated into the document field. (PLSQL:WF_REQDEMO.REMINDER_REQ_DOCUMENT/WFDEMO:A1)
    You can store a CLOB or BLOB in a workflow document attribute. Here is a link to the doc.
    http://download-west.oracle.com/docs/cd/B13789_01/workflow.101/b10284/defcom11.htm#doc
    If you want to upload and pass documents through a workflow you can do it in a variety of ways. Personally I would use Oracle Files if I wanted it off the shelf. Or use Oracle Text and the database and pass the document throught the workflow as a URL. There is also the CMSDK.

  • Po requisition workflow at distribution level

    Hi All,
    I am having issue with customization standard po requistion workflow.
    In this i have to get the approvals to be done at distribution level w.r.t project ,task,award.There are list of approvers described within a approval matrix to whom the approval has to be send at distribution level after grouping all the distributions for each line w.r.t. to projects out of (project ,task,award).I am completely new to workflow however i am able to understand the process but really have no clue of how to start since the standard requistion wf is at header level and it has to completely customised to distribution level.
    Would like to know if it is possible by modifications in the satndard workflow.Please provide me the input or the sample wf if some one had already faced this kind of issue.
    Please provide some inputs.
    Thanks,
    Rahul

    Hi user;
    please follow below and see its helpful:
    Stuck POAPPRV Workflow Records At The Email PO Process Activity [ID 417722.1]
    View Approval Workflow Hangs With No Error for Approved Purchase Orders and Requisitions [ID 413272.1]
    APPROVE PO, WORKFLOW PROCESS, PROCESS HANGS [ID 1056081.6]
    Workflow Is Not Completing For PO Supplier Change [ID 554024.1]
    Regard
    Helios

  • Regarding Purchase Requisition Workflow.

    Hi Friends,
    In PR release ,if i have multiple level of approvers, more than 1 than do we need to handle this seperately or the SAP std. workflow will take care by itself. In the activity 'Overall release of requisition' there is a task which uses 'singlerelease' method of business object BUS2105. Does this method require any changes or only maintaining the release strategy congiguration will help.
    PLS help me on this. If question is not clear than pls tell me .

    The question wasn't so clear.
    Regards,

Maybe you are looking for

  • Where can i buy a replacement trackpad for my macbook pro with retina display

    recently the new force touch trackpad is out and I'm really excited about it and sometimes my multi-touch trackpad is a little glitchy so I'm wondering is there any place to buy a replacement trackpad for my macbook like multi-touch or force click tr

  • OS 10.9.4 slow to load and display disk folders?

    I was wondering if any of you veterans can help me with my headache.  I disabled all the antivirus software, but it's still taking forever to see all the folders and volumes on the desktop.  I did a Etrecheck.  Thank you. Here are the results: EtreCh

  • Oracle and RHEL 5

    Red Hat Enterprise Linux 5 has been released. Will Oracle's Unbreakable Linux support version 5 also? N.J.

  • Is it possible to switch off auto dates in a comments box?

    Hello, I am making annotations to a document in pages 09 using the comments facility.  However each time after saving when I return the date has automatically appeared in the comments box.  This is becoming slightly annoying as I have a larger list o

  • How do I fix %E2%80%8% when pasting in Address Bar?

    Whenever I copy a nonhyperlinked web address to a specific image, video, forum post, etc. and paste it in the address bar and press return, the page does not display. When I view the history it is adding characters %E2%80%8% in the sublink informatio