on 12-22-2007 7:59 AM
dear gurus.
I need help on the following
I need an event to be triggered the moment i complete the data load process to an infocube from an Data Store object This loading from Data Store object to info cube is done manually. I need this event to be triggered so that a process chain can be started to be once this loading completed
Please help me and i will assign points for your answers
Thanks in advance
Why can't you create a small process chain to perform the load from ODS to cube then triggers an event?
Then instead of manually running the InfoPkg, you manually start the Process Chain - it loads the cube and then triggers the subsequent event you want run.
To trigger the eent from the process chain, add an ABAP pgm step that execs pgm ZB_BDCP_EVENT_TRIGGER, with a variant that specifies the event you want to trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think there would be a program of that name in your system. Coz that's a Z program.
ZB_BDCP_EVENT_TRIGGER,
Ok As people advised before I don't Think you need an Event to Trigger.
About Event:
Event we need to write the code calling the function module.
BP_EVENT_RAISE - Check this Function Module. (Copy this in Z name and play with that you will know about it)
To create an Event - SM62
Trigger Manually - SM64
Our Z pgm calls function module RSSM_EVENT_RAISE. I never really looked at it before, and I see that RSSM_EVENT_RAISE has some debugging and error msg code added, but it turns around and just calls function module BD_EVENT_RAISE which is all you would probably want to do.
REPORT ZB_BDCP_EVENT_TRIGGER .
PARAMETERS: L_DEST LIKE RFCDISPLAY-RFCDEST,
L_EVENT LIKE TBTCSTRT-EVENTID,
L_PARM LIKE TBTCSTRT-EVENTPARM DEFAULT 'X'.
CALL FUNCTION 'RSSM_EVENT_RAISE' DESTINATION L_DEST
EXPORTING
I_EVENTID = L_EVENT
I_EVENTPARM = L_PARM.
IF NOT SY-SUBRC IS INITIAL.
WRITE:/ 'EVENT DID NOT START'.
ENDIF.
There is a subsequent processing option available in the Infocube (Manage -Cube -> Requests). Please try to use this option to see if it helps.
One question I had was that if the load is to be triggered manually, why not trigger the event (or even the process chain manually). Just a passing thought
Regards
Vin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.