on 11-18-2008 2:30 PM
What is the difference between creating a event in SM62 and SM64?? when we raise a event in SM64 manually, how can we ensure that the event is triggered? Is there any transaction or program to identify this ??
Hi........
Difference between SM62 and SM64 is already discussed in Forum...........................SM62 is to create event...........and u can raise the event using SM64 or the function module BP_EVENT_RAISE.......
How track an event.............
Now an event can give trigger to a subsequent process in the process chain..........If the process.....
Load process>> Job name : BI_PROCESS_LOADING
ODS activation >> BI_PROCESS_ODSACTIVAT...................etc........
Suppose u trigger the subsequesnt process using the After Event(RSPROCESS) and the With parameter from the chain tab of the Display Message(Right clickn on the process >> Display message >> Chain tab...................now after triggerring the event if u go to the BACkg Tab .........the job log will show job started.........which proves that the event triggrred successfully...........
And if u are triggerring any chain..........go to SM37.........In the job name field write BI_PROCESS_TRIGGER....................and in the event field...............select the event.............execute and check whether the job triggerred for that particular date............or it is still in schedule state...........
Hope this helps........
Regards,
Debjani...........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create Event in SM62 and you can trigger manually in SM64. Yes there is a program to trigger the Event. i.e. Function Module is there this you can cal in Program. Now I'm using it , and working fine.
&----
*& Report ZFM_EVT
*&
&----
*&
*&
&----
REPORT ZFM_EVT.
DATA: EVENTID LIKE TBTCJOB-EVENTID.
DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
EVENTID = 'Z_EVENT'.
EVENTPARM = 'Z_EVENTPARAM'.
CALL FUNCTION 'RSSM_EVENT_RAISE'
EXPORTING
I_EVENTID = EVENTID
I_EVENTPARM = EVENTPARM
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
EXPLANATION
I created 'Z_EVENT' in SM62 and whereever I use event it wil ask for Parameter so there only I created 'Z_EVENTPARAM'.
Then I execute above program, it will triigger event.
Eg: In process caing you select Event and give this parameters and run this program, you can see the PC will start after triggering thios event.
Thanks
Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.