2005 Oct 27 4:04 AM
In function group SWEA there are five function modules of type SWE_EVENT_CREATE.
What is the difference in these fms? What are the typical uses of each of these?
Is there any documentation available for these?
2005 Oct 27 12:49 PM
Hi Sudhir,
The following in excerpt from SAP Help.
<i>You can create events from application or system programs by calling one of the relevant function modules SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT .
For the following special cases, there are other function modules, which actually use the functionality of the above function module internally:
SWE_EVENT_CREATE_IN_UPD_TASK
This function module makes it possible to create events in an update task. In contrast to the function module SWE_EVENT_CREATE , it can be called with the addition of IN UPDATE TASK .
SWE_EVENT_CREATE_FOR_UPD_TASK
The event is created in the update task. (The function module is not called with the addition of IN UPDATE TASK .)</i>
One of the remaining FM has no code in it and the other is not used anywhere even by SAP.
If you are trying to create events, use the SAP_WAPI_CREATE_EVENT function if it is available in your SAP release.
Cheers,
Ramki Maley.
2005 Oct 28 4:05 AM
Thanks Ramki for your helpful answer. Unable to award points at present. Will try later.
2010 Jan 11 11:11 AM
what is the difference between the function modules SWE_EVENT_CREATE and SAP_WAPI_CREATE_EVENT ?
In my program,when I tried to call the FM SWE_EVENT_CREATE for a custom BO event ,the event is not getting triggered.
But when I use FM SAP_WAPI_CREATE_EVENT for the same custom BO event with the same parameters, the event is getting triggered.
Can anyone please diffrerentiate between these two FM usages?
Thanks a lot in Advance.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |