12-13-2006 7:00 AM
12-13-2006 7:01 AM
what is the use of Initialization event? give one example.
could plz explain clearly
12-13-2006 7:02 AM
12-13-2006 7:03 AM
12-13-2006 7:04 AM
12-13-2006 7:04 AM
hi,
First event -
Initialization : triggered when the report is loaded in memory.
At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.
At selection-screen : before leaving the selection screen.
start-of-selection : the first event for displaying the report.
This event keyword defines an event block whose event is triggered by the ABAP runtime environment
when calling the executable program selection screen processing of a selection screen.
In an executable program, all statements that are not declarations,
and are listed before the first explicit processing block, are assigned to this event block.
If the program does not contain an explicitly defined event block START-OF-SELECTION,
these statements form the complete event block START-OF-SELECTION.
If a program contains an explicitly defined event block START-OF-SELECTION,
these statements are added to the beginning of the event block.
If the program contains no explicitly defined event blocks,
these statements form the entire event block START-OF-SELECTION.
end-of-selection : after the start-of-selection is completed.
classiscal report events.
top-of-page : every time a new page is started in the list.
end-of-page : every time the list data reaches the footer region of the page.
interactive report events.
top of page during line selection : top of page event for secondary list.
at line-selection : evey time user dbl-clicks(F2) on the list data.
at pF<key> : function key from F5 to F12 to perform interactive action on the list.
at user-command
<b>http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm</b>
Rgds
Anver
12-13-2006 7:05 AM
how to add a gui status in a selection screen?
could plz explain it
12-13-2006 7:07 AM
hi,
You can use FM RS_SET_SELSCREEN_STATUS at event AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
IF SY-DYNNR = 1000.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
P_STATUS = 'SELK' "your status
TABLES
P_EXCLUDE = EXCLUDE
EXCEPTIONS
OTHERS = 1.
ENDIF.
Also check program DEMO_SEL_SCREEN_STATUS and this link.
Regards
Anver
12-13-2006 7:10 AM
hi..
go to SE80.
give the program name.
then right click and create "GUI STATUS" for the same program.
now enable those buttons which ever u want to display in ur selection screen.
u can also give symbols for those buttons which u activate with short cut keys too.
save and activate.
then execute to check if ur GUI status are activated.
if this helps u,reward points.
all the best.
12-13-2006 7:06 AM
can you call a bdc program from a report? how?
plz explain clearly with example
12-13-2006 7:08 AM
what are ALV reports? how they are different from normal reports?
could u plz explain clearly
12-13-2006 7:16 AM
hi..
ALV is nothing but "application list viewer.
An ALV displays the output directly in the form of a grid or a list.
ie,in a tabular format with the required field names as headings.
while in a normal report,user has to design and format his output in a list or table fashion,which is a tedious process.
it is to overcome the user designing the output in list,SAP has given ALV,thro which one can deirectly get a tabulated list output.
type-pool:slis is basically declared to call the respective function module for the ALV display.
its mandatory that type-pool:slis is declared.
reward points if useful.
12-13-2006 7:09 AM
what is the use of SLIS type pool in alv reports?
could plz explain clearly
12-13-2006 7:10 AM
21. in an interactive report, after going to 5th list, can you come back to 2nd list? how?
could u plz explain clearly
12-13-2006 7:19 AM
hi,
At Line selection
at user-command
hide
are the events in interactve reports
Initialisation -> This event is used when ever you initialize any variable or a field in your program.
this indicates the start of program .It is similar to Load of program .
this is the first event executed as the program is executed .
Start-of-selection ->This event generally contains only performs .This is help full when ever you place an at line selection to mark the start of the next event .
You cannot create push buttons using parameters but it can be done using screen painter .