Skip to Content

SERVER_CACHE_INVALIDATE?

Hello,

I am trying to find a way to remove a certain item from the ICM server cache.

I want to use the following function :

<i><b>CL_HTTP_SERVER=>SERVER_CACHE_INVALIDATE( id = cache_id

type = 0

scope = 0 ).</b></i>

but I don't know how to find the cache key.

On this page (

http://help.sap.com/saphelp_webas620/helpdata/EN/38/2d453cf1fcc85ee10000000a11402f/content.htm)

it is explained.

<b>QUOTE :</b>

<i>The URL path is translated, that is, the encoded information about the SAP language and SAP theme, separated by & symbols, is added after the ICF path. This is then followed by another & symbol and the query string with the pseudo query parameters. To restrict the length of this string, a <b>hash process</b> is used on the query string.</i>

I would like to know how this <b>hash process</b> actually works?

Message was edited by: Dries Horions

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 18, 2004 at 08:57 AM

    It looks like the code for the hash process (and the reversal of this process) isn't coded in ABAP. It is all done in system calls to ICT. However you can access these functions using the class CL_HTTP_UTILITY. There is a DECODE_BASE64 and ENCODE_BASE64. If you are interested you probably want to look at program BSP_DECODE_URL. This shows you example code for pull parameters out of this encoded part of the URL.

    Add comment
    10|10000 characters needed characters exceeded