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

Regarding ALV

Former Member
0 Likes
1,199

Hi,

Can someone please tell me something about following:

What is the use of defining CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED ?

Also can someone tell me where I can get details about Various function modules we use in ALV ? I tried using help.sap.com but didn't find it ?

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
998

This is a definition of a local class which is used to recieve the events from your ALV grid which as been implemented as CL_GUI_ALV_GRID.

THe actual statement CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED means that you can reference the LCL_EVENT_RECEIVER before you actually define it in the code. This comes in handy when having your definitions in a separate include program and having your TYPE REF TO statements in your TOP include program.

REgards,

Rich Heilman

Hi,

Can someone please tell me something about following:

What is the use of defining CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED ?

Also can someone tell me where I can get details about Various function modules we use in ALV ? I tried using help.sap.com but didn't find it ?

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
999

This is a definition of a local class which is used to recieve the events from your ALV grid which as been implemented as CL_GUI_ALV_GRID.

THe actual statement CLASS LCL_EVENT_RECEIVER DEFINITION DEFERRED means that you can reference the LCL_EVENT_RECEIVER before you actually define it in the code. This comes in handy when having your definitions in a separate include program and having your TYPE REF TO statements in your TOP include program.

REgards,

Rich Heilman

Read only

0 Likes
998

Thanks Rich.

Also where can I get the onformation regarding all ALV functions we use generally ?

Where can I get this information on help.sap.com ?

Regards,

Tushar.

Read only

0 Likes
998

Here is the documentation for the ALV Grid Control.

http://help.sap.com/saphelp_470/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm

Regards,

Rich Heilman

Read only

0 Likes
998

Actually I already had that.

What I was asking was is there any documentation where they lists all the functions we use in ALV like resuse_alv_list_display, reuse_alv_events_get, resue_alv_block_list_display, etc.....

Read only

0 Likes
998

Well, now I think we are talking about two different things. The REUSE function modules is the Function Module way of implementing the ALV Grid. I thought that we were discussing CL_GUI_ALV_GRID which is the OO way of implementing. I would suggest getting to know the OO way as it provides better functionality and ease of use.

As far as the REUSE function modules.... do a search in SE37 for REUSE* This will give you all of them.

You can check out some of the examples, look at programs that start with BCALV

REgards,

Rich Heilman