How to trigger a workflow when a info record is changed?

Hello All,
I would like to trigger a workflow when the conditions from a info record are changed?
What business object should be used?
Thanks in Advance
Rui

Hi,
for these kinds of issues,
foirst check if a uefull event already exists in the system
for this you first actiave the event trace: SWELS.
Then you change the info record.
And then you read the event log with SWEL.
If there's no event, you may eventually have to create it in an exit with SAP_WAPI_CREATE_EVENT fm
Kind regards, Rob Dielemans

Similar Messages

  • How to trigger a workflow when data inside a table changes

    Hi
    How to trigger a workflow when data inside a table changes ??
    We need to trigger a workflow when STAT2 field value in PA0000 table changes.
    rgds
    Chemmanz

    Make use of Business Object BUS1065. In this business Object you have an attribute Status which you can use. There are a number of events that will get triggered when the status is changed.
    Thanks
    Arghadip

  • How to trigger a workflow when a bank record of an employee is delimited

    Hi Friends,
      I want to trigger a workflow when a bank record of an employee is delimited(Infotype  IT0009). When delimiting the bank info, the old record's ENDDA is changed and a new record is created with the BEGDA. In this case two events are triggered one is BANKDETAIL-CREATED and other one is BANKDETAIL-DELETED.
    Which one should i use to trigger my workflow.
    Note : If we use the creation of new record for triggering workflow, then in case when the record is created for a new employee then the workflow will be triggered. To control this can we check whether there is an existing entry in IT009 for the employee or not. If an entry already exist then trigger the workflow else not. Is this ok? Please advice.

    Hi sapient,
    Here i think none of the events would actually help you in achieving what you want because you want to trigger the workflow when the account is delimited not when the account is either created or deleted.Please look for some other information to trigger your workflow.Will get back to you if i had any ideas.
    Thanks,
    Bhumika

  • How to Trigger a Workflow when work order is created

    HI Everbody,
    Please help me in this.
    When Work order is created , system has to trigger work flow to notify the person who has submiitted the request . Use the Created by field on the associated notification field to identify the person.
    Thanks in Advance,
    Ram.

    Hi Ram,
    May be you can go thro the following links to know more about it.
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/8b753a5e831e45e10000000a114084/frameset.htm
    Work Flow Triggering when purchase order is released
    http://help.sap.com/saphelp_nw04s/helpdata/en/71/a8a77955bc11d194aa0000e8353423/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/frameset.htm
    Hope these help.
    Regards,
    Raj

  • How to trigger a workflow using generic object services?

    Hi Experts,
    Let me know on how to trigger a workflow using generic object services.
    My requirement is to trigger the FI document reversal document using Object services.
    Any info or docs relevant to this, please share with me..
    Thanks,
    Dinesh.

    Dinesh,
    First of you need to check if the transaction has a BO (in released status) published to use the GOS.
    These are the pre-requisites for GOS
    http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
    Once done.. check that you have valid workflow linkages active for this BO.
    Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start.

  • How to trigger a workflow in webdynpro programs

    Hi Experts,
    I am new to SRM Workflow, and I need to trigger a workflow in my webdynpro programs.
    But I don't know how to achieve it.
    I am using SAP SRM 7.0, so I want to use Process Controlled workflow.
    Any suggestions would be greatly appreciated.
    Thanks and Regards
    Wei

    Hi, thank you for the attention, and my requirement is as below.
    1. Creating a web dynpro program
    2. User can execute the program and input data on it. Such as Expense application, Leave application...
    3. When the user click the "Apply" button on the form, the application should be sent to the boss for approval.
    *** I want to trigger a workflow when the user click the "apply" button.***
    I have achieved the similar functions in SAP ERP systems, by generating Events in my custom programs.
    But I don't konw how to do it in SRM 7.0.
    Or it is impossible to achieve it, under Process Controlled workflow architecture.
    Thanks and Regards
    Wei

  • How to trigger email notification when users fail to reset your password in fim 2010 r2.

    Hi,
    how to trigger email notification when users fail to reset  your password in fim 2010 r2
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2

    Hi,
    How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
    Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • Trigger a Workflow when a date is reached in SharePoint Online

    I have created a simple list workflow (SharePoint Online) which emails a user, informing them a Document's
    Target Closure Date has been reached. The workflow works fine when started manually.
    I want to trigger the workflow only when Target Closure Date matches today's date.
    The best solution seemed to be to use a Retention Policy. So I went to:
    > Library Settings
    > Information Management Policy settings
    > Document content type
    > ticked 'Enable Retention'
    > Time Period:  Target Closure Date + 0 days
    > Action:  Start the relevant workflow.
    This worked only on two occasions - both were Saturday mornings, at 3.30am and 4.30am. I can see
    in this MS article the Expiration Policy timer job only runs weekly on SharePoint 2013, so can anyone confirm that the schedule is the same in SharePoint Online?
    If so, is there any way in SharePoint Online I can trigger a workflow when a date is reached?
    Thanks for your help,
    Alyosha

    Hi Alyosha,
    According to your description, my understanding is that you want to send an email to a user when the Target Closure Date was reached in SharePoint Online.
    The timer job of Retention Policy runs weekly in SharePoint Online, so we cannot use the Retention Policy to trigger the workflow.
    As a workaround, I recommend to create a workflow associated with the library to send the email when the Target Closure Date was reached.
    Here are the detailed steps:
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Select Pause until Date to set the workflow to pause until the Target Closure Date.
    Select Send an Email.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?

    HELLO THERE ,
    CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?

    Hello Neon,
    If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
    CALL FUNCTION 'SWU_START_WORKFLOW'
      EXPORTING
        task                  =
    *   LANGUAGE              = SY-LANGU
        user                  =
    *   SENDER_ID             =
    * IMPORTING
    *   RETURN_CODE           =
    *   WORKITEM_ID           =
      tables
    *   CONTAINER             =
    *   MESSAGE_LINES         =
        attachment_list       =
    A workflow can also be triggered by and event which is in turn triggered by a program.
    By the FM, SWE_CREATE_EVENT
    Example:
    w_key = 'Connie'.
      w_creator-otype = 'US'.
      w_creator-objid = 'SAPDEV02'.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype                       = 'YH_BUDDIES'
          objkey                        = w_key
          event                         = 'event'
         creator                        = w_creator
    *     TAKE_WORKITEM_REQUESTER       = ' '
    *     START_WITH_DELAY              = ' '
    *     START_RECFB_SYNCHRON          = ' '
    *     NO_COMMIT_FOR_QUEUE           = ' '
    *     DEBUG_FLAG                    = ' '
    *     NO_LOGGING                    = ' '
    *     IDENT                         =
    *   IMPORTING
    *     EVENT_ID                      =
    *   TABLES
    *     EVENT_CONTAINER               =
       EXCEPTIONS
         objtype_not_found              = 1
         OTHERS                         = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE: / 'EVENT TRIGGERED'.
      ENDIF.
      COMMIT WORK.
    Hope it helps you.
    Regards
    Indu.

  • Creating of incoming invoice automatically when documen info record created

    Hi all,
    I apologize because I am asking many questions on this forum during the last few weeks, but I have some problems which I can't solve by myself in one project.
    So, this time the question is about incoming invoices.
    Here is the situation:
    When our customer receives incoming invoice (in paper form) we scan it and send it to one Document management system. In that system we verify the invoice and approve it. After that step the document is released to SAP (only the document info record is created and that info record points to the original document (pdf file) in that DMS).
    Now the question is:
    Is it possible to automatically create incoming invoice (parked) when the document is released to SAP (it+s document info record created) and to create link between these two SAP objects? Basically it means that at the moment when doc. info record is created, the incoming invoice is created (only with mandatory data) and saved (parked).
    We need this functionality because our client wants to have the access to original document (pdf file) when he is about to finish the incoming invoice.
    So, is it possible to set up some parameters so that incoming invoice is created automatically after the document info record is created, and linked to that document info record?

    I was not aware that u have already done coding to create DIR in SAP. In that case u don't need to rely on status triggering, u may create the invoice prior to  DIR creation and then link it to the DIR.It can be done in the way u have mentioned. I.e. linking at the time of DIR with BAPI_DOCUMENT_CREATE.
    I doubt we have any direct link to Incoming Invoice from DIR. One of the options i can think of is linking DIR to EKPO(Purchase Order Item) which is mentioned in Invoice.
    Else u may need to add another object with object table "RBKP"
    Following link will help u in creating new Object for development of new screens [http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm]
    BAPI_DOCUMENT_CREATE2 is  the latest BAPI instead of BAPI_DOCUMENT_CREATE.
    Points Appreciated.

  • Throwing error when Creating  Info record

    Hai,
    When Creating Info record . I maintained standard Qty, Min qty ,price and Planned dely time .
    It is not saving and there is an error message that "Maintian all entries in Reqt fields" and Cursor is blinking at Planned delytime . and Not saved/
    Can any one solve my issue.
    regards
    Madhav

    Hi madav ,
    create inforecord me11
    vender name
    mat
    purchase org
    plant
    maintain that and enter,
    go to text  maintain, then click on condition hear maintain as per as the  requirement,
    go back
    click on purchase organization data  then save
    u will not get error .
    hope it will help u .
    thanks
    BIswa

  • Error material not maintained by purchasing when creating info record

    Hi Expert,
    I have an issue when creating info record, error says "Material ******* not maintained by purchasing". I've checked in MM03 purchasing view, all has been maintained and at the bottom there is message says "No plant-specific data exist". Accounting view also maintained. I've also checked in MARC table for this material and plant. It existed. I cannot see anything wrong on the material master setup but not sure why am i having this error...
    Please help.
    Thanks,

    Hi,
    Error says "Material ******* not maintained by purchasing" & you checked purchasing view has been maintained.
    OK. Just cross check following optionS
    Option-1: You creating info- record for material with combination of plant & vendor....check did the material have purchasing view for same  plant-the info-record you are creating!
    Option-2: If no purchasing view for material with same plant , just extend in t.code MM50 for E     Purchasing
    Option-3: Check the material for same plant, did Procurement type F (External procurement) is there
    Option-4: Check Profit Center in Plantdata/ sto-2 view of material.
    Regards,
    Biju K

  • How do I run a workflow when a folders contents have changed?

    Im a noobie to automator but slowly have been tapping into the usefulness of this new program. Ive created a simple workflow to add mp3 files ive downloaded into itunes which looks like this:
    1. Get specified Finder Items (ive selected a drop box on my desktop)
    2. Add files to Playlist
    3 Change case of Song Names
    4. Set Info of iTunes Songs
    When I run the workflow there seems to be no problems and it gives me confirmation that the execution is completed. However, when I check itunes it doesnt seem to have applied any of the actions I specified. Id also like to use this workflow whenever I drop new files ive downloaded into this folder. Ive tried searching the folder action scripts but cant figure out how to use my workflow ive created.
    I know there is probably a simple solution and hope someone can help me out.

    Ive added:
    1. Get specified Finder Items (ive selected a drop box on my desktop)
    1.1 Get Folder Contents
    1.2 View Results (shows the files in the selected folder)
    2. Add files to Playlist
    3 Change case of Song Names
    4. Set Info of iTunes Songs
    When I run the workflow within automator the songs are added to my playlist, but it doesnt change case of song names or set info.
    When I save the workflow as a plug in and attach as a folder action, the work flow works up until step 3, but doesnt set info. It also creates duplicate copies to my library.
    J.

  • How to Trigger a Workflow from ABAP Webdynpro

    Hi All Gurus,
    I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
    I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
    Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
    Regards,
    Pratima Jain

    Hi,
    If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
    But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
    There are 3 layers  1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
    2. Workflow
    3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
    for more documentation, please refer it on help.sap.com.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
    hope this helps.
    Best Regards,
    Saujanya.

Maybe you are looking for