How to save time needed to import many languages for ERP/S4HANA Installation
When you install languages using Software Provisioning Manager (sapinst) – Each language is installed sequentially and it takes a very long time. Just the install of French language takes 3 hrs 15 min. considering average of 2.5 hrs if you were to install 36 additional languages, it should take 90 hrs which is approx. 4 days. You can use the procedure below to save time when installing many languages required to be installed.
Provide sufficient additional space (36 languages need 100GB) in /usr/sap/trans. There should be sufficient background jobs. Also, take a backup at this point.
The media directory structure is as shown below after extracting the zip files:
vhcals4hci:/media/51050422_LNG1/DATA_UNITS # ls
AR BG CA CS DA DE EL EN ES ET FI
vhcals4hci:/media/51050422_LNG2/DATA_UNITS # ls
FR HE HI HR HU IT JA KK KO LT LV NL NO PL PT RO
vhcals4hci:/media/51050422_LNG3/DATA_UNITS # ls
RU SH SK SL SV TH TR UK VI ZF ZH
Copy the *.PAT files into /usr/sap/trans/EPS/in with this single command
vhcals4hci: cp /media/51050422_LNG?/DATA_UNITS/??/*.PAT /usr/sap/trans/EPS/in/.
2. ADD LANGUAGES IN RSCPINST:
Execute tCode SE38, program RSCPINST
Click on Add Language
RtClick First Column and select Set Filter from Popup
Click on Multiple Selection
Select items from below for cut & paste
Click on icon below to paste all 38 language codes
Click on Execute and Ok
Click on Select All
You will get screen like this. Languages already installed will be shown
Click on Check and then Activate. You will get message below
3. SETUP MONITORING AT OS LEVEL:
While the languages are being imported in the next step you will see no job running in SAP.
But R3trans processes will be running. The following scripts will help to check progress:
- Monitor CPU Consumptionm in one window command :
- Count number of R3trans processes at OS level and they reduce in umber as the language import is completed.command :
ps -ef | grep R3trans | wc -l
- Monitor Space at OS level in directory /usr/sap/trans with comma:
- Count the number of files in /usr/sap/trans/tmp. The number of languages remaining to be imported are approx half the number of files here.
ls –l /usr/sap/trans/tmp | wc -l
- Tail ALOG file in /usr/sap/trans/log. Find out the last ALOG file like ALOG1601 and tail the file to check current date to substitute MM, DD and execute command:
grep “S4H.ALL R 0004 2016MMDD” ALOG1601.S4H
4. ADD LANGUAGES TO SMLT:
enter tCode SMLT click on create icon. Assuming the box is not used for any other work, as you add each language watch the CPU utilisation and after you reach about 70%, wait for 5 minutes before adding next language.
In the above screen, “supplementation” language is a secondary language used to supplement a language that is not completely translated. English & German are only 2 languages which are completely translated. Missing texts in other languages can cause process to crash and language supplementation function helps to replace that missing text with supplementation language text. When you choose English here for Arabic language, whichever text is not translated for Arabic will appear in English.
SWPM (sapinst) procedure by default does not add any supplementation language and can be added manually later on.
5. REPEAT ABOVE STEPS FOR ALL LANGUAGES:
Add one by one language from below list shown here for Cut and Paste. Please pick the correct ones from the popup list one by one.
DE German – Already installed
EN English— – Already installed
The screen should look like this. If you are installing 36 additional languages, please ensure the number of languages is 38.
6. IMPORT PACKAGES:
Against each language click on Import Package icon
Find Packages, Select and Execute
7. MONITOR THE JOB:
A job will be launched in SM37
8. REPEAT ABOVE STEP FOR ALL LANGUAGES:
Check the jobs scheduled
The process of adding and running all above can be completed in 30 mins
9. MONITOR PROCESSES AT OS LEVEL AND IMPORT STATUS IN SMLT:
After above jobs are completed, you will need to monitor R3trans processes as below. The number of R3trans processes reduces as language import is completed.
All above should be completed in 7 Hrs
Following is the typical order of import if you have added all languages in SMLT one after other in listed sequence, The first language to finish was CA – Catalonia and after that in 4 minutes language ET finishes and so on. Arabic Language finishes last.
AR 6hrs 10min
For S/4HANA 1511 FPS1 if you are installing Best Practices content, please use Note 2292425 – Removal Language-dependent SAP Best Practice content to install only the needed languages.
S4HANA Regional Implementation Group