Monday 16 August 2021

Client copy using Client export-import method

 PREPARATION

  1. System message: To keep the users informed about the client copy and unavailability of systems, please create a system message in SAP system (SM02).
  2. You must neither work in the source nor in the target client.

So, Lock Users: Only administrator user IDs should be active and all other SAP user IDs should be locked so that no user intervention can occur at the time of client copy in the source system (SU01).

  1. There must not be any background job running or in released status in the SAP system (SM37).
  2. Check for TMS configuration and ensure there are no updated errors in SM13 of source client.
  3. Make sure that there is enough space in target system table spaces and in Common Transport directory.
  4. To keep the User Master Records and Authorization Profiles same after client copy, take the export of SAP_USER profile. 

PRE-REQUISITES 

  1. For performing a client copy we must check the size of the client and availability of space in the target system for copying that client.
  2. Authorization required to copy client, to export and import client as well as to perform the steps related to transport management system must be assigned to the SAP user performing the Sap client copy as per SAP recommendations.
  3. Source SAP system and Target SAP system should be same release.
  4. Transport tools like tp and R3trans should be working accurately in the SAP systems.
  5. No SAP users should be able to login to the source as well as target SAP system so that there is no inconsistency in the SAP system.

PROCEDURE

Log on to source system – source client and make sure that all above steps have been performed .Then go to tcode SCC8 for Export. Select a client profile according to data to be copied as a Transport request. Mention target system into which the client should be copied. Configure this as a background or dialogue process.

According to the client profile selected and the data available, maximum 3 transport requests will be created and automatically exported to target system mentioned. The requests are like

<sid>KO<No> – For cross client data

<sid>KT<No> – For client specific data

<sid>KX<No> – For client specific texts 

Once above TRs got created, all of them automatically released and exported to a target system. This can be checked in SE01 or SCC3. 

IMPORT

Log on to target system(client) and execute STMS tcode.

STMS > import overview > refresh the buffer to find exported requests →import Queue of target

Client  → start import.

In case 3 transport requests are created in export any one of the TR is started then the rest TRs also get imported in to target client automatically. 

Thursday 12 August 2021

DMS Step-by-Step installation (SAP Content Server)

The installation

The installation of SAP DMS is a easy task if you came from infrastruture or see Linux servers as a buddy. But, if you aren´t  a infra guy, or Linux isn´t your best friend, the instalation of the SAP DMS will not be too easy as the SAP manual tells it is. Of course, if you have background with Linux it will be easy, but, strong background with Operational Systems and Database as well, it is not a “pre-requisite” to be a Basis guy.

2015-05-26 14_17_57-Content Server Instalation - SCN - Microsoft Word.jpg

I buit this little and simple manual to help you to install SAP Content Server (called by the old school as “SAP DMS”) and turn your life more simple and easy. But do not forgeth: Always  use the SAP networks, Forums and notes before start any instalation. Thousands of new notes are released every single day and maybe, the way you judge is the right, isn´t anymore.

Preparation

As part of a SAP product, the installation must be prepared. If your infrasture guy is smart and he if he did any instalation for SAP products before, maybe the server will be ready to the instalatio. But belongs to the BASIS as normal activities, revision of the server instalation and if it is compliance with SAP requirements. Here I will describe the most importants:

Hostname

Check if the hostname has equal or less than 13 characters. Check SAP Note 611361 – Hostnames of SAP servers

Swap

Check if the server has enough SWAP configured. Check SAP note 1597355 – Swap-space recommendation for Linux


Linux

Check if the Linux is supported by SAP. Check SAP note 171356 – SAP Software on Linux: General information

Language

Check if the Linux is installed using English as default language.

Updates

Check if the server is updated.

Midias

Check if all midias for the installation are available. It is better if it is copied to local folder/mount point. For the Content Server, it will be necessary:

  1.    SWPM
  2.    MAXDB RDBMS
  3.    Files for install of the Apache webserver (available http://www.apache.org/dyn/closer.cgi)

Enough space

Of course, you need to check if there is enough space for the instalation and for mainly for save your documents in according of the Size done for the amount of the documents. A simple way to check it is using the command df-kh

2015-05-26 14_09_49-Content Server Instalation - SCN - Microsoft Word.jpg



This is an example of disks configuration for DEV server. For this landscape, it is not necessary large disks because that´s no reasons to use this server to save all documents, but for production servers, consider use scalable large disks



Installation

The instalation procedure has three phases:

  • Users creation
  • Apache installation
  • SWPM

Following I will describe in details each one.

Users creation

For instalation of SAP Content Server over Linux, the first step is to create the credentials that Apache will use to run. Avoid run apache under root credentials due security issues.

These credentials that will be created now is for use of the Apache HTTP. The recommendation is create the user with home folders. Later, the Apache will be installed on these users Home. These credentials don´t need special PIDs or functions and the naming you decide that. For convenience, create the users in a way you can remenber the proposal for that. On this example, I created the user CSDCS. Let me explain the name:

  1. The first 2 letters refers to SAP Product
  2. D refers for development; Following this idea, Q for QAS and P for Production
  3. CS for Content Server. The Content Server product is compounded by Content Server and Cache Server. The both will have his own Apache and Databases.

This is just a way to create, but you deal.

If you plan to install cache server, you must create the user for cache server apache. Here an example for user creation for Content Server and Cache Server.

Apache installation

Get the Apache instalation files from Apace foundation. Extract the source files and change the owner of it for the users you´ve created.

I decided to use the following folders structure

Where:

SRC_APACHE is the folder where resides the source of the Apache (in the future can be removed).

HTTP is the folder where the Apache will be installed and run.

2015-05-26 14_10_55-Content Server Instalation - SCN - Microsoft Word.jpg

Note that each one CSDCS and CCDCS have the same structure.

Once you have extracted the files, enter in the folder and run make and before make install

Check the results of these commands and if no error message occurs. If no error found, its time to install the Apache on the home folders. To do that, run the command:

./configure –prefix=/<where you want to installApache instance> –enable-mods-shared=most –with-mpm=prefork

2015-05-26 14_11_38-Content Server Instalation - SCN - Microsoft Word.jpg

Do that for the Cache Server user as the same way.

SWPM

The SWPM is the tool developed by SAP to install his softwares. From now, you just ask the tool with the informations you have been collected for the install.

2015-05-26 14_11_50-Content Server Instalation - SCN - Microsoft Word.jpg

Open the SWPM and select Content Server and Cache server on Generic Instalation Options. This will install Content Server and Cache server on the server.

2015-05-26 14_12_01-Content Server Instalation - SCN - Microsoft Word.jpg

The next window, the SWPM will ask you if the both or each one product will be installed. Select as your needs

Note that you must choose the SID for the database and size for datafile.

2015-05-26 14_12_15-Content Server Instalation - SCN - Microsoft Word.jpg

Here, inform to SWPM where are the media files for the instalation of Content Server.

2015-05-26 14_12_32-Content Server Instalation - SCN - Microsoft Word.jpg

This is a very important step: Remember the folder you installed the Apache for each instance? Use the folder of the installation on this screen. It is very important the executable for Apache being available on this folder, otherwise SWPM will complains this is not the right place for Apache installation.

2015-05-26 14_12_15-Content Server Instalation - SCN - Microsoft Word.jpg

Inform the SWPM where are the files for MaxDB. Different from Oracle install, the instalation of MAXDB is done by SWPM.

2015-05-26 14_12_54-Content Server Instalation - SCN - Microsoft Word.jpg

This step is an optional area to store the files. For content Server, you have two ways to store files: on Maxdb as part of a database or on file on the file system. Here is the folder if you decide to store the files on File system.

It is important you take notes about http port that will be configured for SAP. You need to configure this ports on ECC.

2015-05-26 14_13_05-Content Server Instalation - SCN - Microsoft Word.jpg

Define the password for the Software Owner. This user has owner rights on the Maxdb.

2015-05-26 14_13_15-Content Server Instalation - SCN - Microsoft Word.jpg

Define here where MaxDB will be installed.

2015-05-26 14_13_23-Content Server Instalation - SCN - Microsoft Word.jpg

Define password for superdba and control. Take notes for these users and passwords. They will be required for administration.

2015-05-26 14_13_32-Content Server Instalation - SCN - Microsoft Word.jpg

Define this variables according the project needs.

2015-05-26 14_13_45-Content Server Instalation - SCN - Microsoft Word.jpg

Define here where the Logs of MaxDB will be located. Not that this isn´t like Oracle that the logs are files and can be manipulated but they are datafiles from MaxDB and could not be move without proper commands.

2015-05-26 14_13_54-Content Server Instalation - SCN - Microsoft Word.jpg

Define where the Datafile for the database of Content Server will be saved. As the same way you are configuring it for Content Server, you do it for Cache Server.

2015-05-26 14_14_06-Content Server Instalation - SCN - Microsoft Word.jpg

Define password for owner of Cache server on MaxDB.

2015-05-26 14_14_17-Content Server Instalation - SCN - Microsoft Word.jpg

Define the passwords for superdba and control. Note that these users are different from CSD. There are two different scheemas on MaxDB and the superdba from the scheema “A” is different from the scheema “B”.

2015-05-26 14_14_26-Content Server Instalation - SCN - Microsoft Word.jpg

Define this according the project needs

2015-05-26 14_14_26-Content Server Instalation - SCN - Microsoft Word.jpg

Define where the Logs for Cache server will be saved.

2015-05-26 14_14_51-Content Server Instalation - SCN - Microsoft Word.jpg

Define where the data files for Cache server will be saved.

2015-05-26 14_15_03-Content Server Instalation - SCN - Microsoft Word.jpg

Well done! It is time to test the instalation.

If everything done right, you can test the Content Server by opening in the browser the application.

Try to open:

http://<IP for the server>:<port>/ContentServer/ContentServer.dll?serverinfo

If you got this message, congratulations! The server is runnig fine.

Monday 9 August 2021

(SAP Note 2836302) Automated guided steps for enabling Note Assistant for TCI & Digitally Signed SAP Notes

This tutorial is based on SAP_BASIS 702 version. You are advised to refer to the SAP SAP Note 2836302 – Automated guided steps for enabling Note Assistant for TCI & Digitally Signed SAP Notes.

Prerequisite

Download and upload the SAP Note 2836302 into your SAP system using the transaction code SNOTE. Deploy the SAP Note.



Launch the report RCWB_TCI_DIGITSIGN_AUTOMATION from transaction code SE38.


Download all the SAP Notes and TCI Bootstraps earlier before you proceed with the execution activities below.

Execution

Step 1: Download and implement all the pre-requisite SAP Notes.

0001532112
0002134534
0002344014
0002536585
0002569813
0002606986
0002615270

Step 2: Upload the TCI Bootstrap Package: SAPK70200GCPSAPBASIS.

 

Step 3: Implement TCI Bootstrap Package: SAPK70200GCPSAPBASIS. Ensure DDIC is not locked and no queue in SPAM/SAINT.


Step 4: Download & implement TCI Bootstrap Note: 0002444141.


Step 5, 6 and 7: No action required for Step 5, 6 and 7.

Step 8: Upload TCI package for Digitally Signed Note enablement: SAPK70200VCPSAPBASIS.

Step 9: Download & Implement SAP Note for Digitally Signed Note enablement: 0002576306

Step 10: Download & Implement SAP Note: 0002869143

Step 11: SNOTE Configuration for Digitally Signed SAP Note download

Step 12: Check download of Digitally Signed test Note 2424539.

Step 13: List of Transports to be consolidated for import to subsequent systems. All done!

SAP HANA DB ANALYSIS AFTER ISSUES

To be able to further analyze your issue and environment please download the attached shell script you can get from KBA: 3218277 - Collectin...