2007 Jan 26 8:52 AM
Hi there.
I have a number of personals in my system. I can switch between them an see their masterdata i a tabstrip that is placed in a subscreen.
I have put in a pass-port-picture in the system for each personal.
My problem is that I get the first picture when I open the system, but when I choose a new personal, the picture doesn't change.
I use these clases in my code:
<b>cl_gui_custom_container
cl_gui_picture</b>
Before each showing I free the objects and creates them again and then:
CALL METHOD personal_picture->load_picture_from_url_async
EXPORTING
url = pers_pic_url.
The pers_pic_url is correct for different personals.
Can anyone help me so that the picture changes for new personals?
Hi there.
I have a number of personals in my system. I can switch between them an see their masterdata i a tabstrip that is placed in a subscreen.
I have put in a pass-port-picture in the system for each personal.
My problem is that I get the first picture when I open the system, but when I choose a new personal, the picture doesn't change.
I use these clases in my code:
<b>cl_gui_custom_container
cl_gui_picture</b>
Before each showing I free the objects and creates them again and then:
CALL METHOD personal_picture->load_picture_from_url_async
EXPORTING
url = pers_pic_url.
The pers_pic_url is correct for different personals.
Can anyone help me so that the picture changes for new personals?
2007 Jan 26 9:12 AM
Hi,
I searched the WEB for your Requirment, i got these programs this may help you out, please see the below links
http://www.erpgenie.com/abap/controls/picture.htm
http://www.sap-img.com/abap/splash-screen-in-abap.htm
http://www.sap-img.com/abap/use-bds-to-store-files-like-excel-jpg.htm
Regards
Sudheer
2007 Jan 26 9:53 AM
2007 Jan 26 9:57 AM
The problem is solved.
Solution:
I had to declare the objects globally, I did it locally.