Thursday, 16 May 2013

SLD content update


The note contains the necessary information to see which files you need to download from SAP Service Marketplace.

1.jpg
picture 1.0

You can see the SLD content version in the SLD by navigating to Administration – Details (see picture 1.0).

11.jpg

picture 1.1

The Model Version (1.6.34) is what file cimsap represents and the SAP CR Content Version (SAP_CR 8.9) is what file(s) CRDelta represent (see picture 1.1).

12.jpg
picture 1.2

You can check SAP Note 669669 - Updating the SAP Component Repository in the SLD (see picture 1.2) to see which files you need to update to the latest version.
The current version of the SLD was SAP_CR 8.9 so we need to update from 8.x to 9.0 and then from 9.0 to 9.y (latest version available).

Downloading the CIM SAP Content file

The file that will be imported first into the SLD, is the CIM SAP file. You can find this file on SAP Marketplace. The Model Version (cimsap zip file) can be updated directly to the latest version. The most current folder for CIM SAP is SAP CR CONTENT UP TO 2013

13.jpg
picture 1.3

You can find this folder on https://service.sap.com/swdc under the path Browse our Download Catalog – <in the left pane choose> SAP Technology Component – SAP CR Content – SAP CR CONTENT UP TO 2013 (see picture 1.3).

14.jpg
picture 1.4

Click on # OS independent to show the list of available files (see picture 1.4).
15.jpg
picture 1.5

For this file, you can just take the latest available ZIP file (see picture 1.5).

Downloading the SAP_CR Content files

Different then with the Model Version, for the CR content, you cannot directly update to the latest version (unless you are already on a very recent version 9.x to 9.y for example is possible. Otherwise, you need to incrementally update. For example if you start with 7.x you need to update 7.x to 8.0 and 8.0 to 9.x and 9.x to 9.y.


16.jpg
picture 1.6

17.jpg
picture 1.7

In this example, to update from 8.x (we are at SAP_CR 8.9) to 9.0 you need the latest CRDelta file under the folder SAP CR CONTENT UP TO 2012 (see picture 1.7) to start with. This is reflected in the content of Note 669669 - Updating the SAP Component Repository in the SLD as you can see in picture 1.6.

18.jpg
picture 1.8

Here, select the newest CRDelta file (check Last Changed column) & download the file (see picture 1.8).

19.jpg
picture 1.9

In order to update to the latest version, you also need the latest CRDelta zip file from SAP CR CONTENT UP TO 2013 (see picture  1.9). Note that this changes over time as you can expect SAP CR CONTENT UP TO 2014 in the future.

20.jpg
picture 2.0

Download the latest CRDelta version for CR CONTENT UP TO 2013 (see picture 2.0).

Importing the content into the SLD
21.jpg
picture 2.1

Click on Administration in the upper menu of the SLD (see picture 2.1)

22.jpg
picture 2.2

Click on Import under header Content (see picture 2.2)

23.jpg
picture 2.3

Click on the Browse button (see picture 2.3).

24.jpg

picture 2.4

First upload the cimsap content (see picture 2.4).

Select the cimsap zip file and confirm.

25.jpg
picture 2.5

Click on Import Selected File (see picture 2.5).

26.jpg
picture 2.6

Click on Continue Import when no errors are shown - see issue(s) section at the end of the document for more information (see picture 2.6).

27.jpg
picture 2.7
28.jpg
picture 2.8

You can follow the steps and the progress of the import (see picture 2.7 and picture 2.8).

29.jpg
picture 2.9

Once the import is finished, go back to Administration  Import to upload the CRDelta content

Click on Import under header Content (see picture 2.9)

30.jpg
picture 3.0

Click on the Browse button

31.jpg
picture 3.1

Select the first (lowest version - see picture 3.1) CRDelta zip file.

32.jpg
picture 3.2

Click on Import Selected File (see picture 3.2).

33.jpg
picture 3.3

Click on Continue Import (see picture 3.3).

34.jpg
picture 3.4

You can follow the progress of the import (see picture 3.4). This import can take a significant amount of time. I measured this update on a development system (not the best sized / fasted environment ) and it took an hour and a quarter to process the update. The amount of time needed depends on the size of the update. This update was around 30 MB in size.

Now, we still need to process one more update. Navigate back to Administration  Import.

44.jpg
picture 3.5

Select the second CRDelta file - see picture 3.5 (you can have many CRDelta files depending on the source version  and the target version of the SLD content).

45.jpg
picture 3.6

Click on Import Selected File (see picture 3.6).

46.jpg
picture 3.7

Click on Continue Import (see picture 3.7).

47.jpg

picture 3.7

The result is an updated SLD:

From Model Version 1.6.34 to 1.6.36 
From SAP CR Content Version SAP_CR 8.9 to SAP_CR 9.2.

Possible issue(s)

Wrong target version
48.jpg
picture 3.8

If you try to import a version that is not compatible with the actual version a error message will be shown (see picture 4.8).

Do not Import anyway in this case! You should respect the proper order of import for CR Delta.
Cancel the Import and check that you have the correct sequence.

The content update is too large for import

Another issue that can occur is that the content update is too large. To overcome this problem, you can modify the parameter MaxUploadSizeMB (WebUI).

You can find this parameter by going to Administration - Profile. Then switch to section ALL and search for MaxUploadSizeMB (WebUI). Increase the value (for example up to 50 MB) and save.

No comments:

Post a Comment