Monday, 4 September 2023

How to reset Software Update Manager SUM tool

 



Usually we are using the below typical steps to reset the SUM process.

Follow the steps specified below to reset the SUM Process.

1. Go to the directory SUM\abap\bin.

2. Enter the command “\SAPup reset prepare

3. Delete the SUM directory.

4. End all SAPup processes on the OS level before, if any exist.

5. Please try to run report RSUPGRES. This will solve UVERS inconsistency.

6. Start everything again from the beginning.

The report, mentioned in step 5, should be used carefully and only in emergency cases.

Execute only with user DDIC in client 000.

Start in background, the program takes about 20 and 30 minutes.

The process should not be aborted manually!!!

This report works for SUM SP10 and higher.

Saturday, 15 July 2023

Configuring SAProuter as a service on Linux

 


SAP Router installation on Linux: click here. once the SAP Router installation.
Follow the below Steps to configure SAP Router "as a service" in a Linux environment (SUSE,REDHAT,,,,etc).

First of all, create the below two service files at the mention location.

1. Execute the below command to Create ".service" and ".sh" files (on linux)

saprouter:/etc/systemd/system # touch saprouter.service
saprouter:/etc/init.d # touch startsaprouter.sh

2.  Add the below entries to the "saprouter.service" file based on your environment. 

saprouter:/etc/systemd/system # vim saprouter.service

[Unit]

Description = SAP Router start Service
After = network.target

[Service]
ExecStart = /etc/init.d/startsaprouter.sh

[Install]
WantedBy = default.target


3.   Add the below entries to the "startsaprouter.shfile based on your environment.

saprouter:/etc/init.d # cat startsaprouter.sh
#!/bin/sh
export SECUDIR="/usr/sap/saprouter"
export SNC_LIB="/usr/sap/saprouter/libsapcrypto.so"
export LD_LIBRARY_PATH="/usr/sap/saprouter"
export LIBPATH="/usr/sap/saprouter"
cd /usr/sap/saprouter
./saprouter -r -K "p:CN=saprouter,OU=0000123456,OU=SAProuter,O=SAP,C=DE"

4.    Save and execute the below command to provide permission for the .service and .sh files.

saprouter: chmod 775 /etc/init.d/startsaprouter.sh
saprouter: chmod 775 /etc/systemd/system/saprouter.service

5.  Execute the below command to Start the SAP Router as a Service.

saprouter:/etc/systemd/system # systemctl start saprouter.service

6.    Check the SAP Router status.

saprouter:/etc/systemd/system # systemctl status saprouter.service

Saprouter.service - Saprouter start
     
Loaded: loaded (/etc/systemd/system/saprouter.service; disabled; vendor preset: disabled)
     Active: active (running) since Sat 2023-07-15 10:58:06 IST; 5s ago
   Main PID: 7961 (startsaprouter.)
      Tasks: 2
     CGroup: /system.slice/saprouter.service
             ├─ 7961 /bin/sh /etc/init.d/startsaprouter.sh
             └─ 7962 ./saprouter -r -K p:CN=saprouter,OU=0000123456,OU=SAProuter,O=SAP,C=DE


7. Use the below command to enable the automatic startup of the SAP Router service.

saprouter:/etc/systemd/system # systemctl enable saprouter.service

Created symlink /etc/systemd/system/default.target.wants/saprouter.service → /etc/systemd/system/saprouter.service.


8.    Check the status of the SAP Router service with the Startup option.

saprouter:/etc/systemd/system # systemctl status saprouter.service
 
saprouter.service - Saprouter start
     Loaded: loaded (/etc/systemd/system/saprouter.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2023-07-15 10:58:06 IST; 41s ago
   Main PID: 7961 (startsaprouter.)
      Tasks: 2
     CGroup: /system.slice/saprouter.service
             ├─ 7961 /bin/sh /etc/init.d/startsaprouter.sh
             └─ 7962 ./saprouter -r -K p:CN=saprouter,OU=0000123456,OU=SAProuter,O=SAP,C=DE

Note: Kindly give the correct "Distinguished Name" for smooth execution.


Thanks.
Happy reading.
 


Wednesday, 17 May 2023

ADBC_TEST_CONNECTION failed due to "Couldn't load library" error

 



ADBC_TEST_CONNECTION failed due to "Couldn't load library" error While testing HANA DB connection from Solman to managed system.

B Thu Mar  17 16:48:52:454 2022
B  Loading DB library '/usr/sap/<SID>/SYS/exe/run/dbhdbslib.so' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<SID>/SYS/exe/run/dbhdbslib.so") FAILED
  "libSQLDBCHDB.so: cannot open shared object file: No such file or directory"  [dlux.c       550]
M  {root-id=0050569B3EBD1EDCA6DFAC01A71270F8}_{conn-id=6220EF4CCF0B5E29E10000000ACCE034}_1
B  *** ERROR => Couldn't load library '/usr/sap/<SID>/SYS/exe/run/dbhdbslib.so'
 [dbcon.c      7086]
B  ***LOG BYG=> could not load library for database connection ABP [dbds         972]
B  ***LOG BZY=> unexpected return code 8192 calling DBDS [dbacds       2063]
B  *** ERROR => Unexpected RC when calling dsql_connect
 [dbacds.c     2064]
B
B Thu Mar  17 16:48:55:896 2022
B  dbsync[db_syexe]: wait=0, call_no=79848, current_ts=20220303082355, last_counter=2022-03-03-14.19.16.321299



Solution:

Add an equation mark between the OS variable and its value, and restart the application server to take it effect.


export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/sap/<SID>/hdbclient

export PATH=${PATH}:/usr/sap/<SID>/hdbclient




Friday, 27 January 2023

How to customize the Fiori Launchpad URL

 


How to customize the Fiori Launchpad URL?

Follow the steps to Customize the Fiori Launchpad URL.

Customizing the Launchpad URL

You can make the launchpad available under a custom URL by creating an external alias.

Procedure:

  • On the front-end server, start transaction "SICF".
  • Select hierarchy type SERVICE, then choose .
  • Choose  External Aliases.
  • Select a host, then choose External Alias  Create.
In the External Alias field, enter the alias under which you want the launchpad to be available.
Enter an alias of your choice, for example:

/fiori

On the Target Element tab, select the following target handler:
/sap/bc/ui2/flp

Results:

After doing the configuration as shown in the example above, you can launch the launchpad using a nice and short URL like this:

<protocol>://<host>:<port>/fiori/


Thanks to visit my blog


Thursday, 26 January 2023

Automatic Job Scheduling is switched off in S/4HANA

 



Automatic Job Scheduling is switched off


In SAP transaction SJOBREPO -> 'Technical Job Definition Attributes' shows the message "Automatic Job Scheduling is switched off" look like below.


if SAP Job Repository state has:
  • Job Automation is possible, Job Repository runs according to S/4HANA On-Premise Flavor
  • Job Repository Job Automation is not active in this system
  • Job Repository Job Automation is currently deactivated via BTCOPTIONS
Follow the below steps to switch on the Automatic job scheduling.

1. Transaction => SE38, run the report R_JR_UTIL_1


2. Select 'Change Job Repository State' and activate.


3.  Now Automatic job scheduling is switch on.



Reference : SAP Snote 2790150 for educational purpose.



Tuesday, 10 January 2023

What is Bootstrap in SAP JAVA Stack?

 


What is Bootstrap in SAP JAVA STACK?

Bootstrap is the process of synchronizing the binaries of the SAP Java stack with the SAP system database. 

This synchronization ensures that the SAP Java stack is up to date and running the same version as the database. After the synchronization is complete, the system is ready to start. 

Bootstrap is the first step in the startup process of the SAP Java stack and is an important part of regular system maintenance.