01-16-2018 7:01 PM
Hi Guys.. I am using SET_TABLE_FOR_FIRST_DISPLAY for ALV report.
I made changes in the Custom Structure used as a layout. But the changed columns are not displayed in the output.
Here is the code.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'ZPTP_PO_OPEN' "'SFLIGHT'
is_variant = gs_variant
is_layout= gs_layout
i_save = 'A'
CHANGING
it_outtab= gt_outtab[].
ENDIF.
CALL METHOD cl_gui_control=>set_focus EXPORTING control = grid1.
* Control Framework flushes at the end of PBO automatically!
I add more fields to ZPTP_PO_OPEN, but its not reflecting in the output.
Anyone come across this issue?
Thanks
Sam
01-16-2018 7:32 PM
Hi Sam Maverik,
Check whether the structure is activated. Also, check whether any default layout is used in ALV output. Click the 'Change Layout' Button in ALV output and check whether the column is hidden due to the layout. if so change/remove the layout and display the new column.
Regards
Rajkumar Narasimman
01-16-2018 7:32 PM
Hi Sam Maverik,
Check whether the structure is activated. Also, check whether any default layout is used in ALV output. Click the 'Change Layout' Button in ALV output and check whether the column is hidden due to the layout. if so change/remove the layout and display the new column.
Regards
Rajkumar Narasimman
01-16-2018 9:05 PM
01-17-2018 6:46 AM
You can clear ALV buffering thru report BALVBUFDEL (for all application server, every ALV) or setting the I_BYPASSING_BUFFER parameter (in call of SET_TABLE_FOR_FIRST_DISPLAY or during generation of field catalog with tools like LVC_FIELDCATALOG_MERGE)
Of course if you or someone else defined a default variant, you have to adapt it to display new fields.
01-29-2018 5:38 PM
Hi Guys.. Thanks for your reply.
The fields were hidden, I made changes using Change Layout.
Cheers
Sam