cancel
Showing results for 
Search instead for 
Did you mean: 

reg:Captcha Image not displaying in portal as well as in wdabap

Former Member
0 Kudos

Hi All

I have followed the below link

http://scn.sap.com/thread/3373177

in that I was provided with code and process of how to generate the captcha image.

I followed the same but in my application I am unable to view the captcha image .

please find the screen shot .

can you please let me know why image is not getting displayed .

awaiting for reply

Thanks & Regards

Deepika.M

Accepted Solutions (1)

Accepted Solutions (1)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Your browser does not seem to find the image.

Find the URL of this image and enter it in your browser to check whether the URL is valid.

Best regards,

Guillaume

Former Member
0 Kudos

Hi Guillaume

Thanks for the response.

But I tested the same url in IE 8 as well as in Mozilla  but still image is not getting displayed dynamically .

I have uploaded the image by importing the image into mimes and displayed .

it is getting displayed but i am unable to display the same dynamically .

can you plz chk the link for piece of code in my first post is any thing missing in the code level .

Doing the application in wdabap platform .

Thanks & Regards

Deepika

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Try using Firebug of Chrome Dev tools to find out what's going on with this image. It is not retrieved? Has the correct MIME? or whatever....

Then revert to us.

Best regards,

Guillaume

Former Member
0 Kudos

Hi

I have tested in chrome as well as in IE 8

but getting exception error in chrome and in the IE
the dynamic value is displayed in the Textview and button Ui element ,

But the same is not getting in the image UI element .

Please find the attachement .

Thanks & Regards

Deepika

guillaume-hrc
Active Contributor
0 Kudos

Hi,

It does not come from Web Dynpro ABAP.

Your problem seems to come from the part where the ABAP is trying to fetch the image.

What is the ST22 transaction telling you about this dump?

Best regards,

Guillaume

Former Member
0 Kudos

hi

Regards

Deepika

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Please locate the error by scrolling down in ST22 and look at the very place this occurs;

The dump should tell you which variable is faulty.

You should only have a conversion to make (that can be as silly as converting a CHAR to a STRING).

Best regards,

Guillaume

Former Member
0 Kudos

Hi

Issue resloved its working fine now .

After deploying ear file on to portal .

This link helps you much better

http://scn.sap.com/community/web-dynpro-abap/blog/2012/12/11/using-captcha-in-abap-webdynpro

Thanks & Regards

Deepika.M

Answers (0)