Unofficial SAP WebDynpro for ABAP
By Equity Press
5/5
()
About this ebook
– but finding good reference materials can be difficult. Now, for the first time, a
world class Web Dynpro consultant shares his knowledge and understanding of this complex topic. Web Dynpro for ABAP guides you easily through your learning process. From helping you to assess your Web Dynpro skills, to helping screen candidates for your ABAP positions, Web Dynpro for ABAP will help you understand
what you really need to know. This book is organized around several areas of Web Dynpro for ABAP: Component based development, selected topics in User Interface design, Business Server Pages, and more. More than just a rehash of
Web Dynpro for ABAP documentation and sales presentations, each question is based on implementation project know-how gained on high-profile Web Dynpro for ABAP implementations.
Key topics include:
Component based development
Topics in User Interface Design
Business Server Pages
Read more from Equity Press
SAP Basis Configuration Frequently Asked Questions Rating: 4 out of 5 stars4/5SAP Security Interview Questions, Answers, and Explanations Rating: 4 out of 5 stars4/565 Interview Questions: Conquer Your Fear and Answer the Toughest Job Interview Questions Rating: 4 out of 5 stars4/5SAP ECC FI Transaction Codes: Unofficial Certification and Review Guide Rating: 5 out of 5 stars5/5The Programmer’s Guide to Microsoft Access Rating: 5 out of 5 stars5/5SAP IS-Retail Interview Questions, Answers, and Explanations Rating: 3 out of 5 stars3/5SAPCOOKBOOK Training Tutorials: SAP MM Inventory Management Rating: 4 out of 5 stars4/5Cisco Network Administration Interview Questions: CISCO CCNA Certification Review Rating: 5 out of 5 stars5/5Oracle® Financials Interview Questions: Unofficial Oracle Financials Certification Review Rating: 3 out of 5 stars3/5SAP ABAP Objects Interview Questions Rating: 4 out of 5 stars4/5SAP R/3 Transaction Codes Unofficial Certification and Review Guide Rating: 4 out of 5 stars4/5C# Interview Questions, Answers, and Explanations: C Sharp Certification Review Rating: 5 out of 5 stars5/5TCP/IP Networking Interview Questions, Answers, and Explanations: TCP/IP Network Certification Review Rating: 5 out of 5 stars5/5SAP FICO Company Creation Rating: 4 out of 5 stars4/5SAP Solution Manager Rating: 4 out of 5 stars4/5Oracle Ultimate DBA Interview Questions Rating: 5 out of 5 stars5/5COBOL Programming Interview Questions: COBOL Job Interview Preparation Rating: 5 out of 5 stars5/5SAP APO Interview Questions, Answers, and Explanations: SAP APO Certification Review Rating: 2 out of 5 stars2/5Linux Interview Questions: Open Source Operating Systems Interview Questions, Answers, and Explanations Rating: 5 out of 5 stars5/5Python Interview Questions Rating: 5 out of 5 stars5/5UNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Rating: 5 out of 5 stars5/5SAPCOOKBOOK Training Tutorials SAP Financials: Accounts Receivable Rating: 4 out of 5 stars4/5Breaking In to SAP HR: Interview Questions, Answers and Explanations Rating: 4 out of 5 stars4/5SAP MDM Frequently Asked Questions Rating: 5 out of 5 stars5/5Oracle Database Security Interview Questions, Answers, and Explanations: Oracle Database Security Certification Review Rating: 0 out of 5 stars0 ratings
Related to Unofficial SAP WebDynpro for ABAP
Related ebooks
SAP ABAP Objects Interview Questions Rating: 4 out of 5 stars4/5SAP XI Exchange Infrastructure Rating: 1 out of 5 stars1/5SAP Tools Methodologies and Techniques: Methodologies and Techniques Rating: 0 out of 5 stars0 ratingsSAP Solution Manager Rating: 4 out of 5 stars4/5Software Development on the SAP HANA Platform Rating: 5 out of 5 stars5/5SAP MDM Frequently Asked Questions Rating: 5 out of 5 stars5/5Ruby on Rails Web Mashup Projects Rating: 0 out of 5 stars0 ratingsSAP interface programming with RFC and VBA: Edit SAP data with MS Access Rating: 0 out of 5 stars0 ratingsSAP Cloud Platform Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsSAP NetWeaver A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsSAP ABAP Performance Tuning Rating: 5 out of 5 stars5/5Sap Hana - All About Views Rating: 5 out of 5 stars5/5ABAP Knowledge Second Edition Rating: 0 out of 5 stars0 ratingsUI5 User Guide: How to develop responsive data-centric client web applications Rating: 0 out of 5 stars0 ratingsWeb Dynpro ABAP Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsSAPCOOKBOOK Training Tutorials SAP Financials: Accounts Receivable Rating: 4 out of 5 stars4/5SAP Solution Manager A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsSAP Workflow Business Process Automation: Business Process Automation Rating: 0 out of 5 stars0 ratingsLearn SAP Basis in 24 Hours Rating: 5 out of 5 stars5/5SAP Solution Manager A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsUser Exits In SAP SD Rating: 4 out of 5 stars4/5Real Time Analytics with SAP HANA Rating: 0 out of 5 stars0 ratingsCracking the SAP S/4HANA Interview: Get Your Dream Job Today with Intelligent Responses to the Employer Rating: 0 out of 5 stars0 ratingsSAP HANA Interview Questions You'll Most Likely Be Asked: Job Interview Questions Series Rating: 0 out of 5 stars0 ratingsSAP MDG-M A Complete Guide Rating: 0 out of 5 stars0 ratingsSap/ABAP Hana Programming: Learn to design and build SAP HANA applications with ABAP/4 Rating: 0 out of 5 stars0 ratingsSAP R/3 Transaction Codes Unofficial Certification and Review Guide Rating: 4 out of 5 stars4/5SAP Variant Configuration: Your Successful Guide to Modeling Rating: 5 out of 5 stars5/5SAP Analytics Cloud Third Edition Rating: 0 out of 5 stars0 ratingsLearn SAP BI in 24 Hours Rating: 3 out of 5 stars3/5
Software Development & Engineering For You
Level Up! The Guide to Great Video Game Design Rating: 4 out of 5 stars4/5Diary of a Software Craftsman Rating: 5 out of 5 stars5/5Python For Dummies Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Lua Game Development Cookbook Rating: 0 out of 5 stars0 ratingsPYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Hand Lettering on the iPad with Procreate: Ideas and Lessons for Modern and Vintage Lettering Rating: 4 out of 5 stars4/5Android App Development For Dummies Rating: 0 out of 5 stars0 ratingsBeginning Programming For Dummies Rating: 4 out of 5 stars4/5Learning Python Rating: 5 out of 5 stars5/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards Rating: 0 out of 5 stars0 ratingsHow Do I Do That in Photoshop?: The Quickest Ways to Do the Things You Want to Do, Right Now! Rating: 4 out of 5 stars4/5The Essential Persona Lifecycle: Your Guide to Building and Using Personas Rating: 4 out of 5 stars4/5The Inmates Are Running the Asylum (Review and Analysis of Cooper's Book) Rating: 4 out of 5 stars4/5SQL For Dummies Rating: 0 out of 5 stars0 ratingsGit Essentials Rating: 4 out of 5 stars4/5Programming Problems: A Primer for The Technical Interview Rating: 4 out of 5 stars4/5Managing Humans: Biting and Humorous Tales of a Software Engineering Manager Rating: 4 out of 5 stars4/5Ry's Git Tutorial Rating: 0 out of 5 stars0 ratingsCoding All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsHow Do I Do That In InDesign? Rating: 5 out of 5 stars5/5Hacking for Beginners: Mastery Guide to Learn and Practice the Basics of Computer and Cyber Security Rating: 0 out of 5 stars0 ratingsAgile Project Management: Scrum for Beginners Rating: 4 out of 5 stars4/5Photoshop For Beginners: Learn Adobe Photoshop cs5 Basics With Tutorials Rating: 0 out of 5 stars0 ratingsDebugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems Rating: 4 out of 5 stars4/5iPhone Application Development For Dummies Rating: 4 out of 5 stars4/5
Reviews for Unofficial SAP WebDynpro for ABAP
4 ratings1 review
- Rating: 4 out of 5 stars4/5Nice collection, Very Helpful.
Book preview
Unofficial SAP WebDynpro for ABAP - Equity Press
Unofficial SAP WebDynpro for ABAP
Equity Press
Unofficial SAP WebDynpro for ABAP
ISBN: 978-1-60332-307-9
Smashwords Edition
Edited By: Jamie Fisher
Copyright© 2008 Equity Press all rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording or otherwise) without either the prior written permission of the publisher or a license permitting restricted copying in the United States or abroad.
The scanning, uploading and distribution of this book via the internet or via any other means without the permission of the publisher is illegal and punishable by law. Please purchase only authorized electronic editions, and do not participate in or encourage piracy of copyrighted materials.
The programs in this book have been included for
instructional value only. They have been tested with
care but are not guaranteed for any particular purpose.
The publisher does not offer any warranties or
representations nor does it accept any liabilities with
respect to the programs.
Trademarks: All trademarks are the property of their respective owners. Equity Press is not associated with any product or vendor mentioned in this book.
Please visit our website at www.sapcookbook.com
Table of Contents
Organization
Introduction
Designing the Layout
Question 1: Dropdown by Index
Question 2: Table pop-in
Question 3: View designer layout tab display problem
Question 4: Layout – Grid or Matrix
Question 5: Changing the text of the button dynamically
Question 6: Space between two fields
Question 7: Define the class in the attribute of the view
Question 8: Call method of class
Question 9: Change Series Color in Business Graphic control
Question 10: Text disappears when the pop-up is opened
Question 11: Error when registering events to pop-up button
Question 12: Set some rows in ALV to editable or some non-editable
Question 13: Align fields or label in Web Dynpro
Question 14: Preventing a pop-up from closing
Question 15: Registering custom button events to pop-up
Question 16: Drop down visibility or invisibility
Question 17: Splash screen
Question 18: Creating the drop down list in Web Dynpro
Question 19: Reference on interface controller
Question 20: WDA stylesheet via sap-cssurl parameter
Question 21: Web Dynpro View Layout Preview Problem
Question 22: Standard text in Adobe form
Question 23: To populate blank value in ‘dropdownbykey’
Question 24: Dynamic creation of checkbox
Question 25: Drop down box in Web Dynpro
Question 26: Creating a Tray dynamically
Question 27: Field Symbols
Question 28: Pop-up for file download
Question 29: Add a drop down box in an ALV toolbar
Declaring the Flow & Behavior of the application
Question 30: Item selection between two lists
Question 31: Manual selection change behavior for tab strips
Question 32: Service call via RFC
Question 33: Error in the browser
Question 34: Getting a singleton component
Question 35: Using only one view from a component
Question 36: Cardinality: automatic creation of initial elements
Question 37: Nested tables in PDF
Question 38: Identify the row number when a button is clicked in a table
Question 39: Check which button were pressed
Question 40: Clear message log
Question 41: Reset selection in ALV
Question 42: Window not visible
Question 43: Setting several containers in the right position in one view
Question 44: Close a portal window through a button event within the WD-APP
Question 45: Retaining the text in text edit
element
Question 46: WDDOMODIFYVIEW
error
Question 47: Logged user in Web Dynpro
Question 48: Making transparent container visible or invisible by code
Question 49: Syntax error
Question 50: Setting the main application’s title
Defining the data binding
Question 51: Show dynamically created HTML page from WD4A
Question 52: Value Help in WD Table
Question 53: Standard Tables
Question 54: PDF doc error: filedownloadUI vs. cl_wd_runtimeservices=>attach_file_to
Question 55: Calling R/3 Transaction from WDA
Question 56: Delete ALV WD settings
Question 57: Transport Personalization
Question 58: Display sample ABAP list
Question 59: Have an UI Element to display ABAPlist
Question 60: Outbound plug of a view_container_uielement
Question 61: escape V1 completely
Question 62: An indicative view
Question 63: Definition of event
Question 64: Assistance class
Question 65: Translated OTR text is not displayed in WD4A application
Question 66: Input Fields in a table
Question 67: Change the visibility property of a WD element
Question 68: Accessing the context
Question 69: Append 10 rows in ALV
Question 70: Hiding a group
Question 71: Multiple row selection in the standard table
Question 72: ‘ls_sone’ structure
Question 73: WD ABAP Table ‘LinkToAction’
Question 74: External Mapping and Component Interface
Question 75: Define mapping during runtime
Question 76: Bug at Horizontal Gutter UI element
Question 77: Standard table selection
Question 78: Table row/cell editable
Question 79: Selecting a row in table control
Question 80: Tree Control where leaves are Independent Tables
Implementing the event handlers and controller methods
Question 81: Initialization Context
Question 82: filling and locating the node
Question 83: Tree UI Element
Question 84: Exceptions instead of events
Question 85: Passing values to FM through WDP for ABAP
Question 86: Run time error while running Web Dynpro
Question 87: Using Enhancement Framework in methods of WD Components
Question 88: Difference between component controller and custom controller
Question 89: Read value of input Field
Question 90: Change attributes input field
Question 91: WD ABAP component configurations
Question 92: Reading images from the file system
Question 93: Get the value of a cell if it is an input field in ALV
Question 94: Data no longer available after call
Question 95: Code errors
Question 96: No CALL METHOD syntax used in Dynpro programming
Question 97: Code Program correction
Question 98: Problem while redirecting to URL
Question 99: Not having the same URL as parameter
Question 100: What URL to use
Question 101: Portal Eventing: communication between BSP and WD iView
Question 102: WebDynpro ALV with input ready fields
Question 103: Class for IF_WD_CONTEXT_NODE
Question 104: Read the current selected row of a table
Question 105: ‘LogoffURL’ for ABAP Web Dynpro
Question 106: Refreshing UI Elements
Question 107: call WDMODIFYVIEW
manually
Question 108: Modify the content of the table
Question 109: more CPU costly
Question 110: Grouping more than one view in a single window
Question 111: Getting the pressed item value of Tree UI Element
Question 112: ALV Change of Selected Row ON_CLICK Event Action
Question 113: Automatically generated Search Help
Question 114: Freely programmed input help
Organization
I. Introduction
II. Designing the layout of the invisible views
III. Declaring the flow and behavior of the application
IV. Defining the data binding
V. Implementing the event handlers and controller methods
VI. Issues faced when using Web Dynpro
Introduction
What is Web Dynpro for ABAP?
Web Dynpro is the User Interface (UI) technology for developing client-independent applications. It comes with a programming model, set of tools and a run-time. The platform independent metamodel definition enables Java and ABAP to be the run-time environment for Web Dynpro applications.
The development environment of Web Dynpro for ABAP (or, ‘WD-ABAP’ for short) is tightly integrated into the ABAP workbench (SE80). ABAP classes are generated automatically from the metamodel created in this design tool. Custom coding is done in ABAP for tasks such as business logic (Model) access, event handling, and dynamic screen modification. The ABAP stack of the application server (Usage type: AS-ABAP) is the runtime environment for executing the generated ABAP classes and custom coding. Based on the client from which the application is triggered, the unified rendering takes care of rendering the UI in respective technology (for example, if it is triggered from a web browser, the Web Dynpro UI metadata is converted to HTML, JavaScript and rendered using HTTP(S)).
Web Dynpro Explorer in SE80
Web Dynpro – ABAP and Java
If you are familiar with the Web Dynpro (Java) perspective in NetWeaver Developer Studio, you can appreciate the similarity between that and the above Web Dynpro Explorer (ABAP). Yes, the tools in both environments (Explorer, View editor, UI Element Outline, Property editor, etc.) are pretty comparable. Not only the tools but also the programming model, UI elements, etc. are similar in both the worlds. Due to the nature of these two worlds, there are some basic differences between these two tools, like the list of UI elements available, wizards, graphical tools and source code control & transport. I will cover the differences in detail in a future blog.
The benefits of using Web Dynpro for ABAP
Using WD-ABAP would make sense, if you are planning to develop a web application (or a non-SAPGUI application, considering) to expose the business functionality that primarily resides in the ABAP stack. Following are some of benefits of using WD-ABAP against other comparable technologies.
General Web Dynpro benefits
Since Web Dynpro is based on MVC model, your business logic is naturally separated from the presentation logic. This is a good programming practice, so that the business logic could