Delegation for approval

hello
we have a scenario in SAP HCM to  create a workflow for leave application which should have capability to have a three level delegation of approval. Example if the first approver is absent or the position gets vacant due to any scenario , the workflow should have a capability to move the approval to the next level  , similarly to one more level.
Does standard workflow support this , can this be done in a automatic manner in the UWL in SAP E-portal ?
Your suggestions are welcome.
Regards
sameer

SAP UWL would support substitution in general and this is not limited to leave.
If you want to automate it then you need to use the badi interface IF_EX_PT_GEN_REQ.
there are various ways you can achieve the required action.
You can use method FIND_RESP_AND_DEFAULT_NEXT_PRC   where you can determine if the respective approver is absent and put the entire logic of handling request.
or you can use CHECK_IF_ACTOR_ABSENT to determine if the approver is absent.
in which ever case you will have to use method  FIND_RESP_AND_DEFAULT_NEXT_PRC to automatically determine approvers.
We have used this approach and we are determining the substitution process for leave.
You can write normal code to determine approver but you will have to push this in the parameters
EX_DEF_NEXT_PROC_ACTOR and EX_RESPONSIBLE_ACTOR.
use below code to feel above parameters using pernr found from your logic.
CLASS ca_pt_req_actor DEFINITION LOAD.
         actor = ca_pt_req_actor=>agent.
         CALL METHOD actor->create_actor
           EXPORTING
             im_actor_type      = 'P'
             im_otype           = 'P'
             im_objid           = <PERNR OF SUBSTITUTE>
           IMPORTING
             ex_actor           = EX_RESPONSIBLE_ACTOR
           EXCEPTIONS
             missing_parameter  = 1
             pernr_not_existing = 2
             application_error  = 3

Similar Messages

  • REPORT TO SHOW ME AWAITING PO'S FOR APPROVAL

    Hi SAP experts,
    When PO's are created in SAP, they usually go to an Approver for approval.
    However, if there is a problem with the PO, example (wrong coding), the PO is rejected and sent back to the Approver to rectify the error. A message gets sent to the approvers workflow stating the error.
    In our company, Approvers do not have access to workflow in SAP, so they would not be able to see any messages regarding rejected workflow requests.
    Is there any type of report I could run to show me what workflow items are currently awaitaiting the approvers feedback (PO's that are not completed and awaiting information)
    The report will show me what PO's are rejected and the name of the PO owner.
    Many thanks
    Alex

    Hi,
    MR11 does not result in an update if you select the correct option ("prepare list" at the bottom). so simply select the "GR/IR clearing Account" option.
    Also use a large tolerance so that you get everything.
    But I am still not sure how you have entered invoices without POs, was something other than MIRO used? If so then MR11 may not help either because this depends on POs.
    If you HAVE used something other than MIRO I doubt if you can get such a list without some clever ABAP, after all you don't have to specify the PO ever if you are doing a two way match through the FI functions instead of using MIRO. So there would not be a standard report.
    Steve B

  • Non PO invoices sent for Approval - getting error message - Tax Jurisdictio

    Hi Experts,
    Our clients have just upgraded from SAP 4.6C to ECC 6.0 and when the Non -PO invoices are sent for approval the user is getting the below error message.
    'Specify a tax jurisdiction key' - Message no. F5566
    Could any one suggest what the reson could be.
    Answers would be suitably rewarded.
    Thanks in advance,
    Manish Singhi
    E- [email protected]

    Hi,
    Can anyone suggest on this.
    Thanks,
    Manish

  • PO creation for approved requisitions

    Hi Gurus,
    can anybody please throw some light and help me with this scenario. We have release procedure setup for requsitions for cost centers only. The approval levels we have are 1000-5000 is level1, 5001-10000 is level2 and 10001+ is level3. If a  user puts in a requisition for 4000 USD, it goes for approval to person A. once it is approved this is ready to be convertted to PO. Now at this POint the buyer has teh capability to cut the PO against any amount higher than 4000 which was originally put on the requisition. Now my question here is since the requisition has been aprroved for 4000 USD which is in the limit of 1000 -5000, it is OK for us if the buyer goes ahead and creates a PO for 5000. But we dont want the buyer to create a PO for next limits like 5001 and above as the requsition was approved for only the limit range of 1000-5000. Similarly the buyer can create the PO for a lesser dollar amount also than 4000. These chaanges occur because by the time the PO is created the rrates might change in the real world. Can anybody please let me knwo if there is a way to put a hard error in PO creation if the buyer tries to create thee PO for an amount outside of the approved limit on the requisition.
    Thanks
    Anusha

    Technically what Jurgen said, plus . . .
    From a pure business point of view the PR is for business approval of a potential expenditure, value as indicated on the PR. That is business approval only.
    The PO is the commercial aspect where the purchasing dept. take the PR and convert it to a PO, at the best cost they can for the requirement.
    The person who created the PR puts an indicative value, the buyer who coverts it to a PO puts a definitive value, do you really want to go through the PR release loop every time market conditions dictate otherwise (or at least put a tolerance on it).
    Regards,
    Nick

  • Goods confirmation workflow is awaiting for approval

    Hi Gurus,
    while confirm the goods/service when try to check the document i am getting a message as the document is free from errors but when i click on confirm the history is showing as " waiting for approval" but when i go to item details and click on approval button it is showing as "error in process".
    Has anybody experienced this type of problem?.
    Thanks,
    mahesh

    Hello Mahesh,
    You can verify the status of the Confirmation document through BBP_PD transaction.
    The confirmation status if the Awaiting approval should not yet checked.
    hence please check the status of the workflow related to the same confirmation in swi6 TRANSACTION.
    Try to complete the Workflow manually if the workflo is stucked.
    Then verify the status of the docment
    let me know if u have any difficulties in the above.
    Regards,
    Krish

  • Sales Order (Returns)  for Approval / Reject

    Hi,
    I have a Sales Order of Credit Only Order type.
    Existing Custom Workflow
    When the Customer Service creates Sales Order of Order Type Credit Only, it will got to AR dept for Approval/Reject.
    If the AR dept rejects, then a Notification will flow to Customer Service with Rejection comments.
    Required Logic
    Once Customer Updates and saves Sales Order, Customer Service should have an option to send SO back to Approval to AR dept.
    Could any one give me the logic.
    Thanks

    Thanks for your quick response Ajay.
    I am aware that I can move it to unrestricted stock but I would lose my link to the RMA sales order. Correct?
    We currently are not using split valuation.
    Any other suggestions?

  • Where do we put authorised user name for approving DMS document in DMS work

    HI
    I am on a support role and here is a document creation through DMS and it goes approval for 4 level , upon each level mail trigger to the user id (approval authorised person) .
    now company changed the users for approving authority , so i have to change the authorised person name . can some one help me where to go to change their name in DMS.
    thanks in advance

    Hello,
      you should run transaction SUIM - User information system: then select the row "Roles --> By authorization values": in the field that will show up enter the name of the authorization object, that's to say C_DRAW_STA, then press the button"Entry values", put the Document type and the document status, then execute. The list of the roles containing that authorization object, with the values you are intersted in, will be displayed: then you have to enter in each role, open the tab "User", and there you will have the list of the users with the authorization to put that status for that document type. There you have to enter the name of the new user that shoud perform the release of the document.
      However you should also check if any SAP workflow task is  implemented to follow up the release steps.
    Best regards,
    Andrea

  • Calling the Adobe form in a workflow step for Approval

    Hi All,
    We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
    I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
    Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
    <b>Is this handled by a decision step or an activity?
    If it is an activity step which Task/Business object method is used to handle this?
    If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
    We are using ECC5.0 and EP6.0.
    Thanks in advance for any help.
    Prasath N

    Hi Rajasekhar,
    The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
    <b>Service cannot be reached
    What has happened?
    URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system xxx with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    </b>
    I have done the following configuration settings in SWFVISU transaction :
    Task : TS500000075
    Visualization Type : WebDynpro Java
    visualization parameter: Application
    visualization Value: IsrFormApprove
    visualization parameter: Package
    visualization Value: sap.com/pcui_gp~isr
    Is there anything else that i have missed out in the configuration?
    Message was edited by:
            prasath natesan
    Message was edited by:
            prasath natesan

  • Workflow for approval of down payment for outward freight

    Can somebody suggest if is there any standard workflow available or not for approval of down payment for outward freight in SAP system? I want to build a workflow for this purpose upto two level of approval.
    Thanks & Regards,
    Manas

    Hi Manas,
    There is business object BSEG for down payment request. Try to use that and u can find workflow as Arghadip said in other thread. In PFTC u can go for F4 and search.

  • PO Waiting for Approval

    Hello SRM Gurus,
    I am working on a Standalone,
    I have created a SC and a PO for the same using Sourcing.
    Few Questions
    1.Can i create a PO from SC without using the Sourcing Application?
    I have Maintained the Vendor and Price in Product Master(commpr01)
    Can this be done with the Vendor list.?
    When i tried maintaing the Vendor list using "Process Vendor List"what is the entry "Release Authorized Purchasing Org"?
    2.The above created PO is showing as awaiting approval ,even i have not activated any Approval process for PO.what can i check in OOCU for this and deactivate the PO approval process.
    When i tried creating a POR for the PO it displays error message "the document is not in the sent state..."
    How do i do this.
    Full points promised..
    Thanks
    Arshad

    1. You have the option of auto PO after approval of SC provided
    SC is complete & you have deactivated sourcing.
    As per me you can not maintain price in vendor list.
    When you create external BP (vendor) in SRM, you maintain PORG in vendor tab.
    this is same as assigning vendor to PORG in ECC.
    Same you can input in vendor list.
    2. go to SWB_COND
    you can find the start conditions for approval WF there.
    Search for WF for BO BUS 2201 (PO)
    some approval WF would be activated. Switch off that
    and switch on auto approval WF
    BR
    Dinesh

  • PO Awaiting for approval

    Hi
    We are on SRM 5.0 , configuring Extended classic scenario. After SC is approved , even if I assign the vendor while creating the SC , it always creates a incomplete PO and it is in Held status. When Purchaser Logs in and Process the PO, add the vendor and order the PO, it always says that "Awaiting approval". I have configured the "No Approval Workflow" for PO, but still it goes for approval. When I check for the approval inbox, a work item "Create PO" appears in my inbox. I could not process the workitem only forward button is available.
    Please help me to solve this issue.
    Regards,
    Chary

    Hi,
    Go to the transaction SWU3 and check ---> Maintain Runtime Environment and observe all green ticks.
    You will find a list of all scheduled background jobs XXXXXXXXXXXXXX. Execute each and observe the jobs for different activities.
    SWWDHEX
    SWWERRE
    SWEQSRV
    SWFSLSDLEX
    Observe whether all automatic workflow customizing is active and green green.
    or,
    Go to SM37 and put SW* all related to Workflow.
    Best regards,
    Sridhar.

  • How to get list of PO pending for approval with a Particular Approver

    Hi Experts,
    I have created a Workflow for PO Approval. So when a PO is created the Approver is notified via an emaill.
    This is working fine.
    But now in the mail i have to send the list of Purchase Orders that are pending for approval with that Approver.
    Kindly suggest an approach to achieve this scenario.
    Regards,
    Radhika.

    There are several standard solutions to your requirement.
    One is to lessen the frequency of the program rbbp_notification_offapp and tick the box collect workitems. This should create one mail for all pending workitems for that agent.
    Another one is to retieve the workitems sent to him / her with FM SAP_WAPI_WORKITEMS_BY_TASK and include that data in the email you send.
    You can influence emails throught the badi behind rbbp...etc.
    Called BBP_OFFLINE_APP_BADI
    Kind regards, Rob Dielemans

  • Hi,When I submit the budget for approval, it is approved and base lined when we submit it for approval. It does not go in approval hierarchy. We want it to flow through approval hierarchy.

    Hi,When I submit the budget for approval, it is approved and base lined when we submit it for approval. It does not go in approval hierarchy. We want it to flow through approval hierarchy.

    Hi Amit,
    if I understand correctly, you just need for a particular object a tooltip to be showed.
    There is no such functionality hence you used the trick of using a hyperlink, which if clicked generates undesired behavior.
    Hyperlinks don't allow themselves to be disabled, therefore if you are using that workaround you must cope with that.
    I would suggest to create an Idea at [https://ideas.sap.com] for having in the properties of an object a tooltip, then post the link to the idea here and other users will vote if they like the idea.
    Thanks and regards,
    Simone

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Work flow - user is not reciving mail,once CREDIT MEMO submits for approval

    Hi All,
    Please find the issue as below.
    User created the credit memo and submitted for approval. user is expecting the mail in his mail-box, once he submitted the credit memo for approval and same way once approver approved the credit memo, user is expecting mail such that credit memo has been approved.
    He informed that previously he is receiving the mails as expected.
    Now all of sudden he is not receiving mails.
    I have checked work flow mailer, mailer is up and running.
    I have gone through the wf_notifications table, here i can see that MAIL_STATUS column having value of "MAIL".
    even i have gone through WF_USERS table this particular user is existing and status is "ACTIVE".
    But user is not yet received any mail.
    Kindly some one help me to sort out this issue.
    Thanks in Advance.
    Edited by: user627525 on Jun 8, 2011 5:58 AM

    Thanks RK for your quick reply.
    I was gone through the details you have provided. every thing is fine as expected.
    Later i have checked workflow mailer, it was down, due to that notifications are not reached to users/customers.once it is up and running mail notifications sent to respective users successfully.
    Many Thanks.

Maybe you are looking for

  • Is hotspot functionality a service upgrade?

    When trying to activate hot spot on Galaxy s iii, we are directed to call about our plan. Is hotspot functionality seperate from data plan? If so, what is required to access the hotspot function? Thanks,

  • What path to use to access network files from Java app running on Mac

    I have a Java app running on a Mac with OS X that I'm using to check for files that exists on Windows servers within our network. Using a path like /Volumes/<Share>/ works because I've already connected to the drive using Finder. If I try to use a fu

  • How to define message without parts in WSDL?

    Hi all, I don't know if it is possible, but I would like to create a message without defining part/type. Really what I want to accomplish is to avoid the part definition below in my .wsdl file. <message name="RCMR_IN000002NR01Input"> <part name="para

  • TVARVC table not getting updated properly

    Hi, We are facing a strange problem... First job runs to update TVARVC variable to a new value...let say 6 to 7.... Second job which runs immediatly after first job uses this variable in TVARVC to read the value picks up old value instead of new valu

  • Generic extraction (table,view,functionmodule)

    hi In generic Extaction when we use table and view and function module and sap qu (scenario) AND plz send some examples Please search the forums before posting