2006 Jun 20 10:41 PM
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 ?
2006 Jun 20 10:49 PM
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 ?
2006 Jun 20 10:49 PM
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
2006 Jun 20 11:03 PM
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.
2006 Jun 20 11:05 PM
Here is the documentation for the ALV Grid Control.
http://help.sap.com/saphelp_470/helpdata/en/bf/3bd1369f2d280ee10000009b38f889/frameset.htm
Regards,
Rich Heilman
2006 Jun 20 11:16 PM
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.....
2006 Jun 20 11:24 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |