How to retrigger workflow after complete release

Hi All
I have configured workflow for PO release.My query is that suppose I complete the PO release through workflow and then through ME22N I change the Quantity/Value such that a new release strategy is captured by the same PO.Now how do I retrigger the worflow for the same PO according to new release strategy.

Hi,
Using the T.code SWUE you can re-trigger.
Follow the steps to trigger the workflow via Event.
1) Goto the T.code SWUE.
2) Object category = BO BOR Object Type
3) Object Type = Business Object (e.g. BUS2089,..).
4) Object Event = which event you want to trigger (e.g CREATED,..)
5) Click on Object Key button & enter the key field value(s)
6) There is a button 'Event Parametersu2019. Click on that to enter the event parameter values, if any
7) Then you have to click 'Event Receiver' button, and you can see which Workflow is linked to this event
8) Now click on 'Create Event' to trigger the event.
9) Then  Go to SWEL and see the Event.
Regards,
Surjith

Similar Messages

  • Retrigger Workflow if PO Release Strategy changes

    Hi All
    I have configured workflow for PO release.Now through work item if I am deleting a line item of the PO such that PO is capturing new release strategy due to change in PO value then workflow does not gets re-triggered again as per new release strategy.How can I achieve this?
    Edited by: satish kumar on Apr 18, 2009 9:13 AM

    Hi,
    For Creation it working fine right, i.e. Event triggering fine
    1) After Changing the PO, save it
    2) And tell functional consultant, whether they configure for the settings for PO change in SPRO
    Regards,
    Surjith

  • How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId

    How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId.
    This is the Snippet :
    InvocationResponse response = myServiceClient.invoke(request);
    invocationId = response.getInvocationId();
    System.out.println("ClientParams="+response.getClientParameters());
    System.out.println("OutputParams="+response.getOutputParameters());
    System.out.println("invocationId="+invocationId);
    JobManager jobManager = new JobManager(myFactory);
    JobStatus jobStatus = null;
    JobId myJobId = new JobId(invocationId);
    jobStatus = jobManager.getStatus(myJobId);
    System.out.println("Job Status: " + jobStatus.getStatusCode());
    if (jobStatus.getStatusCode()==JobStatus.JOB_STATUS_COMPLETED)
    System.out.println("INVOCATION COMPLETED SUCCESSFULLY!");
    InvocationResponse jobResponse = jobManager.getResponse(myJobId);
    jobManager.terminateJob(myJobId);
    jobResponse.getInvocationId();
    Process id need to be fetched after Workflow Kickoff
    Can anyone please help me..?

    There are 5 process level variables that get populated when you invoke a process. They are
    /process_data/create_time
    /process_data/creator_id
    /process_data/id
    /process_data/status
    /process_data/update_time
    Within the xPath builder you can differentiate them from other process variable because they are italicized.
    Now you can create your own process variable - let's say called pid - and have it contain the process id which is stored in /process_data/id.
    The xPath would look something like
    /process_data/@pid = /process_data/@id
    If the pid variable is marked as an 'output' variable, then it will be returned as part of the InvocationResponse.
    Jasmin

  • How to enter workflow again after checkout

    I just tested how when a content has been released from a workflow, it doesn't enter the workflow again if it was checked out. I read somewhere that a workflow is triggered via a new revision so I was wondering why it didn't (since Checking Out content creates a new revision). How can I make the content enter the workflow again after checking it out? I am using UCM 10g.
    My workflow goes like this:
    editor checks in content --> approver reviews and approves content --> publisher approves and releases content
    after being released, the editor checks out the content and a new revision is created, but the status says "Released" already.

    now that I look into it, the field I set for the criteria was now blank! Why didn't it retrieve the data I previously entered into my criteria field?
    I actually found a workaround for this, I changed the criteria to ContentID matches id* so all I have to do is define the content ID like "id001" and they will enter the workflow.

  • I installed the new version of iTunes today. It's 12.1.1. After completing the installation, including restarting my computer, I was no longer able to use Windows Internet Explorer. Has anybody else experienced this? If so, how did you fix Explorer?

    I installed the new version of iTunes today. It's 12.1.1. After completing the installation, including restarting my computer, I was no longer able to use Windows Internet Explorer. Has anybody else experienced this? If so, how did you fix Explorer? I was using Explorer 11 and Windows 7, installed on an HP Pavilion g series

    Never heard of that being caused by installing iTunes. Try asking on a Windows forum. This isn't a problem with iTunes or any other Apple product. If you believe it is, uninstall iTunes. If the problem persists, you'll have to seek advice on a Windows forum or contact Microsoft for support.

  • How to send a mail to a person  from after completeing bdc .

    Hi Xperts,
    Please send me a options how to send a mail to a person after completing a bdc or from any report program.
    mailed can be a sapuser or other service provider(ex:yahoo,gmail.any thing)
    Please Any one i want it now .
    Thank You.

    FUNCTION RS_SEND_MAIL_FOR_SPOO* Email ITAB structure
    DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
            INCLUDE STRUCTURE SOLI.
    DATA: END OF EMAIL_ITAB.
    DATA: T_EMAIL LIKE SOOS1-RECEXTNAM.  "EMail distribution list
    CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
               ‘[email protected],[email protected]’.
    Initialization
    REFRESH EMAIL_ITAB.
    Populate data
    EMAIL_ITAB-LINE = ‘Email body text 1’.
    APPEND EMAIL_ITAB.
    EMAIL_ITAB-LINE = ‘Email body text 2’.
    APPEND EMAIL_ITAB.
    T_EMAIL = C_EMAIL_DISTRIBUTION.
    --- EMAIL FUNCTION ---------------------------------------------------
    REQUIRMENTS:
    1) The user running the program needs a valid email address in their
       address portion of tx SU01 under external comms -> SMTP -> internet
       address.
    2) A job called SAP_EMAIL is running with the following parameters:
       Program: RSCONN01  Variant: INT   User: XXX
       This program moves mail from the outbox to the mail server using
       RFC destination: SAP_INTERNET_GATEWAY_SERVER
    INTERFACE:
    1) APPLICATION: Anything
    2) EMAILTITLE:  EMail subject
    3) RECEXTNAM:   EMail distribution lists separated by commas
    4) TEXTTAB:     Internal table for lines of the email message
    EXCEPTIONS:
    Send OK = 0 otherwise there was a problem with the send.
        CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
             EXPORTING
                  APPLICATION = 'EMAIL'
                  EMAILTITLE  = 'Email Subject'
                  RECEXTNAM   = T_EMAIL
             TABLES
                  TEXTTAB     = EMAIL_ITAB
             EXCEPTIONS
                  OTHERS      = 1.
    Function Z_SEND_EMAIL_ITAB
    ""Local interface:
    *"       IMPORTING
    *"             VALUE(APPLICATION) LIKE  SOOD1-OBJNAM
    *"             VALUE(EMAILTITLE) LIKE  SOOD1-OBJDES
    *"             VALUE(RECEXTNAM) LIKE  SOOS1-RECEXTNAM
    *"       TABLES
    *"              TEXTTAB STRUCTURE  SOLI
    *- local data declaration
      DATA: OHD    LIKE SOOD1,
            OID    LIKE SOODK,
            TO_ALL LIKE SONV-FLAG,
            OKEY   LIKE SWOTOBJID-OBJKEY.
      DATA: BEGIN OF RECEIVERS OCCURS 0.
              INCLUDE STRUCTURE SOOS1.
      DATA: END OF RECEIVERS.
    *- fill odh
      CLEAR OHD.
      OHD-OBJLA    = SY-LANGU.
      OHD-OBJNAM   = APPLICATION.
      OHD-OBJDES   = EMAILTITLE.
      OHD-OBJPRI   = 3.
      OHD-OBJSNS   = 'F'.
      OHD-OWNNAM   = SY-UNAME.
    *- send Email
      CONDENSE RECEXTNAM NO-GAPS.
      CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
    *- for every individual recipient send an Email
    (see OSS message 0120050409/0000362105/1999)
      WHILE RECEXTNAM CS ','.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
        ADD 1 TO SY-FDPOS.
        SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDWHILE.
    *- check last recipient in recipient list
      IF RECEXTNAM <> SPACE.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDIF.
    ENDFUNCTION.
          FORM SO_OBJECT_SEND_REC                                       *
    FORM  SO_OBJECT_SEND_REC
    TABLES  OBJCONT      STRUCTURE SOLI
            RECEIVERS    STRUCTURE SOOS1
    USING   OBJECT_HD    STRUCTURE SOOD1.
      DATA:   OID     LIKE SOODK,
              TO_ALL  LIKE SONV-FLAG,
              OKEY    LIKE SWOTOBJID-OBJKEY.
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                EXTERN_ADDRESS             = 'X'
                OBJECT_HD_CHANGE           = OBJECT_HD
                OBJECT_TYPE                = 'RAW'
                OUTBOX_FLAG                = 'X'
                SENDER                     = SY-UNAME
           IMPORTING
                OBJECT_ID_NEW              = OID
                SENT_TO_ALL                = TO_ALL
                OFFICE_OBJECT_KEY          = OKEY
           TABLES
                OBJCONT                    = OBJCONT
                RECEIVERS                  = RECEIVERS
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                X_ERROR                    = 20
                OTHERS                     = 21.
      IF SY-SUBRC <> 0.
        RAISE OTHERS.
      ENDIF.
    ENDFORM.
          FORM INIT_REC                                                 *
    FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
      CLEAR RECEIVERS.
      REFRESH RECEIVERS.
      MOVE SY-DATUM  TO RECEIVERS-RCDAT .
      MOVE SY-UZEIT  TO RECEIVERS-RCTIM.
      MOVE '1'       TO RECEIVERS-SNDPRI.
      MOVE 'X'       TO RECEIVERS-SNDEX.
      MOVE 'U-'      TO RECEIVERS-RECNAM.
      MOVE 'U'       TO RECEIVERS-RECESC.
      MOVE 'INT'     TO RECEIVERS-SNDART.
      MOVE '5'       TO RECEIVERS-SORTCLASS.
      APPEND RECEIVERS.
    ENDFORM.
    2.

  • How Do I remove all File Info after completeing image?

    After completing all work on a Photoshop Image - then saving as a jpeg - all the file info still remains (XMP).  How do I delete it?

    I appreciate your response and your effort to try to help me.  This is all stuff I know nothing about, so please bear with me.  I clicked on a picture I am ready to post on Behance – and chose “Save For Web”.  There is no  option to “Remove Metadata”.   
    There is a box entitled “Metadata:” – but choices are  “Copyright” – “Copyright and Contact Info” -  “All Except Camera Info” – “All”. 
    Is there any other way I could check to remove all the info I see when I open “File Info”?
    And, what does all that stuff in the Metadata box mean?  I would love to look it up for myself – but have no idea where to go to find info about it.
    Please help and thank you.
    Carol

  • How to triger SAP workflow after save in t-code RMWB

    Dear friends,
    After execute t-code RMWB, I could click save button to save it. but my requirement is to triger the SAP workflow to send an email.
    My question is, how to triger this SAP workflow after clicking save in t-code RMWB?
    Thanks a lot!

    Use this function module in a Exit or BADI or Enhancement spot during SAVE
    SAP_WAPI_START_WORKFLOW
    I THINK IT CAN BE DONE BY CREATING A SPOT IN "CALL METHOD GO_APPL->MO_RMWB->SAVE" IN PROGRAM OF RMWB

  • How to block changes in purchase order after purchase release

    Dear all
    Can u please tell us how to block any changes in purchase order after purchase order is released...
    (We don't want any line items addition or quantity addition or any changes once purchase order is released..)We wanted this for a particular purchase order type only
    Regards
    Sudha

    Dear Sudha
    Yes it is possible to confiquire your system insuch a way where once if the PO  gets final relase then it cannot be changed.Only possiblity that will be available for the user to make chanegs in PO is possible when the final release is to be reset and then make the changes.
    Release Indicator: specicfies whether the PO documents is blocked or can be processed for the follow functions.
    You can define the release indicators you need for your release procedure:
    •The Released indicator is used to specify whether messages (PO documents in output format) may be transmitted for a purchase order with this indicator.
    •The Changeability indicator shows the effect of changes to the PO (a change to a PO may require a new release strategy to be determined, for instance).
    •By means of the Value change indicator, you can specify that the release strategy is to be re-started if a PO is changed and the value of a PO item thereby increases by a certain percentage (e.g. 10%). Set the Changeability indicator to "4 - Changeable, new release in case of new strategy or value change" or "6 - Changeable, new release in case of new strategy or value change/outputted" and enter a percentage in the Value change field.
    And after that you can specify release statuese where you can specify which release indicator/status a PO is to have after having been released via a certain release code.
    and after release simulation .
    Test for the PO change after final release System will not allow you tomake changes by giving the message that the release  indicator doesnot allow you make the changes in PO.
    Regards
    Sunny

  • Workflow not executing after PR release of PR through ME54N

    Hi,
    I have a probolem. I have created a workflow for intimation after PR release through ME54N based on release strategy . i.e. an email will go to different persons after releasing of the PR at different levels . My problem when i am releasing through ME54N   the mail is not going to persons but if i execute the workflow directly giving the PR no in that case the mail is flowing . I have used the business object BUS2009 and i have selected the event 'Release Step Created".
    Can any one help me out.
    thanks in

    Hi,
    Try triggering the workflow event by coding (calling the FM to create an event - SWE_EVENT_CREATE) in an enhancement at the time of releasing the PR through ME54N.
    Also check the following scenario for reference.
    Check the organizational data, the release strategy customizing and the event and instance type linkages :
    1. First you must have created in the organizational plan the user names, positions, jobs, etc. that you assign to the release code(s), and must have linked them to the relevant standard tasks with the Task Customizing (transaction OOCU).
    2. When you create the release code(s) that you need for your release strategy and assign the code(s) to your release group, you should indicate that the release code(s) is (are) relevant to workflow (transaction OMGQ for purchase requisitions and transaction OMGS for purchase orders -> Release code).
    The Workflow indicator is also used to control role resolution.
    The Role Resolution with Group, Code and Plant (T16FW) [1] is the standard role resolution.
    The Role Resolution via User Exit [9] allows you to define a role resolution via customer exit.
    Then you should link the release procedure to workflow if you are not using customer exit and assign a processor ID to the workflow-relevant release code(s) (OMGQ or OMGS -> workflow).
    3. For the workflow WS00000038 (Workflow for requisition release) you should have maintained the following events with transaction SWE2 (Change View "Event Type Linkages": Overview) or transaction SWE3 (Change View "Instance Type Linkages": Overview) :
    RELEASESTEPCREATED with SWE2.
                        Object type     BUS2009
    Event          RELEASESTEPCREATED
    Receiver type  WS00000038
    Receiver FM        SWW_WI_CREATE_VIA_EVENT
    Check function
    Receiver type FM
    Destination
    [X] Type linkage active
    REJECTED with SWE3.
                        Object type    BUS2009
    Event           REJECTED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    RELEASED with SWE3.
                        Object type    BUS2009
    Event           RELEASED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    SIGNIFICANTLYCHANGED with SWE3.
                        Object type     BUS2009
    Event          SIGNIFICANTLYCHANGED
    Receiver type   WORKITEM
    Receiver FM        SWW_WI_COMP_EVENT_RECEIVE
    Check function      ME_REL_CHECK_EVENT_PARAM
    Receiver type FM
    Destination
    [X] Linkage activated
    Regards,
    Harish

  • How dynamically get an agent f a level-by-level workflow after PO changed

    Hi  all:
         I'm trying to create a level-by-level workflow after PO  changed, but how dynamically get an agent and how assign it to
    task dynamically?
        Thank you very much!!!

    Hi Sony,
    There are diffrent ways to get agent level by level....it depends from where you are getting the agents.
    1>Suppose you have 2 level PO worklfow and my agents are stored in some custom table:-
        level1 -- agent1
        level2 --agent2
    2> You can create two attributes in your BO i;e zgent1& zagent2.
    3> Inside the attributes zagent1 u will get the actual agents from custom table by putting code
       i.e select agent1 into zagent1 from zcus_tab where level = 1.
    4> Inside the attributes zagent1 u will get the actual agents from custom table by putting code
       i.e select agent1 into zagent1 from zcus_tab where level = 2.        
    5> Now generate the BO...and test it ..u will se the user id of agents in the attributes populated.
    6> Now bind these both attributes to workflow container.
    7> Use attribute ZAGENT1 for level 1 approval task in worlfow.
    8> Use attribute ZAGENT2 for level 2 approval task in worlfow.        
    The values will comes dynamically from custom table...which u will maintain.

  • SRM alert mails after the workflow is completed

    Hi Experts,
    I have a shopping cart, for which a PO is created. It means, the workflow is completed for it. Now the user has tried to delete the line item of the shopping cart in the portal(which is not possible as the PO is generated). A email was triggered to the user saying that it was not possible, in the German language.
    Can anyone tell me, how the alert mail is being triggered and how can we check it.
    Its visible in SOSG, but i want to know, how its being generated and is there any alert log present for it, as its not visible in the workflow log of the shopping cart (which is completed).
    I want to change the language of the message from German to English.
    The system is a SRM 5.0 with ECC 6.0.
    Regards
    Bash

    Laurent Burtaire wrote:
    Hello Bash,
    what you describe is not SRM standard process.
    So i guess e-mail notification is triggered when clicking onto delete button/icon.
    Check you HTML template.
    Regards.
    Laurent.
    I am talking about HTML template, not portal iView.

  • How can I get adobe premiere pro cs6 after the release of CC?

    How can I get adobe premiere pro cs6 after the release of CC?

    CS6 Trial Downloads (Not Creative Cloud Subscription)
    http://forums.adobe.com/message/5649304#5649304
    Perpetual License version - no subscription necessary.
    Fully functional 30 day trial, after installation run: Help > Updates...
    CS6 - Buy the Perpetual License version
    (Not Creative Cloud rental)
    http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html?promoid=KFPMZ
    To buy an upgrade instead the of full version, click the buy button
    then select 'I want to buy: 'Upgrade' instead of 'Full'.
    CS5 and CS5.5 Products are eligible for upgrade to CS6.

  • I made a website, but have now deleted it in order to take it down. However, after deleting it, the website is still online? Can anyone help me figure out how to remove the site completely?

    I made a website, but have now deleted it in order to take it down. However, after deleting it, the website is still online? Can anyone help me figure out how to remove the site completely?
    The site is joehewett.uk and I am worried that now I do not have the files of the website I cannot remove it?
    James.

    Did you delete the files from your Remote server?
    Deleting the local site folder or the site definition in DW will have no effect on your remote site.
    When I go to your URL, I see the index.html page with 16 code errors and this background image:
    http://joehewett.uk/Untitled-1.jpg
    So the site is still online until you delete those files from your server.
    Nancy O.

  • How to run the cocoa app directly after completion of downloading ?

    Hi ,
    How to run the cocoa app directly on mac after completion of downloading ? I have a .app at server , I want to run the .app automatically after download and the .app should not save at download directories .
    Thanks

    hi,
    There is no need to burn on Disk..instead run the runInstaller file fiom Disk1/install..please read the readme.txt file before installation..
    check the kernel parameter and Even set the DISPLAY before installtion,in order to get proper GUI
    Regards
    Fabian

Maybe you are looking for

  • Backing up and Restoring from Iphone 5 to Iphone 6

    After restoring some of my icons became dark and was not able to delete them nor restore them form Itunes. One way I could fix it is to search the app again and download it. Any suggestions

  • How to control follow up doc for  Activities

    Hi... I have created 10 different types of Activitiy Doc. When I open any activity in crmd_order I'm getting all other activities as follow up docs(when I click on follow up icon). I dont want all of them, may be I need one or two out of those. How t

  • I am Unable to Type or use Keyboard in Firefox 18.0 anywhere including URL bar and Search Bar. how should rectify this?

    I am unable to type anything or use keyboard to type in Firefox. I am using Firefox 18.0 installed on Windows 7. I am able to Paste into the URL bar and also the Search bar but absolutely not able to type in it. I have already tried the "reset" optio

  • F-43 duplicate vendor invoice check

    Hi All, Generally we use F-43 transaction for direct posting, there we will give document date, vendor date, Amount, and reference number etc etc.. among those details these four are majors. that is for a duplicate invoice chek we will check these fo

  • Reverse Credit Line item from Profit Center.

    Hello Expets May any body say how can I reverse a cr line item from profit Center in which extra credit line item came through PO once and through internal order once i.e bcoz in PO there was link once  Profit center as well as Internal order. If I d