on 11-15-2010 9:42 AM
Hi All,
I am using the ICM cache content code by attaching a URL to display the image.Every thing worked out for me ; i am able to get the image. But now i want to load another image in that place ( I am using a radiobutton control on view to dispaly images accordingly). Though i attach a new urllink (lv_urllink) at the time of call; i am getting old image only.
method onactionbutton
CASE l_ind.
when 1.
lv_urllink = 'http:.... /1.JPG'.
when 2.
lv_urllink = 'http:.... /2.JPG'.
when 3.
lv_urllink = 'http:.... /3.JPG'.
ENDCASE.
Create the client object
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = lv_urllink
IMPORTING
client = g_client
EXCEPTIONS
argument_not_found = 1
internal_error = 2
plugin_not_active = 3
OTHERS = 4.
do i need to refresh/expiry the cache? How to do this one.
I have tried by setting the low value of sec for the below call
cached_response->server_cache_expire_rel( expires_rel = 5 ).
but didnt get any luck.
Let me know whether i have missed anything.
Thanks and Regards,
Satish A.
Resolved by self
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi forum,
It has been long time but i could nt able to get any post.Can i have any valuable input from Moderators.
Thanks and Regards,
Satish A.
Yes with the way the URL name we give is changed dynamically to the respective call cl_wd_utilities=>construct_wd_url it worked well
l_time as the system-time stamp
CONCATENATE 'ZAPL_TEST2' l_time INTO l_urlstrin.
*
cl_wd_utilities=>construct_wd_url( EXPORTING
application_name = l_urlstrin "Webdynpro application name
IMPORTING
out_local_url = e_url ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi forum,
It has been long time but i could nt able to get any post.Can i have any valuable input from Moderators.
Thanks and Regards,
Satish A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.