‎2005 Sep 07 6:59 AM
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
‎2005 Sep 07 7:06 AM
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
‎2005 Sep 07 7:08 AM
did you tried F1.
if yes then please tell, which part of it you don't understand.
regards
‎2005 Sep 07 7:12 AM
‎2005 Sep 07 7:37 AM
init... means value of variable at the time to declaration.
hope it clears
regards
‎2005 Sep 07 8:09 AM
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' .