PO Approval Workflow process

Does anyone know if it is possible to programmitacally kick off the PO Approval process from a PL\SQL Procedure or any other mechanism available(BPEL,ESB,etc..)? I am not sure if this is even possible. If so, what would I need to use and what data would I have to consider passing, if any? Any assistance will be greatly appreciated. Thanks,
Ray

Hi,
Go to SE19 transaction and find Enhancement Implementation /SAPSRM/BD_WF_AGENTS_PO. You see the BADI Implementation /SAPSRM/BD_WF_PO_RR_SL.
Regards,
Masa

Similar Messages

  • Inconstancy in Approval Workflow- Process Controlled Workflow

    Hello Experts,
    We are in SRM 7.0 classic scenario using process controlled workflow and facing an issue as described below:-
    During the approval workflow, we are observing that in
    Case 1: When approver3 is forwarding the work item to approver10, the approver10 in not getting the work item in his Inbox. However, when we see the log detail in SWI6 the status is shown as u201CREADYu201D
    Case 2: We created a shopping cart with identical details as in Case 1 and followed the same approval process i.e.Approver3 forwarding the work item to approver10, however in this case approver10 is getting the work item in his Inbox and when we see the log details in SWI6 the status is shown as u201CCOMPLETED"
    We tried this scenario for 10 times and we found that in 2 cases the approval status is showing as u201CREADYu201D while in other 7 cases the approval workflow got completed.
    Can you all experts please help us understand why this is happening and how can be find the root cause i.e why Case 1 is in u201CREADYu201D status for last 2 days.
    We seek your help in understandingroot cause so that we can eliminate any inconsistency in future.
    Any pointers to resolve this issue will be highly appreciated.
    Thank you in advance.
    Regards,
    RKS

    Use class /SAPSRM/CL_WF_APV_FACADE. This is used by standard SAP WF Analysis.
    Methods - RETRIEVE_PROCESS_HISTORY, GET_CURRENT_PROCESS_STATE, CREATE_PROCESS_FORECAST.
    To analyze more, check the program /SAPSRM/WF_CFG_ANALYSIS_002. Check lines 209...216 (These Lines pull Previous Approved Steps, Current Process Step & Gets the approval forecast). However the REJECTED Items (Accept Decision) work little different (which is not captured by this report).
    To Identify the current approval process awaiting decision by the requester of the cart, use method GET_CURRENT_PROCESS_STATE, return parameter structure /SAPSRM/S_WF_PROCESS-PROCESS_LEVEL_LIST-DECISIONSET_LIST-ITEM_STATUS_LIST gets you the current status of the item (ACCEPTED, REJECTED, OPEN, INQUIRED). If ITEM_STATUS_LIST-ITEM_STATUS EQ 'REJECTED', then the WF is waiting for acceptance/resubmission from the requester.
    To your specific need, pass DOCUMENT_GUID to the class /SAPSRM/CL_WF_APV_FACADE=>GET_CURRENT_PROCESS_STATE get the return parameter /SAPSRM/S_WF_PROCESS. It will give you PROCESS_LEVEL_LIST. Then loop through DECISIONSET_LIST. It contains Table Types of AGENTS_LIST, ITEM_STATUS_LIST, WORKITEM_LIST. At /SAPSRM/S_WF_PROCESS level, you can get all the details of the current process level details
    Thanks,
    SC

  • Xml form and Approval workflow/process

    Hi ,
    I have created an xml form template and
    I have to integrate with Approval process ..
    My requirement is something like this ....
    After the content created using the xmlform template by the content generator(role).
    It should go to the Approver(role) action_inbox for approvalthen once Approver  approves the content should be copied from the original folder to a predefined folder.
    Actually I trying to implement repository service,
    With in which I am registering with
    StatemanagementEvent.PUBLISH
    Yet I am not sure whether I am doing correct or not
    Can anyone Please guide me how to achieve this
    thanks

    Hi Patricio,
    thanks for the reply..
    Yes I think I need repository service..
    I am using the xmlform template to generate the many contents. say I have generated
    three content from a xmlform template
    One content has to move to folderA
    second content has to move to folderB
    third content has to move to folderC
    for this move action ... I am planning to implement repository service where I will capture the Approved Event( Right now I do not know which event is triggered.. I am searching for that.. if you know please let me know )
    then after getting the which resource( rather in my case the xml file ). I have to move/copy this xml file to a designated folder..
    this is actually my requirement
    Sorry for not making clear about my requirement in my earlier query..
    I would like to know ...
    for this requirement is there built-in facility something like just configuring EP or
    Am I going in the right direction ?
    I am bit confused about the stepos involved in the approval process..
    which comes first  Publish or Approval
    thanks
    pk
    Message was edited by: PK G

  • Recommandable Profile Option PO:Workflow Processing MODE (Background/Online

    Hi
    We are using oracle11i 11.5.10.2 on windows 2000 server
    which Value is Recommendable for Profile Option PO:WORK FLOW PROCESSING MODE (BACKGROUND or ONLINE)?
    for PO Approval
    Thanks
    With Regards
    A-Z

    Hi,
    It is advisable to Set "PO:Workflow Processing Mode" profile option to "Background" which is a default value
    If you set it as Online, it completes an entire approval workflow process before letting you proceed to the next activity, but provides you with an updated Status (for purchase orders) as soon as it finishes.
    When this profile option is set to Background, you must start the Workflow Background Engine, which you access through the System/application Administrator responsibility. It is recommended that you set this process to run frequently (Schedule), if you are using it for Background mode approvals.
    /S.P DASH

  • Internal Trading Approval Workflow

    Hi,
    What's the Internal Name for Internal Trading Approval Workflow Process in the Oracle GL public Sector (such as GLBATCH for the Journal Approval Workflow)? I could not find it? I need to understand it first before I can start designing the customized workflow. Can anyone help me with this, your help appreciated. Thanks.

    Hi ,
    I have a test on my machine with a custom approval workflow and it can work normally .Here are the detailed steps :
    1.      
    Open the site in SharePoint Designer .Create a workflow to associate with the document library .Set the workflow to start when an item is created and when an item is changed
    .Also allow the workflow to start manually .
    2.      
    Choose ‘Collect Data from a user’ .
    3.      
    Click on the data and give a name to the Task created .
    4.      
    Define the custom form field name as ‘Approve ?’ .Set the information type as Choice .
    5.      
    Set the choices as ‘Approve’ and ’Reject’ .Display as Checkboxes .Uncheck the ‘Allow fill-in values’ and ‘Allow blank values’
    .Click finish to save .
    6.      
    Click on users and add the users who will approve the documents .
    7.      
    Keep the output to variable as collect .
    8.      
    Add a new step .Choose ‘If any value equals value ’ .Set the any value ‘Data source’ as  workflow variables and parameters .Set the ‘Field
    from source’ as Variable: collect .
    9.      
    Set the value behind ‘equals ’ as ‘Approve’ .
    10.  
    Add a new action ‘Update list item ’ .Set the item as current item .Add the field Approval status as Approved .
    11.  
    Add an Else-if branch to update the Approval status as Rejected .
    12.  
    Publish the workflow and test in your site .
    Thanks,
    Entan Ming

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Approval Workflow - What is Task Process

    I want to understand this Action in SharePoint 2010 workflow
    Start Task process on Current Item with these users
    What is the Task process? how do you define it?
    Thanks so much!
    Mayank

    http://office.microsoft.com/en-001/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Designer-Workflow-2010-Task-Actions.aspx
    If you want someone to perform some action then you assign a task to them. like approvals, reviews or simply some information.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • How can i approve or start a workflow process for a rejected vacany in irec

    The users have rejected some vacancies mistakenly so how can i approve that vacany .Do i have i to restart the workflow process if yes then how can i do that .
    Thanks

    Hi Ramesh
    Thanks for your reply but is it possible that i can go in as sysadmin user and update the notification .I tried looking into the sysadmin user and workflow admin but i couldnt find it .It says that i cant update the notification that has already been approved

  • Approval Workflow - How to stop Approval Process after one Approve?

    I currently have a approval workflow for announcements. There are two approvers assigned to the workflow with the serial setting. How do I end the approval work process after one of the two persons approve? Currently, if one person approves, I have a "In
    Progress" status under the status column.
    Here is the text-based editor view of my workflow:
    f Current Item:Body not equals Current Item:PriorBody
    Start Approval process on Current Item with User1; User2
    Else if Current Item:PriorWorkflow equals Approved
    Set workflow status to Approved
    If Current Item:PriorWorkflow equals Rejected
    Set workflow status to Rejected
    Any tips are welcomed. I have found that Nintex released a workflow that addresses this, but I would like to work around that if possible.

    Hi David,
    Yes, I created the workflow based on SharePoint  2013 Workflow platform. You can have a look at the screenshoot:
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How I can auto approve pending workflow process, once month end proces

    I have created workflow process for timesheet approval.
    I want to auto approve all pending timesheet (i.e (default notification timeout is 7 days) notification send to approver, but still not approved) in Oracle workflow Process, when Month end process started
    Month end process will initiate a flag in pending timesheet header table with process started

    I am not sure if I understand your requirements completely.
    1) If your requirement is that all the pending timsheets have to be approved by month-end (not really when month-end process starts) then set the Timeout of the notification to Absolute Time of end of that month... so that by the end of the month the background engine will pick it up.
    You may design the approval notification within a Sub-process with RESULT attribute of Approve / Reject. Design a Timeout transition for the Notification Activity within the sub-process that will go to an END activity that has Approve result. Thus once the notification times out, the sub-process will complete with result APPROVED.
    2) One other way is to respond to OPEN notifications using APIs.
    WF_NOTIFICATION.SetAttrText(nid, 'RESPOND', 'APPROVED');
    WF_NOTIFICATION.Respond(nid);
    You should have queried up all OPEN notifications for Timesheet approval and do this in a loop... which could be time-consuming sometimes.
    Thanks

  • Parallel approval workflow, end process

    Hi everyone
    I have a approval workflow that has 3 users approvers with a parallel approval. 
    I want to end the workflow (Approved or rejected) when ONE OF THIS USERS complete your task 
    Does anyone know a way to do it ?
    Thanks in advance!
    Regards

    Hi,
    The following settings in SharePoint designer for your reference:
    More informaiton is here:
    https://social.technet.microsoft.com/Forums/en-US/2cd81250-1124-4d61-b78d-78e747f7fd64/parallel-approval-workflow-where-one-approval-completes-the-workflow?forum=sharepointcustomizationprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Attaching the notification template to a approval workflow or process OIM11

    Hi guys,
    we have customized our approval workflow at request level, and operational level approval making default approval based on approval policy. Now the question is we need to send a mail notification to manager to approve the request and then when whole request is completed then the mail has to be sen to the user that new account has been created for that resource.
    here the user is request a resource by using self-resource request template.
    i have seen the notifications but how would make these notification are triggered at above events
    appreciate ur responses

    Your first step is to clearly define when the notifications must go out.
    1. Email to Approver for task assigned - If you have built a SOA Composite and in your code, you have retrieved the user manager value and assigned to that user, then with this value, you can also code for a custom notification. From the request data, you can retrieve the beneficiary and the resource for which is requested. Using these, you can use a notification resolver class to pass those values in to your notification. See this link http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html for how to create a custom notification.
    2. Email to user when Resource has been provisioned - This will happen on the provisioning side, and you can attach to your Create User task and use the notification tab. I do not know if these still work, but create a new email definition from the design console. Open the create user task, go to the notification tab, select the User as your target, status is C, and then select your email definition. Another option would probably be an event handler that is triggered on the status of Provisioned for that resource, but someone else might be able to provide more insight on this as i have not configured one yet.
    -Kevin

  • No approval workflow  found error while processing the  Bid Invitation

    We are working on SRM 5.0 (SP level6). We are able to create the bid invitations successfully from the sourcing cockpit. However while saving the changes in the bid invitations, system shows the error "No approval workflow  found". When checked in SWB_PROCUREMENT , no workflow exists for object" BUS2200, Bid Invitation EC"in the standard SRM.
    Kindly confirm what is missing...
    NNK

    Hi Nitin,
      Use T-code OOCU - Task custamising overview. Then SRM-EBP --> SRM-EBP-WFL then active event linking.
      Please activate WS145000026 for automatic approval of bid. or WS145000027 for one step approval of bid invitation.
    This will help to solve your problem. IF not please reply me the error.
    Regards
    Apparao.

  • SharePoint Approval Workflow using SharePoint Designer in SharePoint Foundation 2013

    I am unable to do SharePoint Designer workflow for approval process and I didnt get any Approval process in Actions in SharePoint designer Workflow also I don't find workflow features in Site collection features SharePoint 2013.
    Even I am not able to do simple Out of the box Approval Workflow.
    Kindly help me with this

    Unfortunately, Out of the box workflows are not available in SharePoint foundation 2013, you need at least the standard version of SharePoint 2013.
    You can still create .Net Workflows using the 2010 plateform.
    Take a look at this great comparative between the three versions of SharePoint 2013 :
    http://blog.blksthl.com/2013/01/14/sharepoint-2013-feature-comparison-chart-all-editions/

  • Setting up Sharepoint 2013 approval workflows depending on field value

    Dear Microsoft Support,
    I am still relatively new to Sharepoint-Infopath and would need help with setting up workflows for a requisition form I am creating. I have designed and created a form using Infopath 2013 and have successfully created the link
    to have the data uploaded into my Sharepoint Server 2013 library. This form's purpose is to have our users make supply requisitions from the Warehouse department. We are a school, therefore, there are numerous different departments with different approvers.
    My goal now is to setup the approval workflows using Sharepoint Designer 2013. The complication now is that only certain people need to approve the requests, depending on the department selected. For example, I am in the IT department, if I put a field's value
    as "IT" the form will be sent to the IT department manager prior to going to the Warehouse department for processing. If the user chose "English", the form will be routed to the English department head for approval. What are the steps that
    I would take to have that kind of customization? How do I setup approval workflows in Sharepoint Designer 2013 to meet that?
    I have tried searching for solutions over the web, but all of them are too generalized and would not be related to my case in terms of different approvers depending on the different departments in our school. Your assistance would be greatly appreciated.
    Thanks. Jason

    I would create a second SharePoint list that is set up with two columns. The first column is Title (which is a default column) and the second column is 'Person or Group' column and name it 'Approver'. Then enter the department in the title field and select
    the person who needs to approve that department's forms in the 'Approver' field. Use this list and pull in this information in the InfoPath form by creating a data connection to the newly created list and set up the filter to only pull
    back the information where 'Title' = 'Department'. After this information is pulled into your form, store the approver information in a hidden field in the InfoPath form and use that field throughout the workflow.
    I know this is a very brief explanation so let me know if you need more information.

Maybe you are looking for