Skip to Content
Author's profile photo Former Member

Logging Calls to your Gateway Service: SICF (for beginners)

Something which has come in very useful for me when using Gateway is the Logging functionality. On the project I’m currently working on the UI developers are from a different company and working out what they’re doing can be tricky. My colleague and I have set up our gateway service, and the UI guys are making the calls we’ve exposed to them.. but are they making them correctly? Are they making all the calls required?

When system testing it has given me peace of mind to be able to check the calls being made by the front end developers. When bugs have been raised I have been able to identify, using SICF, when the issues have been caused by incorrect or missing calls to our service.

This is a brief blog to explain (for those who are new to Gateway) how to use SICF for logging gateway calls, and how to use this to your advantage.

1. Log in to your Gateway system and navigate to TCode SICF

/wp-content/uploads/2013/07/1_245025.png
2. Click execute and expand the list until you get to your service
default_host->sap->opu->odata->sap->”service name”

/wp-content/uploads/2013/07/2_245026.png
3. Click (once) onto your service, so it’s highlighted, then activate a recording
Edit->Recorder->Activate Recording

/wp-content/uploads/2013/07/3_245033.png

/wp-content/uploads/2013/07/4_245034.png
There are 5 parts to make a selection for:
1 User: I select “All Users”, but if you know who the Gateway user is you can specify it directly
2 Record time: If you don’t want to have to come back and de-activate this you can set this to a very specific time frame (I usually leave it as default, and manually deactivate the recording)
3 Lifetime: How long do you want to be able to see these recordings for? After a time all entries will be deleted, so if you’re using the recording, for example, to make a point in a meeting, make sure you set the lifetime long enough, or you will find all your recordings deleted
4 URL Path: this will be auto-populated based on the service you selected. If it is BLANK then you didn’t select a service yet.
5 Request and Response is usually more useful

Once you’re ready, hit activate: now, any calls made to Gateway (by your specified user) will be recorded.

I tend to set this up, make some gateway calls and then immediately deactivate the recorder (as it has a maximum number of entries at 100 – and this can be reached very quickly in our system)

4. Deactivate the Recorder: Edit->Recorder->Deactivate Recording

/wp-content/uploads/2013/07/5_245035.png
5. To View your recordings: select the service again. Edit->Recorder->Display Recordings
If you left the recorder running for a while you might specify a time here, but if (like me) you want to see everything, don’t change any setting and click execute

/wp-content/uploads/2013/07/6_245039.png
7. To see details of any gateway call: select it, click the little glasses icon, select “in new session”

/wp-content/uploads/2013/07/7_245041.png

And there you have it – a simple way to track the calls made to your gateway service!

I hope this is helpful to those of you new to Gateway – I know it was useful to me.

Assigned Tags

      30 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Thanks !! Very Informative and Helpful . 🙂

      Author's profile photo Syambabu Allu
      Syambabu Allu

      Very Helpful Blog.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Syam!

      Author's profile photo Andre Fischer
      Andre Fischer

      Very informative!

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Andre!

      I hope people, who were life me a few months ago, find this helpful!

      Author's profile photo DJ Adams
      DJ Adams

      Nice work Lindsay! 🙂

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thansk DJ 🙂

      All thanks to you that I know about these things! And not everyone has you to guide them, so I thought I'd share with those who don't!

      Author's profile photo Prathik Nagaraj
      Prathik Nagaraj

      Nice blog Lindsay 🙂 definitely helps newbies like me ..thanks!

      Author's profile photo Erick Verbena
      Erick Verbena

      Nice Work 😀

      Author's profile photo Martin English
      Martin English

      Hi Lindsay,

        Nice find, and well presented.  Do you know if the limit of 100 entries is hard coded in the system, or have you found any way around the limit ?

      thanks

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Martin,

      The 100 entry limit - I found out recently - is just a display limit. So you can only see 100 entries at once, even though more may exist. To see entries firther in the past you can restrict the time frame in step 5 to a specific time, and then you can see entries further in the past (assuming they haven't expired!)

      This was something I only recently found out - so now I tend to set the recorder running at the start of the day (with expiry time of 8 hours) to run all day, then you can spoecify the time you want to check recordings, and you can see anything from the whole day.

      Thanks for a good question 🙂

      Lindsay

      Author's profile photo Martin English
      Martin English

      Thanks !!

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Martin,

      I just discovered that there is a "display all" icon too! It's a yellow arrow pointing right with a green square under it.

      Hope that helps (it's helping me out today so I thought you'd appreciate knowing too!)

      Lindsay

      Author's profile photo Jerry Zhu
      Jerry Zhu

      Hi Lindsay, I can't find the service "ye_mps_gw" as mentioned in SICF. My system is NetWeaver 7.3 EHP1 (BW).  Is this function only available on certain version of netweaver?

      Thanks,

      Jerry

      Author's profile photo DJ Adams
      DJ Adams

      Jerry

      The "YE_MPS_GW" service is specific to Lindsay's project, and was just used as an example here. You should substitute the name of your own service.

      cheers

      dj    

      Author's profile photo Jerry Zhu
      Jerry Zhu

      Hi DJ, got it.  Thanks for your explanation.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks DJ for explaining 🙂

      I hope you're having more luck now Jerry!

      Lindsay

      Author's profile photo Arun Chembra
      Arun Chembra

      Nice document Thanks...

      Author's profile photo Uday M
      Uday M

      Nice Document and Good job 🙂

      Thanks.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Uday! Glad you liked it 🙂

      Author's profile photo Martin Bachmann
      Martin Bachmann

      Hi Lindsay,

      very good document - thanks a lot!

      In the brand-new SP7 of SAP NetWeaver Gateway there is now the 'Payload Trace' available (http://help.sap.com/saphelp_gateway20sp07/helpdata/en/e4/35cc51e637c00ce10000000a445394/frameset.htm).

      This is offering similar features. In my introduction of SP7 I also gave a short pro / con list of the two possibilities: http://scn.sap.com/community/netweaver-gateway/blog/2013/08/28/sap-netweaver-gateway-sp7-is-out

      It would be really interesting to hear you feedback to this new feature.

      Best regards,

      Martin

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thank you Martin, this is really helpful 🙂 Thank you for sharing it here!

      best Regards,

      Lindsay

      Author's profile photo Arnab Das
      Arnab Das

      thanks 🙂

      Author's profile photo Oliver Rogers
      Oliver Rogers

      Great blog Lindsay! 🙂

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Oli 🙂

      Author's profile photo Shashidhar Pabba
      Shashidhar Pabba

      Great Blog and Thanks Lindsay. This it what I have been looking for since few days 🙂 .

      Author's profile photo Rahul Kulkarni
      Rahul Kulkarni
      Author's profile photo Kaushal Shah
      Kaushal Shah

      Brilliant! Big help!

      Author's profile photo Vinay Kumar Dalapathirao
      Vinay Kumar Dalapathirao

      Thanks for sharing Lindsay

      Author's profile photo Amit Kumar Singh
      Amit Kumar Singh

      Thanks for sharing,  extremely useful !