I have an internal table with just one field. I am using reuse alv grid display function module for displaying output of that field. On the output, the ALV is occupying the entire screen even though when it is only one field !!!
Can you tell me what adjustment can I make here so that the output comes appropriately and accordingly for one field?
This is my fieldcatalog definition and ALV coding:
x_fieldcatalog-fieldname = 'ORDER'.
x_fieldcatalog-seltext_l = 'Order No.'.
x_fieldcatalog-tabname = 'IT_ORDERS'.
x_fieldcatalog-col_pos = 1.
s_fieldcatalog-outputlen = 30.
s_fieldcatalog-fix_column = 'X'.
x_fieldcatalog-hotspot = 'X'.
APPEND x_fieldcatalog TO t_fieldcatalog.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
i_callback_program = temp_repid
it_fieldcat = t_fieldcatalog
t_outtab = it_orders.
Thanks a lot,