[英]Delete row button in alv grid in sap
i am using function "REUSE_ALV_GRID_DISPLAY" in order to display a grid. 我正在使用函数“ REUSE_ALV_GRID_DISPLAY”以显示网格。 My problem is that not all the buttons in alv toolbar are displayed.
我的问题是,不是显示alv工具栏中的所有按钮。 For example, i can not see the "delete row" button.
例如,我看不到“删除行”按钮。 This is my call:
这是我的电话:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IT_FIELDCAT = fieldcatalog
TABLES
t_outtab = lt_files_records_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
.
Can you please help? 你能帮忙吗?
IF you need the full editor functionality (including cell editors), you will have to move away from the (obsolete and unsupported) function module to the class CL_GUI_ALV_GRID
. 如果需要完整的编辑器功能(包括单元格编辑器),则必须从(过时且不受支持的)功能模块移至类
CL_GUI_ALV_GRID
。 See the documentation here . 请参阅此处的文档。
If you only need a delete button, it might be easier to add a custom button. 如果只需要删除按钮,则添加自定义按钮可能会更容易。 Check the program
SALV_DEMO_TABLE_FUNCTIONS
for an example (and start using the ALV OM instead of the old function modules - much easier to code with). 检查程序
SALV_DEMO_TABLE_FUNCTIONS
以获取示例(并开始使用ALV OM代替旧的功能模块-使用起来更容易编码)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.