CRM Image Server Setup
Setting this up was quite a pain.
RFC connections
Use SM59 to check the RFC's SAPFTP,SAPFTPA,SAPHTTP and SAPHTTPA
This transactions are suppose to work out of the box, but we had problems with them.
See notes: 164203, 455197, 544843
The main issue i had was that SAPHTTP was broken out of the box.
By running RSHTTP05 (under SE38), it reported the transaction SAPHTTP was broken. So i had to go to SM59 and delete it.
Then run RSHTTP05 again, it will recreate it correctly and the test should work.
Configuring the web/ftp server (FTP + WebDav)
We use apache / Pure-Ftpd
Apache config: add webdav section / restart apache
ServerAdmin webmaster@localhost
DocumentRoot /var/www
DavLockDB /var/lock/apache2/FTP-DAVLock
<Directory /var/www/crmdev>
DAV On
AuthType Basic
AuthName "Image server"
AuthUserFile /etc/apache2/davusers
<LimitExcept GET HEAD OPTIONS>
Require user image
</LimitExcept>
</Directory>
Pure-ftpd:
pure-pw useradd image -f pureftpd.passwd -u 1001 -g 1001 -d /var/www/ pure-pw mkdb
Webdav/apache and Pure-Ftpd HAVE to point to the same directory.
tail /var/log/pure-ftpd/transfer.log /var/log/apache2/*.log /var/log/messages -f
Configuring the RFC
Go to transaction SPRO, and see "Define search server relation".

Also check the RFC was created correctly:

Define the publishing target
Go to transaction SPRO and run "Set Targets for publishing catalog contents"


Setting up the catalog in XCM
go to the XCM and set the image server

Running the replication
Go to the product catalog maintenance and run the replication

Comments:
Add a new Comment
Back to top

