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.
1. PREPARATION:
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
AR
BG
CA
CS
DA
DE
EL
EN
ES
ET
FI
FR
HE
HI
HR
HU
IT
JA
KK
KO
LT
LV
NL
NO
PL
PT
RO
RU
SH
SK
SL
SV
TH
TR
UK
VI
ZF
ZH
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 :top
- 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:df -h
- 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.
AR Arabic
BG Bulgarian
CA Catalan
CS Czech
DA Danish
DE German - Already installed
EL Greek
EN English--- - Already installed
ES Spanish
ET Estonian
FI Finnish
FR French
HE Hebrew
HI Hindi
HR Croatian
HU Hungarian
IT Italian
JA Japanese
KK Kazakh
KO Korean
LT Lithuanian
LV Latvian
NL Dutch
NO Norwegian
PL Polish
PT Portuguese
RO Romanian
RU Russian
SH Serbian(Latin)
SK Slovak
SL Slovenian
SV Swedish
TH Thai
TR Turkish
UK Ukrainian
VI Vietnamese
ZF Chinesetrad.
ZH Chinese
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.
CA 4hrs8min
ET 4hrs12min
LV 4hrs33min
NO 4hrs36min
FI 4hrs40min
SH 4hrs42min
SL 4hrs47min
HE 4hrs49min
UK 4hrs49min
KO 4hrs49min
HI 4hrs49min
HR 4hrs49min
SV 5hrs
VI 5hrs1min
PL 5hrs5min
RO 5hrs7min
KK 5hrs8min
EL 5hrs10min
NL 5hrs11min
HU 5hrs13min
DA 5hrs14min
LT 5hrs16min
ZF 5hrs17min
SK 5hrs18min
TH 5hrs20min
TR 5hrs22min
RU 5hrs26min
IT 5hrs28min
CS 5hrs35min
PT 5hrs36min
JA 5hrs38min
ZH 5hrs39min
ES 5hrs41min
BG 6hrs
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.