Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with ALV Grid Not Displaying Data

Hi Gurus,

I have a report program, when i run it I display an output summary on ALV Grid, and when i click on each of the row in the output summary, I'm suppose to see the item detail of each record.

This item detail is showing for some record and is not showing for some other records (when i use different selections). I debugged it and observed that the table populating the ALV grid actually has records in it. The ALV grid is not just displaying the records.

I debugged the 2 examples (one showing record and the other not showing), I found out that nothing is different in the way they run till they populate the final internal record to passed to the ALV Grid.

Please any suggestions on this:

This is the function code for the ALV grid.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = g_program_id

i_callback_pf_status_set = c_detail_status

i_callback_user_command = c_detail_user_comm

i_grid_title = lv_grid_title

is_layout = w_detail_layout

it_fieldcat = i_detail_fieldcat

it_sort = i_detail_sort

TABLES

t_outtab = i_faglflexa[] "NEM - detail

EXCEPTIONS

program_error = 1

OTHERS = 2.

IF sy-subrc <> 0.

MESSAGE e064

WITH sy-subrc.

  • Function REUSE_ALV_GRID_DISPLAY failed on detail view SY-SUBRC = &

ENDIF.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question