Hi Alessandro
not sure where sp_who2 takes the program name from, but this is very likely a windows-MSSQL-odbc-driver trick (looking up the image name from the current process and set it by default in the db connection) or something similar.
For most other DBMS, the client application has to provide this information itself.
While the client process ID is set automatically in M_CONNECTIONS additional information (context variable APPLICATION) needs to be set by the client.
The connections overview in SAP HANA Studio provides the APPLICATION* variables together with the connection information.
- Lars