Skip to Content
-1

ALV Interactive report using Factory method (CL_SALV)

Apr 22 at 12:12 PM

96

avatar image

Hi,

I am trying to create a ALV interactive report using class CL_SALV_Table and Factory Method.

In this ALV report ,if I click on a perticular field then detail should be appear in another ALV and again if I click a perticular field then details should be appear in another ALV[3rd layer] .

Please,guide me how can I approach to accomplish this.

if possible kindly provide sample code.

10 |10000 characters needed characters left characters exceeded

People who use their real names get more answers.

1
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Amy King Apr 23 at 11:33 AM
1

Hi Ravi,

Take a look at program SALV_DEMO_TABLE_COLUMNS for working examples of both hotspot and hyperlink columns which the user may click to fire an event.

If you intend the 3 "layers" of ALV to appear on the screen at the same time, take a look at class CL_GUI_SPLITTER_CONTAINER or class CL_GUI_EASY_SPLITTER_CONTAINER.

Cheers,

Amy

Share
10 |10000 characters needed characters left characters exceeded
Ganesh pandian Apr 25 at 12:11 PM
-1
Share
10 |10000 characters needed characters left characters exceeded
Subhashini Akella
Apr 22 at 06:26 PM
0

Get the ALV instance from the ALV Factory method(LO_ALV)

From the ALV instance call method LO_ALV->GET_EVENT( )

Create event handlers for the events such as DOUBLE_CLICK(SET HANDLER lo_event_handler->on_double_click)

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Subhashini..thanks to guide.

If possible,can you provide sample code for this..so that it would be easy to understand for me.

0

Some Suggestions :

  • SALV-Tutorials : link
  • Check the "SALV*DEMO*" Example Reports in your SAP System (such as "SALV_DEMO_TABLE_EVENTS" for the different Events that can be called) ...
1