File Attachment Plug-In

You can use this activity to attach files to messages, SFCs, DC parameters, NC codes, production comments in the POD.

The files attached using the File Attachment Plug-in can be viewed and maintained in Maintain File Attachments.

Prerequisites

  • You have assigned the File Attachment Plug-In (ATTACHFILE_PLUGIN) to the popover or other (fixed) layout in POD Maintenance.

  • You have set the FILE_ATTACHMENT_PLUGIN_ID rule of the following activities to ATTACHFILE_PLUGIN:

    • Create Message (CREATE_MESS_PLUGIN)

    • SFC Data Entry (SFC_DATA_ENTRY)

    • Data Collection Entry (DC500)

    • Log NC (NC Data Entry) (NC_DATA_ENTRY)

    • Log Comment (LOG_COMMENT_PLUGIN)

  • For the Mobile POD, you have set the FILE_ATTACHMENT_PLUGIN_ID rule of the following activities to ATTACHFILE_PLUGIN:

    • Mobile DC (MOBILE_DC)

    • Mobile Log NC (MOBILE_LOG_NC)

  • To scan your files by the antivirus before saving them, in Start of the navigation pathSAP NetWeaver Administrator Next navigation step Configruation Next navigation step Virus Scan Provider Next navigation step Profiles tabEnd of the navigation path, you have activated the default virus scan profile or configured your virus scan profile and specified it in the SAP NetWeaver Virus Scan Profile system rule in System Rule Maintenance.

  • To see attached files in the Device History Report, you have selected the File Attachment checkbox for the corresponding object on the Device History Report tab in User Preference Maintenance.

Rules

The following table describes rules and settings that you can change for the activity (ATTACHFILE_PLUGIN) in Activity Maintenance:

Rule

Setting

ALLOWED_FILE_TYPES

A comma-separated list of allowed file types.

JPG, JPEG, PDF: Allows you to upload .jpg, .jpeg, and .pdf files.

To allow users upload files of any type, enter *.

DESTINATION_PATH

The storage where you can upload files.

INTERNAL (default): SAP ME database

CONTENT_SERVER: SAP Content Server

DMS: SAP Document Management System

LOCK_DOWN_FILE

YES: You cannot delete the attached file.

NO (default): You can delete the attached file.

MAX_FILE_SIZE

Allows you to set the maximum size of the file (in MB) that you can upload.

Default value: 4.