Trigger Event for Task Deleted
hi,
I need to handle Task deletion in workflow. But there is no standard deleted event available.
So I have created custom business object ZBUS2175 and have delegated to std object.
Now using BSVX transaction I am trying to assign this event when status is changed to I1102. But event is not getting triggered.
Is there any other status I need to set?
Please reply.
Thanks.
HArshada
Hi,
The BO your using is a custom one,
If Yes Goto the BO, Release that Event,Save and generate the BO.
other wise, if you created a Subtype of the Std. BO, check that Z-event you created is released and the BO delegated to Std. BO, save and generate the BO.
Then try now.
Regards,
Surjith
Similar Messages
-
Event for task not defined as start/end event
Hi all,
We get the following error in our inbox although the event seems to work as intended
Event ZIMEC006 APPROVED_REJECTED for task TS81700130 not defined as start/end event
If I go to the task TS81700130, the event APPROVED_REJECTED is defined as a terminating event(under the tab terminating events) with objecttype BO and object ZIMEC006 and the binding is ok
What could be the problem?
Thanks for all help
HansHi,
The BO your using is a custom one,
If Yes Goto the BO, Release that Event,Save and generate the BO.
other wise, if you created a Subtype of the Std. BO, check that Z-event you created is released and the BO delegated to Std. BO, save and generate the BO.
Then try now.
Regards,
Surjith -
Trigger events for 64 boolean tags when another tag turns on?
I want set an event for all bits in the group that are off when another tags transitions from off to on only. I guess this would be like a conditional event. Is this possible in the DSC world??
You can use boolean controls to simulate the tag values and then set events based on these boolean controls.
-
Problem of trigger event for Customer master.
Hi all,
I created one object type in KNA1. because i want to use task instead of the workflow.
after i executed the customer master creation , i got this error during the execution."Dereferencing of the NULL reference".
if anybody want information, please let me know.
Regards,
LukeHi
"At the beginning, i am using the Receiver Function module is SWW_WI_CREATE_VIA_EVENT.
after i change to "SAP_WAPI_CREATE_EVENT" but got error too."
Can you tell us where are you calling this FM (is it via Enhancement option or badi or exit) to trigger the event?
Just leave the Receiver FM as same as in SWE2 and make sure Linkage Actiavted check box is checked
"i can't do the buiding between &EVT_OBJECT& and &WI_OBJECT_ID&. because it is not same business object.
for our workflow object, it references to class is developed by me.
As suggested by Rick, you could make use of FM or as per blog, you could use class to trigger your custom class's event. Then you need to have binding at task level (PFTC)
&EVT_OBJECT& --> &WI_OBJECT_ID&.
Vinoth -
Can i use references to trigger events for objects?
Hi,
I have about thirty front panel buttopn controls on my user interface. They are all very spread out so I cannot put them all into a cluster. I have created a reference for each one and put them into an array. Each one of the buttons when pressed I want to trigger the exact same event on an event structure, but dont want to have to create 30 duplicate event cases for each button? any ideas how I can group them so that they trigger the same case?
regardsMike is right, the label of the event is taken from the label of the wire, typecasting this gives you the ability to rename.
Here's the code for anyone interested:
Ton
Message Edited by TonP on 08-26-2008 05:48 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
I got an event from BW that need to trigger in R3, may I know what I need to do?
I know that there is a FM name 'BP_EVENT_RAISE' that I can use to trigger the event, if possible.
But before that, what do I need to do in R3?Do I need to register the BW event in R3?
Thanks.Hi !
You can also uses the FM 'RSSM_EVENT_RAISE' indicating the correct destination.
For further information, please refer to this excelent article:
/people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc
Best regards,
V. di Primio. -
Trigger event for during subinventory transfer
Hi
I would like to have a hook or to trigger an event (like firing a concurrent program) when subinventory transfer is performed. Is this possible and how to do it?You can write a personalization that fires a conc. program.
-
Trigger event for badi ac_document
Hello,
I want to use BADI AC_DOCUMENT for text substitution following the note 386896. I create a new implementation but when I create a new FI Document the BADI is not triggered correctly.
How can I know where the BADI is called in ABAP program ?
Thanks for your help.Hi,
Check that for which condition the message is triggering.
Try to check the condition.
Regards
Sandipan -
Issue in triggering events in task
Hi,
In my workflow there is a fork and after a fork there is a task for which triggering event is defined and this particular event is triggered from zprogram and agent for task is determined using a rule.
In zprogram logic is written as event (triggering event for task) is triggered when all 4 users in fork presses submit button.
Problem is when 4th user presses submit button workitem is created in workplace of agent defined for task and in 4th user as well.Workitem should not be created for 4th user.
Please suggest.
Regards,
Kaustubh.Hi Rick,
I have defined single task in all branches of a fork with CONFIRM END OF PROCESSING tick in task. Task is to call ztransaction.
Problem is if all users in a fork enters into transaction and by clicking BACK comes out without pressing SUBMIT button in ztransaction and clicks COMPLETE WORK ITEM flow will go to task defined after fork which i dont want.
Flow should go to task after fork only when user presses SUBMIT and COMPLETE WORK ITEM button.
Hence I have created triggering event for task which gets triggered only after all user presses SUBMIT.
Please suggest.
Regards,
Kaustubh. -
Event for Material Change and Delete
Experts,
Is any Standard events available to trigger the workflow when the material is changed or deleted from the material master.First check any event is getting Triggered or not. If yes job done use it if not then find user Exit from which you can trigger event by writing code.
You can make use of FM
SAP_WAPI_CREATE_EVENT
SWE_EVENT_CREATE
to trigger custom event.
You can check this code
FUNCTION zwf_process_honorarium .
""Local Interface:
*" IMPORTING
*" VALUE(I_EMP_NUMBER) TYPE PERNR_D
*" VALUE(I_EMP_NAME) TYPE ENAME
*" VALUE(I_BEGIN_DATE) TYPE BEGDA
*" VALUE(I_CURRENT_SAL) TYPE ANSAL
*" VALUE(I_HON_SAL_GRD) TYPE TRFGR
*" VALUE(I_HONORARIUM_SAL) TYPE ANSAL
*" VALUE(I_JUSTIFICATION) TYPE CHAR100
*" VALUE(I_PERCENT_DUTY) TYPE INT1
*" VALUE(I_END_DATE) TYPE ENDDA
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey, "Key for the buisness object ZWOBUSHONO
v_request_det TYPE zwf_ms_honorarium. "PCR data
CONSTANTS: c_bo_hono TYPE swo_objtyp VALUE 'ZWOBUSHONO',
c_event_hono TYPE swo_event VALUE 'HonReq',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
Filling up the PCR data in structure v_request_det
which will be passed to event container.
v_request_det-emp_number = i_emp_number.
v_request_det-name = i_emp_name.
v_request_det-begin_date = i_begin_date.
v_request_det-current_sal = i_current_sal.
v_request_det-hon_grade = i_hon_sal_grd.
v_request_det-hon_grd_sal = i_honorarium_sal.
v_request_det-justification = i_justification.
v_request_det-percent_duty = i_percent_duty.
v_request_det-end_date = i_end_date.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'RequestData' v_request_det.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonalArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_hono
objkey = v_object_key
event = c_event_hono
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
Thanks
Arghadip -
Event DRAW CHANGED for task TS90000016 not defined as start/end event
Hello,
i have created a workflow with one task, this task is of object type DRAW and the method is CHANGED. and i want to trigger this task when the status of a document changes to completed.
Now when i change the status of a document to completed, the workflow is starting but then throwing an exception. Here is what i am getting, any ideas as to why ?
Event DRAW CHANGED for task TS90000016 not defined as start/end event
Event linkage with errors deactivated
from the swel event trace i am getting the following:
the receiver <task> started correctly,
then i get the following:
Receiver FM SWW_WI_CREATE_VIA_EVENT_IBF
message: Event DRAW CHANGED for task TS90000016 not defined as start/end event
any ideas as to why this is happening and how i can fix it ?
regards to all the experts out there
points are awarded.Hi,
If you want the task to be executed without any agent intervention follow this:
In the transaction PFTC_DIS OR PFTC_CHG open your standard task and
see whether you have checked the ' background processing' option in
execution category.
It seems the "changed" method in Draw object is synchronous - so you
dont need any terminating events.
else
check for the bindings in workflow and make sure you dont make any
container with import parameter as mandatory.
Hope this will solve the problem.
Regards,
Manikandan R -
How to trigger event CREATED for Bus.Obj BUS2126003 (Vendor Settlement)
Hi
I want to start a workflow inside Agent Business, when Vendor Settlement (BUS2126003) is Created.
The problem is that the event does not get triggered when Created. Not even the CHANGED event is tiggered during change.
Currently I have workflow on the objects BUS2144001 (Customer Settlement - Agency Business )
and BUS2100001 (Settlement request list - Agency Business). Both these objects gets triggered when created (EVENT = CREATED).
I try to find out a way to trigger CREATED for Vendor Settlement. Do you have any suggestion for this?
I've tried to find any exits, Badi's, ...from where I could trigger the event myself.... but with no good result...
Best reg
HenrikHi HA,
are you talking about ERS (Evaluated Receipt Settlement) in SRM?
If yes, check with the settings in IMG, there is an ERS flag in Vendor master record that needs to be set for that vendor.
Hope it helps.
Aditya -
Mail trigger for Task assigned in collaboration room
Hi,
When a task is assigned to an user, mail does not get triggered to the assignee, but triggers to only tracker.
Is it possible to trigger mail for the assignee to?. Also is there any way to set alert mail for the tasks both for assignee and tracker?
Regards,
SasikalaHi,
I have similar requirement like this,
In Restricted Room, User A request membership, After this owner get the notification mail for that request.
is possible to send notification to User A by mail or in UWL notification?. how can we achieve this?
Request Membership for Restricted Room is calling the below mentioned class,
Name : RoomRequestMembershipCommand
Value : com.sap.netweaver.coll.roomui.api.uicommands.UIRequestMembershipCommand (Class)
From this class, i didnt understand how the mail (where the action is occuring) sends to the Room Owner.
Room Owner getting the member request notification through mail, but Owner have to get the notification in Collaboration My tasks instead of getting notification through mail. how can i achieve this?
Thanks and Regards,
Senthil -
How to send trigger pulse for every 0.25 sec until user stops the task?
Hi All,
Iam using NI_DAQ PCI 6221 Card for the Data Acquisition.
Can any body please tell me how to send trigger pulse for every 0.25 sec until the user stop the task??
Please suggest me the methods I should use to meet this requirement.
Thanks In Advance,
SindhuHi Sindhu,
Am I correct in thinking that you do not want to use your 6221 to output a digital pulse, but that you are getting a digital pulse from somewhere else that you want to use as a trigger for the analog input? And you will have more than one trigger? If this is the case, then it can be accomplished by doing a retriggerable operation. The way that this works is you use the counter on your board to generate the sample clock for your analog input because analog input cannot do retriggerable operations with its own sample clock. You can modify the example GenDigPulseTrainContinuous_DigStart that is in the same location as the example I referenced before to be retriggerable by using the property DAQmxSetStartTrigRetriggerable.
After doing that and testing to make sure that it works, you can setup an analog input task like the example ContAcqVoltageSamples_IntClk but specify the source of the sample clock to be the internal output of the counter you used in the counter portion of your program. If you need help with the terminal names (You will need to use Ctr0InternalOutput for example), you can reference the NI-DAQmx C Reference Help at Start >> Programs >> National Instruments >> NI-DAQ. After doing this, you will acquire the same number of samples as the number of pulses you choose to generate in the counter portion of your code every time a trigger is received.
Also, I have come across an example that does retriggerable analog input using the counter as a sample clock in C++. Either by using this example or modifying the shipping examples as I stated above you should be able to achieve what you are trying to do.
Let us know if you have any questions.
Thanks,
Laura -
Triggers into a video playline for to trigger events in overall timeline.
How could I trigger events in my animations caused by a point in a video play?
For example, I want to show an image in the 02:30 minute.
Sorry for the language misuse, I speak Spanish.You need to read up about "Track Targeting"
Basically - Select the tracks in the Track Headers. Click on them.
Maybe you are looking for
-
Error message when trying to export a book as PDF or trying to send it to Blurb
Hello I'm desperatly trying to export my book as a pdf file in LR4 but I'm getting error message after rendering the 5th page (out of 85) Do you guys know why it's happening? Same error message when I try to send my book directly to Blurb (no surpri
-
I have windows 8.1 & ios7. Contacts & calender stopped streaming to laptop. ok to ipad & iphone. This was fixed but now photos stopped streaming to laptop again ipad/iphone talk. All settings seem ok. Any suggestions?
-
Error during installation of SAP on win 2003 Server
Hello All, I am trying to install SAP 4.6 on win 2003 server. The process of installation has completed for almost more than 9 hours. I am getting an error during "Database post processing". When I clicked "retry" the installation has stopped and res
-
I have lot of whatsapp backup in android so is it possible to move those to apple?
hello, i am switching from android to apple but i have lot of whatsapp backup in android so is it possible to move those to apple? <Re-Titled By Host>
-
Hi. I'm using Snow Leopard via USB external drive (the hardisk is blank- testing something with Leopard). When I start the late 2009 iMac and boot with the Option Key, I need to click the Magic Mouse all the time so the mouse can be detected and move