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
Similar Messages
-
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
RuiHi,
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 -
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
ChemmanzMake 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 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
WeiHi, 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 KumarHi 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 -
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 KumarHi 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,
AlyoshaHi 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. -
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 JainHi,
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. -
How to trigger GP workflow through ABAP Program.
Hi All.
i have one scnerio , i want to create BOM through Custom Ztransaction that will be developed in ABAP Modulepool.
User will create BOM from this ztransaction through Transactional Iview in PORTAL,Once the user save transaction , i want to trigger a GP(Guided Procedure ) workflow,from ABAP Program.
is it possible to trigger GP workflow?
if yes how to do it , please suggest the way out.
Regards,
Shyam.Hi lingana,
As u see in my requriment that, Workflow is not designed within SAP , But the Workflow will be designing
in SAP Netweaver, its a GP Workflow. And Ztransaction(Developed by ABAP) will be seen by user through portal and
he save transaction on PORTAL, In backend ABAP program will run , and after meeting certain condition, it should create
or(Initiate) GP workflow(process).
So my question is , how ABAP Program will call GP workflow, How the connection will be made in between ABAP Code and GP workflow framework.
If any doubt regarding requriment let me know,
Regards,
Shyam. -
How to trigger the workflow from the excel sheet
hello friends,
my problem is that i should trigger the workflow from a excel sheet which contains a list of appraisers and appraisees.how to do this. can anyone help on this.
thanks.Hi Murthy,
If you are asking if a workflow can be started on R/3 while in Excel - may be possible if you can develop some fancy macros that can make RFC calls to an ABAP function module. I won't even attempt to travel that route.
Save the excel sheet as CSV or Tab delimited file and process it using ABAP. You can use the WAPI function module SAP_WAPI_CREATE_EVENT (Rel 4.7)to start the Workflow by raising the relevant event. In earlier releases, see FM SWE_EVENT_CREATE.
Please do keep in mind there could be performance and response time issues for dialog users of the system if you are going to start several workflows using a report program.
Cheers,
Ramki. -
How to trigger the workflow from RFC
Hi,
I need to trigger a workflow from a RFC.How can I call the event and start my workflow?
How can i do this?
please advice.
Thanks,
AnandHello Anand,
Goto swetypv transaction.Mention the abap class/bor object with the corresponding event.
In the receiver type, just mention some unique name.In the receiver function module mention the async RFC.
Mention the SENDER TYPE SIBFLPORB Local Persistent Object Reference - BOR Compatible
EVENT TYPE SIBFEVENT Event
RECTYPE TYPE SWFERECTYP Name of Receiver Type
HANDLER TYPE SIBFLPORB Local Persistent Object Reference - BOR Compatible
EXCEPTIONS_ALLOWED TYPE SWEFLAGS-EXC_OK SPACE Checkbox
XML_SIZE TYPE SWF_XMLSIZ Size in Bytes
EVENT_CONTAINER TYPE SWF_XMLCNT Container as XML Stream of Fixed Width
So that the guid can be used inorder to identify the instance.
you can use : "sap_wapi_start_workflow" fn module.
Hope this helps.
Best Regards,
Saujanya -
How to trigger a workflow though a class event
Hi,
I have created a class and included interface IF_WORKFLOW in the interface. Also created a event 'START' with one parameter. I have created a workflow and assigned the class event 'START' as its triggerring event.
I want to trigger my workflow from a custom program. But I am not able to trigger the workflow by passing the event container.
How do I start trigger the class event with the req. container element?Hi
You could check the class CL_HRECM00_WORKFLOW_EVENT, together with the corresponding workflows of package
PAOC_ECM_ADM_PLANNING_OVERVIEW.
Best Regards
Raquel
Maybe you are looking for
-
I recently had an update from apple and when I installed it on my HP Desktop computer it damaged something. Every time I try to open the ITUNE app. I get an error message iTunes.exe - Unable To Locate Component This application has failed to start be
-
Hi everyone, I asked this question on the iMovie forum but think it might be relevant here as well. I have installed an OWC SSD in the 2nd optical bay on my Mac Pro. OS and only a few apps on the SSD, less than 30% used. All my photos and videos are
-
Serial communicat​ion works in hypertermi​nal but not in LabView
Hello, I am trying to control an APP Automated Pressure Controller using LabView 6.1 via a serial connection. I am able to control the system with Hyperterminal but not with LabView. I set used the same setup (9600 baud, 1 stop bit, no parity, no f
-
Trying to update my Itunes software, now it does not want to work at all, givin strange error messages. First, when trying to sync ipod touch to Itunes, nothing happened. After that, Itunes suggested downloading and installing updates but now updates
-
I have been going through the above guide to get an idea on how Oracle 11g reports works but on several occasions the guide has mentioned that I need to have certain schemas or tables/data installed on my database to work through certain tasks. One s