‎2007 Aug 10 1:52 PM
hi to all,
wat is the events order in the following.
intialization,at-section screen,at selection screen output,at selection sceen on field,at selection screen on block,start-of-selection,end-of-selection,top of page ,end of page.
give me the order of events in execution time.
wat will happen if i'll write statement in intialization?
in my intialization if i 've more declaration for same variable wat will happen?
thanx and regrds,
loki
‎2007 Aug 10 1:54 PM
HI,
sequence of events IN CLASSICAL REPORTS:
************************************************************************************
At selection-screen output.
Initialization.
At selection-screen on field
At selection-screen on end of field
At selection-screen on Radiobutton Group R1. (If you have any radio buttons)
At selection-screen on block b1. (If you have any blocks)
At selection-screen
Start-of-selection.
Get node. (if the data is retreived from a logical database)
Get node late. (if the data is retreived from a logical database)
Top-of-page. (if the write statement is in the end-of-selection event or we can say that before the first write statement)
end-of-selection.
if u write any write statemen5ts in the initialization event it will not work
if u initialize the same variable more than once it will consider the last declaration.
<b>reward if helpful</b>
rgds,
bharat.
‎2007 Aug 10 2:28 PM
hi bharat,
before intialization wat will happen when we run a proram.?
at selection screen-output wat we be giving i.e wat is the use of this event.
thanx and regards,
loki
‎2007 Aug 10 2:33 PM
Hi,
at selection-screen event is for screen.it will trigger before the screen appears.in this normally we will write code for changing the button texts,parameters,select-options texts...
see this example.
PARAMETERS:<b>abc</b>(10).
at selection-screen output.
%_<b>ABC</b>_%_APP_%-TEXT = 'Transaction Number'.
INITIALIZATION we will use normally to initialize the values to parameters,select-options,...
rgds,
bharat.
‎2007 Aug 10 1:56 PM
Hi,
code this events in your report and press F1 on it.
Regards, Dieter
‎2007 Aug 10 2:38 PM
Hi Lok
load of program ( no need to write ) .
Initialization.
At selection-screen output.
At selection-screen on field
At selection-screen on end of field
At selection-screen on Radiobutton Group R1. (If you have any radio buttons)
At selection-screen on block b1. (If you have any blocks)
At selection-screen
Start-of-selection.
Top-of-page. (if the write statement is in the end-of-selection event or we can say that before the first write statement)
end-of-selection.
if u write write stmt in init event it will not print in the o/p
reward points to all helpful answers
kiran.M