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

Problem with Import...

Former Member
0 Likes
512

Hi all,

Here is my requirement..

I have two subscreens S1 and S2,on which i need to display some images depending on the function key pressed.

if i press 'Change' then S1 should get displayed with image 'IMG1' and when i press 'Display' I should get the IMG2 on S2.

Here Subscreens S1 and S2 are getting triggered correctly.

But the problem is when i press 'Change' ,S1 is getting called with the image 'IMG1' and it is correct and being on the same screen now if i press 'Display' ,S2 is getting called and even this is correct but the image is not getting refreshed with 'IMG2'.

Here i am using the following statement for getting the image 'IMG1' from the database, when S1 is called

IMPORT pict_tab = pict_tab FROM DATABASE

/getpf/ct0124(pi) ID '/GETPF/SUBSET_WF_1'.

and IMPORT pict_tab = pict_tab FROM DATABASE

/getpf/ct0124(pi) ID '/GETPF/SUBSET_WF_2'.

while calling 'IMG2' in S2.

And i have already uploaded the database table /GETPF/CT0124 with the images.

For every time to make the image refreshed with new one i need to come out of the screen,Instead i need to refresh the image on the same screen.

Plz help me out in sorting this problem.

Thanks,

Ram

4 REPLIES 4
Read only

Former Member
0 Likes
483

Hi,

use below statement after import.

FREE MEMORY ID id or DELETE FROM MEMORY ID id.

Regards,

Ramesh.

Read only

0 Likes
483

Hi Ramesh,

Free memory Id is not working in OO ABAP.... can you suggest me any other.

Thanks,

Ram.

Read only

Former Member
0 Likes
483

use

FREE MEMORY ID id

before the import statement.

Regards

Sajid

Read only

0 Likes
483

Hi Sajid/Ramesh,

Free memory Id is not working in OO ABAP.... can you suggest me any other.

Thanks,

Ram.