SWE_EVENT_CREATE SAP Method Create SWE Event
Below is documentation, parameters and attributes of ABAP Method SWE_EVENT_CREATE within SAP class VMD_EI_API. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name VMD_EI_API into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method SWE_EVENT_CREATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SWE_EVENT_CREATE
.| Name | Type | Data Type | Description | Default Value |
| IT_CONT | Importing | TYPE GT_SWCONT | Instance Table | |
| IV_EVENT | Importing | TYPE SWETYPECOU-EVENT | Event | |
| IV_OBJ_KEY | Importing | TYPE SWEINSTCOU-OBJKEY | Object key | |
| IV_OBJ_TYPE | Importing | TYPE SWETYPECOU-OBJTYPE | Object Type |
Exceptions of Method SWE_EVENT_CREATE
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_IT_CONT TYPE GT_SWCONT,
lv_IV_EVENT TYPE SWETYPECOU-EVENT,
lv_IV_OBJ_KEY TYPE SWEINSTCOU-OBJKEY,
lv_IV_OBJ_TYPE TYPE SWETYPECOU-OBJTYPE,
lv_other TYPE c.
CALL METHOD VMD_EI_API=>SWE_EVENT_CREATE(
EXPORTING
IT_CONT = lv_IT_CONT
IV_EVENT = lv_IV_EVENT
IV_OBJ_KEY = lv_IV_OBJ_KEY
IV_OBJ_TYPE = lv_IV_OBJ_TYPE ).
Links to Related Class(s)
VMD_EI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects