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: 

REUSE_ALV_HIERSEQ_LIST_DISPLAY

Former Member
0 Kudos

Hi

I'm using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for hierarchical report display, eventhough my item table gt_out_child has got multiple records, the report displays only for the first set of record.

Pls help

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'

EXPORTING

i_callback_program = sy-repid

is_layout = gwa_layout

it_fieldcat = gt_fieldcat

it_events = gt_events

i_tabname_header = 'GT_HEADER'

i_tabname_item = 'GT_OUT_CHILD'

is_keyinfo = lwa_keyinfo

it_sort = gt_sort

TABLES

t_outtab_header = gt_header

t_outtab_item = gt_out_child

EXCEPTIONS

program_error = 1

OTHERS = 2.

4 REPLIES 4

Former Member
0 Kudos

Hi..

Before the FM is called , did u check the record values of that internal table, If you find the records are available...

Just try to specify the body of the internal table itab[]...

I did not check , Just give a try.

Thanks

santhosh

Former Member
0 Kudos

Hi,

Are u using the using the code below:



  key-header01 = 'TABNAME'.
  key-item01 = 'TABNAME'.

Header and Items fields.

Thanks,

Sriram POnna.

Former Member
0 Kudos

Hi

Yes, I can see the data in the item internal table and also update the key table with the below info,

lwa_keyinfo-header01 = 'VERTRAG'.

lwa_keyinfo-item01 = 'VERTRAG'.

Regards

Senthil

Former Member
0 Kudos

HI,

Try to call this FM within LOOP..ENDLOOP statement.

May this solve your problem.

Thanks

Rajesh Kumar