Show TOC Start of Content Area

Object documentation New Attachment  Locate the document in its SAP Library structure

Definition

A Web Dynpro-developed user interface component used to attach any type of file or image to a business object instance.

Use

You use the New Attachment component with the Attachments and Attach Image patterns to select a file or image to be attached as a document to an object instance. It is a simple UI component that can be embedded in any composite application

Structure

The New Attachment pattern consists of the following parts:

     New Attachment Configurator

     New Attachment UI

After configuring the New Attachment Configurator, you can generate the UI used to attach a document to a business object.

New Attachment Configurator

You use the toolbar along the top of the layout to create a new attachment configuration (New), to open a previously created one (Open), to save (Save, Save as) or delete (Delete) it, or to preview (Preview) and test your configuration in a separate window.

In the following tables, you see a list of configuration fields used to create a New Attachment component. Those marked with an asterisk (*) in the table and a red asterisk in the screen layout are required fields.

KM-Related Entries

Description

Configuration Name of Browse UI to Select KM Resource*

Enter the name or choose the File Select UI component configuration used to add a new document from the Document Management System (DMS) on the Enterprise Portal.

Choose Configure to select a configuration associated with the File Select pattern.

Configuration Name of Browse UI to Select Target KM Folder

Enter the name of the File Select UI component used to indicate the target KM folder.

Choose Configure to set the start directory for files or other directories and name the top-level label to be displayed.

 

New Profiles

Description

Allow Local File System

Enable checkbox to allow adding a new document from the local file system or file server.

Allow Document Management System

Enable checkbox to allow adding a new document from a DMS on the Enterprise Portal.

Allow World Wide Web

Enable checkbox to allow adding a new document as a URL link.

Show Column Name

Enable checkbox to allow typing in a document name.

Default Number of Rows (1…10)

Enter the number of rows to be displayed when selecting a file from a list.

 

New Attachment UI

With the New Attachment UI, you can upload additional attachments from other sources such as from a local directory, a document management system such as SAP Knowledge Management, or as link from a website. See Adding Attachments for information on this procedure.

 

See also the following UI components:

     Attachments

     Attach Image

End of Content Area