Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to check what a event do ?

Former Member
0 Kudos

hi,

my company use event to upload some data to BW from internal table, and the structure is as following code, i want to know how to check what the event 'E_STRAT_ZCTC_YSYF' actually do ?

DATA: eventid LIKE tbtcjob-eventid.

eventid = 'E_STRAT_ZCTC_YSYF'.

CALL FUNCTION 'BP_EVENT_RAISE'

EXPORTING

eventid = eventid

EXCEPTIONS

OTHERS = 1.

thank you !

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

When you create a job in SM36..you will get an option "After event"..there you can give the event..

You will create a event in SM62..

Create a new job to trigger after the event..created in sm62..

Then in the program call the function module BP_EVENT_RAISE to trigger the job..

Thanks

Naren

4 REPLIES 4

Former Member
0 Kudos

Hi,

this event will trigger a background job..

Actually the background job is set up to trigger after the event is raised...This function module BP_EVENT_RAISE will raise the event..

Check the job table TBTCO to know the background job for that event..

Thanks,

Naren

0 Kudos

hi Narendran

Thank you very much!

would please tell me how can i relative a background job with a event ? is there some document or tutorial ??

Former Member
0 Kudos

Hi,

When you create a job in SM36..you will get an option "After event"..there you can give the event..

You will create a event in SM62..

Create a new job to trigger after the event..created in sm62..

Then in the program call the function module BP_EVENT_RAISE to trigger the job..

Thanks

Naren

0 Kudos

Thank you