OO ALV 工具栏对于的功能码

原文地址:OO ALV 工具栏对于的功能码 作者:Lemon
图标与对应的 功能码
明细 &DETAIL
检查 &CHECK
刷新 &REFRESH
剪切 &LOCAL&CUT
复制文本 &LOCAL&COPY
插入总览 &MB_PASTE
撤销 &LOCAL&UNDO
附加行   &LOCAL&APPEND
插入行 &LOCAL&INSERT_ROW
删除行 &LOCAL&DELETE_ROW
复制行   &LOCAL&COPY_ROW
降序 &SORT_DSC
升序 &SORT_ASC
查找 &FIND
查找下一个 &FIND_MORE
设置筛选器 &FILTER
总计 &MB_SUM 
小计 &SUBTOT /&MB_SUBTOT
打印 &PRINT
视图 &VIEW
输出 &MB_EXPORT
格式 &MB_VARIANT
显示图形 &GRAPH
最终用户文档 &INFO

排除按钮,用的时候直接拷贝
  "明细
  ls_exclude = '&DETAIL'.
  APPEND ls_exclude TO pt_exclude.

  "检查
  ls_exclude = '&CHECK'.
  APPEND ls_exclude TO pt_exclude.

  "刷新
  ls_exclude = '&REFRESH'.
  APPEND ls_exclude TO pt_exclude.

  "剪切
  ls_exclude = '&LOCAL&CUT'.
  APPEND ls_exclude TO pt_exclude.

  "复制文本
  ls_exclude = '&LOCAL&COPY'.
  APPEND ls_exclude TO pt_exclude.

  "插入总览
  ls_exclude = '&MB_PASTE'.
  APPEND ls_exclude TO pt_exclude.

  "撤销
  ls_exclude = '&LOCAL&UNDO'.
  APPEND ls_exclude TO pt_exclude.

  "附加行
  ls_exclude = '&LOCAL&APPEND'.
  APPEND ls_exclude TO pt_exclude.

  "插入行
  ls_exclude ='&LOCAL&INSERT_ROW'.
  APPEND ls_exclude TO pt_exclude.

  "删除行
  ls_exclude ='&LOCAL&DELETE_ROW'.
  APPEND ls_exclude TO pt_exclude.

  "复制行
  ls_exclude ='&LOCAL&COPY_ROW'.
  APPEND ls_exclude TO pt_exclude.

  "降序
  ls_exclude = '&SORT_DSC'.
  APPEND ls_exclude TO pt_exclude.

  "升序
  ls_exclude = '&SORT_ASC'.
  APPEND ls_exclude TO pt_exclude.

  "查找
  ls_exclude = '&FIND'.
  APPEND ls_exclude TO pt_exclude.

  "查找下一个
  ls_exclude = '&FIND_MORE'.
  APPEND ls_exclude TO pt_exclude.

  "设置筛选器
  ls_exclude = '&FILTER'.
  APPEND ls_exclude TO pt_exclude.

  "总计
  ls_exclude = '&MB_SUM '.
  APPEND ls_exclude TO pt_exclude.

  "小计
  ls_exclude = '&SUBTOT'.
  APPEND ls_exclude TO pt_exclude.

  "打印
  ls_exclude = '&PRINT'.
  APPEND ls_exclude TO pt_exclude.

  "视图
  ls_exclude = '&VIEW'.
  APPEND ls_exclude TO pt_exclude.

  "输出
  ls_exclude = '&MB_EXPORT'.
  APPEND ls_exclude TO pt_exclude.

  "格式
  ls_exclude = '&MB_VARIANT'.
  APPEND ls_exclude TO pt_exclude.

  "显示图形
  ls_exclude = '&GRAPH'.
  APPEND ls_exclude TO pt_exclude.

  "最终用户文档
  ls_exclude = '&INFO'.
  APPEND ls_exclude TO pt_exclude.

你可能感兴趣的:(OO ALV 工具栏对于的功能码)