日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ALV OO

發布時間:2025/3/20 编程问答 15 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ALV OO 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
An
Easy Reference
for
ALV GRID CONTROL
Serdar ??M?EKLER
2004, Ankara TURKEY
? Copyright 2003 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft?, WINDOWS?, NT?, EXCEL?, Word?, PowerPoint? and SQL Server? are registered trademarks of Microsoft Corporation.
IBM?, DB2?, DB2 Universal Database, OS/2?, Parallel Sysplex?, MVS/ESA, AIX?, S/390?, AS/400?, OS/390?, OS/400?, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere?, Netfinity?, Tivoli?, Informix and Informix? Dynamic ServerTM are trademarks of IBM Corporation in USA and/or other countries.
ORACLE? is a registered trademark of ORACLE Corporation.
UNIX?, X/Open?, OSF/1?, and Motif? are registered trademarks of the Open Group.
Citrix?, the Citrix logo, ICA?, Program Neighborhood?, MetaFrame?, WinFrame?, VideoFrame?, MultiWin? and other
Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C?, World Wide Web Consortium, Massachusetts Institute of Technology.
JAVA? is a registered trademark of Sun Microsystems, Inc.
JAVASCRIPT? is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com, xApps, SAP NetWeaver , mySAP Business Suite, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Table of Contents
Purpose.........................................................................................................................1
Prerequisites.................................................................................................................1
A. Introduction.............................................................................................................1
B. Building Blocks........................................................................................................1
B.1. General Scheme..................................................................................................2
B.2. Building Field Catalog.......................................................................................7
B.2.1. Structure of a Field Catalog........................................................................7
B.2.2. Building Field Catalog Manually...............................................................9
B.2.3. Building Field Catalog Semi-Automatically............................................10
B.3. Layout Adjustments.........................................................................................12
B.4. Printing Adjustments........................................................................................14
B.5. Excluding Unwanted Standard Function Buttons............................................15
C. Non-Event Based Additional Functionalities.....................................................16
C.1. Changing Field Catalog or Layout after First Display.....................................16
C.2. Setting Sort Conditions....................................................................................16
C.3. Filtering............................................................................................................17
C.4. Making Selections............................................................................................18
C.5. Retrieving and Setting Scroll Status Info.........................................................19
C.6. Coloring............................................................................................................19
C.6.1. Coloring an Entire Column.......................................................................20
C.6.2. Coloring an Entire Row.............................................................................20
C.6.3. Coloring Individual Cells..........................................................................21
C.7. Inserting Hyperlinks.........................................................................................22
C.8. Making Fields as Dropdown Menus................................................................23
C.9. Managing variants............................................................................................24
D. Event Based Additional Functionalities..............................................................25
D.1. General Scheme for the Event Handler Class..................................................26
D.2. Hotspot Clicking..............................................................................................28
D.3. Double Clicking...............................................................................................29
D.4. Pushbuttons On The List..................................................................................29
D.5. Adding Your Own Functions...........................................................................30
D.6. Overriding Standard Functions........................................................................32
D.7. Context Menus.................................................................................................32
D.8. About printing..................................................................................................33
D.9. Making ALV Grid Editable.............................................................................34
D.10. Controlling Data Changes..............................................................................35
D.11. Linking F1 Help to Fields..............................................................................36
D.12. Linking F4 Help to Fields..............................................................................37
E. A Piece of Troubleshooting...................................................................................38
TRADEMARKS..........................................................Error! Bookmark not defined.
Purpose
The purpose of this tutorial is to provide an easy and quick reference that may be used as a guide while coding to build lists using ALV Grid Control. Actually, there is easy-to-reach information about implementing ALV Grid lists. However, it is generally required to find the information sought in a quicker way. This tutorial handles this, being a condensed source that can be used as a “guide.” It will not deal with the technical infrastructure on which ALV lays. Some of the tables are taken from the online SAP Library, which is the most trustable source about the topic. Shortly, this will be a booklet summarizing major capabilities of the ALV Grid Control.
To get deep into the ALV Grid control, you can refer to the standard SAP course “BC412 – ABAP Dialog Programming Using EnjoySAP Controls” and the book “Controls Technology”. Also you had better inspect demo programs.
Prerequisites
To use ALV Grid Control in a simple manner, it will be sufficient just having experience on dialog programming. However, to make use of more capabilities, it is required some knowledge on object-oriented perspective of ABAP programming. A general knowledge on control framework is supposed to exist.
A. Introduction
Here is the definition for ALV from SAP Help:
“The ALV Grid control is a flexible tool for displaying lists. The tool provides common list operations as generic functions and can be enhanced by self-defined options.”
The ALV Grid control is used to build non-hierarchical, interactive, and modern-design lists. As a control, it is a component that is installed on the local PC.
The ALV Grid control provides typical list functions as sorting, filtering, summing, etc.,while also gives the opportunity to develop user functions where needed. It presents numerous interfaces like Excel Inplace and Crystal Reports.
The wrapper class implemented to encapsulate ALV Grid functionality is “CL_GUI_ALV_GRID”. There is another way to display lists with ALV utilizing “REUSE_ALV...” functions. However, that way is not comprised in this tutorial.
B. Building Blocks
While preparing a list to be displayed via an ALV grid control, we have some basic components to prepare. These are;
i. List data: Obviously, this is the data in an internal table to be listed. Standard ALV functions except sorting makes just read access to the list data. However, sorting changes state of the internal table. The internal table holding list data may be of any flat type. Deep types are only allowed when set for some functionalities of ALV Grid.
ii. Field Catalog: We use another internal table to define specifications on how the fields of our list will be displayed. This internal table is called the
“field catalog”. The field catalog must comprise some technical and additional information about display options for each column to be displayed. There are three procedures to generate the field catalog as “Automatic generation”, “Semi-automatic generation”, and “Manual generation”. The internal table for the field catalog must be referenced to the dictionary type “LVC_T_FCAT”.
iii. Layout Structure: We fill a structure to specify general layout options for the grid. With this structure we can set general display options, grid customizing, totals options, color adjustments etc... The layout structure must be of type “LVC_S_LAYO”.
iv. Event Handler: We should define and implement an event handler class if we want to handle events triggered by the ALV Grid instance. After creating ALV Grid instance, we must register an instance of this event handler class to handle ALV Grid events.
v. Additional Data: To trigger some additional features of ALV Grid we can have some additional data to pass as parameters. For example, initial sorting criteria, buttons to be deactivated, etc...
B.1. General Scheme
Now, we can figure out a primitive scheme to prepare our ALV Grid. As a control object, ALV Grid instance requires a container to be linked to the screen. Generally, an instance of the class “cl_gui_custom_container” is used for this purpose. Instances of some other container classes such as “cl_gui_docking_container”, “cl_gui_dialogbox_container” may also be used. In our example we take a custom container. To create a custom container instance, we need a custom control area on the screen.
Step 1

總結

以上是生活随笔為你收集整理的ALV OO的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久久国产精品人人片 | 激情五月俺也去 | 欧美人交a欧美精品 | 婷婷色亚洲 | 国产伦精品一区二区三区在线观看 | 五月婷婷色 | 色综合久久网 | 精品国产一区一区二区三亚瑟 | 侵犯亲女在线播放视频 | 欧美一区在线看 | 女同视频网站 | 人人妻人人爽欧美成人一区 | 少妇aa | 阿v天堂2014 这里有精品 | 亚洲成色在线 | 福利影院av| 国产伦一区二区三区 | 91影音 | 免费a级片在线观看 | 国模无码视频一区 | 97激情| 人人干干人人 | 欧美综合区 | 男生和女生一起搞鸡 | 毛片免费一区二区三区 | 性色AV无码久久一区二区三 | 男人天堂亚洲天堂 | av免费福利| 国产无| 26uuu欧美日本 | 国产伊人一区 | 成人免费一区二区三区在线观看 | 成人免费毛片xxx | 波多野在线观看 | 午夜福利啪啪片 | 欧美日韩黄 | 韩国三级视频在线 | 91成人免费在线观看 | 国产精品一卡 | 美女又黄又爽 | 91在线观看免费视频 | 欧美区一区二 | 久久r这里只有精品 | 可以免费观看的av网站 | 欧美电影一区二区三区 | 中文在线观看高清视频 | 国产精品一级二级三级 | 97超视频 | www免费黄色 | 亚州精品国产精品乱码不99按摩 | 久久久久国产精品一区 | 幸福,触手可及 | 亚洲精品视频国产 | 精品国产乱码久久久久夜深人妻 | 日韩精品一区二区免费视频 | 久夜精品 | 极品美女无套呻吟啪啪 | 妖精视频一区二区三区 | 欧美中文字幕一区二区三区 | 久久国产精品久久久久 | 女人张开腿让男人桶爽 | 日本免费一区二区三区视频 | 免费超碰在线观看 | 性色av网址 | 综合久久激情 | 国产露出视频 | 91精品系列 | 国产69av| 久久久久亚洲av无码网站 | 韩国av免费在线 | 日韩精品综合 | 久久久视频在线观看 | 91在线免费视频 | 九色.com | 绯色av蜜臀vs少妇 | 日韩激情一区二区三区 | 男人的天堂av片 | 日韩av黄色片 | 在线色 | 97xxxx| 日韩无套无码精品 | 国产综合在线视频 | 日本中文字幕在线不卡 | 亚洲在线资源 | 久久婷五月 | 波多野结衣一本 | 中文字幕av高清片 | 青青在线免费观看 | 白石茉莉奈黑人 | 亚洲视频一区在线观看 | 成人做爰9片免费视频 | 亚洲24p | 欧美大片一区二区 | 二区三区在线 | 国产精品一区二区久久久 | 窝窝视频在线观看 | 成人特级毛片69免费观看 | 激情久久网站 | 成人小视频在线 |