No output in ALV Grid

Question:
Hello,
I am new to ALV Grid. So, any input is highly appreicated.
I have used REUSE_ALV_GRID_DISPLAY function module to display the contents of internal table. The problem is, there is no output. I can only see the Header details. I have gone throu almost 50 postings on ALV in this website but could not get any information about my problem.
Where should I look for the problem ?
Below is my sample code.
* Itab1 is declared like this.
data: itab1 like vbak occurs 0.
* Fill the field catalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'VBELN'.
fieldcatalog-ref_tabname = 'VBAK'.
* fieldcatalog-just = 'R'.
fieldcatalog-col_pos = 1.
fieldcatalog-emphasize = 'X'.
fieldcatalog-no_out = 'X'.
fieldcatalog-seltext_m = 'Order #'.
append fieldcatalog to fieldcatalog.
* Call the FM
data: wa_itab1 type vbak.
wa_itab1-vbeln = '2600000001'.
append wa_itab1 to itab1.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
* I_INTERFACE_CHECK = ' '
i_callback_program = repid
* I_CALLBACK_PF_STATUS_SET = 'ALV_STATUS_SET'
i_callback_user_command = callback_prg
i_callback_top_of_page = 'ALV_TOP_OF_PAGE'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* i_structure_name = 'T510' "DDIC-Bezug
* I_BACKGROUND_ID = 'ALV_WALLPAPER2'
* I_GRID_TITLE = sy-title
* is_layout = layout_structure
it_fieldcat = fieldcatalog[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* it_sort = sortcat[]
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
i_save = 'X'
* is_variant = g_variant
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 5
* I_SCREEN_START_LINE = 5
* I_SCREEN_END_COLUMN = 120
* I_SCREEN_END_LINE = 30
* IMPORTING
* e_exit_caused_by_caller = exit_caused_by_caller
* es_exit_caused_by_user = exit_caused_by_user
tables
t_outtab = itab1
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
endif.
Answer:
Hi,
Well in your code the following line ..
fieldcatalog-no_out = 'X'.
means do not output this column.
Comment it out and it will work.
regards,
Kevin
Answer:
dear ,
no_out is used to hide the field when u r dispaying results. u remove it from code or select fields after output fron selct layout options .
regards
nilesh
Answer:
Hello Friends,
Thanks a lot. That was a simple problem and after commenting out as you two had suggested, it worked.
Thanks once again.
***************************

More Articles:

BAPI for Funds Management Budget Upload-Urgent Please?
Table Control Blues?
User exit for ME12 (Change Info Record)?
Table Changes?
Can I create a index in cluster table?
Creating Multiple tabs(sheets) in an excel workbook?