Skip to Content
0
Former Member
Jul 02, 2015 at 02:00 AM

Display ALV column

62 Views

Hola expertos.

necesito una ayuda con un ALV, tengo el presente problema.

uso el modulo de funcion REUSE_ALV_GRID_DISPLAY, a la cual tiene como parametros de entrada los siguientes:

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = repid

I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'

i_callback_user_command = 'USER_COMMAND'

i_callback_top_of_page = 'TOP_OF_PAGE'

i_structure_name = 'TI_ALV1[]'

is_layout = alv_layout

it_fieldcat = alv_field1[]

it_sort = ti_sort[]

i_default = 'X'

i_save = 'A'

is_variant = alv_variant "w_es_variant

it_events = p_ti_evento[]

is_print = gs_print "Print

TABLES

t_outtab = ti_alv1[]

EXCEPTIONS

program_error = 1

OTHERS = 2.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.


ALV is generated the proper activation:


but when generating the print spool in the order I get this:

removes two columns of the table.


but to generate a excel columns are suppressed in printing are shown.


I've tried various options but still can not find the solution. please help.

Attachments

ALV.PNG (57.6 kB)
print.PNG (54.8 kB)
excel.PNG (53.6 kB)