Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User-defined page breaks in ALV table using CL_SALV_TABLE

Hi all,

we've changed a report from the old function module REUSE_ALV_TABLE to the new CL_SALV_TABLE-class.

Unfortunately, we've lost a functionality: In the old report, the users could define a page break in the report. We just had to set the group_change_edit-field in the layout structure.

I don't find the corresponding functionality in the CL_SALV_TABLE-class. We call the set_all-method on the cl_salv_functions_list-attribute of the table, but this doesn't help.

Is there any chance to get this old functionality with the new class?

Many thanks and kind regards,

Jens Brehmen

replied

Dear Jens,

I did not checked, whether it works.

Try to use the SORT-Object of the SALV_TABLE. Within the SORT-Object you have the method ADD_SORT with parameter GROUP:

Set this parameter to

No grouping IF_SALV_C_SORT=>GROUP_NONE

Page change IF_SALV_C_SORT=>GROUP_NEWPAGE

Underline IF_SALV_C_SORT=>GROUP_UNDERLINE

Good luck

Uwe

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question