Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cl_gui_picture

Former Member
0 Likes
686

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?

3 REPLIES 3
Read only

Former Member
0 Likes
514

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

Read only

andreas_mann3
Active Contributor
0 Likes
514

hi,

have you tried method CLEAR_PICTURE?

A.

Read only

Former Member
0 Likes
514

The problem is solved.

Solution:

I had to declare the objects globally, I did it locally.