Application Development 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: 

Prob in Dialog Prog.

Former Member
0 Kudos

Hi All

I am facing prob in Dialog Prog Report.

Created 1 Sel-screen, when the options are given after executing, it runs well.

But when coming back to sel-screen & giving new options, its giving previous records also.

(I have cleared IT).

Regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

refresh your internal table when you come back

8 REPLIES 8

Former Member
0 Kudos

refresh your internal table when you come back

0 Kudos

Yes. Refresh the ITAB before fetching or moving data into it.

regards,

Jinson

0 Kudos

Hi

I have already cleared that.

Regards.

0 Kudos

Hi,

CLEAR wa_itab.     " Clears work area 
     REFRESH it_itab.  "  Clears contents of internal table

     SELECT * FROM <table> INTO TABLE it_itab WHERE field IN s_sel.

0 Kudos

Hi,

When u are using one screen, You need to set Flags in PAI as per ur Requirement.

Otherwise use different Screens.

Former Member
0 Kudos

hi,

clear the internal tables just before u inserting new values into it...

Former Member
0 Kudos

Showing your code would make it easier to answer without resorting to guessing what the answer might be.

Former Member
0 Kudos

Hello Nikhil,

You have to clear the contents of your internal table,

in the PBO of your selection screen.

Regards

Mansi