Hello Yashwanth,
Thanks for your further quidance.
Yes, if I execute the same statement from the command line, then it works.
Yes, we are SAP Customer.
Additionally, we have found the following error in "dbm.prt" :
A DBM Server client connection was established at 2014-08-13 22:30:25 (client process has process ID 3892 on computer ... ).
2014-08-13 22:30:25 8872 INF 421 DBMSrv Command 'user_logon ...' was executed since 2014-08-13 22:30:25.
2014-08-13 22:30:25 8872 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'user_logon' has ended and failed with return code -24950.
8872 ERR -24950 DBMSrv ERR_USRFAIL: user authorization failed
2014-08-13 22:30:25 8872 INF 2 DBMSrvCo A DBM Server client connection was released (client process has process ID 3892 on computer ... ).
Thanks a lot and regards,
Noémi