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: 

replacement for obsolete FM

Former Member
0 Kudos

Hi All,

Can anyone provide me a replacement for the obsolete fm HR_DISPLAY_BASIC_LIST,as it is found obsolete in 4.6c version.

Thanks,

Asish

1 REPLY 1

Former Member
0 Kudos

Hi,

Please try this function module ''REUSE_ALV_GRID_DISPLAY''.

the sample code is below,

call function 'REUSE_ALV_GRID_DISPLAY'

exporting

i_bypassing_buffer = 'X'

i_callback_program = g_repid

  • i_structure_name = 'SFLIGHT'

i_callback_user_command = 'USER_COMMAND'

i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'

is_layout = gs_layout

it_special_groups = gt_slis_sp_group_alv[]

it_sort = gt_sort[]

i_save = 'X'

is_variant = gs_variant

  • I_SCREEN_START_COLUMN = 0 "Use coordinates for

  • I_SCREEN_START_LINE = 0 "display as dialog box

  • I_SCREEN_END_COLUMN = 0

  • I_SCREEN_END_LINE = 0

it_fieldcat = gt_fieldcat[]

it_excluding = lt_extab

it_events = lt_events[]

  • importing

  • e_exit_caused_by_caller = g_exit_caused_by_caller

  • es_exit_caused_by_user = gs_exit_caused_by_user

tables

t_outtab = gt_outtab

  • exceptions

  • program_error = 1

  • others = 2

.

Regards,

Indu.