Skip to Content
0
Former Member
Jul 27, 2007 at 03:19 PM

help with "REUSE_ALV_GRID_DISPLAY" in ECC6.0

94 Views

Hello everyone:

I have a program that uses "REUSE_ALV_GRID_DISPLAY" and it displaying data in different format in ECC6.0. Let me explain what is going on:

I am creating ALV report from org. structure and here is the format

shortdesc, orgunit, cheifnum, cheifname, shortdesc, orgunit, cheifnum, cheifname.

I get the format above on older version 4.6C but in newer version ECC6.0 I get the format below:

shortdesc,shortdesc,orgunit, cheifnum, cheifname,orgunit, cheifnum, cheifname

I am not getting the desired column grouping. Here is how ALV was called from my code:

===

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = g_repid

i_callback_user_command = 'PROCESS_USER_COMMANDS'

i_structure_name = ' '

is_layout = gs_layout

it_fieldcat = gt_fieldcat[]

  • it_sort = gt_sort[]

i_default = 'X'

it_events = i_events[]

TABLES

t_outtab = <fs_table>

EXCEPTIONS

program_error = 1

OTHERS = 2.

============

Could somone please help me how to resolve this? Did anyone had similar issue? Rewards assured.

Thanks.

Mithun