Home OOP ALV Toolbar in ALV using CL_SALV_TABLE

Toolbar in ALV using CL_SALV_TABLE

0
11857

[adsenseyu2]

In this tutorial  factory class CL_SALV_TABLE is used to build ALV. To enable toolbar in ALV built using factory class CL_SALV_TABLE.

1To Enable Toolbar

  • First we need to get the instance of class CL_SALV_FUNCTIONS_LIST
  • then call SET_ALL method to activate toolbar.

1Hide Toolbar Functions

If you would like to make few functions invisible on ALV toolbar (or) if you want play around with ALV toolbar, all related methods are available in class CL_SALV_FUNCTIONS_LIST.

Here in this example, I would like to make Sort Ascending and Sort Descending functions invisible.

First step would be identify relevant methods in class CL_SALV_FUNCTIONS_LIST.

1Next call these methods in your program and make them invisible in Toolbar.

1Output

1[adsenseyu1][adsenseyu1]

WordPress database error: [Table 'saplearn_wp1.wp_nsex_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_nsex_comments.comment_ID FROM wp_nsex_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 117 AND comment_parent = 0 ORDER BY wp_nsex_comments.comment_date_gmt ASC, wp_nsex_comments.comment_ID ASC