on 10-30-2007 8:41 AM
Hi Experts,
Plz Explain in details about the creation of Event in SWO1 for any Object.
For BUS2012, there are eventsbut the programs corresponding to that is not written. then how it works ?
Plz Explain....for Custom Events Creation also..
Reply
Regards
You can trigger an even via a function module:
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = '<BusinessObject>'
OBJKEY = <TheKey>
EVENT = '<TheEvent>'
TABLES
EVENT_CONTAINER = Z_CONTAINER
EXCEPTIONS
OBJTYPE_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
ELSE.
ENDIF.
You can also trigger the event with change documents. See transaction SWEC. You can also add field restrictions
EXAMPLE:
EINKBELEG BUS2012 RELEASESTEPCREATED
Also have a look at Transaction SWETYPV.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.