cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Procedure sa_get_request_times is ignoring hostvars

ThiagoReis
Participant
0 Kudos
3,591

After calling the sa_get_request_times procedure, the satmp_request_hostvar table has only the first hostvar of each statement.

Looking at the original request log file, all the host variables are there. It looks like sa_get_request_times is only considering the first one.

I reproduced this error in two different database versions: SA_1600_2127 and SA_1700_2053.

Am I doing something wrong or should I just open an incident for the SA_17 version?

Commands used to activate the request logging:

call sa_server_option( 'RequestLogging', 'SQL+hostvars');
call sa_server_option( 'RequestLogFile', '..\\\\requests.sql');
call sa_server_option( 'RequestLogMaxSize', 50000000);

Command used to analyze the generated request log file:

call sa_get_request_times('..\\\\requests.sql.old');

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

chris_keating
Product and Topic Expert
Product and Topic Expert

Sorry, I do not recall if I actually tried this at the time (likely because of not having a request log available with hostvars). I have confirmed your findings and have a fix in progress.

ThiagoReis
Participant
0 Kudos

Thank you, I really appreciate it.

ThiagoReis
Participant
0 Kudos

Hi Chris, can you please confirm if SA17 Build 7821 has this fix?

The release notes doc for this build is broken: "SAP Note/KBA 3515522 is being created."

ThiagoReis
Participant
0 Kudos
Hi Chris. Still waiting for the fix. Should I open an incident at SAP Support Portal?

Answers (0)