Workflow Events for transaction FP09

Hi All,
The requirement is to trigger a workflow when the user posts a return lot through transaction FP09. I used the event trace but this transaction does not fire any event when we post a Return Lot. I tried to find some user exits but with no luck. Is it possible to fire an event when a field in the database table changes ? The table is a standard table(DFKKRK) and the field is STARS. When this field holds a number 5 then it depicts that the document is posted.
Best Regards,
Sudhi

Hi Sudhi,
Have you checked for a BADI? It is not possible to fire an event when a field in the database table changes if no change docs exist.
What specific industry solution/extension are we dealing with here? Both the transaction and table are not available at my installation.
Ramki Maley.

Similar Messages

  • Workflow event for  material reservation(mb21),QA02 transaction

    Hi,
      I created material reservation(mb21), but no event was triggered for the transaction.
      I checked for event in swel.(event trace is on).
      please let me know how to handle this.
      please also let me know the event of qa32.

    Here you go:
    MB21 ==>
    1. Create a subtype of BUS2093. (Through SWO1 T.code)
    2. Create an event "Created".   (Through SWU_EWCD T.code)
    QA32 is a report for Inspection Lot. Hence I infer you probably want creation event for a inspection lot.
    QA01 ==> Inspection lot
    BUS2045    --> Inspection lot
    Follow same steps of 1 & 2 above for the "Created" Event

  • BOR type and event for transaction ABF1

    Dear experts,
    I am looking for BOR type and event to use in the workflow for transaction ABF1.
    Thanks.

    Hi,
    You can use event trace to check the events for a particular Transaction.
    1. Go to Transaction SWELS and Switch on the Event Trace.
    2. Then post your document using ABF1.
    3. Switch off the trace using Transaction using SWELS.
    Then check the transaction SWEL. If it displayed any BO and Events then you can make use of it.
    If it is finance related transaction, then you should check for the business transaction Events.
    It can be done using wizard SWU_EWBTE.
    Please do a search for Business transaction events in SDN.
    Thanks,
    Viji.

  • FI - BTE events for transaction F110

    Hi all,
    I'm quite new to the FI module and have a question regarding Business Transaction Events. I tried by searching the forum but haven't found exactly what I was looking for, so if someone could help me out I'll be forever thankful!
    The problem is the following: when I create a new customer invoice I fill in various fields, and 2 of them are: Assignment number and Document header text (ZUONR and BKTXT respectively). After saving, if I go to FB03 and view the doc number I just created, I can see these two fields (and they also appear in their respective tables). However, the issue I have is that when I execute transaction F110 for the customer I created and run the payment, I get a new document number (which is basically a copy of the first) that doesn’t have these fields informed with the original values. Therefore, my aim is to code in some type of user exit / BTE and transfer the values to the new doc. Does anyone know what event I could use or how this could be approached?
    Any help would be of use, thanks in advance!
    Adi

    Use event for F110 is 00002040. Use T-Code BERP - to activate this FIBF, you need put in Vendor Master Data communication type SMTP, when run F110 the program dispach PDF attached to email.
    Step 1 - T-Code BERP to find 00002040 – This is a Function called SAMPLE_PROCESS_00002040, copy with another name i.e. ZZZ_PROCESS_00002040
    Step 2 – T-Code FIBF -> Option -> Product -> ….a Customer, Write product name at your choice (for example ZMAIL), make sure the put this active.
    Step 3 – T-Code FIBIF -> Option ->Process Function (or Module) -> …. A Customer.
    Process = 00002040
    Module Function = ZZZ_PROCESS_00002040
    Product = ZMAIL (name of product define by you in stpe 4)
    hope this will help

  • Std Workflow events for HR Scenarios

    Hi I am looking for standard workflows for the following scenarios. Can someone tell me if there are any standard workflow events or should I go for creating a new WF event.
    1.Legal Name change---Is there a Wf that triggers some notification.
    2.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
    3.Hire Action in SAP--Is there a Wf that triggers some notification to HR team and Dept mgr.
    4.Leave of Absence--Sap notifying HR team.
    5.Initial change(IT 105)--Payroll Admin sends notification to associate as well as security team.
    6.Marital Status Change.
    7.Termination(Voluntary and Involuntary)--Notification to Security team.
    8.Probation--Sap reminds the HR team that date is due for employee to return.
    I was thinking that for every scenario we have to create a new wf event. I may be wrong but is there a standard wf for the above.
    Thanks in advance.

    There are std. workflows for this, but it will depend upon your configuration. You can trace whether a workflow is getting triggered from txn: SWEL.
    The better option is to use the MAIL feature of dynamic actions. Here's the process:
    Enter the name of the feature which defines the characteristics of the mail.
    Example
    Infotype  Field  .....  Ind.    Var.function part
    0001     SACHP         M       M0001
    A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
    In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
    Thanks
    Sankhadip
    <b>Reminder: Points should be awarded on answers</b>

  • Workflow  Issue for transaction  IMA11

    HI All,
    I am replacing standard WF copying standard one, and decativated standard one and so that new workflow should only be triggered.
    Issue is, In SPRO goto below path:
    -Invetset management-Appropriation Requests-Approval-Activate Event-Linkage for Workflow Task
    There is a setting which shows  standard workflow and actiavte button which make sure that if this is activated. then only workflow approval process should be run and in transaction IMa11 approval button shld be greyed out.
    But in my case I am not able to config my new WF No. there and as i had decatiavted older workflow so In SPRO its showing deactivated status and making approval button active and because of that approval  button is becaming active and now user able to approve request from IMA11 and beside this, workflow is also running for approval process.
    so process would at a  time either workflow shld approve or tarsnsaction.
    Now I want to know how i will config new workflow number in SPRO by replacing older WF No.

    Hi Sandeep,
    We have  a transaction SWETYPV to see and chaneg Work flow linkages.
    Please try out there.
    Hope this helps.

  • Maintain Equipment Category u2192 Generate Event for Workflow

    Maintain Equipment Category u2192 Generate Event for Workflow
    I activated this,
    Now what should i do further to receive a workflow mail when an Equipment is created for this Equipment Category
    Thanks

    Hello
    Maybe this can be helpful
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/52/e4fac8e31111d58d3a0000e8284931/content.htm
    You can Synchronizing Fixed Assets and Equipment and in this scenarier there are workflow you can send out.
    BR/Håkan

  • Correlations in Workflow - wait for Delete event problem

    Hi All,
    I am working on version ECC5.
    I have a workflow that needs to wait for any changes to i0008, i0007, i0509 and i2001 for the person who is the subject of the workflow.  I have used correlations to do this and it is all working fine except for the Delete event.
    For each infotype I wait for each event ie. Approved, Changed, Created, ApprovedCancelled and Delete.  When the events are published the wait event is triggered and the workflow goes to the next steps where it does a recalculation,  fires off a new workflow and ends the current one.  This is working for all of the events except Delete.  The Delete event is set up exactly the same as the rest, but somehow the workflow wait event is not triggered.  It is happening with the Delete event for all the Infotypes I am waiting for.
    Does anybody have any suggestions as to what may be the problem. 
    Thanks
    Sandra

    Arghadip/Martin thanks for your replies.
    Yes, the delete event is being published.  I am using the same object e.g BasicPay for the delete event that I am using for the other events - Approved, Created etc. that are working.   The correlation and the wait for event steps are set up exactly the same way as they are for the events that are working.  I find it curious that the delete event doesn't work for any of the infotypes.   Why?  Could it be that when a record is deleted the object no longer exists?
    Any suggestions?
    Thanks
    Sandra

  • Business transaction Event for FB50

    Hi all,
    what is the business transaction event for FB50.
    Thanks all,
    Helps will be appreciated. for FB50.

    Hi
    Please use the below Tcodes to find the exact FM for your BTE
    FIBF Maintenance transaction BTE
    BERE Business Event Repository
    BERP Business Processes
    BF31 Application modules per Event
    BF32 Partner Modules per Event
    BF34 Customer Modules per Event
    BF41 Application Modules per Process
    BF42 Partner Modules per Process
    BF44 Customer Modules per Process
    Regards
    Jyo

  • Custom processing for every Workflow event

    Hi,
    As soon as any workflow event is raised, I want to read
    data from my custom Z tables and do custom processing for that event.
    Thanks,
    Sudheer

    Hi Sudheer,
    You say <i>check if that event is in our custom table</i>. No need to reinvent the wheel, the event linkage fulfils exactly this function. If you want to perform an action for an event then add the event into the event linkage (tx. SWETYPV) instead of - or as well as - your custom table. It doesn't matter if you have the same action in there for 1, 50 or 100 events.
    You can have more than one linkage per event and you can start more than just workflow. The receiver function module is what 'receives' the event. It's just that: a FM to be executed when an event happens. This is the event manager's job, which is what you're trying to duplicate as I understand it. The receiver can either be a workflow or anything you choose - just follow the standard FM interface required here (have a look at any other linkage's FM for the parameters).
    All that aside, it sounds like somethng I'd do in a workflow. Either as two extra steps in the beginning of my workflow or as a second workflow. (Background step to log data and a sendmail step to notify users).
    Cheers
    Mike

  • How to find the BTE event for FBCJ transaction code

    Hi All,
            i need to find the BTE event for Finance related transaction codes.i checked in the SWEL transaction code, didnt find any event triggered and the standard BADI doesnt suite my requirement.The transaction code  which i tried is FBCJ.can anyone help me how to find the BTE event for the above mentioned transaction.
    Thanks in Advance,
    lokesh kumar.K

    Hello Lokesh,
    The following is one of the process of finding a BTE and implementing it.
    (1)Goto transction FIBF .Execute it with Attribute type = 'A'. Then in the menubar Environment->Info System (P/S )
           Go through the list of BTE's available with the description available beside.
    (2)Select the BTE you want to implement.
    (3)Press button Sample function module
    (4)This brings you to SE37 - Copy the sample function module to a Z-function module (First create a new function group for the function module) . Note: The name of the Z-functionmodule is not important
    (5)Edit the code in the new function module
    (6)Go back to transaction FIBF - Menu Settings->Products -> Of a customer and create a new product whicj identifies the new product . Remember to mark the Active field.
    (7)Go back to FIBF menu Settings->P/S function modules->of a customer - Create an entry that links the BTE and Product with the new function module
    Hope this will help.
    Regards,
    Samson

  • Terminating Event for BUS2017 Custom Method

    Dear Experts,
    I have an issue with the Terminating Event of the Workflow for BO : BUS2017. The event is getting triggered but receiver is not being picked.
    I have created two events GR_103 and POST_105 in the Custom BO ZBUS2017 by delegating it to BUS2017. GR_103 is the triggering event for my workflow which I have triggered in the POST_DOCUMENT Method of the Implmentation for BADI : MB_MIGO_BADI.
    GR_103 is triggered while doing MIGO (Goods Receipt) for Movement Type 103. My Workflow is triggered perfectly and then I have used a Dialog Asynchronous Task in which I have called the MIGO Transaction for Releasing the GR Blokced Stock using the Movement Type 105. I have created a Custom Method POST in the BO ZBUS2017 and I have used the FM: MIGO_DIALOG to call the MIGO. I am trying to raise the POST_105 event in the Method MB_DOCUMENT_BEFORE_UPDATE of the Interface IF_EX_MB_DOCUMENT_BADI.  I have defined the Terminating Event for the asynchronous Task as POST_105.
    Now the event POST_105 is triggered, but SWEL says 'No receiver entered'. Even the SWEINST shows the object data as the current Work Item along with Object Key, but still receiver not picked. When I try to trigger the same event in a test report by using call transaction, then the event triggers and work item gets completed without any issues.
    Please advise.
    Below is my terminating event code.
      READ TABLE xmseg INTO wa_mseg INDEX 1.
      CONCATENATE wa_mseg-mblnr wa_mseg-mjahr INTO l_objkey.
      IF wa_mseg-bwart = '105' .
        CALL FUNCTION 'SWE_EVENT_CREATE'
          EXPORTING
            objtype           = 'BUS2017'
            objkey            = l_objkey
            event             = 'POST_105'
          EXCEPTIONS
            objtype_not_found = 1
            OTHERS            = 2.
      ENDIF.
    Regards,
    Raju.

    Have a COMMIT WORK after the function call. (At least test it - I am not sure if it will have some effects in your BADI - at least you will know whether the issue is about missing commit).
    And please use SAP_WAPI_CREATE_EVENT instead of the old function you are using.
    Also, make sure that the events will look exactly the same in event monitor SWEL when triggered from your code and when using test tool. Maybe there is some minor difference/mistake (object key, etc.) that you haven't noticed.
    Regards,
    Karri
    Edited by: Karri Kemppi on Feb 7, 2012 8:14 AM

  • BOR method for transaction FV60 - FI invoice creation

    All,
    I want to create a workflow step to create an incoming FI invoice.
    This is done using transaction FV60. Now, I call this using BOR object BKPF method CREATE.
    But this is an async method which only triggers event CREATED from object FIPP. A different object.
    I am able to catch the event for the termination of the task, but how do I know for sure this is the correct FIPP belonging by my just-entered FV60?
    Or is there another way to call FV60 in a workflow? It has to be one of many steps.
    Situation:
    The trigger for the workflow is an incoming image from the scanner.
    Workflowstep1: display image and determine type of invoice ( MM / FI ) and send it to person 2.
    In case of FI:
    Workflowstep2: FV60 for creation invoice and send it to person 3
    Workflowstep3: FIPP-CHANGE for entering additional data and send it to person 4
    Workflowstep4: FIPP-CHANGE for checks and approval,
    In case of MM:
    Workflowstep2: MIRO for creation invoice and send it to person 3
    Workflowstep3: BUS2081-EDIT for entering additional data and send it to person 4
    Workflowstep4: BUS2081-EDIT for checks and approval
    End step: booking of the invoice.

    The process I used in my project was is this:
    the user receives the image -> creates an invoice -> links the image to the invoice
    I created an event from the change documents of the dms object, when the DMS object was changed I used a function module as the receiver of the event (DRAW.Changed) and in it checked if the dms object was linked to an invoice. if so I raised another event to close the task (DRAW.LinkedToInvoice).
    Now the terminating event will be on the DMS document and you should have it's key in the beginning of the task.
    The link to the document was done by classification of the DMS document (incoive number & year) but it can also be done by creating a dms object (there isn't a standard one).

  • WorkFlow event

    hello everybody ...
    Please help me as to how to create a workflow event and how to trigger it when my me21n transaction is completed.
    what are the steps involved..
    Please need this quite urgently.....

    Why use SAP Workflow?
    SAP Workflow ensures " the right work is brought in the right sequence at the right time to the right people". It is a tool designed to facilitate and automate business processes that require tasks to be performed by people. Ideal for casual or non-SAP users, since all the work items can be performed outside of SAP by simply responding to an email, SAP workflow can be linked to Microsoft Outlook or Lotus Notes. Each step of a business transaction can be easily monitored and processes are completed from the beginning to the end. Workflow allows process owners to keep an eye on deadlines, provides statistics on the length of time to complete work processes, determine the workload with regard to individual employees and save processing time.
    Since Workflow delivers work items to employees automatically via email, they do not have to wait or inquire about the status of a particular transaction. SAP Business Workflow can also be used to respond to errors and exceptions - it can start when predefined events occur. For example, an event can be triggered if particular errors are found during an automatic check of the data SAP workflow is particularly useful when there is a business process involving more than one person, when an automatic notification can replace a manual communication and when there is a defined set of individuals and/or documents implicated. It organizes one's work, alerts users and directs traffic by sending work items - once the user executes the work item, then another one can be sent to another user. For example, a Manager could use workflow to approve a vacation request from an employee. The workflow application would ensure that each person involved uses the correct online form and successfully completes their step before the planned leave was entered into SAP - either by an Administrator or automatically. By the same token, if someone registers for a training class, Workflow can act as an alert tool by notifying the supervisor in question or reminding the individual of an upcoming class.
    Before implementing SAP Business Workflow, organizations should start by asking a series of questions, such as: - Which HR processes do we want to automate? - To what extent can we change current procedures and pass them over to electronic control? - What steps are these procedures made up of? - Who are the individuals involved and what are their roles? - How do we get the Workitem to go to the right people?
    Even though Workflow can be implemented via user-defined tables without the Organizational Management component in place, having a pre-defined organizational structure adds tremendous value and saves time. A clear reporting structure made up of positions and position holders that is maintained by the HR department, ensures the ongoing ease-of-maintenance effort. The ability of HR personnel to add and delete users from positions as people come and go, without affecting your core workflows, is a tremendous long-term benefit. If you have Personnel Administration in place, employee's email addresses can also be maintained by the HR department in addition to employee's respective Time/HR and Payroll administrators who might be involved in the Workflow.
    There are basically three options for connecting workflow to external email: Microsoft Outlook/Exchange, Lotus Notes or SAP Connect and Internet Mail. A key factor in SAP R/3 4.6 implementations and upgrades will be the use of a Web browser as the main workflow interface.
    Benefits of SAP Workflow
    Although the advantages gained by using workflow are not of financial nature, the time saved by optimizing processes could easily be translated into money. - The quality of your processes will be assured by sending relevant information directly to the user. Managers don't have the time to search for information. For example if an employee obtains a qualification as a result of hard work or training, their Managers can be notified immediately. - Cycle time is reduced by providing all the necessary information needed: people can check their list of pending tasks and determine which tasks can be completed the next day without any negative impact. I.e. A Payroll Administrator might be notified immediately of an employee address change via ESS that might implicate taxes. - Workflow allows to monitor deadlines.
    It could be used to remind employees of upcoming performance reviews or training or to send payroll year-end tasks items to the relevant Payroll Administrators. Deadline handing ensures that users perform the tasks within the time planned. Escalation measures ensure that the failure to meet a deadline can be corrected by other means. - Users can see at a glance how the process works and who will be selected to perform the different tasks, which creates a transparent work environment. - SAP contains Workflow templates, which can be used as a reference providing more than 200 Workflow samples. - Implementing Workflow will save costs. Ask yourself how much time is spent gathering information, getting hold of people, logging into different systems and trying to understand who to give a task to? How often does this current process fail and how labor intensive is it to fix it? Workflow reduces time and effort spent and the savings in days can be considerable.
    How does it work?
    There are several components of a workflow: Workflow Definition, Work Items, Triggering Events and at the Receiving end the Organizational Structure. The workflow definition is created in the Workflow builder and is made up of the various steps. Each step of the workflow definition can be a task pointing to a SAP transaction or a decision. A decision might contain specifications about agents and deadline monitoring for a step. The workflow is started either manually or by the system at runtime. For the system to start a workflow, the workflow definition must contain a triggering event (for example the event "Address update by the employee"). When the event occurs, the relevant workflow is started automatically. Tasks or Work items describe the activities involved and can refer to automatically executable methods (i.e. send an email to a supervisor) or they might need a user to execute them (i.e. supervisor has to go and click on a button in his workplace to approve something). Tasks refer to business objects, which are ABAP coding. Events are activities that trigger the workflow - one or several workflows at the time. Once the workflow is triggered, the definition flowchart determines when and in what order work happens. Work items are then received and executed in MS Outlook, Lotus Notes, mySAP Workflow MiniApp or the SAP integrated inbox. Alternatively, the workflow system can transmit e-mail notifications directly to any mail system, informing the user of the need to log in to the SAP system to execute the task. A work item is always assigned to one or more users. Once the task is executed, the work item vanishes from the other users' inboxes.
    Integration to Email systems
    Usually executable work items are received in the Workflow inbox. But casual SAP users, especially Managers might forget to check their inbox at a regular basis and so it makes sense to set up reminder emails, informing people via a batch job that they have work items in their inbox. Alternatively, an email can be sent directly to their Lotus Notes / Outlook account with a hotlink to the Workflow inbox. All emails, whether they exists in the form of Workflow notifications, Workflow Workitems, or just a standard SAP Office memo, are sent out of SAP through SAPConnect. This provides the all in one gateway between SAP and the mail server. The transport of workflow items between SAPConnect and the mail server (whether that's Lotus Notes or Microsoft Outlook) has been facilitated by SAP provided add-ons that are fully optimized for the different protocols required for each server. Lotus Notes, for example, uses a 'pipe' called the MTA, or Message Transfer Agent. This was designed jointly between SAP and Lotus to provide full integration between the two systems.
    It should be noted that the type of transport medium used is dependent on the mail server and not the mail client. In other words, if the employee uses Outlook on their computer but the mail server is a Lotus Domino server, the MTA would be the mail gateway used. Each workflow background user must have an email address stored in their user profile. It is note worthy that no approval or reply notification will be allowed from an external mail system - in other words external email systems cannot respond back to SAP for security reasons.
    Looking ahead…
    Workflow is becoming more and more web-oriented which allows external business partners to receive notifications. Companies can adopt Workflow together with "Webflow" where workflows can be initiated via Internet transactions and where different external business partners can receive notifications sent by the workflow. The Web inbox offers access to partner companies logging on to your Web portal and it refreshes itself automatically. Any type of work item can be executed directly from a centralized list of work items, no matter what graphical user interface is needed to run it. Webflow is particularly useful when a company deals with outside partners using different software platforms.
    Workflows can make an ERP system more efficient by automating situations in which work processes have to be run through repeatedly, or situations in which the business process requires the involvement of a large number of agents in a specific sequence. It is essential that the Workflow consultant is an expert in ABAP development or has access to ABAP programmers since a good deal of the work is technical. You will also need someone familiar with Lotus Notes / Outlook concepts and development in order to create the interfaces between the systems. The Workflow consultant should also have experience in installing and integrating efficient electronic archive systems.
    regards..
    Abhay
    rewards point if helpful

  • In HCM form & process Workflow event linkage changed to inactive status.

    Hi,
    In HCM  form & process event linkage is activated in HRASR_DT and workflow object .
    Now once we complete the process from EP portal ,reference number is generated and enteries are created in  table T5ASRPROCESSES .
    In SWEL,event is triggered and linked with the same workflow.
    Now the problem is,thesre is no workitem in SWIA with this workflow numbmer and the event linkage also changed to inactive status ( both in proces and  workflow )after we complete the process from EP.
    Thanks
    Manoj

    Hi
       When you are delaing workflows with HCM Process and form the behaviour is slightly different from the normal.. In order to check why the event linkage is inactive the possibilities are
    1. Either there are some chnages done in the workflow  and it is not activated from the transaction HRASR_DT.
    2. The other possibility is that you might have directly actovated the workflow from SWDD transaction and if you have done in this way then it is a wrong way of generating and activating the workflow
    Follow the below steps to find the error
    1. Execute HRASR_DT txn and try to activate the workflow from here. If you try to activate the workflow from this transaction the check function module which is linked to the workflow will be knowing that for which specific process which workflow has to be triggered..
    so in HCM process and forms frame workf it is always suggestable that try to create the workflow from HRASR_DT transaction using forward navigation and activate the respective event linkages.
    The other point you need to check is make sure that all the respective program exit classesare included in the basic data of the workflow other wise even if you miss the program exit classes in the basic data the workflow will not be able to start its process/execution.
    Regards
    Pavan

Maybe you are looking for