09-09-2008 6:37 PM
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.
09-09-2008 7:09 PM
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
09-09-2008 7:10 PM
Hi,
Are u using the using the code below:
key-header01 = 'TABNAME'.
key-item01 = 'TABNAME'.
Header and Items fields.
Thanks,
Sriram POnna.
09-09-2008 8:29 PM
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
09-10-2008 5:54 AM
HI,
Try to call this FM within LOOP..ENDLOOP statement.
May this solve your problem.
Thanks
Rajesh Kumar