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

ALV report

Former Member
0 Likes
632

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.

4 REPLIES 4
Read only

Former Member
0 Likes
614

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

Read only

Former Member
0 Likes
614

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.

Read only

Former Member
0 Likes
614

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

Read only

Former Member
0 Likes
614

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