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

Interactive ALV Report

Former Member
0 Likes
1,031

Hi,

Can anyone let me know how can we differentiate between different lists in an interactive ALV report?

Is there any thing like SY-LSIND from where we can get the current list number of the interactive report?

Thanks,

Praveen

9 REPLIES 9
Read only

Former Member
0 Likes
1,005

If you use the OO alv (Class CL_GUI_ALV_GRID) then you can use the event handlers.

Example: If you want to know what row or column you double clicked .

Event : DOUBLE_CLICK

Parameters :

E_ROW

E_COLUMN

ES_ROW_NO

This way you know what column and what line you clicked.

Read only

0 Likes
1,005

Hi,

I dont want to get the position of the click, i want the current list number in in interactive ALV report.

Say i have 3 lists and i am in 2nd list, then how can i determine i am in the second list?

Is there anything similar to SY-LSIND?

Thanks,

Praveen

Read only

0 Likes
1,005

you can chek with sy-dynnr if you are having one list on one screen which will give you the current screen number in GRID disply if you are planning to make a drill

Edited by: Anup Deshmukh on May 27, 2010 1:09 PM

Edited by: Anup Deshmukh on May 27, 2010 1:10 PM

Read only

0 Likes
1,005

Hi,

I want to make some field visible in secondary lists, but want to hide that field in the initial list or primary list.

I want the date field to be conditional in the Header of the report.

I have used different list headers for both the lists and this is working fine for the first time.

When i click on the back button from the second list and come back to the first list, that conditional field is still visible but that should be hidden?

Can anyone tell me how can i do this?

Thanks,

Praveen

Read only

Former Member
0 Likes
1,005

Hi Praveen,

If you search in SCN you will get many such threads.

Read only

Former Member
0 Likes
1,005

Hi Team,

Can anyone please into the below query and help me out with this?

Thanks,

Praveen

Read only

0 Likes
1,005

Dear Experts,

Please suggest me some solutions for my query.

Thanks,

Praveen

Read only

0 Likes
1,005

Hi,

There is a field called SY-LILLI where you can catch the list you are Processing.

try to see the strucutre SYST where you can find all the sytem fields.

Prabhudas

Read only

0 Likes
1,005

Hi,

I will check out for this option and get back to you if i have any more queries.

Thanks a lot,

Praveen