Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

webservice log

alejandro_romero2
Participant
8,205

Hi gurus i need to write a report. This must be a log of webservices access is there any way to know when was consumed a webservice ?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,326

Hello,

Calls to webservices are logged in the SAPs Workload Statitsics.

They can be viewed via ST03N, select a Day, Week or Month in "Workload".

In the "Analysis Views" part you will have a part called "Web Statitsics".

WEB Server Statistics and WEB Server Destination Statistics will contain all statistics about the different web services that were called (how many times, frequency, which user, ...).

Put a trace (SE30 ABAP Runtime Analysis) on transaction ST03N to see which function modules are used to get workload statitics.

Afterwards you can build in these function modules in your own program.

Success.

Wim

Hi gurus i need to write a report. This must be a log of webservices access is there any way to know when was consumed a webservice ?

thanks

10 REPLIES 10
Read only

Former Member
0 Likes
4,327

Hello,

Calls to webservices are logged in the SAPs Workload Statitsics.

They can be viewed via ST03N, select a Day, Week or Month in "Workload".

In the "Analysis Views" part you will have a part called "Web Statitsics".

WEB Server Statistics and WEB Server Destination Statistics will contain all statistics about the different web services that were called (how many times, frequency, which user, ...).

Put a trace (SE30 ABAP Runtime Analysis) on transaction ST03N to see which function modules are used to get workload statitics.

Afterwards you can build in these function modules in your own program.

Success.

Wim

Read only

0 Likes
4,326

thanks your answer is very helpful but i dont have the part of Web Statitsics In the "Analysis Views" so i cant see that information

any idea?

Read only

0 Likes
4,326

Hello,

In the left panel of ST03N you can change the view type, it can be changed from "Service engineer" to "Expert".

When you are in Expert mode you should see everything, also the WEB statistics.

In case there is still a problem you have to contact your basis team to see if there is something wrong with the collection of workload statistics (maybe the jobs don't run).

Success.

Wim

Read only

0 Likes
4,326

hi i have the 4.6 version. Could it be the problem?

Read only

0 Likes
4,326

Yes, that's possible because a 46C release has no webserver running, so there can not be any webservice active.

Try transaction SICF, it will not work neither.

SICF is the transaction to show/activate webservices.

Wim

Read only

0 Likes
4,326

HI write transaction sicf and it works, maybe i explain in a bad way my problem but i am going to try to explain it again.

I need to know when a webservice alocated in sap is used by an external system. For example:

I have the web service zwebservice in sap and i have another non sap aplication called soap ui pro 2.0.

with soap ui pro 2.0. y consume the sap webservice. Then i need to know when my zwebservice was used.

Thanks

Read only

0 Likes
4,326

I need to know when a webservice alocated in sap is used by an external system. For example:

I have the web service zwebservice in sap and i have another non sap aplication called soap ui pro 2.0.

with soap ui pro 2.0. y consume the sap webservice. Then i need to know when my zwebservice was used by an external aplicattion.

any idea?

Read only

0 Likes
4,326

Hi you have mentioned this :

In case there is still a problem you have to contact your basis team to see if there is something wrong with the collection of workload statistics (maybe the jobs don't run).

I told it to my basis admin and he ask the name of the job you have mentioned, dou you know the name of the job?

we have the 4.7 version.

Thanks

Read only

0 Likes
4,326

Hello,

In SAP 4.70 release there are not yet DETAILED workload statistics for Web Services and HTTP, where you can see the Web Services that were called.

SAP included this only from SAP Netweaver 7.0 based systems in ST03N via Web Service statistics.

Workload statistics for 4.70:

[http://help.sap.com/saphelp_47x200/helpdata/en/70/34d33a01254e27e10000000a11402f/content.htm|http://help.sap.com/saphelp_47x200/helpdata/en/70/34d33a01254e27e10000000a11402f/content.htm]

Workload statistics for Netweaver 7.0 based systems (ECC 6.0):

[http://help.sap.com/saphelp_nw70/helpdata/EN/70/34d33a01254e27e10000000a11402f/content.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/70/34d33a01254e27e10000000a11402f/content.htm]

I hoped to bring you better news.

Wim

Read only

former_member66264
Contributor
0 Likes
4,326

Hi,

To get more detail do the following:

ST03(N)

-> Expert Mode

-> collector and performance DB

-> workload collector

-> Statisics to be created

Web Application Server Statistics:

-> Complete Breakdown by Application and Page

now you should get more detail in the normal trace , including the individual page.

Let me know if this helps.

Rgds

Nico