Application Development and Automation 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: 
Read only

Event

Former Member
0 Likes
754

How to raise an event inside a classicl / Interctive program ?

Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
728

Hi Kumar,

To raise an event , just code the event at the necessary point of the code.

These are the list of events.

Through driver program ( user does not have any control of the flow of the events here)

initialization.

at selection-screen output.

at selection-screen.

start-of-selection.

end-of-selection.

User can control the event .

Top-of-page.

end-of-page.

top-of-page during line-selection.

<these are for interactive>

at line-selection.

at user-command.

at pf<nn> ( obsolete).

here as per user interaction or requirement the vent will trigger.

Hope this resolves your query.

Reward all the helpful answers.

Regards

5 REPLIES 5
Read only

Former Member
0 Likes
729

Hi Kumar,

To raise an event , just code the event at the necessary point of the code.

These are the list of events.

Through driver program ( user does not have any control of the flow of the events here)

initialization.

at selection-screen output.

at selection-screen.

start-of-selection.

end-of-selection.

User can control the event .

Top-of-page.

end-of-page.

top-of-page during line-selection.

<these are for interactive>

at line-selection.

at user-command.

at pf<nn> ( obsolete).

here as per user interaction or requirement the vent will trigger.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
728

hi,

use bp_event_raise Fm

regards,

ananth

Read only

Former Member
0 Likes
728

The events are

• INITIALIZATION

• AT SELECTION-SCREEN

• AT SELECTION-SCREEN ON <field>

• START-OF-SELECTION

• TOP-OF-PAGE

• TOP-OF-PAGE DURING LINE SELECTION

• END-OF-PAGE

• END-OF-SELECTION

• AT USER-COMMAND

• AT LINE-SELECTION

• AT PF<NN>

• GET

• GET LATE.

• AT User Command

**Please reward suitable points***

With Regards

Navin Khedikar

Read only

Former Member
0 Likes
728

can you explain about this event <b>bp_event_raise Fm</b> ,How to user , When to use ?

Read only

0 Likes
728

hi

chk this:

This function module is for use in programs written in ABAP. Triggering an event tells the background processing system to start any background jobs that were scheduled to wait for the event.

You can trigger an event with or without an event argument, a string that more precisely identifies an event. Jobs can be scheduled to wait for an event for the combination of event and a particular event argument.

Use the program SAPEVT to trigger an event from a program, script, or.bat file that runs outside the R/3 System.

chk this blog for an example:

/people/krishnakumar.ramamoorthy3/blog/2007/04/12/xi--event-based-message-triggering-with-dependencies

regards,

madhu