08-01-2012 10:10 AM
Hello All,
I am facing one problem , I have main ALV grid in my report and I am calling another ALV grid on button of the main ALV.
I have problem with second ALV that is not showing all fields.
please help me.
Regards
Chandramani J.
08-01-2012 11:27 AM
Hello All,
I got the solution .
I have created Variant from Second ALV and pass to 'REUSE_ALV_GRID_DISPLAY'.
Thank you every one.
08-01-2012 10:12 AM
Hi,
Check your variant ( if any ) and fieldcatalog. Paste code to help you further.
Regards.
08-01-2012 10:23 AM
Hello Laurent,
I have checked this. ther is no variant for this.
my code is
gd_repid1 = sy-repid.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = gd_repid1
i_internal_tabname = 'IT_DWN_DISPLAY'
i_inclname = gd_repid1
i_bypassing_buffer = 'X'
CHANGING
ct_fieldcat = gd_fieldcat1
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3 .
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
gd_layout1-zebra = 'X'.
gd_layout1-colwidth_optimize = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_bypassing_buffer = 'X'
i_callback_program = gd_repid1
is_layout = gd_layout1
it_fieldcat = gd_fieldcat1
i_screen_start_column = 50
i_screen_start_line = 1
i_screen_end_column = 140
i_screen_end_line = 20
TABLES
t_outtab = it_dwn_display
EXCEPTIONS
program_error = 1
OTHERS = 2
.
ENDIF.
08-01-2012 10:16 AM
More details please. How do you call your second ALV? Are you using REUSE_ALV_POPUP_TO_SELECT ?
-Jake
08-01-2012 10:24 AM
08-01-2012 11:20 AM
Can you run BALVBUFDEL report and check if the fields are being displayed or not.
Paste your whole code here if it does not work.
08-01-2012 11:27 AM
Hello All,
I got the solution .
I have created Variant from Second ALV and pass to 'REUSE_ALV_GRID_DISPLAY'.
Thank you every one.