2015 Jun 04 8:54 AM
Hi all,
In my system, i used f.m. REUSE_ALV_GRID_DISPLAY, giving it the parameters as below:
*&--- Create fieldcat
CLEAR: lwa_fieldcat.
lwa_fieldcat-row_pos = '1'.
lwa_fieldcat-col_pos = '1'.
lwa_fieldcat-fieldname = 'DESCRIPTION'.
lwa_fieldcat-tabname = 'LT_DISPLAY'.
lwa_fieldcat-seltext_m = 'Header Texts'.
lwa_fieldcat-outputlen = 255.
APPEND lwa_fieldcat TO lt_fieldcat.
*&--- Create layout
CLEAR: lwa_layout.
lwa_layout-zebra = 'X'.
lwa_layout-colwidth_optimize = 'X'.
*&--- Display data in a POPUP
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_grid_title = 'Shipping Instructions'
is_layout = lwa_layout
it_fieldcat = lt_fieldcat
i_screen_start_column = 10
i_screen_start_line = 5
i_screen_end_column = 100
i_screen_end_line = 20
TABLES
t_outtab = lt_display
EXCEPTIONS
program_error = 1
OTHERS = 2.
in order to display it as a popup.
All works fine in development system, but in quality system I am getting the popup, but no data/ALV header is displayed in it.
Could you please advice on what could go wrong?
I have got a similar thread:
But it was not answered.
Best Regards,
Debo.
2015 Jun 04 9:46 AM
I got the issue resolved.
I just removed sy-cprog to space in debugging for the parameter i_callback_program and it worked. But I have no idea as to how it is working in development system and not Quality.
Best Regards,
Debo.
2015 Jun 04 9:46 AM
I got the issue resolved.
I just removed sy-cprog to space in debugging for the parameter i_callback_program and it worked. But I have no idea as to how it is working in development system and not Quality.
Best Regards,
Debo.