2008 Jun 20 1:14 PM
Hi
i have developed a report in ALV.now i want to make it interactive one. can anyone tell me the events that i have to add.
incase of normal report we use AT-LINESELECTION and HIDE command.
so similarly what i need to add for making it an interactive ALV.
Hi
i have developed a report in ALV.now i want to make it interactive one. can anyone tell me the events that i have to add.
incase of normal report we use AT-LINESELECTION and HIDE command.
so similarly what i need to add for making it an interactive ALV.
2008 Jun 20 1:16 PM
Hi Venkat,
please check this link
http://www.geocities.com/mpioud/Z_DEMO_2_ALV_LIST.html
SLIS_EV_USER_COMMAND This is the event used for interactive ALV.
Best regards,
raam
2008 Jun 20 1:17 PM
There are many events available in ALV grid or List.
You can see all events using the Function Module REUSE_ALV_EVENTS_GET.
For handling each event, you have to write a subroutine. Pass this subroutine name along with the event name in IT_EVENTS parameter of the FM REUSE_ALV_GRID_DISPLAY.
For more information look at the demo programs in SAP. Search for BALV* in SE38.
Regards,
Lakshmi.
2008 Jun 20 1:48 PM
hi check this....
in the alv reports the at line selection does not work you need to follow some other way...means you need to call the events..
http://www.saptechnical.com/Tutorials/ALV/Interactive/demo.htm
http://sapprograms.blogspot.com/2008/04/alv-interactivedouble-clicking.html
2008 Jun 21 12:10 AM
Hi Venkat,
For interactive alv You need to use Call back user command
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_user_command = 'USER_CMD_RTN'
When You doubke click on Your report contol will come to below form .
declare a FORM (dynamic call)
FORM USER_CMD_RTN.
*you need to check the condition for clicked command
IF r_ucomm = '&IC1'
(here You can select data you want to display)
ENDIF.
ENDFORM.
I hope it will be usefull.
Regards,
Raja.K
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |