SAP Composite Application Framework. Creating a Content Package Object

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

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

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

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

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

How to Use Function Keys in Mobile Applications for Handhelds

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

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

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

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

SAP NetWeaver How-To Guide

How To...Configure Integration of CUP with SPM

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

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

What s New / Release Notes SAP Strategy Management 10.1

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

Simplified Configuration of Single System Update in Maintenance Optimizer

Do Exception Broadcasting

configure an anonymous access to KM

Install TREX for CAF Version 1.00 March 2006

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

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

Authentication of a WS Client Using a SAP Logon Ticket

MDM Syndicator Create Flat Syndication File

How To Generate XSD Schemas from Existing MDM Repositories

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

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

Integrate a Forum into a Collaboration Room

SAP NetWeaver How-To Guide

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

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

Using Business Graphics

Visual Composer - Task Management Application

Consuming Web Dynpro components in Visual Composer.

How To Extend User Details

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

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

Configure SSO in an SAP NetWeaver 2004s Dual Stack

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

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

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

How to Translate a Visual Composer Model Part I

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

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

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

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

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

Process Control 2.5 Implementation Checklist

SAP Centralized Electronic Funds Transfer 1.8

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

Web Page Composer anonymous user access

Cache Settings in Web Page Composer

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

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

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

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

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

How To Customize the SAP User Interface Using Theme Editor

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

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

How To Troubleshoot SSL with BPC Version 1.01 May 2009

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

Visual Composer Build Process

How To... Configure Drill Through Functionality

Enterprise Portal Logon Page Branding

How To Configure IDoc Adapters

Installation Guide Business Explorer

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

How to Create a New SAPUI5 Development Component

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

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

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

How to Browse an Enterprise Services Registry in Visual Composer

Extract Archived data from R3

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

Web Dynpro for ABAP: Tutorial 5 Component and Application Configuration

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

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

Create Monitor Entries from an update routine

Create Monitor Entries from a Transformation routine

Building a Tax Calculation Application

Sizing for Guided Procedures, SAP NetWeaver 7.0

The test has been performed using a 64 Bit SAP NetWeaver Application Server Java 7.1 Enhancement Package 1 SP4 or greater system.

How to Work with Analytical Portal

Setup an NWDI Track for Composition Environment Developments

Exercise 1: Adding business logic to your application

Introducing SAP Enterprise Services Explorer for Microsoft.NET

View Time Security for crystalreports.com

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

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1

R e l ea se 6. 20/

Creating Your First Web Dynpro Application

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

Demand Management. Job Processing Guide for SAP DM. Release 6.4

How to... Build a Planning Function that Deletes Comments in BW

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Transcription:

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 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. 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. Java is a registered trademark of Sun Microsystems, Inc. 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.

T y p o g r a p h i c C o n v e n t i o n s I c o n s Type Style Example Text 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. 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

Contents Scenario... 1 About This Document... 1 General prerequisites... 1 Applicable Releases... 2 Disclaimer... 2 The Step By Step Solution... 3 Create a Content Package Object in Guided Procedures Design Time... 3 Adding a folder to the Packaged Content Object... 6 Adding a file to the Packaged Content Object... 6 Adding the extracted content of an archive to the Packaged Content Object... 7 Adding Translated Resource to the Content Package Object... 7 Finishing and activating the Content Package Object... 8 Finalizing content... 8 Granting permission... 9 Activating the Content Package Object... 10

Scenario The purpose of the Content Package Object is to define an object that represents a collection of content such as HTML pages, electronic documents, images and so on. You are able to do this, because in addition to applications or services, you can also encapsulate and use a Content Package as a callable object. As part of a Guided Procedure step, a Content Package type callable object allows you to call and display packaged content. You can include files of different types in a Content Package Folder, File, Archive Content (content of a zip), and Translated Resource for the original files are supported. You may create a directory structure within a package to organize the content, but the front-end of a Content Package should always be an HTML page that will serve as the entry point to the content of the package. To create a Content Package that you can use in a Process, you must: Create a Content Package object Expose it as a callable object. Typically you can use this callable object to integrate a set of documents organized into folders and connected via html links (like a set of javadoc documents or a piece of web site content html pages, images, electronic documents etc). The entry point can be an index HTML page you access when you execute the Content Package callable object that contains links to files or folders included in the Content Package as well, for example. About This Document This tutorial shows the creation of the Content Package Objects in Guided Procedures Design Time, and describes how to include the different file types. For a detailed step by step guide on how to wrap the Content Package Object into a callable object please see document [1]. The most useful way to create a Content Package is to insert a zipped file that contains the collection of different files organized into folders with an HTML file as an entry point to all the content. On addition this content will be extracted and included into the Content Package in one step. Of course you are also able to add files to, or remove files from, a package individually. General prerequisites It is recommended that you have an organized collection of files with an HTML file as the entry point to all the content zipped into one single archive, although this is not essential. - 1 -

Applicable Releases This tutorial is compatible with the following release Beginning with SAP NetWeaver 04s SPS6. Disclaimer Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. - 2 -

The Step By Step Solution Open your Enterprise Portal via http://<server>:<port>/irj/portal, navigate to tab Guided Procedures and tab Design Time Create a Content Package Object in Guided Procedures Design Time 1. In the left section of the window named You Can, choose Create Content Package Object to open the Content Package Object Design Time. - 3 -

2. Enter the basic data for the new Content Package Object Name: e.g. mycontentpackage Description: e.g. My Content Package Object Language: e.g. English Folder: (if blank or doesn t have the correct value select the storage location by using the Choose button) Click on Save and Open button. 3. Now your new Content Package Object is saved. You can manage its content either by clicking on Maintain content on the left-hand side panel, or clicking on the No content has been added to this package link. - 4 -

4. This screen shows the content of your Content Package Object. You can see the current folder at the top of the content table, on the left. You can maintain it by adding Folder - and subfolders in folders File - any type of a single file from a chosen location Archive Content extracted content of a *.zip file Translated Resource - a translated version (into another language) of file that has already been added As you can see the Add Translated Resource button is disabled this is because there are no files selected to add a translated version to. You can remove a folder or file with the Remove button. For navigation in the folders you can use the Open button to see the content of the selected folder. Use the Back button to navigate one folder up in the folder hierarchy. - 5 -

Adding a folder to the Packaged Content Object 1. Click on Add Folder Enter the name of the folder and click on Add. 2. You should see your folder in the content table. 3. To create a subfolder under a folder, just select the parent folder and click the Open button. At the top you can see the name of the current folder. 4. As you did with the parent folder you click on Add Folder, provide the folder name, and click on Add. Your subfolder will appear under the parent folder. Adding a file to the Packaged Content Object 1. Click on Add File Enter the name of the file with its full path you can use the Browse button Choose the Language, e.g. English You can set the Encoding of the file as well Click on Add when you have defined the file and its attributes. - 6 -

2. You should see the file in the content table the name of the file, its file type and language attribute. Adding the extracted content of an archive to the Packaged Content Object 1. Click on Add Archive Content Enter the name of the archive file with its full path you can use the Browse button Choose the Language, e.g. English You can set the Encoding Click on Add when you have defined the archive file and its attributes. 2. The content of the archive will be extracted and inserted into the Content Package Object. Adding Translated Resource to the Content Package Object 1. Select the file to which you would like to add the translated version. Click on Add Translated Resource - 7 -

2. In this screen you should see the original file you selected. Enter the name of the translated file with its full path you can use the Browse button Choose the Language, e.g. German (i.e. the original file s language was English) You can set the Encoding Click on Add when you have finished. 3. Notice that beside the English language the German language has appeared in the Available Languages field of the original file. The intention is that users with different languages should get matching versions of the file from the Content Package. There is a fallback to the original language version of the file if matching is not set for the user. Finishing and activating the Content Package Object Finalizing content 1. Once you have finished adding content, click Done. 2. The Maintaining Content view will be closed, and you should now see that your Content Package Object is not empty. - 8 -

Granting permission 1. To grant different permissions to this Content Package Object click on the Grant permissions link on the lefthand section of the screen. This is optional, if you skip this step, everyone will have full control of the Content Package Object by default. 2. Click on Add button to add a principal. (You can use the Add Defaults button as well which will add the creator of the Content Package Object with Full Control permission). 3. In the Add Users section you can search and find Users, Groups or Roles to add as a principal users. Enter the name of the user, group or role into the Find edit-box, and define which type of item to search for by choosing one in the Within dropdown box. Press Go to initiate the search. Make the selection from the result of the search and click on Add. - 9 -

4. You should see the chosen principal in the list. Select the type of the permission in the Permission column Read, Write or Full Control. (Use the Remove button to delete a granted permission) When you finished with granting permissions click on Save. Activating the Content Package Object 1. Click on the Activate content package link to make this object available for callable object creation. 2. Click on Activate to confirm. - 10 -

3. Your Content Package Object is activated now available to be used in callable object creation. - 11 -

- 12 -