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

refresh control ?

Former Member
0 Likes
615

Hi,

What is REFRESH CONTROL Control-Name FROM SCREEN '0100' ?

What is the use of this ? Is it used to clear the contents of table control ?

Regards,

Nitin

5 REPLIES 5
Read only

andreas_mann3
Active Contributor
0 Likes
561

Hi,

look F1:

...

Initializes the control ctrl defined by a CONTROLS statement according to its description in the screen scr. The screen scr does not have to match the initial screen for the control (see also ABAP table control).

Andreas

Read only

Former Member
0 Likes
561

did you tried F1.

if yes then please tell, which part of it you don't understand.

regards

Read only

0 Likes
561

What do u mean by initilization of control ?

Regards,

Nitin

Read only

0 Likes
561

init... means value of variable at the time to declaration.

hope it clears

regards

Read only

0 Likes
561

When it use a table control, its variable has all values to show tale control in screen well, but these values sometimes has to be updated.

For example:

4 rows are shown in a table control in a screen, after it exits from this screen and inserting a new row, so goes back to screen: now you can't see 5 records, but it still see 4 records. Why?

Becouse table control variable is still setted to show 4 records, so it should clear (initialization) a table control by statament 'REFRESH CONTROL' .