Ansicht
Dokumentation

COM_PCAT_MASS_DOC_IMPORT - Mass import of documents for product catalog items

COM_PCAT_MASS_DOC_IMPORT - Mass import of documents for product catalog items

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Mass Import of Multimedia Documents for Product Catalogs

Purpose

This report enables you to automatically import multimedia documents that are already available in a file system and assign these documents to product catalog items. The items are identified using a product number. An item is created if a corresponding one is not available.

A simple text file, which can be created using the normal spreadsheet programs or simple text editors, is used as a basis for the import. This text file should be made up as follows:

The first line is ignored, its content is insignificant and can, for example, contain the headings of the columns. The remaining lines correspond to the document that is to be imported and contain 3 to 4 columns with:

  1. The product number of the catalog item that the document is to be added to
  2. The number of the catalog area in which the item is located or in which it is to be created if it has not yet been created
  3. The complete file name, including the path of the document that is to imported and assigned. Make sure that the import takes place on the frontend, that is the frontend must be able to read the file from a specified path
  4. The document type of the document. This specification is optional, make sure that the document type for the catalog is valid for your application (that is to say that a corresponding folder for templates, for items of the catalog type is available)

Two formats are supported for dividing columns: "Tab-delimited", that is the columns are separated using tabulator characters or "comma separated", that is the columns are separated using semi colons (or another character that is not used in the column contents).

Integration

Prerequisites

Features

Selection

Required parameters are the product catalog and the name of the text file that contains information about the documents that are to be imported.

You can determine that all documents are to be considered as language-independent, with the "language-independent documents" parameter. You can specify a language in the field "document type" if the indicator is not set.

The "file format" parameter enables you to inform the system which format the text file has. You can use another separators in addition to the semi colon that is suggested as a default for: "comma separated values"

If you set the "Delete catalog contents" parameter, all of the catalog items are deleted before the import.

If you set the "Subsequently activate items" parameter, all of the items are activated after the import.

Standard Variants

Output

Activities

Example

Example for constructing a "comma separated values" file:

Product number;Catalog area;File;Document type
100001;AREA1;C:\My Documents\Images\100001_small.gif;CRM_THUMB
100001;AREA1;C.\My Documents\Images\100001_large.jpg;CRM_IMAGE
100002;AREA1;C:\My Documents\Images\100002_small.gif;CRM_THUMB

...






BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3359 Date: 20240531 Time: 233540     sap01-206 ( 59 ms )