Preview of approval chain before workflow gets triggered

Hi Guys,
     I have a different requirement where users want to see the preview of approval chain before workflow gets triggered. I mean once we enter all the data in transaction, after the data validation is done then they want to see the approval chain. What is the best way to achieve this functionality. your input/ideas are highly appreciated.
Thanks
VT

There is no easy way to do this. Basically the only possibility is to enhance your transaction with a subscreen or a tab where you have to simulate the logic used in your workflow to find agents and show the result of that simulation.
If you are in a homemade transaction it should be pretty easy to do. If you're in a SAP standard transaction it may become a really tough modification/enhancement.
Cheers,
Patrick

Similar Messages

  • Workitem button is not comming in swel though the workflow gets triggered

    Dear All,
    I have copied the std wf WS20000075 and doing customization for po release as per my clients requirement. Once PO is being created in ME21N i am able to see the event trace in SWEL , but its showing an error , " Import container contains errors (are any obligatory elements missing? " .and no workitem button is comming in SWEL so that i am not able to see the workflow log .
    so that though the workflow gets triggered , i am not able to trace it .
    I have gone through the solutions given in sdn , but i didn't get any solution for my issue.
    Hope to get a positive solution for this soon.
    Thanks
    prabhudutta

    This is error in ECC 6.0 for BUS2012.
    For the time being I am using solution which I have given in this thread but rigid solution is to raise an OSS note.
    I myself will raise an OSS but before would like to debug and find out what it is expecting exactly so i said use SWUE to find what went wrong.
    Cheers
    Jai
    I am having the same error, it goes into error for ECC6.0 version. I have not got chance to see why it is happening?
    any way for the time being you can do this : go to SWE2 and for given business object and receiver type, change the settings of "Behaviour upon error feedback" from "default" to "do not change linkage" so every time atleast event will trigger and so workflow, yeah ofcourse event will be queued in SWEAD. So final solution is an OSS
    NOTE:
    Check this thread, Glauco has given OSS note 797775
    /thread/781604 [original link is broken]

  • In a metachain local chain are not getting triggered

    Hi Experts,
    I  have a transaction metachain  which includes 12 local chains. My query is some of the local chains are not triggering. Can anybody please help me in resolving this issue. <<removed>>
    Regards
    Sampada
    Edited by: kishan P on Jan 10, 2012 5:10 PM

    Hi ,
    I dont see any reason why Process chain is not getting triggered . Just check the Metachain in change mode and activate it again .
    Also please check display variant in all of the Local Process chains .It should be using metachain .
    2. Can you please check the status of the Previous local Process chains and check the status of the same in tables RSPCPROCESSLOG , RSPCPROCESSCHAIN .The status should be successfully finished . 
    Hope it helps .
    Thanks
    Kamal

  • How does a workflow get triggered when we create a Shopping cart

    Hi all,
    In SRm how does a workflow gets triggered when we create a Shopping cart...what i mean is that in r/3 we use changedocument object or function modules etc..likewise in srm how the wf gets triggere...can anyone help me.
    Thanks&Regards,
    Hari

    Hi martin,
    yes i accept that in SRM also workflows are all started by event...what i mean is in R/3 we go for Change document object(swec) or some other method for event creation...like that in SRM what is there?Just whenwe create a Shopping cart How the workflow is trigerred...suppose if it is trigerred using fm swe_event_create where they might have called the function module.
    Thanks&Regards,
    Hari

  • Workflow getting triggered when added/replace in Mask

    Hi Experts,
    We are using MDM 7.1 SP09 and we are facing an issue of workflow getting triggered when records are added or replaced in Mask..
    ie whenever i am adding or replacing some records in mask workflow is triggered for most of the records ....IF i check the Workflow tab it will show all the steps maintained for that particular Workflow adn then gets deleted automatically...and strange thing is it is happening to a single user id/role and for other role this does not happen
    Can anyone please help me sorting out this issue..
    Regards
    Nitin

    Hi Ravi,
    Today again I checked the scenario once again in production with both user/role and found that workflow is triggered for both users...
    Also I tested in Test environment and issue is same..
    I checked the Perf Tracing and found the below. Please  let me know if these are triggered because of some Java...

  • Workflow getting triggered many times

    Hi all ,
      I m working on Travel management workflows. I have set the triggering event as BUS2089->Created . But Whenever I m saving a travel request , it is triggering the workflow which is not desired .
      How can this be rectified ???
    Thanks ,
    Sonu.

    See,
    I analysed the problem earlier.
    I switched on the EVENT TRACE and ran one TRIP CREATION cycle. I can find that BUS2089 - REQUESTCREATED event is triggered. Well, as per our scenario, I changed that Created Trip, and I can still find the BUS2089 - REQUESTCREATED event even for this action also.
    And If I am not wrong this workflow gets triggered for BUS2089 - REQUESTCREATED event(refer your Trip WF Basic Data-Start Events).
    So, to avoid this problem, I have used a USER EXIT for TRIP to trigger my WF manually.
    Please refer the enhancement <b>FITR0003</b> for the TRIP Userexit.
    I hope this should clear your problem as myn.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • WorkFlow get triggered even if we set trigger for item update with SPEmailEventReceiver and workflow attached to same Library

    Hi All,
               I have a situation, SPEmailEventReceiver and WorkFlow is attached to same library, WorkFlow is configured to run after item is updated, but soon as the email is received in library the workflow
    is getting triggered, We have a action to create folder with subject and date and put the attachment with the date folder in SPEmailEventReceiver e.g: once a mail is received in library the SPEmailEventReceiver will create a folder with Subject and then Folder
    with Date and then put the attachment in the date folder so hierarchy will be subject folder/Date folder/attachment
    I have tried to alter the SquenceNumber attribute in Feature Element file to 1 and make the Synchronization as synchronous but no luck.

    Hi,
    Here are some articles for your reference:
    Programmatically creating Folders within SharePoint List
    http://www.mindfiresolutions.com/Programmatically-creating-Folders-within-SharePoint-List-487.php
    How to use SPEmailEventReceiver?
    http://kkryczka.wordpress.com/2010/11/05/how-to-use-spemaileventreceiver/
    Attachments disappear with custom email event handler
    http://blogs.msdn.com/b/malag/archive/2009/05/13/attachments-disappear-with-custom-email-event-handler.aspx?PageIndex=2
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • LSO - Wrong workflow getting triggered

    Hi
    I am using SAP Learning Solution from portal. When the employee applies the course from portal, the system shows a message 'Work flow Cancellation Requested' instead of 'Participation Requested'
    I checked in LSOWF_CUSTOMIZE, the customizing is maintained correctly. The table LSOWF_RUNNING shows that the action type requested as 'CANC' instead of 'BOOK'.
    I checked in SWEHR3 - there is no entry maintained. When I enable the event trace and do the course booking from portal - all I can see is only the even 'ATTENDANCE - CREATED';
    Can you please advice where could be the problem?
    Thanks and Regards
    Kasee Palaniappan

    Thanks for replies. The event linkage is set properly in the transaction SWETYPV.  When I enabled the event trace for workflow and triggered a course registration from portal - there are no events registered in the event trace.
    @ Pavan: I have checked the link, and configuration are maintained as recommended by SAP.
    The problem is, when a course registration is required - it automatically shows - the course is requested for cancellation. This is because the table lsowf_running is having the workitems for those trainingID with WFACTION as 'CANC'
    This means, when I request for a training course and later cancel it - the above said table is maintained with 'CANC' entries. I have not approved the cancellation of the course. If I rebook the course - the course still shows 'Booking Cancellation Requested' because the WFACTION is read for the training ID and the personal from the table lsowf_running.
    Any one has some idea, where could be the problem.

  • Workflow getting triggered even after event deactivation

    Hi All,
    I have created a copy template of standard workflow and activated event for copied template.
    Then I deactivated standard workflow event by clicking in GREEN icon in row where BO and triggering event is linked with workflow.
    Problem is even after deactivation, standard workflow is getting triggererd.
    Is any step skipped for deactvation of event and workflow?
    Kindly guide.
    Thanks.

    Check the event linkage in transaction SWETYPV (it should be similar as in the workflow builder).
    Also make sure that you are testing in the right client. The event linkage is client depended customization. So, if you made your change in client X, they will not work in client Y unless you transport the event linkage customization between the clients.
    Regards,
    Karri

  • Second workflow getting triggered.

    Hi all,
    I have a scenario to reject  a Purchase order. So incorporated a new step to reject the PO(Method used- BUS2012-CHANGE).
    The code to reject the PO is done inside the BADI. Right now the PO is getting rejected and workflow is going to complete state and working fine. But as a significant change is coming in the PO it is triggering a new workflow (Event -Significantly changed). How can i block the second workflow from trigerring? Any Function module from not allowing to trigger the workflow?.
    Thanks,
    Neslin.
    Edited by: neslin on Aug 20, 2009 7:23 PM

    Hello,
    Get the workflow number from event log SWEL which is triigerred for the event 'significantchange'. Open the workflow and deactivate the event linkage to stop the workflow from starting.
    Switch on the event trace SWELS, carry out the process of rejecting the PO. Get the workflows & events that are being triggered in the event log SWEL and carry out the deactivation of event linkage.
    Hope this will help.
    Thanks,
    Samson

  • Find how the Workflow OTA_LNR_TRNG_CANCEL_JSP_PRC is getting triggered

    Hi all,
    Hi I am new to workflows.
    I have been trying to find out like crazy, how exactly the following Workflow is being triggered?
    Workflow Process Internal name: OTA_LNR_TRNG_CANCEL_JSP_PRC
    Workflow Process Display name : Cancel Learning Enrollment
    The following is what exactly happens:
    Using the Responsibility Learner Self-Service-->Learner Home
    In the Home Tab, under enrollments, a list of all the courses that the user has enrolled for is displayed.
    now i un-enroll, using the Un-Enroll button.
    Now you come to the Unenroll: Pre Assessment page, where you select the New Status and Reason. Then press Finish.
    You will get a confirmation and also a notification will be sent to you and your supervisor.
    I need to customize this workflow, buti am unable to find out how is this workflow getting triggered.
    I found out in the OAF page that when the un-enroll button is being pressed a form function OTA_LEARNER_CATALOG_ENROLL_DTL is being callled and this does has Form parameters:
    pCancelProcessName=*OTA_LNR_TRNG_CANCEL_JSP_PRC*&pCancelCalledFrom=OTA_LEARNER_CATALOG_ENROLL_DTL&pItemType=HRSSA
    But when i change the value of the pCancelProcessName to my custom process name, it still is refering to the seeded WF process.
    Can anyone help me figure out where exactly is this workflow being triggered. Am really going nuts now? :S

    I think that the WF is being called from an API
    OTA_DELEGATE_BOOKING_API.UPDATE_DELEGATE_BOOKING
    AND IN THAT THIS PARTICULAR CONDITION:
    IF l_type ='C' and l_delegate_contact_id is null and l_contact_id IS NULL
    and nvl(p_source_cancel,'-1') <> 'AME'
         and l_event_rec.event_type in ('SCHEDULED','SELFPACED') then
    OTA_LRNR_ENROLL_UNENROLL_WF.learner_unenrollment(p_process => 'OTA_LNR_TRNG_CANCEL_JSP_PRC',
    p_itemtype => 'HRSSA',
    p_person_id => l_person_id,
    p_eventid => p_event_id);

  • Process chain notification gets triggered on Success?

    Hi,
    I have enabled the process chain failure notification for our key process chains. However we have noticed that the process chain gets triggered even if the process chain is run successfully.
    I am ONLY using the notification on ERROR message and NOT on success message.
    Any idea why the process chain gets triggered when the process chain is run successfully? am i missing something?
    Cheers

    Hi there,
    Why don't use another functionality of sending messages through the transaction RSPCM
    In there, you can add the chains you wish to monotorize and click on "Plan Monitoring (F7)" and schedule a job.
    With this method only chains with errors gets triggered.
    Diogo.

  • The workflow gets trigerred thrice...

    Hi,
    The trigerring event for the workflow is getting triggered thrice. The event is attached to bsvw and i have activated the event, thats it, but when i check in swel there are three entries having the same event. Any suggestions please..
    Regards,
    Sukumar.

    hi,
    Its  a simple logical expression which gets evaluated before the workflow gets triggered,in this way we can prevent the other workflows from getting triggered.
    Another option is to have a check function module.This helps in preventing most of the workflows from getting triggered.
    I hope this will be helpful to you.
    Regards,
    Saujanya

  • Workflow is triggerred in golden client

    Hi Workflow guru,
    i got a very unique scenario here. i did try to activate the standard travel request approval workflow. (ws20000050).  in my environment, i do have two client for the development server. one is served as configuration client and another is served as unit testing client.
    I also transport the necessary activation of the workflow from configuration client to unit testing client. However, when the workflow get triggerred, it is happened in the configuration client instead of unit testing client. (please take note that the portal is pointing to unit testing client.
    Can anyone throw any light on what are the possible steps that i did wrong?
    Regards.

    Hi Viji,
    i did the same as you mentioned. ithe workflow is triggered when i am doing the simulation of event also SWUD. however, it does not happen when i am doing the trip transaction. instead, it is pointed to the workflow in the configuration client.
    Is that any other possiblity that it will causing it?
    I vaguely remember that i did activate the binding in the configuration client for the workflow and transport it to the testing client. could it be the cause of it? if it is, is that anyway i can revert back to the original state?
    Regards,

  • Travel Request Approval Scenario via Workflow does not trigger

    Hi guys,
    System Information: SAP ECC 6.0 EHP4 / Using WDA-Scenarios on Portal NW 7.01.
    I'm having trouble understanding/implementing the approval scenario of the Travel Request via Workflow/UWL. POWL isn't usable for us as it isn't flexible enough to process the complex agent assignment rules for the respective approver our (momentarily..) requirements 'dictate' ...
    What I did so far:
    I copied the Workflow Template 200000040 to a custom template (since I'll have to alter it) and activated the Event of Creation for BUS2089. Thus, in SWE2, the respective entry for BUS2089 for the event CREATED has been set by the system. All good so far. When I create a TRIP via PR05 (we are public sector), the event for BUS2089 gets fired in SAPMP56T and the Workflow gets triggered; works out well. However, when I post a travel request in Portal (FITE_REQUEST), the workflow is not getting triggered. I searched for information or similar questions on the forum but didn't find anything. Neither did I find a concrete clue in the View Containers FITE_VC_* etc..
    Could anyone assist me with this? I'm sure I'm missing something very basic here.... -_-
    Bottom line:
    Why is my workflow not getting triggered from creating travel requests via FITE_REQUEST?
    Cheers, Lukas

    SWE2 linkage is activated for my Workflow number (I didn't do it by hand, it's set by the system since I activated the event in my workflowtemplate --> this way actually no inconsistencies can happen).
    SWDD Tests are successful and the Workflow is working well in general. That's why I pointed out in my previous post that the process is working fine when initiated via PR05.
    EDIT: Or maybe somebody knows the part in coding FITV_FPM/FITE_VC* where the workflow should be triggered? It's freaking unfindable, I've been debugging for hours. >:-(
    EDIT: Debugged the entire WDA Frmaework for like five hours...feeling dead inside...someone please tell me from where the workflow gets triggered when saving travel request from portal -_-....
    Edited by: Lukas Weigelt on Dec 5, 2011 2:55 PM
    Edited by: Lukas Weigelt on Dec 5, 2011 7:14 PM

Maybe you are looking for