To raise an event in source system which triggers a job in BW system.
In source system after the job completion of an abap report, needs to raise an event which triggers a job in BW.
1. Craete Event in SM62 in BW , Event name = ECCTOBW.
2. Assign that Event in BW and give Parameter name = ECCTOBW_P. (Param is directly give in BW)
(In Case of dataloads, create Process chain and give thios Event and Parameter in Start-->Event) and Activate and Exexute the Processc Chain.
3. Then Run the below program in ECC then check your processc hain, it will trigger.
This is the way how to use the Events triggers in different system.
REPORT ytestrd1tobd1.
CALL FUNCTION 'RSSM_EVENT_RAISE'
DESTINATION 'BWCLNT' ------------> Here give your BW system ID
EXPORTING
i_eventid = 'ECCTOBW'
i_eventparm = 'ECCTOBW_P1'
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.