使用Docking Container展示alv.docx

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
使用Docking Container展示alv

目的:有时我们需要把container 放在任意角落,并可调整大小,例如,alv和选择屏幕都放在相同的屏幕上,为了实现这样的目的我们就需要用docking container介绍:我们都知道SAP Container是个 control,包含一些控件,例如,SAP Tree Control, SAP Picture Control, SAP Text edit Control, SAP Splitter Control等等,他集中地逻辑管理这些控件,并提供一个物理空间用于展示他们。所有的控件都依赖于一个container,因为这些container都是他们控制,你能嵌套他们,下面列举了5种SAP Containers:1、SAP Custom Container? ? The SAP Custom Container allows you to display controls in an area defined on a normal screen?? ? using the Screen Painter.? ? Class: CL_GUI_CUSTOM_CONTAINER2、 SAP?Dialog?Box Container? ? The SAP Dialog Box container allows you to display controls in an amodal dialog box or? ? fullscreen.? ? Class: CL_GUI_DIALOGBOX_CONTAINER3、SAP Docking Container? ? The SAP Docking Container allows you to attach a control to any of the four edges of a screen as? ? a resizable screen area. You can also detach it so that it becomes an??independent amodal? ???? ? dialog box.? ? Class: CL_GUI_DOCKING_CONTAINER4、SAP Splitter Container? ? The SAP Splitter Container allows you to display more than one control in a given area by? ???dividing it into cells.? ???Class: CL_GUI_SPLITTER_CONTAINER5、SAP Easy Splitter Container? ? The SAP Easy Splitter Container allows you to divide an area into two cells with a control in? ? each. The cells are separated by a moveable splitter bar.? ? Class: CL_GUI_EASY_SPLITTER_CONTAINER程序代码:TABLES: mara.*---------------------------------------------------------------------**? ?? ?? ?? ?? ?? ?? ?? ?W O R K??A R E A S? ?? ?? ?? ?? ?? ?? ?? ?? ?**---------------------------------------------------------------------*DATA:*??Material Data? ?BEGIN OF wa_mara,? ???matnr? ? TYPE? ?mara-matnr,? ?? ?? ? Material No.? ???mtart? ? TYPE? ?mara-mtart,? ?? ?? ? Material Type? ???bismt? ? TYPE? ?mara-bismt,? ?? ?? ? Old material No.? ???matkl? ? TYPE? ?mara-matkl,? ?? ?? ? Material group? ???meins? ? TYPE? ?mara-meins,? ?? ?? ? Base Unit of Measure? ???brgew? ? TYPE? ?mara-brgew,? ?? ?? ? Gross Weight? ???ntgew? ? TYPE? ?mara-ntgew,? ?? ?? ? N

文档评论(0)

shuwkb + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档