2012 Aug 07 5:16 PM
Hi Friends,
I am working on requirement where i have to show photos and details of employee family members in modulepool. Here i am succeeded in displaying all the details.But when displaying for the second time, i am getting problem with the custom control where i am displaying the corresponding relative photo. The problems are:
1. Images displayed for the first time are displaying all the time.
2. And the same images are scrolling when we scroll in the screen, but this is not happening for the first time.
Inputs in my screen are : Employee id (one at a time)
test case is like for the first time user enters 'xxxxxxx' emp id, all the details are getting displayed correctly with all photos.
when he enters another employee for the second time, images of first employee are still displaying along with the second employee and getting scrolled when we scroll the bar.
I have tried refreshing the control using method "free", but still i am getting the same problem.
please share your suggestions regarding this problem.
Thanks in advance.
Sai...
2012 Aug 07 5:32 PM
Hi
You need to release your custom control, check the class you should find out the method FREE, use it as soon as you'll back to selection-screen.
Max
2012 Aug 08 12:41 PM
HI Max,
Firstly i am sorry for late response and am actually using the FREE method and also clear statement but still it is not working. I have cleared all controls in Input and loading images in Output. It is getting cleared (checked in debugginig), but in the screen display i am able to see the new employee relatives photos as well as initial employee photos. But here initial employee photos are not getting cleared and also getting scrolled when we scroll down the page and the same is happening when the user entered other employee for any number of times. Do i need to use any other methods or please suggest me any other solution...if you want i can copy the output display to your personal id if provided....
Thanks in advance..
Sai...
2012 Aug 08 1:03 PM
Hiii,
Use method CLEAR_PICTURE and also check your variable for picture URL it should be clear before before constructing new URL for picture and before displaying new use CLEAR_PICTURE method.