随笔分类 - WDA
SAP WebDynpro
摘要:1.22 HTML Container 本实例测试HTML在WDA中结合使用。 創建WDA Component: Z_TEST_WDA99 UI Element VIEW:MAIN 創建UI Element:Splitter,SP1 設置height:600px; 設置sashPosition:20
阅读全文
摘要:1.21 Drag Drop使用 本实例测试Drag Drop; 运行结果: Drag图标Drop到添加Icon,会将一条记录添加到Table; Drag Table记录Drop到垃圾桶Icon,会将记录删除; Group1中不同Tray可以交换位置; Group2中不同Tray可以交换位置; Se
阅读全文
摘要:1.20 UI Element:RoadMap使用 本实例测试创建RoadMap; 运行结果: 点击2,Input显示输入航班Id 点击3,根据input输入,查询航班信息 1.创建Component,View: V_ROADMAP; 2.创建Context节点; 创建Node:NODE_INPUT
阅读全文
摘要:1.19 UI Element:Phase Indicator使用 本实例测试创建Phase Indicator; 运行结果: 1.创建Component,View: V_PHASE_IND; 2.创建Context节点; 创建NODE:NODE_PHASE_STATUS,记录每个阶段状态; 创建A
阅读全文
摘要:1.18 UI Element:Date Navigator使用 本实例测试创建Date Navigator; 1.创建Component,View: V_DATE_NAVIGATOR; 2.创建Context节点; 创建NODE: NODE_DATENAV, Cardinality:1..1; 创
阅读全文
摘要:1.17 UI Element:Context Menu使用 本实例测试创建Context Menu. 1.创建Component,View: V_CONTEXT_MENU; 2.创建Context节点; 创建Node:NODE_TV,Cardinality:1..1; 创建Attribute:TV
阅读全文
摘要:1.16 UI Element:Radio Button & CheckBox使用 本实例测试Radio Button Group,CheckBox Group等的使用。 注:DropdownByKey,DropdownByIndex使用方式和RadioButtonGroupByKey,RadioB
阅读全文
摘要:1.15 WDA PLG,Application跳转传参 本实例Outbound Plugs页面跳转传参,URL跳转Application传参。 1.创建Component:Z_TEST_WDA_L6; 2.创建Main View; Context页签: 创建Context Node:NODE_PA
阅读全文
摘要:1.14 WDA Popup,Message,Focus WDA测试Popup,Message,光标Focus功能。 1.创建Component; COMPONENTCONTROLLER页签 Context页签:创建Context Node:MESSAGE; 创建Attribute:MSG,类型CH
阅读全文
摘要:1.13 WDA Method Process List WDA执行过程中,Component Controller,Windows,Views中方法执行顺序测试。 创建MAIN View 1.创建Context节点,NODE_TV; 创建Attribute:TV1,类型String; 2.创建La
阅读全文
摘要:1.12 UI Element:Table使用 1.Table Filter and Sort 1.1创建Context节点; NODE_SFLIGHT, FILTER_COL:CARRID,CONNID栏位做为筛选器栏位 1.2创建Layout UI Element; 创建Table,绑定节点NO
阅读全文
摘要:1.11 UI Element:Tabstrip使用 本实例显示UI Element:Tabstrip的使用。 1.创建Component; 2.选择Layout页签,设置页面; 创建UI Element:Tabstrip,插入两个Tab; Tab1 ID: T_TAB1; Tab2 ID:T_TA
阅读全文
摘要:3.21 Quality Assurance and Supportability WDA程序效能验证工具。 Tests工具: eCATT and Web Dynpro ABAP Debugging工具: Debugging Web Dynpro ABAP Applications Debuggin
阅读全文
摘要:3.20 Print WDA调用浏览器打印界面 1.创建Print按钮,绑定事件PRINT; 2.实现ONACTIONPRINT事件; method ONACTIONPRINT. DATA:l_api_componentcontroller TYPE REF TO if_wd_component.
阅读全文
摘要:3.19 12-Hour Time Format SAP中使用类:CL_ABAP_TIMEFM,对时间进行操作; SAP中设置时间格式: 1.选择System->User Profile->Own Data; 2.选择Defaults页签; 3.设置Time Format; 示例: "test ti
阅读全文
摘要:3.18 Messages WDA运行过程中显示提示信息。 示例:WDR_TEST_MSG_AREA; 使用接口类:IF_WD_MESSAGE_MANAGER; 类中方法: CLEAR_MESSAGES:Deletes all messages IS_EMPTY:Queries whether me
阅读全文
摘要:3.17Input Help Search Help Web Dynpro ABAP Framework提供两种方式Search Help; 1. ABAP Dictionary Search Help; 2. OVS Value Help; OVS使用Component:WDR_OVS实现,通过C
阅读全文
摘要:3.16 Working with Dialog Boxes 使用弹出框。 通过接口: IF_WD_WINDOW_MANAGER 方法:CREATE_POPUP_TO_CONFIRM,创建弹出框。 注:其中设置窗口大小位置的方法不生效; IF_WD_WINDOW~SET_WINDOW_POSITIO
阅读全文
摘要:3.15Handling Images and Web Icons 使用class: CL_WD_WEB_ICON,处理网络图片; 支持的图片URL路径格式: ~IconAlias:示例:~Icon/Attachment、~IconLarge/AudioFile; $NAME$ or $NAME$/
阅读全文
摘要:3.13Suspend and Resume Calls 在保留first application情况下,导航到second application。 示例代码:创建outbound:go_suspending,URL参数类型:String or TIHTTPNVP URL格式:<schema>:/
阅读全文