Create self-signed SSL certificate in SAP ABAP 1. Create SSL Server Standard PSE in STRUST 2. Generate Local Certificate Authority with OpenSSL openssl genrsa -des3 -out rootCA.key 2048 openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 9999 -out rootCA.pem 3. Add the local root CA to ABAP server 4.Create a Certificate Signing Request, sign existing SSL cert in ABAP server with the local root CA and import the certificate response b.. IT/SAP 2022.07.21
STMS Script in OS 1. Add to Buffer #!/bin/bash SID= TPLIST=./trns_list.txt TPSTATUS=./${TPLIST}.log for i in `cat ${TPLIST}` do /usr/sap/${SID}/SYS/exe/uc/linuxx86_64/tp addtobuffer $i ${SID} u1 pf=/usr/sap/trans/bin/TP_DOMAIN_${SID}.PFL RC=$? echo "`date`...Transport ${i} Status RC=${RC}" >> ${TPSTATUS} done 2. Import #!/bin/bash SID= TPLIST=./trns_list.txt TPSTATUS=./trns_import.log for i in `cat ${TPLIST}` do .. IT/SAP 2022.03.28
Create systemctl service for SAPRouter 1. Make service file at /etc/systemd/system/saprouter.service [Unit] Description=SAPRouter Service After=network.target [Service] Type=simple WorkingDirectory=/usr/sap/saprouter User=saprouter Group=saprouter Environment="SECUDIR=/usr/sap/saprouter" "SNC_LIB=/usr/sap/saprouter/libsapcrypto.so" ExecStart=/usr/sap/saprouter/sr_start.sh ExecStop=/usr/sap/saprouter/saprouter -s ExecReload=/usr/sap/s.. IT/SAP 2021.11.26
Deploying the SCA Using Telnet telnet localhost 508 > add deploy > deploy version_rule=all IT/SAP 2021.02.19
To download the SAP Notes in wget Preparation - Obtaining the SAP Passport Convert the certificate from the PKCS#12 format to PEM Export Client Certificate openssl pkcs12 -in .pfx -clcerts -nokeys -out CLIENT_CERT.PEM Export Client Certificate Key openssl pkcs12 -in .pfx -nocerts -nodes -out CLIENT_CERT_KEY.PEM Export CA Certificate openssl pkcs12 -in .pfx -cacerts -nokeys -out CA_CERT.PEM Download of SAP Note Command in wget wg.. IT/SAP 2020.12.10
Useful SAP Notes 1668882 Note Assistant: Important notes for SAP_BASIS 730,731,740,750,751,752,753,754 2303900 - Latest Information about BW Setup in S/4HANA Systems IT/SAP 2020.07.24
Sample for ASCS profile with integrated webdispatcher Last Updated On: 2020.07.23 SAPSYSTEMNAME = TST SAPSYSTEM = 01 INSTANCE_NAME = ASCS01 DIR_CT_RUN = $(DIR_EXE_ROOT)$(DIR_SEP)$(OS_UNICODE)$(DIR_SEP)linuxx86_64 DIR_EXECUTABLE = $(DIR_INSTANCE)/exe DIR_PROFILE = $(DIR_INSTALL)$(DIR_SEP)profile _PF = $(DIR_PROFILE)/TST_ASCS01_host SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY) SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH) SETENV_02 = SHLIB_.. IT/SAP 2020.07.23
Sample of saprouter start script #!/bin/sh SECUDIR=/usr/sap/saprouter; export SECUDIR SNC_LIB=/usr/sap/saprouter/libsapcrypto.so; export SNC_LIB BASEDIR=/usr/sap/saprouter $BASEDIR/saprouter -r -K "p:" -J 1048576 -G $BASEDIR/saprouter.log IT/SAP 2020.07.09