‎2007 Apr 17 11:01 AM
How to raise an event inside a classicl / Interctive program ?
Kumar
‎2007 Apr 17 11:02 AM
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
‎2007 Apr 17 11:02 AM
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
‎2007 Apr 17 11:02 AM
‎2007 Apr 17 11:14 AM
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
‎2007 Apr 17 11:14 AM
can you explain about this event <b>bp_event_raise Fm</b> ,How to user , When to use ?
‎2007 Apr 17 11:20 AM
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