cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a BAPI that does the same as /$SYNC

Former Member
0 Kudos

Dear Experts,

Could someone tell me which BAPI resets all buffers, I need one just like running /$SYNC. Thanks in advance.

PS: I use a system for test purpose, not a real one in a company.

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

I seriously doubt that a BAPI exists, there isn't even a FM for that purpose.

$SYNC executes a C-function in the kernel to release all the buffers (pointers) to them, what is the purpose of calling that out of a BAPI? You want the code being executable in the buffers!

Markus

Former Member
0 Kudos

Thanks for your answer Markus. I would like to call the t-code $SYNC out of the SAP GUI, because I am using a webservice to measure the memory used in the buffers, which gives me the same as the transaction ST02 (and I want to avoid the SAP GUI effect on memory usage by using ST02 and $SYNC, for the ST02 I have a BAPI, but not for the T-Code).Then I need to reset the buffers to know how much memory is used by some of my webservices.

Do you know a way to use this t-code $SYNC out of the SAP GUI?

PS: I use a system for testing purposes, not a real one in a company. And it's on Unix.

Edited by: raesna1 on Dec 14, 2010 6:12 PM

Answers (0)