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: 

what are the events in interactive reports?

Former Member
0 Kudos

what are the events in interactive reports?

could plz explain

14 REPLIES 14

Former Member
0 Kudos

what is the use of Initialization event? give one example.

could plz explain clearly

Former Member
0 Kudos

what is the use of start-of-selection event?

explain clearly

Former Member
0 Kudos

hello rajeshreddy,

you can refer to http://help.sap.com

Former Member
0 Kudos

how to create a button in selection screen?

eplain clearly

anversha_s
Active Contributor
0 Kudos

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

Former Member
0 Kudos

how to add a gui status in a selection screen?

could plz explain it

0 Kudos

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.

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/t...

Regards

Anver

0 Kudos

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.

Former Member
0 Kudos

can you call a bdc program from a report? how?

plz explain clearly with example

Former Member
0 Kudos

what are ALV reports? how they are different from normal reports?

could u plz explain clearly

0 Kudos

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.

Former Member
0 Kudos

what is the use of SLIS type pool in alv reports?

could plz explain clearly

Former Member
0 Kudos

21. in an interactive report, after going to 5th list, can you come back to 2nd list? how?

could u plz explain clearly

Former Member
0 Kudos

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 .