SAP

Sana Commerce 9.2
Your connector

Product Images



In SAP you can add product images and show them on the product pages in the Sana web store. Images can be added to the materials using attachments in SAP.

 NOTE

You can equally use the procedure which Sana provides out-of-the-box and SAP to add product images.


Set up user permissions

The SAP user must have the necessary permissions to be able to add attachments to the materials. If you can't add attachments in SAP, please ask the SAP administrator to give you the necessary permissions.

If the SAP user has the required permissions to add attachments, then the button Services for Object will be available in the material master data.

To manage the user in SAP, use the transaction code SU01. The parameter SD_SWU_ACTIVE must be added to the user on the Parameters tab to allow the user to add attachments in SAP.

Add an image to a material in SAP

Step 1: Open material master data.

Step 2: Click on the Services for Object button to add the image to the material. Then click: Create > Create Attachment.

Step 3: Find the necessary picture and add it to the material. You can add multiple images to each material. All images added to the material in SAP will be shown on the product details page in the Sana web store.

 NOTE

The image file name must begin with the prefix "I_" and the underscore character. Otherwise, the images will not be imported to Sana and shown in the web store.

Step 4: Click Attachment list, if you need to view the list of all images added to the material. You can open the attachment list only when at least one attachment has been added to the material. In the Service: Attachment list window you can also add and remove images.

Step 5: When images are added to the materials in SAP, run the Product import task in Sana Admin. Open Sana Admin and click: Tools > Scheduled tasks.

The Product import task retrieves material information from the database to build or update the catalog of your web store.

Step 6: When the Product import task is completed, start the Product image import task.

 NOTE

Before running the task make sure that it is configured. Click Edit on the Product image import task and enable the setting Import product images from ERP. In the Separator field enter the symbol that will be used to separate product image information in the product image filename, like item number and order number.

For more information, see "Product Image Import".

The Product image import task will retrieve all product images from SAP, rename them according to the image file name format supported by the Sana web store, and save all images to the "ProductImages" directory of the Sana Commerce solution on the Web server.

Then, the Product image import task will automatically resize all product images from the "ProductImages" folder and put them according to the size to the "Small", "Medium" and "Large" folders. This is done because product images of three different sizes are used in the Sana web store.

For more information about product image and image sizes, see "Product Images".

When the Product image import task is completed, product images from SAP will be shown in the Sana web store.