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: 

Screen fields Not getting clear

Former Member
0 Kudos

Dear Friends,

I am doing Module pool Table Control using table Control Wizard.I have cleared all the variables,Work area and Internal Tables.But for 2 fileds values r not getting clear and the table records r not getting clear.

When i re run the Tcode the previous values of two fields r displaying.they r not getting clear.

Plz what may be the problem.Plz Provide me with ur valuable inputs.

thanks & Regards,

Farook.

6 REPLIES 6

Former Member
0 Kudos

Hi,

I think you must have mentioned Parameter ID while declaring fields in the screen... in the SPA GPA properties for that field you might have given some values....

so they are coming back again....

remove the SPA GPA entry, you will not get the values

Regards,

Siddarth

0 Kudos

Hi Siddharth,

Thanks for your reply and I have not defined any parameter id's while declaring fileds in the screen.

Can u give the further inputs to resolve my problem.

Thanks & Regards,

Farook.

0 Kudos

are those screen fields of any data dictionary element types, i mean to say the data type of that input field is global one or you have given your own data type for that field...

if its a global one...please check if that data element does have a parameter id... if so... then in your PAI or PBO you will have to clear the parameter ID value....

regards,

Siddarth

0 Kudos

Hi Farook,

Refresh the screen field values which you want to be cleared at PBO event of the same screen number from where you want to clear the values.

Also clear the internal tables and work areas which holds the screen field values.

Hope this will solve your issue.

Regards

Suvendu

Former Member
0 Kudos

Clear the body of the internal table used at the end of program..

hope it will solve ur problem.....

Former Member
0 Kudos

There are Three posiiblity for your problem

1. you might have used SPA/GPA parameters for that field

2. you might have not used modify itab cursor tc-curent_line inside loop so your internal table possibly not getting updated(with blank line)

3. use refresh control 'tc_name' from screen 'your_screen_no'.

Regards,

Alpesh