Transaction SM05 can be used to manage HTTPs sessions in an ABAP stack in similar way as GUI sessions in SM04.
SM05 HTTPs session management
Start transaction SM05:
On top you can see % of free sessions.
In the table, you can see the sessions and if needed delete them. The right columns show the logon method (password, SAML, X.509, etc). This might be helpful in investigating issues with logon. The solution could be different per logon method.
OSS notes regarding SM05
Relevant OSS notes: