Owner: Free SAP Netweaver Books,Projects And Faq's URL:http://allsapnetweaverlive.blogspot.com Join Date: Sat, 07 Jun 2008 08:52:15 -0500 Rating:0 Site Description: Cross-Component Programming,Dynamic Programming,Integrating Forms,Integration,Integration of ALV,Interview Questions,List Viewer in Web Dynpro Portal Integration,TCodes,Web Dynpro ABAP Site statistics:Click here
Working Dynamically with Parameter Mappings Dynamic Programming Programming Web Dynpro ABAP 2008-07-25 08:22:50 The term parameter mapping is used for the bind of an event parameter to a parameter of an action handler method. Background A number of UI elements is able to trigger events. Each of these events has predefined parameters; for example, every event has the parameter ID. Depending on the type of the related UI element, other parameters may additionally be predefined. However, these event paramet Read more:Dynamic
, Programming
, Parameter
Dynamic Context Manipulation Dynamic Programming Programming Web Dynpro ABAP 2008-07-25 08:22:01 You can manipulate the context of a controller in different ways at runtime. To support the dynamic programming of contexts and view layouts, the Web Dynpro framework offers a number of methods in the service class CL_WD_DYNAMIC_TOOL. This class contains the frequently used methods in a predefined form. However, you can also implement yourself all the methods for dynamic context manipulation im Read more:Dynamic
, Programming
, Manipulation
, Context
Method Call in a Dynamically Created Component Usage Web Dynpro ABAP Dynamic Programming 2008-07-25 08:21:37 If a used component of the using component wants to provide a method to be called, this method must be defined in the interface controller of the used component. In practice, the method to be called is generally declared in the interface controller of an interface definition and programmed in the component controller of an implemented component. The code fragment below shows a section of a method Read more:Dynamic
, Programming
, Component
, Usage
Cross-Component Programming Web Dynpro ABAP 2008-07-25 08:19:38 Web Dynpro components are reusable modules. This allows you to build Web Dynpro applications that consist of different components. From within a component, an interface enables you to use the data and functions of another component. The prerequisite for this is that the second component must be available at runtime in an active version. Within a distributed development project, it makes sense to Read more:Programming
, Component
, Cross
Controllers of a Web Dynpro Component Cross-Component Programming Web Dynpro ABAP 2008-07-25 08:19:16 Component Controller The component controller provides data and processing logic that it should be possible to display or change for all views of a component. It has three interfaces: · Interface IF_ for coding within the controller · Interface IG_ for cross-controller coding within the current component. · Interface IWCI_ for cross-component coding. On the ABAP lang Read more:Programming
, Component
, Cross
, Controllers
Component Usages Web Dynpro ABAP 2008-07-25 08:18:41 Embedding a Used Component
To be able to use an external component (regardless of whether it is a faceless component or a complete component), you must first define a component usage. Follow the steps described below: Procedure Select the component that you want to process by double-clicking on it in the object list. The Component Editor is displayed. 1. Select a name for the new c
Component Usage without Controller Access Component Usages Web Dynpro ABAP 2008-07-25 08:18:07 You can use an external component in two ways: If you only want to display the external component, but not change the data of its interface controller or use its functions, you can omit the explicit usage declaration of the external interface controller in the current controller. In this case, simply declare the usage of the external component in the currently edited controller (see figure). Read more:Component
, Usage
, Access
Component Usage with Controller Access 2008-07-25 08:17:28 If you want to enable access to the interface controller of the external component from the current component – that is, if you want to change this controller’s data or use its functions – you must choose on the Properties tab page of the selected controller Sample Usage
® Foreign_component ® Interface Controller. In this case, both the component and the interface controller are explicitly Read more:Component
, Access
Navigation Through Window Plugs Component Usages Web Dynpro ABAP 2008-07-25 08:16:31 You can vary – at runtime – which link that was set up at design time you wish to follow. You can do this through navigation control with the help of event handlers from window plugs. In this manner you can control at runtime – within navigation in a window of an embedded component – which view of this embedded window is to be displayed first. Including the WindowPlugs
into Navigation Read more:Component
Cross-Component Context Mapping Component Usages Web Dynpro ABAP 2008-07-25 08:15:51 A third way of using the content of the interface controller of a used component is the cross-component context mapping. As soon as you have declared the usage of the interface controller and instantiated the external component as described in the procedure of the section above, the context of the external interface controller is available for mappings. On the Context
tab page of a controller for Read more:Component
, Cross
, Mapping
External Context Mapping Component Usages Web Dynpro ABAP 2008-07-25 08:15:26 Cross-ComponentContextMapping
described the mechanism of a mapping across the borders of a Web Dynpro component. In the example, component A used a component B and for Node 1 of the component controller context of A a mapping was defined to the node of the same name of the interface controller context of component B. Both components are known at design time. For a better understanding, the figur Read more:External
Working with Web Dynpro Component Interfaces Component Usages Web Dynpro ABAP 2008-07-25 08:14:45 In every Web Dynpro component, the creation procedure implements an interface. This component interface contains exactly one interface controller and at least one interface view (for more information, see Interfaces
of aWeb Dynpro Component
in the Architecture manual). The interface controller contains a context, events and methods. The interface views of the component interface have no direct
Creating a Web Dynpro Component Interface Definition Component Usages Web Dynpro ABAP 2008-07-25 08:12:49 Procedure 1. Start the Object Navigator and in the object list selection choose Web Dynpro Comp./Interf. 2. Enter a new name for your component interface definition and choose Display. 3. Confirm the Create Object dialog. 4. In the next dialog window enter a description of your component interface definition and in the list below mark the type W Read more:Component
, Creating
, Interface
, Definition
Implementing a Web Dynpro Interface Definition Component Usages Web Dynpro ABAP 2008-07-25 08:11:49 To implement a Web Dynpro interface definition in a component, enter it into the Implemented Interface
s table of the component editor of the component: ... 1. Select the component that you want to process by double-clicking on it in the object list. You are now in the Component
Editor and can switch to the Implemented Interfaces tab page. 2. Enter the name of the desire Read more:Definition
Example for the Implementation of an Interface Definition Component Usages Web Dynpro ABAP 2008-07-25 08:11:12 The example below illustrates the principle of the interface definition and implementation by means of an actual development situation. The static case described here is basically designed to demonstrate the principle; in the practice, it will be of limited use, because it requires all involved components of the using component to be known already at design time. And certainly, the implementati Read more:Component
, Interface
, Definition
, Example
, Implementation
posts Working With Faceless Components Component Usages Web Dynpro ABAP 2008-07-25 08:09:53 Features of Faceless Component
s Faceless components are Web Dynpro components without graphical elements – that is, without windows or views. They only include a component controller; optionally, custom controllers can be added. You use faceless components to separate the data used in the framework of a large-scale programming project. They are designed exclusively for receiving and structuring Read more:posts
, Components
Web Dynpro ABAP Integrating Forms 2008-07-30 12:01:56 For Web Dynpro user interfaces, forms can be created and used in the context of SAP Interactive Forms
by Adobe. For efficient and straightforward development of the user interface, you can integrate the Adobe LiveCycle Designer tool with editor and the Adobe UI elements into the development workbench. As of NetWeaver 7.0 (NW 7.0) SPS10 forms can be integrated using Zero Client Installation (ZCI). Read more:Integrating
Prerequisites for Form Integration Web Dynpro ABAP Integrating Forms 2008-07-30 12:01:07 General Prerequisites SAP NetWeaver AS System with Adobe Document Services (ADS) To test the connection to ADS, run report FP_PDF_TEST_00. Version information about your ADS will be displayed. If this test is successful, run report FP_TEST_00. Select a printer and select the option for the print preview. The Adobe Viewer appears and displays a simple form. Language Settings To display the for Read more:Integrating
, Forms
Integrating a PDF Form in a Web Dynpro Application Web Dynpro ABAP Integrating Forms 2008-07-30 12:00:26 This chapter describes the procedure for using a PDF form in a Web Dynpro application with the various scenarios. Form Integration for the Various Scenarios Scenario Procedure Print Interactive Integrating
(Interactive) Forms
Offline Integrating Existing Forms Digital Signatures Digital Signatures in Form Integration Form Data in XML Format In the procedure for the print Read more:Application
Inserting (Interactive) Forms Web Dynpro ABAP Integrating Forms 2008-07-30 11:59:53 Use As there is very little difference between the print scenario and the interactive scenario for inserting a form in a Web Dynpro application, the procedure for both scenarios is provided together below. Forms
with static content, such as PDF-based print forms, can be used to display or print data in Web Dynpro applications. In the case of interactive forms, you can reuse user entries stored Read more:Integrating
Inserting Existing PDF Forms (MIME Objects) Web Dynpro ABAP Integrating Forms 2008-07-30 11:59:13 Use Forms
that are stored in systems as MIME objects in the MIME repository with MIME type application/pdf can be integrated and displayed in a Web Dynpro application. To do this, bind the pdfSource property to a context attribute of type XSTRING. In this case therefore, neither the templateSource nor the dataSource are set. In scenarios where only the pdfSource is set, the properties enable Read more:Integrating
Digital Signatures in Form Integration Web Dynpro ABAP Integrating Forms 2008-07-30 11:58:21 When editing forms whose content is critical to security, it is a good idea to use digital signatures, so that the origin of the form can be verified. This allows you to check whether the source is trustworthy and whether the form or its content has been changed subsequently (integrity). See also: DigitalSignatures
and Certification in Forms
Digital Signatures in Forms Prerequisites ● Read more:Integrating
Supported Elements of the Adobe Library Web Dynpro ABAP Integrating Forms 2008-07-30 11:57:50 Special UI elements in the Adobe
Designer are available for form development in a Web Dynpro ABAP application. Go to the Layout tab page in the form builder. Depending on how the forms are integrated the following libraries are available for Web Dynpro ABAP in the Library
group box. ZCI Forms
If you have selected the entry ZCI Layout as the Layout Type in the form builder's Properties, as a deve Read more:Integrating
Interactive Form Use Web Dynpro ABAP Integrating Forms 2008-07-30 11:57:01 There are many reasons for including forms in a Web Dynpro application. Most embedded forms are used for printing and archiving and therefore do not have to be made available in interactive form. However, the Web Dynpro framework still allows you to use embedded PDF forms interactively. Using a PDF as an input template for a Web Dynpro application can be especially useful when a user is familiar w Read more:Integrating
, Forms
Forms with ABAP Dictionary-Based Interface Web Dynpro ABAP Integrating Forms 2008-07-30 11:56:35 Before the introduction of the XML-based interface, an ABAP Dictionary
-based interface was created for a form during integration of the same. Such an interface, however, was not easily linked to the context of a Web Dynpro component. All the forms created from within the Web Dynpro context are not automatically equipped with an XML-based interface. In certain situations, however, it can be necessa Read more:Integrating
, Forms
, Interface
Hiding the Adobe Toolbar Web Dynpro ABAP Integrating Forms 2008-07-30 11:55:39 You can make a setting to hide the Adobe
Reader toolbar. In the default setting this toolbar is displayed. Example Showing the Toolbar
You can hide the toolbar using method SET_HIDE_TOOLBARS of the UI element interface InteractiveForm IF_WD_IACTIVE_FORM_METHOD_HNDL: … lr_method_handler->set_hide_toolbars( abap_true ): Example with Toolbar Hidden Users can also hide (or Read more:Integrating
, Forms
File Export Web Dynpro ABAP Integrating Forms 2008-07-30 11:54:50 Use You can export files in accordance with the FileDownload functionality, thereby fulfilling the usual security requirements. This download functionality is available in every action handler, for example, when clicking a Button, a LinkToAction or (what you should not do) when switching a TabStrip or clicking a RadioButton. When the user clicks the respective UI element, a binary data stream is Read more:Integrating
, Forms
Integration of ALV in ApplicationList Viewer in Web Dynpro for ABAP 2008-08-15 00:45:28 Purpose If you want to use an ALV output in your application, you have to follow various steps, depending on the required result. The following variants outline the most important ways in which you can call ALV: ● Simple call without ALV configuration model You only display an ALV output. You do not want to make any changes. ● Simple call with ALV configuration model You want to c Read more:Viewer
Defining the Component Usage List Viewer in Web Dynpro, Integration of ALV 2008-08-15 00:44:21 To use an ALV output in your application, use the component SALV_WD_TABLE. You can integrate this ALV component as an external component into your Web Dynpro component. To do this, you define the component usage. If you want to display multiple different ALV outputs, distinguish between these outputs by using unique names for the respective usage variants of the component. How you define t Read more:Viewer
, Component
, Usage