This function module can be applied as template for the "Check function module" in transaction SWETYPV
event type linkages.
FUNCTION Z_CHECK_EVENT. *"-------------------------------------------------------------------- *"*"Local interface: *" IMPORTING *" REFERENCE(OBJTYPE) TYPE SWETYPECOU-OBJTYPE *" REFERENCE(OBJKEY) TYPE SWEINSTCOU-OBJKEY *" REFERENCE(EVENT) TYPE SWETYPECOU-EVENT *" REFERENCE(RECTYPE) TYPE SWETYPECOU-RECTYPE *" TABLES *" EVENT_CONTAINER STRUCTURE SWCONT *" EXCEPTIONS *" CHECK_FAILED *"-------------------------------------------------------------------- include <cntn01>. DATA: CNT_ELEMENT TYPE CHAR80. SWC_GET_ELEMENT EVENT_CONTAINER 'ContElement' CNT_ELEMENT. IF CNT_ELEMENT = SPACE. RAISE check_failed. ENDIF. ENDFUNCTION.