[WEBINAR] Application Acceleration: Faster Performance for End Users

Refresh (in SAP)

Definition - What does Refresh (in SAP) mean?

As one of the most useful ABAP programming keywords, Refresh is used to clear the data contents from variables used in ABAP programs and SAP screens. Prior to SAP's Enterprise Central Component (ECC) version, statements containing Refresh were used to clear data from SAP interface screens and program variables related to data selections. In SAP's ECC version, the statements containing Refresh are considered obsolete, with the exception of initializing Control from the SAP screen. Customer developed programs are only supposed to use the keyword with respect to refreshing Control from a SAP screen.

Techopedia explains Refresh (in SAP)

Starting with SAP's ECC version, the keyword Refresh may be used only for the initialization of control attributes according to the description in the screen. The syntax for the same is as follows:

REFRESH CONTROL controlvariable FROM SCREEN screennumber

The above syntax is used for statements, which are mainly used in screen related interfaces - mostly in module pool programming. The execution of the Refresh statement usually takes five microseconds during runtime.

The earlier use of Refresh for refreshing and initializing other contents have been replaced by the following from the ECC version:

  • REFRESH SCREEN – SET USER command to be used
  • REFRESH - FROM Database TABLE. SELECT statement to be used for same
  • REFRESH itab(internal table) – Keywords Free/Clear to be used
This definition was written in the context of SAP

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.