Uploading and Downloading Files in Web Dynpro Java

Size: px
Start display at page:

Download "Uploading and Downloading Files in Web Dynpro Java"

Transcription

1 SAP NetWeaver '04 Web Dynpro Java Tutorials Uploading and Downloading Files in Web Dynpro Java Document Version 1.00 Dezember 2005

2 SAP AG Neurottstraße Walldorf Germany T +49/18 05/ F +49/18 05/ Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, and Informix are trademarks or registered trademarks of IBM Corporation in the United States and/or other countries. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way. Documentation on SAP Service Marketplace You can find this documentation at service.sap.com/instguidesnw04 JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden.

3 Typographic Conventions Icons Type Style Example Text Example text EXAMPLE TEXT Example text Represents Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation. Emphasized words or phrases in body text, graphic titles, and table titles. Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE. Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Example text Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation. <Example text> Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. EXAMPLE TEXT Keys on the keyboard, for example, F2 or ENTER. Icon Meaning Caution Example Note Recommendation Syntax

4 Contents 1 UPLOADING AND DOWNLOADING FILES IN WEB DYNPRO IMPORTING THE PROJECT TEMPLATE USING THE UI ELEMENTS FILEUPLOAD AND FILEDOWNLOAD FILE UPLOAD DEFINING THE CONTEXT AND VIEW LAYOUT IMPLEMENTING THE FILEUPLOADVIEW CONTROLLER RUNNING THE APPLICATION - FILE UPLOAD FILE DOWNLOAD DEFINING THE CONTEXT AND VIEW LAYOUT IMPLEMENTING THE FILEDOWNLOADVIEW CONTROLLER RUNNING THE APPLICATION - FILE DOWNLOAD... 15

5 Uploading and Downloading Files in Web Dynpro Java December Uploading and Downloading Files in Web Dynpro Java Introduction The Web Dynpro UI Element Library provides two special UI elements (FileDownload and FileUpload) with which you can either download files from the Web Dynpro runtime environment or upload files to the Web Dynpro runtime environment. This is performed using declarative data binding. Here, Web Dynpro runtime automatically transports different types of MIME files between the client-side user interface or UI element and the server-side controller context. The context attributes required for storing MIME files in the context must meet128% two conditions with regard to their data type. Firstly, the data type must be the Java Dictionary Simple Type com.sap.dictionray.binary. Secondly, the context attribute must have a modifiable simple data type at runtime, as method call IWDAttributeInfo.getModifiableSimpleType()has to run when the controller is initialized. This makes it possible to store additional metadata for a MIME file (like file size, file type, file name) in the attribute information (IWDAttributeInfo API) of a context attribute at node level. In the context attribute itself, only the MIME file s binary data record is saved as a byte array. This tutorial will show you how to upload and download MIME files using the UI elements FileUpload and FileDownload. Using the Virus Scan Interface To enhance your system s virus protection when working with files or documents processed by your Web Dynpro applications, you can add external virus scanners to your SAP system using the Virus Scan Interface. To connect the FileUpload service contained in the Web Dynpro runtime environment to a virus scanner, you need to activate the predefined virus scan profile webdynpro_fileupload. This profile is delivered as of SAP NetWeaver '04 SP Stack 13, and must be activated/deactivated by the SAP J2EE Engine administrator. When delivered, profile webdynpro_fileupload is initially switched off. The Virus Scan Interface cannot be used for the Web Dynpro FileDownload service. Note that the example application presented in this tutorial does not use the Virus Scan Interface. For more details, open SAP Netweaver Help and refer to the section Setting up the Virus Scan Provider [Extern]. Preview The screenshots displayed below show the three views in the tutorial application. When the application is launched, the WelcomeView appears, from where you can navigate to the file upload or file download scenarios. Uploading and Downloading Files in Web Dynpro 1

6 Uploading and Downloading Files in Web Dynpro Java December 2005 Graphic 1: The WelcomeView In the FileUploadView, you can upload a file from your computer to the server-side controller context. Once a MIME object has been uploaded, the system displays details of the uploaded file, such as file name, file ending and file size. Graphic 2: The FileUploadView In the FileDownloadView, you can upload an image file in the example project from the controller context and display it on the user interface. Graphic 3: The FileDownloadView Objectives On completion of this tutorial, you will be able to:! Use the UI element FileUpload.! Use the UI element FileDownload.! Assign the simple data type binary to context attributes so that they can store MIME Uploading and Downloading Files in Web Dynpro 2

7 ... Importing the Project Template December 2005 files.! Use modifiable binary data types in context programming to store file information. Prerequisites Systems, Installations, and Authorizations SAP NetWeaver Developer Studio is installed on your PC. You can access the SAP J2EE Engine. Knowledge Java programming language Web Dynpro application development Next Step: Importing a Project Template [Page 3] 2 Importing the Project Template The SAP Developer Network (SDN) provides the following Web Dynpro projects for this tutorial: The project template TutWD_FileUpDownload_Init (the starting point for this tutorial) The Web Dynpro project provided (TutWD_FileUpDownload) The projects can be downloaded as zip files under Home Developer Areas Web Application Server Web Dynpro Code Samples. Prerequisites You can access SAP Developer Network ( You have installed SAP NetWeaver Developer Studio. Procedure Importing the Project Template into the SAP NetWeaver Developer Studio 1. Call the SAP Developer Network at and log on with your user ID and password. If you do not have a user ID yet, you need to register before you can proceed. 2. Choose Home Developer Areas Web Application Server Web Dynpro Code Samples and then choose the section UI Elements. 3. Navigate to the example application (38) - Web Dynpro FileUpload and FileDownload. Uploading and Downloading Files in Web Dynpro 3

8 Importing the Project Template December Download the zip file TutWD_FileUpDownload_Init.zip containing the project template TutWD_FileUpDownload_Init and save the zip file to any directory on your local hard disk or directly to the work area of SAP NetWeaver Developer Studio. 5. Extract the content of the zip file TutWD_FileUpDownload_Init.zip to the work area of SAP NetWeaver Developer Studio or to any directory on your local hard disk. 6. Start SAP NetWeaver Developer Studio. 7. Import the Web Dynpro project TutWD_ FileUpDownload _Init: a. In the menu, choose File Import b. In the next window, choose Existing Project into Workspace and click Next to confirm. c. Choose Browse, open the folder in which you saved the project TutWD_ FileUpDownload _Init, and select this project. d. Confirm by choosing Finish 8. The Web Dynpro Explorer now displays the Web Dynpro project TutWD_FileUpDownload _Init; allowing you to edit it and work through the tutorial. Tabular Project Structure Once you have imported the project template into the SAP NetWeaver Developer Studio, you will see the following structure in the Web Dynpro Explorer. Web Dynpro Project Structure Web Dynpro Project: TutWD_FileUpDownload_Init Web Dynpro Application: FileUpDownloadApp Web Dynpro Component: FileUpDownloadComp View: WelcomeView In this view, you can choose to either upload or download a file. View: FileUploadView In this view, you can upload a file from your computer. View-Layout: contains pre-defined UI elements Actions: ToWelcomeView, UploadFile View FileDownloadView In this view, you can download an image file from the archive of the example application. When the View Controller is initialized, this file is stored in the view controller context. View-Layout: contains pre-defined UI elements Actions: ToWelcomeView Window: FileUpDownloadComp Contains the three views described above together with the definition of the View Composition (navigation links between inbound and outbound plugs). Uploading and Downloading Files in Web Dynpro 4

9 Using the UI Elements FileUpload and FileDownload December 2005 Next Step: src mimes Components com.sap.tc.webdynpro.tutorial.fileupdownload.fileupdownloadcomp This directory contains image file sap.jpg, which is required for the file download. Using the UI Elements FileUpload and FileDownload [Page 5] 3 Using the UI Elements FileUpload and FileDownload Prerequisites You have imported the initial project according to the instructions provided. Further Procedure Once you have successfully imported the initial project TutWD_FileUpDownload, you can start developing the file upload and file download functionality. The further procedure is divided thematically into two sections that can be worked through independently of one another. File Upload Defining the Context and View Layout [Page 5] File Download Defining the Context and View Layout [Page 10] 4 File Upload Defining the Context and View Layout Process Flow In this step, you define a binary-type context attribute in the FileUploadView context and then bind a FileUpload UI element to it. Declaring a Binary-Type Context Attribute To save a MIME file in the controller context after it has been uploaded from the user interface to the server, you first need to define a binary-type attribute. 1. Switch to the FileUploadView (TutWD_FileUpDownload_Init Web Dynpro Web Dynpro Components FileUpDownloadComp Views FileUploadView) 2. Choose the Context tab page and add a value attribute with the name FileResource. 3. Switch to the perspective view Properties and enter binary under type. Uploading and Downloading Files in Web Dynpro 5

10 File Upload Defining the Context and View Layout December 2005 Binding a FileUpload UI Element in the View Layout After defining the binary-type context attribute FileResource, you can bind a new FileUpload UI element to it. To trigger the upload process for a selected file on the user interface, a Button UI element is inserted next to it. 4. Switch to the Layout tab page. 5. In the perspective view Outline, add a UI element of type FileUpload with the name FileUpload1 as a child of the FileUpload group. Move this element to below the Label UI element FileUploadLabel. 6. Under the FileUpload UI element, add a Button UI element with the name UploadButton. 7. Define the individual UI element properties according to the following table. Properties Value FileUpload1 of type FileUpload Elementproperties data Elementproperties filename Elementproperties tooltip FileResource (Data binding to context attribute) FileName (Data binding to context attribute) Select a file from your file system UploadButton of type Button Elementproperties tooltip Event onaction Upload selected file UploadFile Result In this step, you have defined data binding between a FileUpload UI element and assigned the corresponding types to value attributes in the context (see the graphic below). To start uploading a file on the user interface, you have also added a new Button UI element and bound its onaction event to the UploadFile action. If you want to automatically transport MIME files and their type information at runtime using data binding, additional controller coding is required in the next step. UI Element FileUpload UI / View Layout Browse View Context Java Dictionary Types Property data Attribute Name FileResource Attribute Type ddic:com.sap.dictionary.binary Property filename Data binding Attribute Name FileName Attribute Type ddic:com.sap.dictionary.string Design Time Next Step: Implementing the FileUploadView Controller [Page 7] Uploading and Downloading Files in Web Dynpro 6

11 Implementing the FileUploadView Controller December Implementing the FileUploadView Controller Prerequisites You have defined a binary-type value attribute in the FileUploadView context. The Modifiable Binary Data Type Before you initialize the view controller, we would like to explain the concept of modifiable binary data types in Web Dynpro. This provides the basis for the automatic data transport of MIME objects between the UI and the context using data binding. You have defined the binary-type attribute FileResource in the view context. However, this type cannot be bound directly by UI elements (such as FileUpload, FileDownload) as there is no general method of formatting and parsing binary data without knowledge of type metadata. However, as a binary-type context attribute only stores a Java byte array at runtime, the metadata required for handling MIME files, such as file type, file size or file name, has to be saved somewhere else. This metadata can be stored using the type information belonging to a context attribute (more precisely, the context attribute information of type IWDAttributeInfo). As this type information is variable rather than static at runtime, the binary data type of the context attribute needs to be made modifiable by calling method IWDAttributeInfo.getModifiableSimpleType(). The required type information can then be accessed in the controller coding using the IWDModifiableBinaryType API. This is illustrated in the graphic below. UI Element FileUpload C:/SAP.jpg UI / View Layout Property data Property filename Browse Data binding View Context Attribute Info (FileResource) Roote Node Modifable Binary Type Runtime Roote Node Element FileResource FileName SAP.jpg Mime Type, File Size, File Extension Type Metadata Attribute Value Type Byte Array: byte[] Attribute Value Type String This approach involves one major restriction. When moving a MIME file s metadata to the attribute information, it is not possible to store several MIME files of different types in a single node with cardinality 1..n. Although it is possible to store a different byte array in each node element (in a value attribute within the node element, to be more precise) all attribute values share common attribute information. In the Web Dynpro context model, the attribute information is associated with the node instance, not with the node element instance. Consequently, the upload and download functionality displayed here cannot be represented in a table at row level. The Java Dictionary will include a new data type for this in the next NetWeaver Release. Uploading and Downloading Files in Web Dynpro 7

12 Implementing the FileUploadView Controller December 2005 Process Flow The view controller FileUploadView.java is implemented in two steps: initializing the controller and handling the UploadFile action in method onactionuploadfile(). Implementing the Hook Method wddoinit() 1. Switch to the Implementation tab page and insert the following program code in method wddoinit(): wddoinit() FileUploadView.java javadoc:wddoinit() /** Hook method called to initialize controller. */ public void wddoinit() { //@@begin wddoinit() // get attribute info for context attribute "FileResource" IWDAttributeInfo attributeinfo = wdcontext.getnodeinfo().getattribute( IPrivateFileUploadView.IContextElement.FILE_RESOURCE); // make the context attribute's simple type modifiable. // Only with this line of code the binary data (stored within the // context attribute) can be parsed. The Web Dynpro Runtime stores // the mime-object s metadata within the attribute s type metadata. attributeinfo.getmodifiablesimpletype(); // set the file details invisible wdcontext.currentcontextelement().setdetailsvisibility( WDVisibility.NONE); //@@end Implementing the Action Event Handler onactionuploadfile() After the UploadFile action has been triggered on the user interface, the chosen file is transported to the context attribute FileResource. Whereas only the binary data is stored in the context attribute, the associated file information, like MIME type, file size or fie name, is written to the type metadata of the modifiable binary data type. This metadata is stored in the attribute information of a context attribute. 2. Insert the following program code in method onactionuploadfile (). onactionuploadfile() //@@begin javadoc:onactionuploadfile(serverevent) /** Declared validating event handler. */ //@@end public void onactionuploadfile( com.sap.tc.webdynpro.progmodel.api.iwdcustomevent wdevent) { //@@begin onactionuploadfile(serverevent) // get attribute info for context attribute 'FileResource' IWDAttributeInfo attributeinfo = wdcontext.getnodeinfo().getattribute( IPrivateFileUploadView.IContextElement.FILE_RESOURCE); // get modifiable binary type from the attribute info, // requires type cast. IWDModifiableBinaryType binarytype = Uploading and Downloading Files in Web Dynpro 8

13 Implementing the FileUploadView Controller December 2005 (IWDModifiableBinaryType) attributeinfo.getmodifiablesimpletype(); IPrivateFileUploadView.IContextElement element = wdcontext.currentcontextelement(); // if a file in the 'FileResource' attribute exists if (element.getfileresource()!= null) { try { String mimetype = binarytype.getmimetype().tostring(); byte[] file = element.getfileresource(); // get the size of the uploaded file element.setfilesize(this.getfilesize(file)); // get the extension of the uploaded file element.setfileextension( binarytype.getmimetype().getfileextension()); // NOTE: context attribute 'FileName' must not be set // because the FileUpload-UI-element property 'filename' // is bound to it. Consequently the filename is automatically // written to the context after file upload. // set the details visibility attribute element.setdetailsvisibility(wdvisibility.visible); // report success message wdcomponentapi.getmessagemanager().reportmessage( IMessageFileUpDownloadComp.SF_UPLOAD, new Object[] { binarytype.getfilename(), false); catch (Exception e) { throw new WDRuntimeException(e); // if no file in the 'FileResource' attribute exists else { // set the details visibility attribute, hide details element.setdetailsvisibility(wdvisibility.none); // report error message IWDMessageManager msgmgr = wdcomponentapi.getmessagemanager(); msgmgr.reportcontextattributemessage( element, attributeinfo, IMessageFileUpDownloadComp.NO_FILE, new Object[] { "", true); // clear the FileResource context value attribute element.setfileresource(null); //@@end 3. Add the required import rows using the key combination STRG+SHIFT+O. 4. In the Web Dynpro tools, save the current project metadata by choosing Save All Metadata. Next Step: Running the Application - File Upload [Page 10] Uploading and Downloading Files in Web Dynpro 9

14 ... Running the Application - File Upload December Running the Application - File Upload Now that you have reached this stage, you can launch the developed example application in the Web Browser as described below, and then carry out a file upload. Prerequisites The SAP J2EE Engine has been launched. Procedure Save all Metadata 1. Save the current status of the metadata for your project. Rebuild Project 2. In the Web Dynpro Explorer, open the context menu for the project node TutWD_FileUpDownload_Init and choose Rebuild Project. Deploy new archive and run 3. Open the context menu for application object FileUpDownloadApp and choose Deploy new archive and run. Result Test your application by clicking on the File Upload link. By choosing the Browse button, you can now select a file to upload from your local file system. To start uploading, choose Upload File. Once the file has been uploaded, the system displays details of the uploaded file and a success message. Next Step: File Download Defining the Context and View Layout [Page 10] 7 File Download Defining the Context and View Layout Process Flow In this step, you will define data binding between a FileDownload UI element and a binarytype context attribute. Declaring a Binary-Type Context Attribute When the file is downloaded, a MIME file saved in the context is downloaded by user to the client. To allow this, first define a new binary-type context attribute in the view context. When the FileDownload controller is initialized, a MIME object should be saved in a binary attribute. You now create this attribute. Switch to the FileDownloadView (TutWD_FileUpDownload_Init Web Dynpro Web Dynpro Components FileUpDownloadComp Views FileDownloadView) Uploading and Downloading Files in Web Dynpro 10

15 File Download Defining the Context and View Layout December 2005 Choose the Context tab page and add a value attribute with the name FileResource. Switch to the perspective view Properties and enter binary under type. Binding a FileDownload UI Element in the View Layout After defining the binary-type context attribute FileResource, you can bind a new FileDownload UI element to it. This UI element is displayed as a link on the user interface. When this link is selected, the MIME file saved in the context attribute is automatically transported to the user interface. With the transfer of the associated MIME type, the clientside connected software can be started so that you can display the MIME file. 1. Choose the Layout tab page. 2. In the perspective view Outline, add an UI element of type FileDownload with the name FileDownload1 as a child of the FileDownload group. Move this element in front of the Button UI element BackButton. 3. Define the individual UI element properties according to the following table. Properties Value FileDownload1 of type FileDownload Elementproperties data Elementproperties layoutdata Elementproperties text FileResource (Data binding to context attribute) MatrixHeadData Download File! Web Dynpro defines _blank as the default value for the property target in the UI elements FileDownload and LinkToURL. Although the target values _top, _parent, and _self can be used, you are advised not to do so, as this will cause the Web Dynpro application to crash. Whereas target value _blank always causes a new target window to open, entering a target value like "SameWindow" causes a downloaded file to always open in the same target window (not the window of the application) if the UI element FileDownload is clicked more than once. In the case of UI element LinkToURL, an exit plug with URL parameters should be used instead of the target value _self. Uploading and Downloading Files in Web Dynpro 11

16 Implementing the FileDownloadView Controller December 2005 Result Note that no events are bound to an action when using UI element FileDownload. This means that is not possible to store a file on-demand in the associated context attribute in the action event handler; that is, after the data download has been triggered by the user. Instead, the file to be downloaded has to be stored in the context attribute by controller coding before it is displayed on the user interface. If you are using UI element FileDownload as the cell editor for a table column, all MIME files displayed in the table using download links have to be saved at runtime. In the next NetWeaver Release, the Web Dynpro Programming Model will include the on-demand stream concept. In this step, you have defined data binding between a FileUpload UI element and a binarytype context attribute. If you want to be able to display a downloaded MIME file on the client side, additional controller coding is required in the next step. By using a modifiable binary data type, you can transfer type information that is required for displaying binary data stored in the context attribute to the client. Next Step: Implementing the FileDownloadView Controller [Page 12] 8 Implementing the FileDownloadView Controller Prerequisites You have defined a binary-type value attribute in the FileDownloadView context. You have read the section about modifiable binary data types in Implementing the FileUploadView Controller [Page 7]. Process Flow In this example, most of the controller implementation required for the file download is in method wddoinit(), which is called when the view controller is created. In the View Controller, private method byte[] : getbytearrayfromresourcepath(string resourcepath) is also implemented. This method returns the byte array for the URL address of a MIME file. Unlike file upload, no action event handling takes places after the download process has been triggered. The MIME file selected for downloading is therefore stored in the context at the controller initialization stage. Uploading and Downloading Files in Web Dynpro 12

17 Implementing the FileDownloadView Controller December 2005 Implementing the Hook Method wddoinit() Creating a Modifiable Binary Data Type To save the type information for a MIME file, the binary data type of the context attribute FileResource must be modifiable. In the context attribute itself, only the MIME file s binary data is saved as a byte array. For further details, see the section about modifiable binary data types (in Implementing the FileUploadView Controller [Page 7]). 1. Switch to the Implementation tab page and insert the following program code in method wddoinit(): wddoinit() FileDownloadView.java //@@begin javadoc:wddoinit() /** Hook method called to initialize controller. */ //@@end public void wddoinit() { //@@begin wddoinit() // get attribute info for context attribute 'FileResource' IWDAttributeInfo attributeinfo = wdcontext.getnodeinfo().getattribute( IPrivateFileDownloadView.IContextElement.FILE_RESOURCE); // create a modifiable binary type for the context attribute // which stores the MIME-object. IWDModifiableBinaryType binarytype = (IWDModifiableBinaryType) attributeinfo.getmodifiablesimpletype();... //@@end Reading a MIME File from the Project and Storing the File in the Context To allow you to download a file in the example application, the template project TutWD_ FileUpDownload _Init contains the image file sap.jpg. This image file is stored in the project directory src mimes Components com.sap.tc.webdynpro.tutorial.fileupdownload.fileupdownloadcomp and is deployed in the project archive on the SAP J2EE Server. You can use Web Dynpro service class WDURLGenerator to access this image file in the View Controller and save it in the binary-type context attribute FileResource. The type information - such as file name and file type - required for displaying the MIME file on the client has to be stored in the modifiable binary data types of the context attribute FileResource. 2. Insert the following program code in method wddoinit(): wddoinit() FileDownloadView.java //@@begin javadoc:wddoinit() /** Hook method called to initialize controller. */ //@@end public void wddoinit() { //@@begin wddoinit()... Uploading and Downloading Files in Web Dynpro 13

18 Implementing the FileDownloadView Controller December 2005 try { // The image file 'sap.jpg' is deployed with // the Web Dynpro project(under src/mimes/components...). // The resource path (URL) for this mime objects can be accessed // using the WDURLGenerator service. String resourcepath = WDURLGenerator.getResourcePath( wdcomponentapi.getdeployableobjectpart(), FileDownloadView.FILE_NAME); // retrieve byte array for given resource path and store it // in context value attribute 'FileResource' wdcontext.currentcontextelement().setfileresource( this.getbytearrayfromresourcepath(resourcepath)); // set binary type metadata. Without setting the mime type // the client does not know how to open the downloaded file. binarytype.setfilename(filedownloadview.file_name); binarytype.setmimetype(wdwebresourcetype.jpg_image); catch (WDAliasResolvingException e) { wdcomponentapi.getmessagemanager().reportexception( e.getlocalizedmessage(), true); catch (Exception e) { throw new WDRuntimeException(e); //@@end 3. In the last User Coding Area (between //@@begin others and //@@end) in the View Controller, the project template already contains the following program code: Final User Coding Area FileDownloadView.java //@@begin others /** * Returns a byte array for a given file resource path */ private byte[] getbytearrayfromresourcepath(string resourcepath) throws FileNotFoundException, IOException { FileInputStream in = new FileInputStream(new File(resourcePath)); ByteArrayOutputStream out = new ByteArrayOutputStream(); int length; byte[] part = new byte[10 * 1024]; while ((length = in.read(part))!= -1) { out.write(part, 0, length); in.close(); return out.tobytearray(); // store image file name in constant FILE_NAME private static final String FILE_NAME = "sap.jpg"; //@@end Utility method getbytearrayfromresourcepath() returns a byte array for a specified file path. This byte array is then stored in the binary-type context attribute. The name of the image file sap.jpg in the project is stored in class constant FILE_NAME. 4. Add the required import rows using the key combination STRG+SHIFT+O. Uploading and Downloading Files in Web Dynpro 14

19 Running the Application - File Download December In the Web Dynpro tools, save the current project metadata by choosing Save All Metadata. Next Step: Running the Application - File Download [Page 15] 9 Running the Application - File Download Now that you have reached this stage, you can launch the completed example application in the Web Browser as described below, and then download image file sap.jpg from the project. Prerequisites The SAP J2EE Engine has been launched. Procedure Save all Metadata 1. Save the current status of the metadata for your project. Deploy new archive and run 2. Open the application context menu: Web Dynpro Applications FileUpDownloadApp and choose Deploy new archive and run. Result Test your application. To do this, navigate to the File Download view by choosing the File Download link. This displays a download link that allows you to download the image file from the example application. Using the file information transferred to the client, the image file is displayed in an image-display program installed on the client computer. Uploading and Downloading Files in Web Dynpro 15

Uploading and Downloading Files in Web Dynpro Java

Uploading 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 information

Using Business Graphics

Using 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 information

SAP Composite Application Framework. Creating a Content Package Object

SAP Composite Application Framework. Creating a Content Package Object SAP Composite Application Framework Creating a Content Package Object 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 Copyright

More information

Creating Your First Web Dynpro Application

Creating 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 information

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Integrating a Web Service in a Composite Application. SAP Composite Application Framework Integrating a Web Service in 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 information

Advanced Input Help - The Object Value Selector (OVS)

Advanced 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 information

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures SAP Composite Application Framework Creating an External Service type Callable Object in Guided Procedures Version 1.00 July 2006 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18

More information

How To... Reuse Business Objects and Override Operations of a Business Object

How To... Reuse Business Objects and Override Operations of a Business Object SAP NetWeaver How-To Guide How To... Reuse Business Objects and Override Operations of a Business Object Applicable Releases: SAP NetWeaver Composition Environment 7.1 Topic Area: Development and Composition

More information

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous SAP Composite Application Framework Creating a Callable Object in Group: Miscellaneous 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 information

How to Use Function Keys in Mobile Applications for Handhelds

How to Use Function Keys in Mobile Applications for Handhelds SAP NetWeaver How-To Guide How to Use Function Keys in Mobile Applications for Handhelds Applicable Releases: SAP NetWeaver 7.1 Topic Area: User Productivity Capability: Mobile Version 1.00 June 2009 Copyright

More information

Authentication of a WS Client Using a SAP Logon Ticket

Authentication of a WS Client Using a SAP Logon Ticket Authentication of a WS Client Using a SAP Logon Ticket Release 650 HELP.BCWEBSERVICES_TUTORIALS SAP Online Help 04.04.2005 Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication

More information

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible SAP NetWeaver How-To Guide How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible Applicable Releases: SAP NetWeaver 7.0 SAP NetWeaver CE 7.1 Topic Area: Security & Identity

More information

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1 SAP NetWeaver How-To Guide How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1 Applicable Releases: SAP NetWeaver Mobile 7.1 Topic Area: User Productivity Capability: Mobile

More information

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight SAP NetWeaver 2004s Copyright Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted

More information

Using Knowledge Management Functionality in Web Dynpro Applications

Using 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 information

How To Customize the SAP User Interface Using Theme Editor

How To Customize the SAP User Interface Using Theme Editor SAP NetWeaver How-To Guide How To Customize the SAP User Interface Using Theme Editor Applicable Releases: SAP NetWeaver 7.0 and 7.11 Version 1.0 June 2010 Copyright 2010 SAP AG. All rights reserved. No

More information

How To... Promote Reports and Input Schedules Through Your System Landscape

How To... Promote Reports and Input Schedules Through Your System Landscape SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Promote Reports and Input Schedules Through Your System Landscape Applicable Releases: SAP BusinessObjects Planning

More information

Web 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 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 information

SAP NetWeaver How-To Guide

SAP NetWeaver How-To Guide SAP NetWeaver How-To Guide Search and Adapt SAP Best Practice content from Business Process Repository (BPR) Applicable Releases: Business Process Blueprinting 1.0 for SAP Solution Manager 7.1 IT Practice

More information

How To...Configure Integration of CUP with SPM

How To...Configure Integration of CUP with SPM SAP SOLUTIONS FOR GOVERNANCE, RISK, AND COMPLIANCE How-To Guide How To...Configure Integration of CUP with SPM SAP GRC Regional Implementation Group Applicable Releases: SAP GRC Access Control 5.3 Topic

More information

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC September 2006 SAP NetWeaver 2004s Copyright Copyright 2005 SAP AG. All rights reserved. No part of this publication may be reproduced or

More information

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How To... Configure Integrated Configurations in the Advanced Adapter Engine SAP NetWeaver How-To Guide How To... Configure Integrated Configurations in the Advanced Adapter Engine Applicable Releases: SAP NetWeaver Process Integration 7.1, EhP 1 Topic Area: SOA Middleware Capability:

More information

How To Generate XSD Schemas from Existing MDM Repositories

How To Generate XSD Schemas from Existing MDM Repositories SAP NetWeaver How-To Guide How To Generate XSD Schemas from Existing MDM Repositories Applicable Releases: SAP NetWeaver MDM 7.1 Topic Area: Information Management Capability: Master Data Management Version

More information

Simplified Configuration of Single System Update in Maintenance Optimizer

Simplified Configuration of Single System Update in Maintenance Optimizer SAP Solution Manager How-To Guide Simplified Configuration of Single System Update in Maintenance Optimizer Applicable Releases: SAP Solution Manager 7.0 Enhancement Package 1 SP23 or higher SAP Solution

More information

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to Applicable Releases: EhP5, EhP6, MDG6.1 Version 1.1 March 2013

More information

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK SAP NetWeaver SAP How-To NetWeaver Guide How-To Guide How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK Applicable Releases: SAP NetWeaver BW

More information

How To... Master Data Governance for Material: File Down- and Upload

How To... Master Data Governance for Material: File Down- and Upload SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: File Down- and Upload Applicable Releases: EhP5 Version 1.0 November 2011 Copyright 2011 SAP AG. All

More information

What s New / Release Notes SAP Strategy Management 10.1

What s New / Release Notes SAP Strategy Management 10.1 What s New / Release Notes SAP Strategy Management 10.1 PUBLIC Document Version: 1.1 [November 6, 2013] Copyright Copyright 2013 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

SAP NetWeaver How-To Guide

SAP NetWeaver How-To Guide SAP NetWeaver How-To Guide Integrate your Business Blueprint with SAP Netweaver BPM Applicable Releases: Business Process Blueprinting 1.0 for SAP Solution Manager 7.1 IT Practice / Topic Area: Blueprinting

More information

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0 How- to Guide SAP NetW e a v e r 0 4 How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0 Ver si o n 1. 0 0 Dec e m b e r 2 0 0 4 Applic a b l e Rele a s e s : SAP NetW e a v e r 0 4 SP Sta c

More information

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server Applicable Releases: SAP Test Data Migration Server 4.0 SP03 Version 1.0 October 2012 Copyright 2012

More information

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks SAP How-To Guide Master Data Governance for Material How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks Applicable Releases: EhP5,

More information

Accessing ABAP Functions in Web Dynpro Java

Accessing 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 information

How-To... Add Sensitive Content into an Area

How-To... Add Sensitive Content into an Area SAP NetWeaver How-To Guide How-To... Add Sensitive Content into an Area For Web Page Composer in SAP NetWeaver Portal 7.3 Applicable Releases: SAP NetWeaver 7.3 Version 1.0 Jun 2011 Some components of

More information

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0 How-to Guide SAP NetWeaver 04 How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0 Version 1.00 Nov 2005 Applicable Releases: SAP NetWeaver 04 SPS 13 and above

More information

Setting Up an Environment for Testing Applications in a Federated Portal Network

Setting Up an Environment for Testing Applications in a Federated Portal Network SAP NetWeaver How-To Guide Setting Up an Environment for Testing Applications in a Federated Portal Network Applicable Releases: SAP NetWeaver 7.0 IT Practice: User Productivity Enablement IT Scenario:

More information

Handling Transactions with BAPIs in Web Dynpro

Handling 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 information

Diagnostics Agent Installation in Unattended Mode with SWPM 1.0 SP5 for NetWeaver higher than 7.0x

Diagnostics Agent Installation in Unattended Mode with SWPM 1.0 SP5 for NetWeaver higher than 7.0x SAP Solution Manager End-to-End Root Cause Analysis Diagnostics Agent Installation in Unattended Mode with SWPM 0 SP5 for NetWeaver higher than 7.0x Document Version 5.1 23-May-2014 SAP AG Neurottstraße

More information

Install TREX for CAF Version 1.00 March 2006

Install TREX for CAF Version 1.00 March 2006 How-to Guide SAP NetWeaver 04s How To Install TREX for CAF Version 1.00 March 2006 Applicable Releases: SAP NetWeaver 04s Copyright 2006 SAP AG. All rights reserved. No part of this publication may be

More information

SAP BW 3.3 April 2004 English. General Ledger Analysis. Business Process Procedure. SAP AG Neurottstr Walldorf Germany

SAP BW 3.3 April 2004 English. General Ledger Analysis. Business Process Procedure. SAP AG Neurottstr Walldorf Germany SAP BW 3.3 April 2004 English General Ledger Analysis Business Process Procedure SAP AG Neurottstr. 16 69190 Walldorf Germany Copyright Copyright 2004 SAP AG. All rights reserved. No part of this publication

More information

SAP NetWeaver 04 Security Guide. Operating System Security: SAP System Security Under Windows

SAP NetWeaver 04 Security Guide. Operating System Security: SAP System Security Under Windows SAP NetWeaver 04 Security Guide Operating System Security: SAP System Security Under Windows Document Version 1.00 April 29, 2004 SAP AG Neurottstraße 16 69190 Walldorf Germany T +49/18 05/34 34 24 F +49/18

More information

Web Dynpro for ABAP: Tutorial 5 Component and Application Configuration

Web 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 information

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer SAP NetWeaver How-To Guide How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer Applicable Releases: Portal for SAP NetWeaver 7.3 Version 1.0 April 2011 Copyright 2011 SAP AG. All

More information

SAP Centralized Electronic Funds Transfer 1.8

SAP Centralized Electronic Funds Transfer 1.8 PUBLIC Upgrade Guide SAP Centralized Electronic Funds Transfer 1.8 Target Audience System administrators Technology consultants Document version: 1.1 May 26, 2008 SAP AG Dietmar-Hopp-Allee 16 69190 Walldorf

More information

How To... Configure Drill Through Functionality

How To... Configure Drill Through Functionality SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Configure Drill Through Functionality Applicable Releases: SAP BusinessObjects Planning and Consolidation 7.5, version

More information

How to Create a New SAPUI5 Development Component

How to Create a New SAPUI5 Development Component SAP Overall Equipment Effectiveness Management How-To Guide How to Create a New SAPUI5 Development Component Applicable Release: OEE 1.0 SP01 Version 1.0 August 8, 2013 Copyright 2013 SAP AG. All rights

More information

Setup an NWDI Track for Composition Environment Developments

Setup an NWDI Track for Composition Environment Developments How-to Guide SAP NetWeaver 7.0 How To Setup an NWDI Track for Composition Environment Developments Version 2.00 January 2008 Applicable Releases: SAP NetWeaver 7.0 SP13 (Custom Development & Unified Life-Cycle

More information

Consuming Web Dynpro components in Visual Composer.

Consuming Web Dynpro components in Visual Composer. Consuming Web Dynpro components in Visual Composer. Applies to: Visual Composer for SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 Summary A step by step guide for translating

More information

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment How To Guide SAP Business One 9.1 Document Version: 1.0 2014-05-09 How to Package and Deploy SAP Business One Extensions for Lightweight Deployment All Countries Typographic Conventions Type Style Example

More information

MDM Syndicator Create Flat Syndication File

MDM Syndicator Create Flat Syndication File MDM Syndicator Create Flat Syndication File Applies to: SAP NetWeaver Master Data Management (MDM) SP3, SP4, SP5. Summary This article provides a step-by-step procedure in manually syndicate the data to

More information

Do Exception Broadcasting

Do Exception Broadcasting How-to Guide SAP NetWeaver 2004s How To Do Exception Broadcasting Version 1.00 October 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this publication

More information

configure an anonymous access to KM

configure an anonymous access to KM How-to Guide SAP NetWeaver 2004s How To configure an anonymous access to KM Version 1.00 February 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this

More information

Tutorial: Consuming Web Services in Web Dynpro Java

Tutorial: 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 information

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide SAP NetWeaver How-To Guide SAP NetWeaver Gateway Virtualization Guide Version 1.01 May 2012 Copyright 2012 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any

More information

Exercise 1: Adding business logic to your application

Exercise 1: Adding business logic to your application Exercise 1: Adding business logic to your application At the conclusion of this exercise, you will be able to: - Enhance a Business Object with a new Property - Implement an Event Handler for a Business

More information

How to Set Up and Use the SAP OEE Custom UI Feature

How to Set Up and Use the SAP OEE Custom UI Feature SAP Overall Equipment Effectiveness Management How-To Guide How to Set Up and Use the SAP OEE Custom UI Feature Applicable Release: OEE 1.0 SP01 Version 1.0 August 8, 2013 Copyright 2013 SAP AG. All rights

More information

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option) SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option) Applicable Releases: EhP5 Version 1.0 September 2011 Copyright 2011 SAP AG.

More information

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How to View Dashboards in the Self Service Composition Environment with Additional Metadata SAP MII Add Metadata to Dashboards in Service Composition Environment How-To-Guide How to View Dashboards in the Self Service Composition Environment with Additional Metadata Applicable Release: MII 15.0

More information

Developing with Tables in Web Dynpro

Developing 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 information

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver. SAP BusinessObjects EPM RIG How-To Guide How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver. Applicable Releases: SAP BusinessObjects

More information

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006 How-to Guide Beginning with SAP NetWeaver 2004s SPS06 How To Transport in GP Version 2.00 January 2006 Applicable Releases: Beginning with SAP NetWeaver 2004s SPS06 Copyright 2006 SAP AG. All rights reserved.

More information

Visual Composer Build Process

Visual Composer Build Process Applies to: Visual Composer for Composition Environment 7.1 Summary This paper explains how Visual Composer builds & creates its applications, and what are the dependencies and naming consideration a modeler

More information

Visual Composer - Task Management Application

Visual Composer - Task Management Application Visual Composer - Task Management Application Applies to: Visual Composer for NetWeaver 2004s. Summary This document describes the basic functionality of the Task Management application, which is now available

More information

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Data Validation in Visual Composer for SAP NetWeaver Composition Environment Data Validation in Visual Composer for SAP NetWeaver Composition Environment Applies to: Visual Composer for SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1 For more information

More information

Web Page Composer anonymous user access

Web Page Composer anonymous user access Web Page Composer anonymous user access Applies to: SAP NetWeaver Knowledge Management SPS14. For more information, visit the Content Management homepage. Summary Web Page composer is a tool used for publishing

More information

Integrate a Forum into a Collaboration Room

Integrate a Forum into a Collaboration Room How-to Guide SAP NetWeaver 04 How To Integrate a Forum into a Collaboration Room Version 1.00 May 2007 Applicable Releases: SAP NetWeaver 04 SPS20 Copyright 2007 SAP AG. All rights reserved. No part of

More information

How to Translate a Visual Composer Model Part I

How to Translate a Visual Composer Model Part I How to Translate a Visual Composer Model Part I Applies to: SAP NetWeaver Visual Composer. Summary This How To guide is the first part in a series of guides which explain how to create and maintain translations

More information

How To... Use the BPC_NW Mass User Management Tool

How To... Use the BPC_NW Mass User Management Tool SAP BOBJ Planning & Consolidation (BPC), version for Netweaver How-To Guide How To... Use the BPC_NW Mass User Management Tool Applicable Releases: SAP BusinessObjects Planning & Consolidation 7.0, version

More information

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How to Set Up and Use the SAP OEE Custom KPI Andons Feature SAP Overall Equipment Effectiveness Management How-To Guide How to Set Up and Use the SAP OEE Custom KPI Andons Feature Applicable Release: OEE 1.0 SP02 Patch 2 Version 1.0 February 20, 2014 Copyright

More information

How-to Guide SAP NetWeaver 04. Web Dynpro Themes. Version Applicable Releases: SAP NetWeaver 7.0

How-to Guide SAP NetWeaver 04. Web Dynpro Themes. Version Applicable Releases: SAP NetWeaver 7.0 How-to Guide SAP NetWeaver 04 How To Edit Web Dynpro Themes Version 2.00 Applicable Releases: SAP NetWeaver 7.0 Copyright 2004 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

Cache Settings in Web Page Composer

Cache Settings in Web Page Composer Cache Settings in Web Page Composer Applies to: EP 7.0, SAP NetWeaver Knowledge Management SPS14. For more information, visit the Content Management homepage. Summary This paper explains what cache settings

More information

How to Use Context Menus in a Web Dynpro for Java Application

How 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 information

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool SAP MII Websocket Integration with SAP PCo in Self Service Composition Environment How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool Applicable

More information

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration Applies to: SAP Netweaver 2004s Summary This document shows how to use custom themes for Web Dynpro ABAP applications

More information

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to: Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to: Access Control 5.3 Summary GRC Access Control identifies

More information

link SAP BPC Excel from an enterprise portal Version th of March 2009

link SAP BPC Excel from an enterprise portal Version th of March 2009 How-to Guide SAP CPM How To link SAP BPC Excel from an enterprise portal Version 1.00 12 th of March 2009 Applicable Releases: SAP BPC 7.0 M, 7.0 NW Copyright 2007 SAP AG. All rights reserved. No part

More information

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems Applies to: SAP GRC Access Enforcer, release 5.2 Summary For GRC Access Control to be able

More information

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius How To Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius SAP Product Name: SAP Business Planning and Consolidation, version for Microsoft Applicable

More information

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping A Step-By-Step Guide on File to File Scenario Using Xslt Mapping Applies to: SAP Exchange Infrastructure (XI) 3.0 / Process Integration (PI) 7.0 This document is for all XI aspirants who want to create

More information

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Configure SSO in an SAP NetWeaver 2004s Dual Stack How-to Guide SAP xrpm 4.0 How To Configure SSO in an SAP NetWeaver 2004s Dual Stack Version 1.00 December 2005 Applicable Releases: SAP xrpm 4.0 Copyright 2004 SAP AG. All rights reserved. No part of this

More information

How to Work with Analytical Portal

How to Work with Analytical Portal How-To Guide SAP Business One, version for SAP HANA Document Version: 1.1 2019-02-22 SAP Business One 9.3 PL00 and later, version for SAP HANA Typographic Conventions Type Style Example Example EXAMPLE

More information

Sizing for Guided Procedures, SAP NetWeaver 7.0

Sizing for Guided Procedures, SAP NetWeaver 7.0 Sizing Guide Sizing for Guided Procedures, SAP NetWeaver 7.0 Released for SAP Customers and Partners Document Version 1.0 - September 2007r Released for SAP Customers and Partners Copyright 2005 SAP AG.

More information

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA How-To Guide SAP Business One 8.82, Version for SAP HANA Document Version: 1.0 2012-09-05 How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA All Countries

More information

How To Configure IDoc Adapters

How To Configure IDoc Adapters How-to Guide SAP NetWeaver 04 How To Configure IDoc Adapters Version 1.00 Feb 2005 Applicable Releases: SAP NetWeaver 04 XI 3.0 SR1 and above Copyright 2005 SAP AG. All rights reserved. No part of this

More information

Building 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 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 information

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): Purpose: Why: When: How often: Main Tasks: Perform configuration steps for used in GRC Access

More information

How To Extend User Details

How To Extend User Details How-to Guide SAP NetWeaver 2004s How To Extend User Details May 2006 Applicable Releases: SAP NetWeaver 2004s Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or

More information

Process Control 2.5 Implementation Checklist

Process Control 2.5 Implementation Checklist SAP SOLUTIONS FOR GOVERNANCE, RISK, AND COMPLIANCE Checklist Process Control 2.5 Implementation Checklist SAP GRC Regional Implementation Group Applicable Releases: SAP GRC Process Control 2.5 IT Practice

More information

Enterprise Portal Logon Page Branding

Enterprise Portal Logon Page Branding Enterprise Portal Logon Page Branding Applies to: This document applies to Enterprise Portal 6.0 based on NW04 and 2004s platforms. Summary This document describes a procedure that uses the NetWeaver Development

More information

Forwarding Alerts to Alert Management (ALM)

Forwarding Alerts to Alert Management (ALM) Forwarding Alerts to Alert Management (ALM) HELP.BCCCM 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 information

Installation Guide Business Explorer

Installation Guide Business Explorer Business Explorer 7. 1 0 Copyright Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission

More information

Installing a Patch for Portal Platform 6.0 on Web AS 6.40 SAP NetWeaver 04

Installing a Patch for Portal Platform 6.0 on Web AS 6.40 SAP NetWeaver 04 Installing a Patch for Portal Platform 6.0 on Web AS 6.40 SAP NetWeaver 04 SAP Enterprise Portal 6.0 on Web AS 6.40 Document Version 5 SAP Online Help December 2004 Copyright Copyright 2004 SAP AG. All

More information

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow Applies to: Visual Composer for SAP NetWeaver Composition Environment 7.1 Summary This article aims to help you get started modeling

More information

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0 SAP NetWeaver How-To Guide How To Enable Business Workflow for SAP NetWeaver Gateway 2.0 (Revised for version 2.0 SP03) Version 2.03 March 2012 Author: Marc Chan, SAP Customer Solution Adoption (CSA) Copyright

More information

Value Help in Web Dynpro ABAP - Tutorial.

Value 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 information

How to Browse an Enterprise Services Registry in Visual Composer

How to Browse an Enterprise Services Registry in Visual Composer How to Browse an Enterprise Services Registry in Visual Composer Applies to: Visual Composer SAP NetWeaver Composition Environment 7.1 (Ehp0 and Ehp1) For more information, visit the User Interface Technology

More information

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee SAP NetWeaver How-To Guide SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee Applicable Releases: SAP NetWeaver 7.0 EhP1 SAP NetWeaver CE 7.1 and 7.1 EhP1 Topic Area:

More information

WDJ: Adaptive Web Service Model Controller Coding Explained

WDJ: 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 information

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Create Partitions in SSAS of BPC Version 1.00 Feb 2009 How-to Guide SAP EPM How To Create Partitions in SSAS of BPC Version 1.00 Feb 2009 Applicable Releases: SAP BPC 5.x Copyright 2007 SAP AG. All rights reserved. No part of this publication may be reproduced

More information

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006 Best Practices SAP NetWeaver 2004/2004s Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006 Applicable Releases: SAP NetWeaver 2004 and 2004s (Usage Type Enterprise

More information