惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
Google DeepMind News
Google DeepMind News
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recent Announcements
Recent Announcements
aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
B
Blog RSS Feed
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
量子位
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
有赞技术团队
有赞技术团队
Jina AI
Jina AI
GbyAI
GbyAI

博客园 - 老白先生

webpack4+vue2+axios+vue-router的多页+单页混合应用框架 用文本增强修改SAP标准屏幕中的字段名称 ABAP:ALV的 Header中添加HTML内容 BDC处理时用到结构--BDCDATA ABAP:Smartform生成PDF FI 相关table的说明 ABAP:FI常用BAPI ABAP 自动生成EXCEL文件并作简单格式处理 smartform中打印bseg-wrbtr(凭证货币金额)字段的问题 Complex LUW processing (internal/external Session) ABAP 动态内表构建 Dynamic internal table SAP:建表时如果有QUAN、CURR类型的字段不能激活的问题 关于SAP LUW ABAP:关于隐式与显式的DB Commit ABAP笔记:BDC完整版例子 SAP:Authority-check 加入收藏夹功能(jQuery) 成功的秘密? ERP流程的一个生动的例子
AT LINE-SELECTION
老白先生 · 2011-08-17 · via 博客园 - 老白先生

Syntax 语法

AT LINE-SELECTION.

Effect 作用

This statement defines an event block whose event is triggered by the ABAP runtime environment during the display of a screen list - provided the scren cursor is on a list line and you select a function using the function code PICK. Through the definition of this event block, the standard list status is automatically enhanced in such a way that the function code F2 and, with it, the double-click mouse function is linked up to the function code PICK.

这个语句定义了一个在屏幕列表显示期间被ABAP运行环境触发的事件块-倘若屏幕指针在一个列表行上并且你用功能码PICK选择了一个功能。通过这个事件块的定义,标准列表状态就自动用功能码F2被增强并且,用它,鼠标双击功能被连接到功能码PICK.

Note

If the function key F2 is linked with a function code different than PICK, each double click will trigger its even, usually AT USER-COMMAND, and not AT LINE-SELECTION.

如果功能键F2与不同于PICK的功能码联系在一起,每一次双击将通常触发AT USER-COMMAND而不是AT LINE-SELECTION。

Example 例子

This program works with the standard list status. A line selection with the left mouse key causes the event AT LINE-SELECTION and creates details lists.

这个程序需要标准的列表状态。鼠标左键的选择触发事件AT LINE-SELECTION并且产生明细列表。

REPORT demo_at_line_selection.
START-OF-SELECTION.
  WRITE 'Click me!' COLOR = 5 HOTSPOT.
AT LINE-SELECTION.
  WRITE: / 'You clicked list', sy-listi,
         / 'You are on list',  sy-lsind.
  IF sy-lsind < 20.
    SKIP.
    WRITE: 'More ...' COLOR = 5 HOTSPOT.
  ENDIF.