Tutorial: Event Creation During Status Changes

Hello,
I tried to create the tutorial: event creation during status changes.
My problem is now, that I never get a mail in my Business workplace when I start the workflow. The systems says "Workflow started" and that was it.
Has anyone an idea where the mistake could be?
Message was edited by: Kirsten Schroeder

In the workflow header you can write text under the notification tab.
Also assign the message recipient.
Message was edited by: Amandeep  Singh

Similar Messages

  • Event creation with status management

    Hello esteemed gurus ... it's your friendly workflow noob again
    It seems once people get a sniff that there is a someone who knows a bit about workflow in the company, everyone wants a piece of you!
    So... I have been asked to setup a workflow that will trigger when a user changes a user status on an SD contract. I've done some reading and I believe I'm nearly there but need a little help ...
    I have setup event creation with transaction BSVZ for object category VBK, specified my status profile, and business object BUS2034 and I'm using the event "CHANGED", within this I have set a status restriction to particular status of my user status profile.
    In my workflow definition I have specified the start event "CHANGED" for my business object BUS2034.
    The thing is, the workflow starts for every change to the contract, whereas I was expecting it to only start when the particular status I defined in my status management was set in the contract header.
    Are there any additional settings I need to make in order to restrict the starting conditions of the this workflow?
    Many thanks once again.
    Neil

    Hi Neil,
    There is two options to restrict the workflow.
    First one is start condition. You can check the workflow log. If your required field is populated in the Workflow container you can use start condition to restrict the workflow. In the Basic data of workflow template, Start condition is there. You can use the condition editor to set the condition.
    If your field is not populated by default, then you can use check function module for this. You need to create one FM, and in transaction swe2, the FM needs to be Configured. The concept is, based on the Sales document number you can get the required field and check the condition inside the FM. If the condition satisfied just leave it. The workflow will be triggered. If the condition is not satisfied raise a Exception. So that the Workflow will not be triggered.
    Thanks,
    Viji.

  • Event triggering through status change

    Hi,
    Currently I am learning workflow. I came to know that events could be triggered even with a status change. Could anyone let me what does "status change" mean? It would be better if anyone give me a high-level view of an example related to this?
    Thank you,
    Raja

    Hi Raja,
    Take an example of Service notification.
    It can have differnt technical status like <i>Created, Inprocess, Technically complete</i> or <i>Released</i>.
    Based on the particular status, say when notification is <b>Technically complete</b>, you want to inform somebody, you can do it with workflow and status management.
    Hope it clarifies idea of status changes/ management.
    For more help refer:
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aee2453d11d189430000e829fbbd/content.htm
    Regds,
    Akshay

  • Trigger event even with Status change or status reason change

    Hi,
    My requirement is to trigger an event if there is a change in status reason. I am looking for the method which currently triggers an event if there is a change in status so that I can modify that. Any pointers please? If I was to do this with change in status which methods/events and classes handle this. I am working on workflows in E-recruitment (HR). many thanks for your help in advance.
    Andy

    Hi Andy - did you get any response to this or were able to figure out?  Our requirement is somewhat comparable (I think) in that when a Publication (of a Posting) gets 'Released', we want to send a couple of emails to various parties.  My intent is to simply create workflows to send the emails, but I cannot get any event to trigger, in order to in turn trigger my wfs.  A Publication is an infotype 5122 and I can probably react to the hrp5122 table entry being created/updated, but I would think there is a way via config instead??
    Keith

  • SD OVERALL STATUS CHANGE

    Hi Gents,
    The requirement is that, there is trial Sales Order is there, which will not be invoice nothing will happen, it will just for trial...
    So what i need is that once that trial is expire (7 days assumption), is there any way that this sales order should not show in Open Sales Order.
    Rejection line item will not work for this as client not required.
    So what i am trying that, is there any way to change the OVERALL STATUS to COMPLETE manually. So that i can go for back ground scheduling.
    hope you will gents will respond asap.
    Thanks in Advance !!!!
    Regards,
    Kundan

    to create events from a status change use transaction BSVW see Maintaining the Assignment Between Status Change and Event - Roles in Workflow - SAP Library.
    use the event to start a workflow, after approval/rejection use a background method to change the user status.

  • Benefits- Status change

    hi,
    my client wants to configure some benefit plans in which the activation of the coverage adding date is the 1st of the next month of the event. The status changes on 1st of the next month. eg marraige
    How do i configure this ?

    Hi,
    Try this.
      SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
    Regards,
    Lokeswari.

  • System Status Change for Project Definition

    Hi,
    I am working on a requirement to notify the Project Manager when the Project Status changes to REL.
    I couldn't find any user exits where I can add the code to send an e-mail notification at the time of status change of the Project Definition or the WBS elements within the Project.
    I checked for events in Business Objects BUS2054(WBS) and BUS2001(ProjectDefinition) which might get triggered at the time of status change. I couldn't find any events relevant to Status Change.
    Any ideas how to handle this requirement ?
    Regards
    Bhooma

    I found a solution to this issue.
    Regards
    Bhoooma

  • Coding for event "status change" in opportunity

    Hello,
    i need to process own coding if an opportunity was changed to status "lost".
    How would you realize this? Where do i find a god point to add this own coding which shall be processed on status change?
    Thank you
    Best regards
    Manfred

    Hi.
    It's very simple.
    You create your function module using the same interface that another ones in this transaction.
    Pick up an example, for instance the entry:
    BUS2000111  |  end of document processing (50)   |  priority: 40  | object STATUS | Event: after change | Atribute: <*> | function module: CRM_OPPORT_H_PROB_SET_EC
    Use the same interface for your function module:
    FUNCTION CRM_OPPORT_H_PROB_SET_EC.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_OBJECT_NAME) TYPE  CRMT_OBJECT_NAME
    *"     REFERENCE(IV_EVENT_EXETIME) TYPE  CRMT_EVENT_EXETIME
    *"     REFERENCE(IV_EVENT) TYPE  CRMT_EVENT
    *"     REFERENCE(IV_ATTRIBUT) TYPE  CRMT_EVENT OPTIONAL
    *"     REFERENCE(IV_HEADER_GUID) TYPE  CRMT_OBJECT_GUID OPTIONAL
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    All these parameters will going to be updated with current info while you are creating your opportunity document.
    In IV_STRVAL_OLD you will find info about the previous status (which is the object assigned), and in IV_STRVAL_NEW you will find the info about the new status that was assigned in the opportunity document.
    So what you have to do is:
    1 - create a Z function module with this same interface.
    2 - Assign it to object STATUS_H, on CRMV_OBJECT_FUNC view using SM30 transaction. Note: I am just not sure if you must use object STATUS_H or STATUS.
    3 - Create the event that must be:
    BUS2000111 | 1 - Imediatelly | Priority: 99 for instance | object: STATUS_H or STATUS | event: AFTER_CHANGE | Atribute <*> | your function module | check for function on header | callback: empty
    This is better than use the ORDER_SAVE badi because it executes your function module as soon as you change the status.
    I guess that using the CRM_ORDER_STATUS badi as it was sugested is also a good option.
    Regards.
    Susana Messias

  • Event creation in BO for trip changes

    Hello Experts,
    I wanna create an event which gets triggered for all the trip changes except for Status change of trip.
    Kindly suggest me on how to create this kind of event.
    Thank you.

    Hello Arghadip,
    Sorry for the delay in replying.
    I was testing the changes as you suggested and it didnt work.
    I think I was not clear in explaining my problem:
    Wait Event is being put before AP team approval. So that whenever anyone changes the trip before AP approval, the workitem is deleted. Now the requirement is that after AP team approves, none of the employees should be able to change the trip. For that I had to change the status of the trip, which I successfully did. But when I change the status, this event is getting triggered and the workitem is getting deleted.
    Kindly suggest me as how to resolve this issue.
    Thank you for your help.

  • Which method is used for event creation

    Dear All,
    My client has more then one Purchase Organization. Workflow for Purchase order release very from pur org to pur org. For example - workflow WS92000030 is trigger when PO is created for India pur org where as workflow WS92000021 is trigger when PO is created for US pur org.  
    I checked and found that same Object Type - BUS2012 & event - RELEASESTEPCREATED is used in all Pur. Org PO release workflow. Also I found in Transaction code - SWETYP that Type linkage activate for  BUS2012, RELEASESTEPCREATED in all the PO workflow - WS92000030 & WS92000021.
    As per my knowledge, event can be created in various way such as Function module, Change document, General status management, Business Transaction Events etc.
    Can some one guide me, how can I found that which method is used for event creation in different pur org?
    How can I fould what is the fuctional module used for event creation if Fuctional module used for event creation. 
    For your information, I can see in T. Code - SWUO that 'Result dependent on a check function module'  for all the workflow - WS92000030, WS92000021 etc.
    Thanks in

    Hi Sahu,
    I dont think they have used the Function module or change document or any other kind of methods to trigger the workflow. This is because RELEASESTEPCREATED method is a standard method and it will be triggered by standard SAP. They can not make changes in standard sap saying RELEASESTEPCREATED should be triggered for this Purchase Org .
    Istead what i think is, they might have given the Event Condition for each workflow.
    In SWDD>> basic settings>> Start Events, we can give condition on triggering the workflow.
    Please check this.
    Regards,
    Gautham

  • Process flow for the Mid-year Status Changes based upon the Qualifying Even

    Hi Experts,
    I'm looking some information for the process flow for the Mid-year Status Changes based upon the Qualifying Events. Basically, I need to know, what would be the impact of these changes on various info types (Via IT0014 - Deduction changes & so forth) and the things that needs to be considered during it's Configuration and the things that needs to be checked due to the occurrence of the change. I would greatly appreciate any kind of help/document.
    Thanks a bunch in advance,
    Thanks,
    Exertive.

    Hello guys,
    Can anyone has any kind of input on this? Basically, I need to know the procees for Mid-year status changes based upon Qualified events. Any kind of help is greatly appreciated.
    Thanks,
    Exertive.

  • Error: 3816: Local System Creation during install was not successful.

    Hello,
    This is our first time installing Oracle Wokflow 2.6.3 Standalone.
    We are having problems with the Event Manager.
    When we access the event manager pages:
    … pls/wf/wf_event_html.listevents?resetcookie=T
    …pls/wf/wf_event_html.listsystems?resetcookie=T
    etc.
    We get this error:
    Error: 3816: Local System Creation during install was not successful. Please review the install log file for errors.
    Error Stack:
    WF_EVENT_HTML.isAccessible(EVENTS)
    WF_EVENT_HTML.ListEvents()
    •     The installation was successful.
    •     We cannot change the Local System in the Global Workflow Preferences option.
    •     The table WF_systems is empty.
    •     Should the local system appear in this table?
    Thanks

    Software component sap.com/LM-TOOLS with version 7.00.9.3 is found on the system but in the stack it is listed with version 7.00.9.0.
    Software component sap.com/SAP-JEECOR with version 7.00.9.1 is found on the system but in the stack it is listed with version 7.00.9.0.
    You are trying to upgrade a system with the lower version of sap.com/LM-TOOLS and sap.com/SAP-JEECOR. The other thing I notice is that if you are upgrading to  EhP4/EhP1 NW then the version of LM and SAP-JEECOR should look something like 7.01.3.0.
    Are you using MOPZ to download EhP's ? As the error message says synchronize the system with SAP Solution Manager and then generate a new stack file.
    Hope this helps.
    Thanks,
    Naveed

  • ERecruiting - Triggering of mail when candidate status changes

    Hi All,
    Is an email generated from the system, when a candidate status is changed?
    Say for example if the Activity of an candidate is changed to "Status Change - Rejected", will an email will be generated?

    Hello,
    some general thoughts at the beginning:
    Candidates do not have a rejected state. Candidate states are profile locked and profile released. Only applications and candidacies have a rejected state. It is very important for a technical view to have the obect types in e-recruiting very clear or you will get into big trouble sooner or later.
    SAP delivered workflows are examples. They do not fit a production environment. Also the sap delivered activity and process customizing is an example (and no good one) you will have to design this according to the business needs in the project.
    For the workflow question. It is possible to trigger a workflow by activity creation and activity completion. For status chage activities ths is the same as they are completed directly and never have status planned. The BOR object ERC_ACTIV contains both events, activtycreated is triggered directly, activitycompleted needs a note to run properly.
    It is also possible to trigger a workflow by a status change of an object. The super BOR object ERC_OBJECT contains a statuschanged event, which is raised for all status changes of NA, NB, NC, ND and NE objects.
    For rejection there are basically 2 scenarions.
    Scenario 1
    When rejecting a candidacy by creating a rejection activity you trigger a workflow based on the activity to create the corresponces activity automatically. You can either send it directly or just create it to allow the user to have an individual text. (I do not go into details of this workflow according to the chosen application-candidacy-relation, that would go to far at this point).
    Scenario 2
    When rejecting a candidacy directly in minimum data entry you do not have a status change activity as the status is set directly. In this case you have a workflow which is triggered directly by the status chang which again creates (and sends) the correspondence activity.
    Of course you need checks to ensure the two workflows are not mixed.
    Kind regards
    Roman

  • Question over the appraisal status change

    Dear All,
    Our appraisal has ( following the flexible template ) has planning, mid year review and final phases. With in each main status we have sub status configured. Example - In the planning stage ( say in the month of February ) , employee add objectives, change weights etc and send to manager for approval. If manager approves, the document status will be changed from planning  to mid year status and employee's form is changed to the display mode ( so he cannot update objectives / weight etc)
    Then again in the mid year  status ( say a few months later - June ist ), the employee needs to review the appraisal, add or update the objectives etc and submit for manager approval.
    My issue is -  After the employee's appraisal form is changed to display only from planning to review status - How the employee's appraisal  form can be changed from a read only to change mode in the same status ? As it is necessary for employee to add/ update in the form.
    I am seeking the best approaches for the below as I am considering two options ( as mentioned below )
    1)   For the  mid year status  , I will configure a sub status ( called start mid year ) and attach a push button. The employee select the push button during the mid year  period ( say June 1st ) and this push button triggers the status change from Mid year to Mid Year / Start Mid year. We also plan to apply a custom implementation for  BADI for column access and badi  (HRHAP00_COL_ACCESS) will decide the access control for columns etc.
    2) The other approach I am considering is we are considering a workflow (INFO_APPRAISEE_CHANGE_REVIEW ) to notify th employee 7 days before the mid year review starts. Can this workflow trigger the status change or read the column access from the BADI (HRHAP00_COL_ACCESS) ?
    Any other simpler approaches ?
    I saw in the Process config ( tabs and process ) that we can define the phase with dates and status / substatus etc. Can this be useful for the above scenario. For eg. On June 1st when the mid year review start, can the status be changed  like from Mid year  to Mid Year / Start Mid year ?
    Please let me know . Greatly Appreciated!
    Aneez Hameed

    Hi Aneez, both options are great,   HRHAP00_COL_ACCESS is configurable at each sub-status, so you have many options.  You can have the manager "approve" at beginning of year, but keep it in "in planning" by having a 3rd sub-status.
    You can have the employee or manager have access to the pushbutton so that mid-term can start. 
    you can also do a workflow option where it is changed automatically, your option 2.
    the final option is the HR adminstrator can change the status, by doing a mass select in phap_admin and then they change to the status to move it to "in review" with all of your mid-term substatuses. 
    they key to making this work is the additional config that goes along with HRHAP00_COL_ACCESS.  here you will want to do define a Z table with the following columns:
    object id - your template ID
    role - which are the same roles values defined at your template - apee for apraisee
    template status - integer - represents status ID
    template sub-status - ID
    column id - FAPP, OBJO, etc..
    availability indicator (char) - here you will configure H, X etc... which the badi uses to know how to handle it. 
    best regards - michael

  • Picking status change in Outbound delivery

    Hi All,
    I have to create a start condition in PPF actions, whihc is nothing but BADI... whihc will trigger when the Pcikinf status is changed....
    I have these threee condtions:
    Action will be triggered by outbound delivery order status change:
    1.     Picking planned status at header level changed after warehouse order creation/cancellation  (corresponds to Focus2 status      0 u2013 Forecast);:
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back from u201CNot startedu201D to u201CPartially completedu201D and back ;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    2.     Picking status changed at header level after execution each of warehouse order in drop location (corresponds to Focus2 status      1 - BeginPicked);
    u2022     from u201CNot startedu201D to u201CPartially completedu201D and back;
    3.     Picking status changed at header level after execution of last warehouse order in drop location (corresponds to Focus2 status      2 - Picked):
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    any help????
    I want to know how can i code this??

    Hi,
    In the BADI, you can get reference to Delivey Object
    lo_dlv_ppf TYPE REF TO /scdl/cl_dlv_ppf.
    lo_prd                TYPE REF TO /scwm/cl_dlv_management_prd.
    get delivery reference
      lo_dlv_ppf ?= io_context->appl.
    Get the attributes DOCID, the find the status of the documents accordingly.
    Now get the instance of the Delivery management:
    lo_prd = /scwm/cl_dlv_management_prd=>get_instance( ).
    Then read Delivery header and items using the below method based on DOCID:
    APPEND is_docid TO lt_docid.
      ls_include_data-HEAD_PARTYLOC  = abap_true.
      ls_include_data-HEAD_DATE      = abap_true.
      ls_include_data-HEAD_TRANSPORT = abap_true.
      ls_include_data-ITEM_DATE      = abap_true.
      ls_read_options-data_retrival_only = abap_true.
      ls_read_options-mix_in_object_instances = abap_true.
    CALL METHOD lo_prd->query
            EXPORTING
              it_docid        = lt_docid
              iv_doccat       = is_docid-doccat
              is_read_options = ls_read_options
              is_include_data = ls_include_data
            IMPORTING
              et_headers      = lt_whr_headers
              et_items        = lt_whr_items.
    You can find header status in lt_wr_headers.
    Or based on DOCID, get status from table /SCDL/DB_STATUS.
    Hope that helps
    Vinod.

Maybe you are looking for