Application Development 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: 

Required logic for ALV Report

Former Member
0 Kudos

Hi to all,

I have a requirement.I need to dispaly the header data.If i click on the header data infomation it should show item data information of that particular header data record.How we can achieve this????

Regards,

Vinay.

4 REPLIES 4

Former Member
0 Kudos

Hi Raj,

Usings Intractive ALV,u can achieve this...

First capture the header detail using index... Then, get the item details of that particular header detail, then display in the secondary list...

For example..

{ lv_index = selfield-tabindex. " which line u r double clicking

READ TABLE it_mov into is_mov INDEX w_index.

IF selfield-fieldname = 'VIEW'. " what u r clicking... Header detail

  • fetch ur item detail...

endif. }

Regards,

JJP

Former Member
0 Kudos

hi...

you can do it usig interactive alv.

you can add a select button for selecting row in first alv.

then based on the button click you can read the line in the header table

Then get the item details and display it in second alv

Former Member
0 Kudos

hi,

implement the AT LINE SELECTION or AT USER COMMAND event in your report.

former_member190389
Active Contributor
0 Kudos

Hi,

Search the package SLIS in se80.

It has many illustrative examples

The one you want is : BCALV_GRID_02