on 02-09-2009 7:10 AM
Hi All,
I need to raise an event in source system which triggers a job in BW system. Is there any FM or any steps to do that?
In source system after the job completion of an abap report, needs to raise an event which triggers a job in BW. So is there any FM so that i can add up in report.
Please help me in this regard.
Thanks in advance.
Regards,
anil
Hi,
I have the same req, we did like below the problem is resolved.
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.
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 |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.