How to Use Web Dynpro Popup Menus
|
|
- Ambrose Newman
- 5 years ago
- Views:
Transcription
1 How to Use Web Dynpro Popup Menus Bertram Ganz and Daniel Wirbser SAP AG, NW ESI Foundation UI Overview This sample application demonstrates the usage of Web Dynpro popup menus that come with SAP NetWeaver 2004s. You will learn how to add a popup menu to a Tray UI element, how to declare menu item events, and how to disable or enable menu action items by programmatically disabling or enabling the associated action objects within action event handlers. The sample application also shows popup menus in table cell editors. To select the contained menu items without changing the table s lead selection, the special table selection mode nw04plus combined with parameter mapping is applied. Besides the static definition of popup menus at design time, this tutorial demonstrates how to add popup menus dynamically at runtime by modifying the view layout within the wddomodifyview() controller hook method. Contents 1. Introduction 2. Creating Component and Context 3. Designing the View Layout using Popup Menus 4. Implementing Action Event Handlers 5. Applying the Table Selection Behavior nw04plus 6. Dynamically Adding Popup Menus to the View Layout 7. Related Content Keywords Web Dynpro, Menu, Popup menu, IWDMenu, IWDMenuActionItem, IWDMenuCheckBox, IWDMenuRadioButton, IWDMenuSeparator, Web Dynpro Table, dynamic programming, dynamic UI modification, end user UI customizing, action, action object, parameter mapping, table selection Behavior, compatibiltymode 1. Introduction Demo Application Sshowing Popup Menus The application scenario will demonstrates the following popup menu functions:... The end user is able to customize the Web Dynpro view on the UI using popup menus in both trays (product detail tray, product table tray): 1. Swap (move down or move down) the position of both trays on the UI 2. Delete one row in the table with a popup menu item of a product cell editor (Product ID column) without implicitly changing the table s lead selection. 3. Display product details with a popup menu item of a product cell editor (Product ID column) without implicitly changing the table s lead selection. 4. Hide the product table tray and show it again. 5. The popup menu of the product detail tray is dynamically added at runtime within the wddomodifyview() hook method of the view controller. How to use Popup Menus in Web Dynpro Applications 1
2 Figure 1: Screenshots of demo application demonstrating popup menus How to use Popup Menus in Web Dynpro Applications 2
3 2. Creating Component and Context Create a New Development Component In SAP NetWeaver Developer Studio open the Development Component Perspective to create a new DC. Create a new Web Dynpro DC: In window Local DCs MyComponents select Create New DC, enter sap.com as vendorname, wd/popupmenus as name of the DC and Web Dynpro as DC type. Create a New Web Dynpro Application and Web Dynpro Component Select Applications Create Application and enter PopupMenuApp as name, com.sap.tc.wd.samples.menus as package. Select Create a new component and enter the following values (see table). Input field ComponentName ComponentPackage Window Name Window Package View Name View Package Value PopupMenuComp com.sap.tc.wd.samples.menus PopupMenuWindow com.sap.tc.wd.samples.menus PopupMenuView com.sap.tc.wd.samples.menus Define the Controller Context In the view PopupMenuView create the following context elements: Node/Attribute Name Type Java Data Type Products Value Node (cardinality: 0..n) Details Value Attribute string Name Value Attribute string Price Value Attribute string ProductId Value Attribute string Quantity Value Attribute integer UIState Value Node (cardinality: 1..1 selection cardinality: 1..1) DoSwapTrays Value Attribute boolean MenuItemSelected Value Attribute boolean ProductTrayVisibility Value Attribute Visibility ProductDetail Value Attribute string How to use Popup Menus in Web Dynpro Applications 3
4 Programmatically Populate Context with Sample Data To fill the context with some sample date, the following coding in wddoinit() will be used: javadoc:wddoinit() /** Hook method called to initialize controller. */ public void wddoinit() wddoinit() // ======== Popuplate context node 'Products' ==================== // fill product table with some data List products = new ArrayList(); IPrivatePopupMenuView.IProductsElement product = wdcontext.createproductselement(); product.setname("product 1"); product.setprice("89,90"); product.setproductid("pp-1020"); product.setquantity(850); product.setdetails("detailed description of product 1"); products.add(product); product = wdcontext.createproductselement(); product.setname("product 2"); product.setprice("849,00"); product.setproductid("prd-4711"); product.setquantity(12); product.setdetails("detailed description of product 2"); products.add(product); product = wdcontext.createproductselement(); product.setname("product 3"); product.setprice("0,89"); product.setproductid("zr-0124"); product.setquantity(1000); product.setdetails("detailed description of product 3"); products.add(product); product = wdcontext.createproductselement(); product.setname("product 4"); product.setprice("1,15"); product.setproductid("zr-1454"); product.setquantity(1000); product.setdetails("detailed description of product 4"); products.add(product); // add collection of node elements to context value node wdcontext.nodeproducts().bind(products); // ======== Initialize context attribute 'DoSwapTrays' ==================== // set product table visible and show messages wdcontext.currentuistateelement().setdoswaptrays(false); // ======== Disable certain action objects ==================== wdthis.wdgetmovedownaction().setenabled(false); wdthis.wdgetshowproducttrayaction().setenabled(false); How to use Popup Menus in Web Dynpro Applications 4
5 3. Designing the View Layout Using Popup Menus Menus in general can be used in a MenuBar UI element or within certain UI elements like trays or table cell editors as popup menus: The popup menu is used to group actions in a space-saving way. After a user action the menu is opened according to the UI element to which it is assigned. A MenuBar and a popup menu consist of the following elements: Submenus for hierarchical menu structures, defined as a menu. Different menu items which can be defined as the following UI elements: MenuActionItem, MenuRadioButton, MenuCheckBox, MenuSeparator. The MenuSeparator element adds a separator between two menu items and thus provides a structure to the menu items. Please note that popup menus do not fulfill real context menu functions like populating menus on demand or adapting them to the UI context in which they are opened. Insert a Popup Menu in a Tray UI Element Within the View Designer (select PopupMenuView Layout) implement the following view layout: To use a popup menu you have to select the UI element you want to use for a popup menu (e. g. tray) and select Insert PopupMenu. In this demo application select the ProductTableTray Tray UI element an insert a PopupMenu with id PopupMenuTableTray. Insert the following three menu items by selecting Insert Item. Bind the onaction event of the two MenuActionItem UI elements to new actions. Defining a new action is done by pressing the utmost right button [ ] in the line onaction: How to use Popup Menus in Web Dynpro Applications 5
6 ID Type Event.. onaction Action Text menup MenuActionItem MoveUp Move Up mendown MenuActionItem MoveDown Move Down menseparator MenuSeparator - - menhide MenuActionItem HideProductTray Hide Tray The text property of each menu action item must not be explicitly set as it is retrieved from the associated action object at runtime. For this reason the texts must be defined on action level (action texts) at design time. For the definition of a popup menu in the table you have to select the TableCellEditor of the column you want to provide with a popup menu. Select the context menu item ProductId_editor Insert Menu to insert a menu with ID MenuProductTable. Define the following menu items in the menu UI element MenuProductTable. ID Type Event.. onaction Action Text menshowdetails MenuActionItem ShowProductDetails Show Details mensepprod MenuSeparator - - mendeleteproduct MenuActionItem DeleteProduct Delete Supported UI Elements for Popup Menus List of UI elements carrying a menu: Image, LinkToAction, LinkToURL, ProgressIndicator, TextView, Tray, TreeItem, NodeType Out of this set of menu-aggregating UI elements the following ones can be used as table cell editors: Image, LinkToAction, LinkToURL, ProgressIndicator, TextView How to use Popup Menus in Web Dynpro Applications 6
7 4. Applying the Table Selection Behavior nw04plus When using popup menus in table cell editors we want to avoid an implicit lead selection change. It is quite cumbersome for the user when the selected table line is always moved to the table line, where the popup menu action item was selected. Instead the table s lead selection should keep unaffected for all selected menu items: Such a behavior can be achieved by setting the table property compatibilitymode to nw04plus in combination with implementing a parameter mapping relation. The parameter mapping relation must be implemented to transfer the event parameter nodeelement of a MenuActionItem UI element to a corresponding parameter in the action event handler. With this mechanism a reference to the clicked node element (product in table line) is automatically passed to the action event handler by the Web Dynpro runtime. The lead selection no longer needs to be implicitly changed or accessed for this purpose. Setting the Product Table Property compatibilitymode=nw04plus In a first declarative step, we set the table property compatibilitymode as nw04plus: Select perspective view Layout of the PopupMenuView In the Outline select the Table UI element with id ProductTable Set the property compatibilitymode as nw04plus Define the Action Parameter product We then add a the parameter product of type IProductsElement to the actions ShowProductDetails and DeleteProduct. Select action ShowProductDetails. Define a new action parameter by pressing button New. parameter name: product. parameter type: the parameter type must be defined as IPrivatePopupMenuView.IProductsElement (See following screenshots). You must mark the check box Adapt event handler parameter so that the new action parameter is also added to the related action event handler. Additionally add the same parameter product to the action DeleteProduct and its associated action event handler. How to use Popup Menus in Web Dynpro Applications 7
8 After this step the signature of the generated action event handler onactiondeleteproduct() looks like this: javadoc:onactiondeleteproduct(serverevent) public void onactiondeleteproduct( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent, com.sap.tc.wd.samples.menus.wdp.iprivatepopupmenuview.iproductselement product ) //@@begin onactiondeleteproduct(serverevent)... Implement Parameter Mapping in wddomodifyview() The controller code, which implements the required parameter mapping, is as follows: public static void wddomodifyview( IPrivatePopupMenuView wdthis, IPrivatePopupMenuView.IContextNode wdcontext, com.sap.tc.webdynpro.progmodel.api.iwdview view, boolean firsttime) //@@begin wddomodifyview if (firsttime) // === Apply Parameter Mapping to use compatibilitymode='nw04plus' ===== // Apply compatibilitymode feature for omitting a second server roundtrip // when clicking a menu action item in a table cell editor. As a consequence // the table's lead selection is not changed when selecting a menu action // item. Map UI element event parameter 'nodeelement' to action (event // handler) parameter 'product' (parameter mapping). IWDMenuActionItem menuactionitem = (IWDMenuActionItem) view.getelement("menshowdetails"); menuactionitem.mappingofonaction().addsourcemapping("nodeelement", "product"); menuactionitem = (IWDMenuActionItem) view.getelement("mendeleteproduct"); menuactionitem.mappingofonaction().addsourcemapping("nodeelement", "product"); How to use Popup Menus in Web Dynpro Applications 8
9 5. Implementing Action Event Handlers The next step is to implement the application logic to handle the events in the previously defined actions. The following actions and action event handlers are declared in the view controller of view PopupMenuView: Action Action Text Action Event Handler DeleteProduct Delete onactiondeleteproduct HideProductTray Hide Tray onactionhideproducttray ShowProductTray Show Product Tray onactionshowproducttray MoveDown Move Down onactionmovedown MoveUp Move Up onactionmoveup OnToggle Some Toggle Action onactiontoggle ShowProductDetails Show Details onactionshowproductdetails Implement Controller Code The following code blocks comprise the implementation of the different action event handlers. They are processed by the Web Dynpro Java Runtime when the user has selected a popup menu item on the UI. onactiondeleteproduct () will be called to delete one element in the context node Products. Based on the implemented parameter mapping relation we can access the clicked node element with the action event parameter product. onactionmoveup() and onactionmovedown() will be called to set the context attribute UIState.DoSwapTrays to true and to adapt the state of the action objects MoveUpAction and MoveDownAction. Later, we will swap the order of both trays within the wddomodifyview() hook method. onactionhideproducttray and onactionshowproducttray will be called to set the context attribute ProductTrayVisibility (controls the visibility of the tray with the product table) and to adapt the state of action object ShowProductTrayAction. onactionshowproductdetails will be called to show further product details as TextView UI element in the product detail tray. A reference to the clicked node element is passed by the Web Dynpro Runtime with the action event parameter product. Please notice how the state (disabled or enabled) of the MenuActionItem UI element is implicitly managed by disabling or enabling the action objects to which its onaction event is bound. Based on the event-to-action binding mechanism the Web Dynpro Runtime automatically renders a UI element as disabled in case its event is bound to a disabled action object. This implicit action-object-based disabling/enabling of menu items is not applied for the UI elements MenuCheckBox and MenuRadioButton. They keep enabled for disabled actions. How to use Popup Menus in Web Dynpro Applications 9
10 javadoc:onactiondeleteproduct(serverevent) public void onactiondeleteproduct( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent, com.sap.tc.wd.samples.menus.wdp.iprivatepopupmenuview.iproductselement product ) //@@begin onactiondeleteproduct(serverevent) String productid = product.getproductid(); wdcontext.nodeproducts().removeelement(product); wdcomponentapi.getmessagemanager().reportsuccess("product " + productid + " was sucessfully deleted."); wdcontext.currentcontextelement().setproductdetail(""); //@@begin javadoc:onactionshowproductdetails(serverevent) //@@en d public void onactionshowproductdetails( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent, com.sap.tc.wd.samples.menus.wdp.iprivatepopupmenuview.iproductselement product) //@@begin onactionshowproductdetails(serverevent) wdcontext.currentcontextelement().setproductdetail( "Details for " + product.getproductid() + ": " + product.getdetails()); //@@begin javadoc:onactionhideproducttray(serverevent) public void onactionhideproducttray( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent ) //@@begin onactionhideproducttray(serverevent) wdcontext.currentuistateelement().setproducttrayvisibility(wdvisibility.none); wdthis.wdgetshowproducttrayaction().setenabled(true); wdcontext.currentcontextelement().setproductdetail(""); //@@begin javadoc:onactionshowproducttray(serverevent) //@@en d public void onactionshowproducttray( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent ) //@@begin onactionshowproducttray(serverevent) wdcontext.currentuistateelement().setproducttrayvisibility( WDVisibility.VISIBLE); wdthis.wdgetshowproducttrayaction().setenabled(false); //@@begin javadoc:onactionmoveup(serverevent) public void onactionmoveup( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent ) //@@begin onactionmoveup(serverevent) wdthis.wdgetmoveupaction().setenabled(false); wdthis.wdgetmovedownaction().setenabled(true); How to use Popup Menus in Web Dynpro Applications 10
11 wdcontext.currentuistateelement().setdoswaptrays(true); javadoc:onactionmovedown(serverevent) public void onactionmovedown( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent ) //@@begin onactionmovedown(serverevent) wdthis.wdgetmoveupaction().setenabled(true); wdthis.wdgetmovedownaction().setenabled(false); wdcontext.currentuistateelement().setdoswaptrays(true); 6. Dynamically Adding Menus to the View Layout Swap Tray UI Element Containers in wddomodifyview() RootUIElementContainer swapchildren(1,2) Within the action event handlers onactionmovedown() and onactionmoveup()we set the context attribute UIState.DoSwapTrays to true. //@@begin javadoc:onactionmovedown(serverevent) public void onactionmovedown( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent ) //@@begin onactionmovedown(serverevent) wdthis.wdgetmoveupaction().setenabled(true); wdthis.wdgetmovedownaction().setenabled(false); wdcontext.currentuistateelement().setdoswaptrays(true); Within the wddomodifyview() hook method we can then access this context attribute in order to swap the position of both Tray UI element containers. This can be done by calling the method swapchildren(1,2) which is implemented by all UI element containers of type IWDUIElementContainer. The RootContainerUIElement is of type IWDTransparentContainer How to use Popup Menus in Web Dynpro Applications 11
12 which extends the IWDUIElementContainer interface. The integer values 1 and 2 are based on the fact, that the UI Element HeaderTextView as the first child of the RootContainerUIElement is at position 0. public static void wddomodifyview( IPrivatePopupMenuView wdthis, IPrivatePopupMenuView.IContextNode wdcontext, com.sap.tc.webdynpro.progmodel.api.iwdview view, boolean firsttime) //@@begin wddomodifyview if (firsttime)... else if (wdcontext.currentuistateelement().getdoswaptrays()) // Swap Trays if action 'MoveUp' or 'MoveDown' was triggered on the UI IWDTransparentContainer rootuielement = (IWDTransparentContainer) (IWDTransparentContainer) view.getrootelement(); rootuielement.swapchildren(1, 2); wdcontext.currentuistateelement().setdoswaptrays(false); Dynamically Add a Popup Menu in wddomodifyview() If you want to add popup menus to the view layout at runtime you have to apply dynamic view modification. The related APIs are IWDMenu for menus, IWDMenuActionItems for items in menus, IWDMenuCheckBox for checkboxes im menus and IWDMenuSeparator for horizontal menu separators. The following controller code demonstrates how to create a menu in the wddomodifyview() hook method. Three menu items are added to a new popup menu which is associated with the Tray UI element with id ProductDetailTray by invoking traymsg.setpopupmenu(popupmenu). The first menu item is of type IWDMenuActionItem. Its onaction event is bound to the action ShowProductTrayAction which displays the hidden product detail tray. The second menu item is a UI element of type IWDMenuSeparator. The last one is a checkbox menu item of type IWDMenuCheckBox. The context attribute menuitemselected of type boolean stores the state of this checkbox. The checked property of the menu check box is dynamically bound to this context attribute. public static void wddomodifyview( IPrivatePopupMenuView wdthis, IPrivatePopupMenuView.IContextNode wdcontext, com.sap.tc.webdynpro.progmodel.api.iwdview view, boolean firsttime) //@@begin wddomodifyview if (firsttime) // === Apply Parameter Mapping to use compatibilitymode='nw04plus' =====... // === Dynamically add popup menu to Message Tray ========================= // create IWDMenu object IWDTray traymsg = (IWDTray) view.getelement("productdetailtray"); IWDMenu popupmenu = (IWDMenu) view.createelement(iwdmenu.class, null); traymsg.setpopupmenu(popupmenu); How to use Popup Menus in Web Dynpro Applications 12
13 // add menu action item (IWDMenuActionItem) menuactionitem = (IWDMenuActionItem) view.createelement(iwdmenuactionitem.class, null); menuactionitem.setonaction(wdthis.wdgetshowproducttrayaction()); popupmenu.additem(menuactionitem); // add menu separator IWDMenuSeparator menuseparator = (IWDMenuSeparator) view.createelement(iwdmenuseparator.class, null); popupmenu.additem(menuseparator); // add menu check box (IWDMenuCheckBox) IWDMenuCheckBox menucheckbox = (IWDMenuCheckBox) view.createelement(iwdmenucheckbox.class, null); menucheckbox.setontoggle(wdthis.wdgetontoggleaction()); menucheckbox.bindchecked( wdcontext.nodeuistate().getnodeinfo().getattribute( IPrivatePopupMenuView.IUIStateElement.IS_MENU_ITEM_SELECTED)); popupmenu.additem(menucheckbox);... else if (wdcontext.currentuistateelement().getdoswaptrays()) Related Content Ready-to-use popup menu sample application: 41TutWD_PopupMenus.zip. This Readme document (PDF 49 KB) describes how to import the sample application into your NetWeaver Developer Studio. Web Dynpro UI Element Reference: MenuBar and PopupMenu How to use Popup Menus in Web Dynpro Applications 13
Enhancing Web Dynpro Table Performance
Enhancing Web Dynpro Table Performance Bertram Ganz, Andreas Rössler, NW ESI Foundation - Web Dynpro Foundation for Java Overview The existing Web Dynpro table selection behavior is automatically combined
More informationHow to Use Context Menus in a Web Dynpro for Java Application
How to Use Context Menus in a Web Dynpro for Java Application Applies to: Web Dynpro for Java 7.11. For more information, visit the Web Dynpro Java homepage. Summary This tutorial explains the Web Dynpro
More informationUploading and Downloading Files in Web Dynpro Java
SAP NetWeaver '04 Web Dynpro Java Tutorials Uploading and Downloading Files in Web Dynpro Java Document Version 1.00 Dezember 2005 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F
More informationCreating Your First Web Dynpro Application
Creating Your First Web Dynpro Application Release 646 HELP.BCJAVA_START_QUICK Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any
More informationUploading and Downloading Files in Web Dynpro Java
Applies to: Web Dynpro for Java UI Development, SAP NetWeaver 2004s Summary In this tutorial you learn how to download and upload files within Web Dynpro applications running on SAP NetWeaver 04s by utilizing
More informationHow to Upload and Download Files in a Web Dynpro for Java Application
How to Upload and Download Files in a Web Dynpro for Java Application Applies to: Web Dynpro for Java 7.11. For more information, visit the Web Dynpro Java homepage. Summary In this tutorial you learn
More informationAdvanced Input Help - The Object Value Selector (OVS)
Advanced Input Help - The Object Value Selector (OVS) SAP NetWeaver 04 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or
More informationHow to Develop a Simple Crud Application Using Ejb3 and Web Dynpro
How to Develop a Simple Crud Application Using Ejb3 and Web Dynpro Applies to: SAP Web Dynpro Java 7.1 SR 5. For more information, visit the User Interface Technology homepage. Summary The objective of
More informationDeveloping with Tables in Web Dynpro
Developing with Tables in Web Dynpro SAP NetWeaver 04 Copyright Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without
More informationSAP NetWeaver 04, 7.0, 7.01, CE 7.1, CE 7.11
1 2 3 4 Network / Latency: See other TechEd Sessions UP360 Enhancing Performance of Web Applications Using Accelerated Application Delivery, 4 hour hands-on, Advanced UP108 Accelerated Application Delivery:
More informationImplementing a Table with Sorting and Filtering Capabilities
Implementing a Table with Sorting and Filtering Capabilities Applies to: Web Dynpro for Java applications for SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1. For more information,
More informationWeb Dynpro Java for Newbies: a Quick Guide to Develop Your First Application
Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application Applies to: Web Dynpro for Java (Enhancement package 1 of SAP NetWeaver CE 7.1). For more information, visit the UUser Interface
More informationUpload Image file from system in Web dynpro view
Upload Image file from system in Web dynpro view Applies to: Web Dynpro for Java UI Development, SAP NetWeaver 2004s. For more information, visit the User Interface Technology homepage. For more information,
More informationTutorial: Consuming Web Services in Web Dynpro Java
Tutorial: Consuming Web Services in Web Dynpro Java Applies to: Web Dynpro for Java applications for SAP enhancement package 1 for SAP NetWeaver CE 7.1. For more information, visit the User Interface Technology
More informationDisplaying HR Organizational Tree Structure in Web Dynpro
Displaying HR Organizational Tree Structure in Web Dynpro Applies to: This Article applies to Web Dynpro Java, ABAP HR, and Enterprise Portal 7.0. For more information, visit the User Interface Technology
More informationTutorial. Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms
Tutorial Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms At the conclusion of this exercise, you will be able to: Generate a dynamic form within a Web Dynpro
More informationHow to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name
How to Integrate Web Dynpro ABAP in Portal and Capture Portal Logon User Name Applies to: This document applies to SAP ECC 6.0, SAP Netweaver 2007 and above. For more information, visit the Web Dynpro
More informationHow to Integrate SAP xmii Services with Web Dynpro Java
How to Integrate SAP xmii Services with Web Dynpro Java Applies to: SAP xmii 11.5 SAP Netweaver 04s Summary This document gives a step by step description on how SAP xmii services and objects can be exposed
More informationBEST PRACTICES FOR BUILDING STATE-OF-THE-ART WEB DYNPRO JAVA USER INTERFACES SAP NetWeaver CE 7.11 EhP1
BEST PRACTICES FOR BUILDING STATE-OF-THE-ART WEB DYNPRO JAVA USER INTERFACES SAP NetWeaver CE 7.11 EhP1 Exercises / Solutions Mykola Gorbarov / SAP AG / SAP NW Core UI&AM F Bertram Ganz / SAP AG / SAP
More informationEffective Web Dynpro - Adaptive RFC Models
Effective Web Dynpro - Adaptive RFC Models Bertram Ganz, NWF Web Dynpro Foundation for Java Overview In many Web Dynpro applications, backend access is based on RFC modules in SAP systems. The Web Dynpro
More informationUsing Business Graphics
Using Business Graphics SAP NetWeaver 2004 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the
More informationDynamic Context Menus in Web Dynpro ABAP.
Dynamic Context Menus in Web Dynpro ABAP. Applies to: Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary In this tutorial I want to explain how to define context
More informationTutorial. Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API
Tutorial Interactive Forms Integration into Web Dynpro for Java Topic: Working with the PdfObject API At the conclusion of this tutorial, you will be able to: Generate PDF forms and fill them with XML
More informationWDJ: Adaptive Web Service Model Controller Coding Explained
WDJ: Adaptive Web Service Controller Coding Explained WDJ: Adaptive Web Service Controller Coding Explained Applies to: Web Dynpro for Java UI Development, SAP NetWeaver 04 SP Stack 17, SAP NetWeaver 04s
More informationWorking with the Roadmap UI Element in Web Dynpro ABAP
Working with the Roadmap UI Element in Web Dynpro ABAP Applies to: Web Dynpro ABAP Summary This tutorial shows the use of the Roadmap UI element in Web Dynpro ABAP applications. The tutorial shows navigation
More informationWDA Tutorial II: Using Select Options in a WDA Application
Applies To: SAP NetWeaver 2004s Web Dynpro for ABAP Summary This tutorial provides a step-by-step guide for using Select Option functionality in a WDA application. This tutorial assumes that you have completed
More informationHandling Transactions with BAPIs in Web Dynpro
Handling Transactions with BAPIs in Web Dynpro SAP NetWeaver 04 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any
More informationHow to Use Calendar in Web Dynpro
How to Use Calendar in Web Dynpro Applies to: Web Dynpro for Java 7.11 For more information, visit the Web Dynpro Java homepage. Summary This tutorial shows the usage of two types of Calendar UI elements,
More informationSDN Community Contribution
SDN Community Contribution (This is not an official SAP document.) Disclaimer & Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces
More informationDialog Windows in WebDynpro ABAP Applications
Dialog Windows in WebDynpro ABAP Applications Applies to: WebDynpro ABAP For more information, visit the Web Dynpro ABAP homepage. Summary This document explains how to create popup dialog windows, external
More informationWeb Dynpro Interactive Forms Data Transfer and Scripting
Web Dynpro Interactive Forms Data Transfer and Scripting Applies to: Webdynpro Java Development, Adobe Interactive forms, SAP NetWeaver 2004s. For more information, visit the User Interface Technology
More informationWorking with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP
Working with Dynamic Tables in Interactive Adobe Forms and WebDynpro ABAP Applies to: Adobe Live Cycle Designer 8.0- Web Dynpro ABAP Summary This article would help ABAP developers, who are faced with
More informationNetAdvantage for jquery SR Release Notes
NetAdvantage for jquery 2012.1 SR Release Notes Create the best Web experiences in browsers and devices with our user interface controls designed expressly for jquery, ASP.NET MVC, HTML 5 and CSS 3. You
More informationWorking with Tabstrip in Webdynpro for ABAP
Working with Tabstrip in Webdynpro for ABAP Applies to: SAP ECC 6.0 (Release 700, SP 12). For more information, visit the Web Dynpro ABAP homepage.. Summary This tutorial explains about Step-By-Step procedure
More informationWeb Dynpro ABAP: Dynamic Table
Applies to: SAP ECC 6.0 Summary Normally ABAP consultants might be aware of how to create internal table dynamically. This article aims to help the consultants how to display the dynamic table using Web
More informationFreely Programmed Help- Web Dynpro
Freely Programmed Help- Web Dynpro Applies to: SAP ABAP Workbench that supports Web dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary In addition to the Dictionary Search
More informationAccessing ABAP Functions in Web Dynpro Java
Accessing ABAP Functions in Web Dynpro Java Applies to: Web Dynpro Java in SAP NetWeaver 7.0 (2004s) Summary This tutorial shows how to use the Adaptive RFC model to connect to a SAP backend. Level of
More informationProduct Manager SAP NetWeaver US PM - SAP Labs
Web Dynpro for ABAP Your Instructor Venky Varadadesigan Product Manager SAP NetWeaver US PM - SAP Labs Venkata.varadadesigan@sap.com SAP AG 2006, Venky Varadadesigan / Web Dynpro for ABAP / 2 Learning
More informationCreating a Development Component
Applies To: SAP WAS 6.40 SP9, NWDS 2.0.9 Summary This blog attempts to develop a reusable utility component which can be used in WebDynpro development using NWDS and there by reducing the development time.
More informationValue Help in Web Dynpro ABAP - Tutorial.
Value Help in Web Dynpro ABAP - Tutorial. Applies to: Web Dynpro for ABAP, For more information, visit the Web Dynpro ABAP homepage. Summary In this tutorial I want to explain how to set value help for
More informationHow to pass data from ABAP to Web Dynpro ABAP - Part 1
How to pass data from ABAP to Web Dynpro ABAP - Part 1 Introduction This document explains how to pass data from ABAP to Web Dynpro ABAP application. Here I am taking a simple and well known example, Flight
More informationWeb Dynpro ABAP: Changing ALV Contents and Saving in Database
Web Dynpro ABAP: Changing ALV Contents and Saving in Database Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary The article is aimed to help beginners in Webdynpro
More informationTable Row Popup in Web Dynpro Component
Table Row Popup in Web Dynpro Component Applies to Web Dynpro for ABAP, NW 7.0. For more information, visit the Web Dynpro ABAP homepage. Summary This document helps to create Table Rowpopin in a Web Dynpro
More informationIntegrating Web Dynpro and SAP NetWeaver Portal: Personalization of Web Dynpro Java applications
Integrating Web Dynpro and SAP NetWeaver Portal: Personalization of Web Dynpro Java applications Applies to: Integration of Web Dynpro Java applications into the SAP NetWeaver Portal for the SAP NetWeaver
More informationUsing Knowledge Management Functionality in Web Dynpro Applications
Using Knowledge Management Functionality in Web Dynpro Applications SAP NetWeaver 04 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in
More informationPassing Parameters via Web Dynpro Application
Applies to: SAP ABAP Workbench that supports Web Dynpro development. For more information, visit the Web Dynpro ABAP homepage. Summary This article explains how to pass parameters via Web Dynpro Application.
More informationTable Properties and Table Popin
Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage Summary This article is designed to explain for setting the properties of Table at runtime based on condition and also
More informationDefining Associations in Business Object Builder
Defining Associations in Business Object Builder expert Summary Associations create relationships within the nodes of a BO or between different BOs. This tutorial introduces the most important types of
More informationALV with Dynamic Structure in Web DynPro
ALV with Dynamic Structure in Web DynPro Applies to: Web DynPro ABAP. For more information, visit the Web Dynpro ABAP homepage. Summary Though it s always better to give all the design to your WDC before
More informationInside Web Dynpro for Java
Chris Whealy 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Inside Web Dynpro for Java "m HOCHSCHULE M LIECHTENSTEIN
More informationISU BOL Tree: Configuration and Enhancement
ISU BOL Tree: Configuration and Enhancement Applies to: SAP CRM 7.0. For more information, visit the Customer Relationship Management homepage. Summary This document is aimed at understanding the configuration
More informationSAP Composite Application Framework. Using a Composite Application via a Web Dynpro UI
SAP Composite Application Framework Using a Composite Application via a Web Dynpro UI Version 1.00 July 2006 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18 05/34 34 20 www.sap.com
More informationCustom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java
Custom Password Reset Tool in SAP Enterprise Portal Using Web Dynpro for Java Applies to: SAP Enterprise Portal, Web Dynpro for Java. For more information, visit the Portal and Collaboration homepage.
More informationUsing Drop Down By Index in Table UI Element in WebDynpro ABAP
Using Drop Down By Index in Table UI Element in WebDynpro ABAP Applies to: Enterprise portal, ECC 6.0, Web Dynpro ABAP. For more information, visit the Web Dynpro ABAP homepage. Summary This article would
More informationCreating Rules in Process Composer and using them in Process
Creating Rules in Process Composer and using them in Process Applies to: SAP NetWeaver Composition Environment 7.1 EHP-1 Version. For more information, visit the Composition homepage. Summary This article
More informationKendo UI. Builder by Progress : What's New
Kendo UI Builder by Progress : What's New Copyright 2017 Telerik AD. All rights reserved. July 2017 Last updated with new content: Version 2.0 Updated: 2017/07/13 3 Copyright 4 Contents Table of Contents
More informationHow to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3
How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3 Applies to: SAP NetWeaver Portal 7.3, NWDS 7.3. For more information, visit the Portal and Collaboration homepage. Summary This
More informationGenerating Self-Defined Functions for ALV in Web Dynpro for ABAP
Generating Self-Defined Functions for ALV in Web Dynpro for ABAP Applies to: SAP NetWeaver 2004s Web Dynpro for ABAP. Summary This tutorial explains how to generate custom defined functions in ALV. It
More informationMigration Guide. SAP Web Application Server Release 6.40 J2EE and Web Dynpro for Java
Migration Guide SAP Web Application Server Release 6.40 J2EE and Web Dynpro for Java Table of Contents: Introduction 3 Deinstallation: 6.30 SAP J2EE Engine and SAP NetWeaver Developer Studio (SP2) 3 Installation
More informationDeveloping Web Dynpro User Interfaces
Developing Web Dynpro User Interfaces SAP NetWeaver 04 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
More informationPieter van den Hombergh Thijs Dorssers Stefan Sobek. February 10, 2017
Inheritance and Inheritance and Pieter van den Hombergh Thijs Dorssers Stefan Sobek Fontys Hogeschool voor Techniek en Logistiek February 10, 2017 /FHTenL Inheritance and February 10, 2017 1/45 Topics
More informationAn Android Studio SQLite Database Tutorial
An Android Studio SQLite Database Tutorial Previous Table of Contents Next An Android Studio TableLayout and TableRow Tutorial Understanding Android Content Providers in Android Studio Purchase the fully
More informationBuilding a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2
Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2 Applies to: SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 Summary This guide explains how to
More informationIgnite UI Release Notes
Ignite UI 2013.1 Release Notes Create the best Web experiences in browsers and devices with our user interface controls designed expressly for jquery, ASP.NET MVC, HTML 5 and CSS 3. You ll be building
More informationTOP Server Client Connectivity Guide for National Instruments' LabVIEW
TOP Server Client Connectivity Guide for National Instruments' LabVIEW 1 Table of Contents 1. Overview and Requirements... 3 2. Setting TOP Server to Interactive Mode... 3 3. Creating a LabVIEW Project...
More informationADF Mobile Code Corner
ADF Mobile Code Corner m03. Abstract: Dependent lists is a common functional requirement for web, desktop and also mobile applications. You can build dependent lists from dependent, nested, and from independent,
More informationKM Search and Replace: Web Dynpro Java KM-API Example
SDN Contribution KM Search and Replace: Web Dynpro Java KM-API Example Applies to: This tutorial applies to the custom development IT Scenario. It utilizes Web Dynpro Java along with the KM APIs. This
More informationWDJ - Application to execute MDX query using the BI Java SDK
WDJ - Application to execute MDX query using the BI Java SDK Applies to: This document and the presented code example rely upon SAP NWDS v 2.0.16 (Web Dynpro Java), SAP WAS 6.40 SP16, BI Java SDK SP15,
More informationImplementing Business Objects in CAF and Developing Web Dynpro Application
Implementing Business Objects in CAF and Developing Web Dynpro Application Applies to: SAP Net Weaver CE 7.1.1 EHP1 (SP0, SP1, SP2 sand SP3). For more information, visit the Web Dynpro Java homepage. Summary
More informationThis download file shows detailed view for all updates from BW 7.5 SP00 to SP05 released from SAP help portal.
This download file shows detailed view for all updates from BW 7.5 SP00 to SP05 released from SAP help portal. (1) InfoObject (New) As of BW backend version 7.5 SPS00, it is possible to model InfoObjects
More informationCommon Navigator Framework
Common Navigator Framework file://c:\d\workspaces\eclipsecnf\org.eclipse.platform.doc.isv\guide\cnf.htm Page 1 of 3 Common Navigator Framework A Viewer provides the user with a view of objects using a
More informationContents Introduction 1
SELF-STUDY iii Introduction 1 Course Purpose... 1 Course Goals...1 Exercises... 2 Scenario-Based Learning... 3 Multimedia Overview... 3 Assessment... 3 Hardware and Software Requirements... 4 Chapter 1
More informationWDJ - A Generic Java Class for Filtering Web Dynpro Tables
WDJ - A Generic Java Class for Filtering Web Dynpro Tables Applies to: SAP NetWeaver 04s, Web Dynpro Java Summary Web Dynpro Table offers a Table Sorter Java Class that can be directly used to sort any
More informationWeb Dynpro for ABAP: Tutorial 5 Component and Application Configuration
Web Dynpro for ABAP: Tutorial 5 Component and Application Configuration SAP NetWeaver 2004s Copyright Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted
More informationPieter van den Hombergh Thijs Dorssers Stefan Sobek. January 11, 2018
Inheritance and Inheritance and Pieter van den Hombergh Thijs Dorssers Stefan Sobek Java Inheritance Example I Visibility peekabo Constructors Fontys Hogeschool voor Techniek en Logistiek January 11, 2018
More informationAP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS
AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS PAUL L. BAILEY Abstract. This documents amalgamates various descriptions found on the internet, mostly from Oracle or Wikipedia. Very little of this
More informationASPxperience Client-Side Manipulation: Using Client APIs and Handling Client-Side Events
ASPxperience Client-Side Manipulation: Using Client APIs and Handling Client-Side Events In this lesson, you ll learn how to work with Client-Side events of Developer Express Web Controls. You ll learn
More informationCreating a Web Dynpro UI for a Composite Application. SAP Composite Application Framework
Creating a Web Dynpro UI for a Composite Application SAP Composite Application Framework Document Version 1.00 November 2005 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18
More informationUsing the API... 3 edriven.core... 5 A PowerMapper pattern... 5 edriven.gui... 7 edriven.gui framework architecture... 7 Audio... 9 Animation...
1 Using the API... 3 edriven.core... 5 A PowerMapper pattern... 5 edriven.gui... 7 edriven.gui framework architecture... 7 Audio... 9 Animation... 11 Tween class... 11 TweenFactory class... 12 Styling...
More informationWeb Dynpro: Coloring Table Conditionally
Web Dynpro: Coloring Table Conditionally Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary This article is designed for the beginners in Web Dynpro who have ABAP
More informationSAP MASTER DATA GOVERNANCE FRAMEWORK CONFIGURATION AND UI PERSONALIZATION
SAP MASTER DATA GOVERNANCE FRAMEWORK CONFIGURATION AND UI PERSONALIZATION EIM261 Exercises / Solutions Michael Boettcher / SAP AG 2 INTRODUCTION With its domain-specific out-of-the-box applications, SAP
More informationSAP Certified Associate Technology Architect print view[link to: same link]
SAP EDUCATION SAMPLE QUESTIONS: C_SOA_TA_70 SAP Certified Associate Technology Architect print view[link to: same link] Disclaimer: These sample questions are for self-evaluation purposes only and do not
More informationHow to Access Images of SAP Netweaver Demo Model JAVA
How to Access Images of SAP Netweaver Demo Model JAVA Applies to: SAP Netweaver Composition Environment 7.2 For more information, visit the User Interface Technology homepage. Summary Up to Netweaver 7.2
More informationIntroducing V3 Analytics A U G U S T
Introducing V3 Analytics A U G U S T 2 0 1 7 Table of Contents Document Versioning 2 Introduction 3 Terminology 3 Analytics Platforms: V1 Analytics versus V2 Analytics versus V3 Analytics 3 Schedule 3
More informationChapter 4 Defining Classes I
Chapter 4 Defining Classes I This chapter introduces the idea that students can create their own classes and therefore their own objects. Introduced is the idea of methods and instance variables as the
More informationADF Mobile Code Corner
ADF Mobile Code Corner m05. Caching WS queried data local for create, read, update with refresh from DB and offline capabilities Abstract: The current version of ADF Mobile supports three ADF data controls:
More informationChapter 5. Inheritance
Chapter 5 Inheritance Objectives Know the difference between Inheritance and aggregation Understand how inheritance is done in Java Learn polymorphism through Method Overriding Learn the keywords : super
More informationWebdynpro ABAP Application. URL Address Fully Qualified Domain Name ( FQDN ) URL s & Namespaces and Restrictions. Logon page Configuration.
Webdynpro Introduction Introduction to Browser Based Technologies Introduction to Webdynpro ABAP Framework & its Advantages Introduction to MVC Architecture Webdynpro ABAP Configuration Setup. Difference
More informationThis tutorial explains the key concepts of Web Dynpro with relevant screenshots for better understanding.
About the Tutorial SAP Web Dynpro is a standard SAP UI technology to develop web applications using graphical tools and development environment integrated with ABAP workbench. The use of graphical tools
More informationTable Popins and Business Graphics in Web Dynpro ABAP
Table Popins and Business Graphics in Web Dynpro ABAP Applies to: SAP ECC 6.0. For more information, visit the Web Dynpro ABAP homepage. Summary Table Popins are the additional feature to a Table UI element.
More information10Tec igrid ActiveX 6.x What's New in the Latest Builds
What's New in igrid ActiveX 6.x - 1-2017-Feb-06 10Tec igrid ActiveX 6.x What's New in the Latest Builds Keywords used to classify changes: [New] a totally new feature; [Change] a change in a member functionality
More informationBetter UI Makes ugui Better!
Better UI Makes ugui Better! 2016 Thera Bytes UG Developed by Salomon Zwecker TABLE OF CONTENTS Better UI... 1 Better UI Elements... 4 1 Workflow: Make Better... 4 2 UI and Layout Elements Overview...
More informationProduced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology
Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie The image cannot be displayed. Your computer
More informationHow To Create FPM Application consuming CDS view using ACT
SAP NetWeaver How-To Guide How To Create FPM Application consuming CDS view using ACT Applicable Releases: SAP NetWeaver AS ABAP 7.4 SP5 Target Audience: FPM Developers Version 1.0 February 2014 Copyright
More informationAriadnima - Android Component Flow Reconstruction and Visualization
2017 IEEE 31st International Conference on Advanced Information Networking and Applications Ariadnima - Android Component Flow Reconstruction and Visualization Dennis Titze, Konrad Weiss, Julian Schütte
More informationWorking with Select Options in Web Dynpro for ABAP
Working with Select Options in Web Dynpro for ABAP Applies to: SAP ECC 6.0 (Release 700, SP 12). Summary To show a select options screen in Web Dynpro ABAP we have to use SAP s Standard component. This
More informationBuild a Web Dynpro Application
How to Build a Web Dynpro Application PUBLIC ASAP How to Paper January 2004. PUPLIC Copyrights Copyright 2003 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in
More informationChapter 2 Welcome App
2.8 Internationalizing Your App 1 Chapter 2 Welcome App 2.1 Introduction a. Android Studio s layout editor enables you to build GUIs using drag-and-drop techniques. b. You can edit the GUI s XML directly.
More informationNetAdvantage for WPF 12.2 Service Release Notes January 2013
NetAdvantage for WPF 12.2 Service Release Notes January 2013 Create electrifying user experiences with next generation WPF controls that deliver the high performance and rich feature set your line-of-business
More informationPEGACUIS71V1 pegasystems
PEGACUIS71V1 pegasystems Number: PEGACUIS71V1 Passing Score: 800 Time Limit: 120 min Exam A QUESTION 1 Which of the following rule types does the Localization wizard translate? (Choose Two) A. Field Value
More information